Reddit Subreddit Posts API
To get a subreddit's posts with engagement, call GET /v1/reddit/subreddit?subreddit=… with your API key. You get clean JSON back.
/v1/reddit/subredditcurl "https://api.scraperize.com/v1/reddit/subreddit?subreddit=programming" \ -H "x-api-key: YOUR_API_KEY"
cursor to get the next page.cache_max_age to reuse a recent result for free.429 with a Retry-After header.Parameters
subredditRequiredr/.sortOptionalbest (default), hot, new, top or rising. Ignored with a cursor — the cursor keeps its sort.One of 5 values.timeframeOptionalsort=top only: day (default), week, month, year or all.One of 5 values.cursorOptionalcursor from the previous page, to get the next one. Omit for the first page.cache_max_ageOptionalmeta.cached=true and meta.cachedAt. Otherwise a fresh scrape runs (1 credit) and refreshes the cache. Omit to always scrape fresh.One of 5 values.Send your key in the x-api-key header. Full API reference
Example response
{
"data": {
"subreddit": "programming",
"sort": "best",
"timeframe": null,
"posts": [
{
"id": "1xpbd2s",
"url": "https://www.reddit.com/r/programming/comments/1xpbd2s/unity3d_for_net_developers_how_to_get_started/",
"title": "Unity3D for .NET Developers: How to get started",
"type": "link",
"subreddit": "programming",
"subredditId": "t5_2fwo",
"author": "Kabra___kiiiiiiiid",
"authorId": "t2_1j6eobnjdj",
"authorAvatarUrl": "https://styles.redditmedia.com/t5_dl453b/styles/profileIcon_6kthtk5a7uie1.jpg?width=64&height=64&frame=1&auto=webp&crop=…",
"createdAt": "2026-11-06T12:16:46.030Z",
"score": 1,
"upvoteRatio": 0.6666666666666666,
"commentCount": 0,
"awardCount": 0,
"domain": "pvs-studio.com",
"linkUrl": "https://pvs-studio.com/en/blog/posts/csharp/1424/?reddit_preview=2",
"language": "en",
"flair": null,
"text": null,
"links": [],
"imageDescription": null,
"thumbnailUrl": "https://external-preview.redd.it/aW8hH6m6-sECMeiRAElIqvkIVCV1oQa4Ib15tk2C9VY.png?width=140&height=73&auto=webp&s=23c73e0…",
"images": [],
"video": null,
"embed": null,
"crosspostParent": null,
"isNsfw": false,
"isLocked": false,
"isStickied": false,
"isArchived": false,
"isCrosspost": false
}
],
"count": 24,
"cursor": "eyJzIjoicHJvZ3JhbW1pbmciLCJvIjoiYmVzdCIsInQiOm51bGwsImEiOiJkRE5mTVhodGIzaGhhQSJ9",
"hasMore": true,
"fetchedAt": "2026-11-06T12:49:03.147Z"
},
"meta": {
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"creditsCharged": 1,
"creditsRemaining": 4999,
"cached": false
}
}A real response, shortened to one item per list.
More Reddit endpoints
Reddit Subreddit Posts API questions
How much does the Reddit Subreddit Posts API cost?
1 credit per successful call. Errors and cached results are free, and new accounts start with 100 free credits, no card required. See pricing.
Do I need a Reddit account or API key?
No. You only need a Scraperize API key, sent in the x-api-key header. Scraperize returns publicly available data. No Reddit login or developer app is needed.
How fresh is the data?
Each call fetches the data live. To trade freshness for cost, pass cache_max_age (e.g. 1h, 1d) to get a recent cached result instantly for 0 credits.
How do I get more results?
Each response includes a cursor. Send it back as the cursor parameter with the same other parameters to get the next page. It is null on the last page.
Where are the full parameters and response fields?
In the API reference, with every parameter, field and error.