Reddit Subreddit API
Scrape Reddit Subreddit data with one API call. Returns a list of posts from a subreddit. Each post includes the title, the post body at `ext.selftext`, score, comment count, author, permalink, and creation timestamp. Most rows also carry the author's avatar at `author.avatar_url`, the post's attached media or link target at `content.media_urls`, and the upvote ratio, post flair and Reddit's own content language at `ext.upvote_ratio`, `ext.flair` and `ext.content_language`. `ext.upvote_ratio` and `ext.flair` come from the same source as the posts, so they are there whenever Reddit reports them. `author.avatar_url` and `ext.content_language` come from a second source that runs alongside the main one on PAGE ONE ONLY, so a walk past the first page returns the same posts in the same order without those two, and on a small share of first pages they are null across the whole page while every other field is unchanged. Treat those two as present-usually rather than guaranteed, and never as a signal about the post itself. `content.media_urls` on this surface is whatever the post points at, so on a link post it is the article or site the post links to rather than an image or a video. Page size varies with the subreddit and the sort and is not fixed: a busy community returns roughly 15 to 25 posts on the default sort. On `sort=top`, a SHORT window (`day`) is a full page and a LONG window (`year`) is the sparse one — measured 09/09/2026 on r/HouseOfTheDragon: all 22, day 22, week 19, month 10, year 3. Paginate with `after` rather than assuming a count. Ranking and row set are Reddit's own listing, unchanged by the enrichment.
Last updated October 2026Maintained by the SocialCrawl team
Returns posts from a subreddit, each with title, body, score, comment count, author, permalink, and creation timestamp.
Use it to read a community's feed, noting timeframe works only with sort=top, which is auto-selected when you omit sort; subreddit/search filters that same community by keyword.
Searching 68 platforms in parallel
What can you do with the Subreddit API?
The Subreddit endpoint gives you structured Reddit data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/reddit/subreddit?subreddit=technology&label=sponsored&trim=true"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/reddit/subreddit",
params={
'subreddit': 'technology',
'label': 'sponsored',
'trim': 'true',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/reddit/subreddit?subreddit=technology&label=sponsored&trim=true",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters worth sending
label=sponsoredMarks each post that is paid or sponsored, at no extra credits; intent and niche are free too.trim=trueSame price, lighter payload: drops the bulky raw fields.
Parameters
| Parameter | Required | Description |
|---|---|---|
| subreddit | Yes | Subreddit name without the r/ prefix |
| timeframe | No | Timeframe to get posts from. Applied with sort=top (auto-selected when you omit sort). (all | day | week | month | year) |
| sort | No | Sort order (best | hot | new | top | rising) |
| after | No | After to get more posts. Get 'after' from previous response. |
| trim | No | Set to true for a trimmed down version of the response. This also skips the enrichment pass, so `author.avatar_url`, `content.media_urls`, `flags.spoiler`, `post.url` and the `ext.*` fields are omitted along with the rest of the trimmed leaves. |
| label | No | Optional CSV of SocialCrawl labels to add to every post. Without this param every page already carries sponsored, intent and niche, free; label= adds the labels you name to them (the defaults keep running). sponsored, intent and niche are free when asked for too; mention, quality, intent with offer=, and injection add 1 credit per started 25 newly judged posts. judgments=off (or label=none) turns the default labels off. sponsored: is the post a paid or gifted promotion (p, 0 to 1), did it carry a disclosure marker such as #ad or 광고 (disclosed), is it likely paid with no marker (undisclosed), and which of the accounts it mentions does it promote (brand, or null). These are signals to review, never a finding. mention (needs brand=): is the post about that brand rather than something that shares its name (about_brand, 0 to 1), how it feels about the brand on five levels (sentiment_level 0 to 4 and sentiment_score 0 to 1, null when the post is not about the brand), is it sarcastic, which aspect it talks about (taste_or_quality, price_or_value, availability_or_delivery, health_or_safety, advertising_or_campaign, customer_service, none), and did the author buy or use it (first_hand). intent: what the author is mainly doing (label: asking_for_recommendation, comparing_options, switching_away, complaining, promoting, news_or_discussion, other, or null when unsure, with confidence), whether they read as a potential buyer rather than a seller (buyer, seller), how pressing the need is (urgency, 0 to 3), and, when you pass offer=, whether your offer would plausibly help them (fits_offer). niche: which of the 33 niches of the published taxonomy sc-niche-v1 the caption belongs to, or personal_no_niche, or other (label, confidence, taxonomy), with label null when the caption is too thin to tell or the pick is unsure. It reads the caption only, not the video. quality: how much checkable detail the caption carries (fact_density 0 to 3), whether it mainly asks for likes, replies, shares, follows or tags (engagement_bait, 0 to 1), whether it is written to provoke anger as a way to get engagement (rage_bait, 0 to 1; about the writing, never the side taken), whether it only repeats someone else's news or view (secondhand, 0 to 1), and what the post is mainly doing (post_aim: inform, opinion, sell, entertain, provoke, other). exclude=engagement_bait drops posts whose engagement_bait is 0.8 or higher. injection flags text that addresses an AI system and tries to direct it (flagged, p); it never drops or rewrites a row. A post that could not be judged carries labels: null. Posts already labelled for anyone are free, and so is a cached page. data.labels reports what was judged and billed. |
| exclude | No | Optional CSV (engagement_bait), only with label=quality. Drops posts whose engagement_bait probability is 0.8 or higher and lists their ids in data.labels.dropped_ids. A post that could not be judged is never dropped. |
| brand | No | Required by label=mention, ignored otherwise. The brand or product the posts are judged against, up to 300 characters, for example brand=Buldak. Without it label=mention is skipped with the warning label_mention_needs_brand and is not billed. |
| brand_description | No | Optional, with label=mention. One plain sentence saying what the brand is, for example brand_description=Samyang's spicy instant noodle brand. Use it when the name is also an ordinary word or another company's name. |
| offer | No | Optional, with label=intent. One or two plain sentences saying what you sell, up to 300 characters, for example offer=A web design agency that builds websites for small businesses. Adds fits_offer to every post; without it fits_offer is null. |
| judgments | No | Optional, on (the default) or off. By default every row gains free SocialCrawl judgments (computed.labels, and computed.relevance on search endpoints), reported in data.labels (mode default) and data.relevance (origin default), each with a status (complete, partial or skipped) and pending: the rows still being judged when the page was sent, which carry null now and are filled on your next call or cached read. Default judgments never add credits, never change an existing field, and never drop or reorder a row. off returns the page exactly as before, with none of those keys. label=none does the same. (on | off) |
| dry_run | No | Optional. When 1, return a cost preview for this labelled or relevance-filtered request without fetching the page or judging any row. data.estimate reports rows_expected, rows_cached, label_credits_min, label_credits_max and base_credits. 0 credits charged. (1) |
| label_evidence | No | Optional, only with label=. When 1, every labelled row also carries computed.labels_evidence.<preset> = { quote, sentence_index }: the sentence in the row that most clearly shows the label, copied verbatim. Absent or null when no single sentence shows it. (1) |
| fit | No | Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged. (goal) |
| goal | No | Required by fit=goal. What you are trying to do, in your own words, up to 300 characters. |
| fit_tokens | No | Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it. |
| since | No | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the page, and the page that reaches one ends the walk: `next_cursor` is not returned and `pagination.stopped_at` is `since`. Sending it sets the newest-first sort shown in this endpoint's sort parameter (any other sort value is a free 400). The page still costs what a page costs, so you pay for the pages you walk and no more. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`. |
| until | No | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. |
What does the Reddit Subreddit API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "reddit",
"endpoint": "/v1/reddit/subreddit",
"data": {
"items": [
{
"post": {
"id": "1wv1j68",
"url": "https://www.reddit.com/r/technology/comments/1wv1j68/nyc_is_now_the_first_city_in_america_that_bans/",
"content": {
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"media_urls": "https://www.theverge.com/policy/1003426/nyc-click-to-cancel-subscriptions-rule",
"thumbnail_url": "https://external-preview.redd.it/5UgP2gtco5HmO0uATfi1lCcdDsn8dA3p6mGzdJ0y7WY.jpeg?auto=webp&s=05c3271c6d2db98f375d857122188a6f6d644103",
"duration_seconds": null
},
"author": {
"username": "user_6c31c8",
"display_name": "user_042bf4",
"avatar_url": "https://example.com/avatars/user_316731.png",
"verified": null
},
"engagement": {
"views": null,
"likes": 20137,
"comments": 408,
"shares": null,
"saves": null
},
"flags": {
"nsfw": false,
"spoiler": false,
"pinned": null,
"deleted": false
},
"published_at": "2026-10-01T14:53:16.000Z",
"ext": {
"subreddit": "technology",
"title": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"selftext": null,
"upvote_ratio": 0.9790215203591888,
"flair": "Business",
"content_language": "en",
"published_at_epoch": 1790866396
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null,
"labels": {
"sponsored": {
"p": 0.01,
"disclosed": false,
"undisclosed": false,
"brand": null
},
"intent": {
"label": "news_or_discussion",
"confidence": 1,
"buyer": false,
"seller": 0.03,
"fits_offer": null,
"urgency": 0.08
},
"niche": {
"label": "news_politics",
"confidence": 0.94,
"taxonomy": "sc-niche-v1"
}
}
}
},
{
"post": {
"id": "1wvdokm",
"url": "https://www.reddit.com/r/technology/comments/1wvdokm/usps_is_turning_mail_trucks_into_rolling/",
"content": {
"text": "Sample comment text (redacted).",
"media_urls": "https://www.gadgetreview.com/usps-is-turning-mail-trucks-into-rolling-surveillance-cameras",
"thumbnail_url": "https://external-preview.redd.it/uUkVrnXbdIhZ2hJQmADeeA-BGI0w75pMnPAlMWYvVjQ.jpeg?auto=webp&s=c6409322501a707a86c4074105493e80a9ed2ced",
"duration_seconds": null
},
"author": {
"username": "user_fc0282",
"display_name": "user_4db8b5",
"avatar_url": "https://example.com/avatars/user_bef523.png",
"verified": null
},
"engagement": {
"views": null,
"likes": 2689,
"comments": 116,
"shares": null,
"saves": null
},
"flags": {
"nsfw": false,
"spoiler": false,
"pinned": null,
"deleted": false
},
"published_at": "2026-10-01T22:48:56.000Z",
"ext": {
"subreddit": "technology",
"title": "Sample comment text (redacted).",
"selftext": null,
"upvote_ratio": 0.9731951393852752,
"flair": "Privacy",
"content_language": "en",
"published_at_epoch": 1790894936
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null,
"labels": {
"sponsored": {
"p": 0.02,
"disclosed": false,
"undisclosed": false,
"brand": null
},
"intent": {
"label": "news_or_discussion",
"confidence": 1,
"buyer": false,
"seller": 0.04,
"fits_offer": null,
"urgency": 0.24
},
"niche": {
"label": "news_politics",
"confidence": 0.72,
"taxonomy": "sc-niche-v1"
}
}
}
}
],
"next_cursor": "t3_1wv1lx4",
"total": null,
"labels": {
"presets": [
"sponsored",
"intent"
],
"rows": 15,
"labelled": 13,
"cached": 13,
"skipped": 0,
"unjudged": 0,
"dropped": 0,
"dropped_ids": [],
"extra_credits": 0,
"methodology_version": "labels/1",
"mode": "default",
"status": "partial",
"pending": 2,
"pending_ids": [
"1wvh7tk",
"1wvhnn3"
]
},
"dropped": 0
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": "sc.eyJ2IjoyLCJjIjoidDNfMXd2MWx4NCIsImUiOiJyZWRkaXQvc3VicmVkZGl0IiwicCI6ImFmdGVyIn0",
"has_more": true,
"page_size": 15
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T07:26:00.602Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Reddit Subreddit API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.
One schema, every platform
Query 68 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I list posts from a subreddit?
What sort options does the subreddit endpoint support?
How do I paginate through older subreddit posts?
Can I get posts from a private or quarantined subreddit?
How much does the Subreddit Posts API cost?
Ask AI about SocialCrawl
Ready to scrape Reddit Subreddit data?
Get your API key and start pulling Reddit data in under 60 seconds.
