Reddit Posts Scraper API
List public posts from one or more subreddits, sorted new, hot, top or rising, page by page.
- 1 credit per 50 results per call
- Failed calls are free
- Updated
- reddit.posts.list
{ "next": "eyJyZWRkaXQiOiJkRE5mTVdwaGJHMDVlUT09In0", "items": [ { "title": "Your Comments, Upgraded: Share More, Track Stats, Save Drafts", "body": "TL;DR: New comment features are rolling out. You can now turn a great comment into its own post, check stats on your comments, and save dra…", "created_utc": 1749744072, "id": "t3_1l9q6d1", "nsfw": false, "num_comments": 701, "num_comments_available": true, "permalink": "https://www.reddit.com/r/reddit/comments/1l9q6d1/your_comments_upgraded_share_more_track_stats/", "score": 319, "score_available": true, "subreddit": "reddit", "type": "post", "url": null }, { "title": "Curate Your Reddit Profile Content with New Controls", "body": "TL;DR: Starting today, you’ll have the option to curate which posts and comments are visible to others on your Reddit profile. Rollout begi…", "created_utc": 1748970881, "id": "t3_1l2hl4l", "nsfw": false, "num_comments": 914, "num_comments_available": true, "permalink": "https://www.reddit.com/r/reddit/comments/1l2hl4l/curate_your_reddit_profile_content_with_new/", "score": 556, "score_available": true, "subreddit": "reddit", "type": "post", "url": null } ]}
| # | Post | Score | Comments | Posted (Unix time) | Link | Body | Nsfw | Num comments available | Score available | Subreddit |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Your Comments, Upgraded: Share More, Track Stats, Save Drafts | 319 | 701 | 1,749,744,072 | https://www.reddit.com/r/reddit/comments/1l9q6d1/your_comments_… | TL;DR: New comment features are rolling out. You can now turn a… | false | true | true | |
| 2 | Curate Your Reddit Profile Content with New Controls | 556 | 914 | 1,748,970,881 | https://www.reddit.com/r/reddit/comments/1l2hl4l/curate_your_re… | TL;DR: Starting today, you’ll have the option to curate which p… | false | true | true | |
| 3 | 04/01/2025 | 0 | 0 | 1,743,438,142 | https://www.reddit.com/r/reddit/comments/1jo76yq/04012025/ | false | true | true | ||
| 4 | Private Messages will be replaced with Reddit Chat & inbox noti… | 0 | 1035 | 1,742,402,374 | https://www.reddit.com/r/reddit/comments/1jf1bxy/private_messag… | TL;DR To make messaging on Reddit faster and more reliable, we’… | false | true | true | |
| 5 | Introducing Hide an Ad | 214 | 1 | 1,741,897,074 | https://www.reddit.com/r/reddit/comments/1jalm9y/introducing_hi… | false | true | true |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| subreddits | string | yes | One or more community names, comma-separated, such as webdev,javascript. For all of Reddit use the search endpoint. | |
| after | string | no | Pass next from the last response to get the next page. | |
| limit | integer | no | How many posts to return in this call. | 5 |
| max_pages | integer | no | How many post listing pages one call walks (default 1). From 1 to 10. Default: 1. |
|
| sort | string | no | New, hot, top or rising. | new |
| time | string | no | The time window for top posts: hour, day, week, month, year or all. | hour · day · week · month · year · all |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| items[].title | string | The post's title. | Your Comments, Upgraded: Share More, Track Stats, Save Drafts |
| items[].score | integer | The post's score, when Reddit shows it. | 319 |
| items[].num_comments | integer | Comments on the post, when Reddit shows the count. | 701 |
| items[].created_utc | integer | When it was posted, as a Unix time in seconds (UTC). | 1,749,744,072 |
| items[].permalink | string | The post's link on Reddit. | https://www.reddit.com/r/reddit/comments/1l9q6d1/your_comments_… |
| items[].body | string | The post's text. | TL;DR: New comment features are rolling out. You can now turn a… |
| items[].id | string | Reddit's ID for the post. | t3_1l9q6d1 |
| items[].nsfw | boolean | Whether Reddit marks it as adult content. | false |
| items[].num_comments_available | boolean | Whether Reddit showed a comment count; when false, ignore num_comments. | true |
| items[].score_available | boolean | Whether Reddit showed a score; when false, ignore score. | true |
| items[].subreddit | string | The community it was posted in. | |
| items[].type | string | What kind of item it is, here a post. | post |
| items[].url | null | The link the post shares, when it shares one. | null |
| items | array | The returned posts. | 5 records |
| next | string | eyJyZWRkaXQiOiJkRE5mTVdwaGJHMDVlUT09In0 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "reddit.posts.list", "input": { "limit": 5, "sort": "new", "subreddits": "reddit" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "reddit.posts.list", "input": { "limit": 5, "sort": "new", "subreddits": "reddit" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "reddit.posts.list", "input": { "limit": 5, "sort": "new", "subreddits": "reddit" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Reddit posts for sort "new" and subreddits "reddit". Tell me what it costs before you run it, then show the results as a table.
More from the Reddit API
- Reddit Posts Search Scraper API1 credit
- Reddit Post Scraper API1 credit
- Reddit Post Comments Scraper API1 credit per 50 results
- Reddit Comments Scraper API1 credit per 50 results
- Reddit Subreddit Scraper API1 credit
- Reddit Subreddits Search Scraper API1 credit
- Reddit User Posts Scraper API1 credit per 50 results
- Reddit User Comments Scraper API1 credit per 50 results
The same data from other platforms
Reddit Posts Scraper API FAQ
The short answers. The docs have the long ones.
How much does the Reddit Posts Scraper API cost?
1 credit per 50 results per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send subreddits. The input fields below list every option with its type and limits.
Do I need a Reddit login?
No. It reads public Reddit data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds reddit.posts.list, checks its price and runs it with the same credits as the REST API.
Your first Reddit call is free.
Up to 100 free credits to start, no card needed.