Reddit API
11 endpoints read Reddit: posts, users, communities, trends. From $0.0020 a call. No Reddit login and no cookie; a failed call is free.
The 11 endpoints for Reddit, and what each returns
- Reddit post comments: Get a page of comments on a Reddit post by ID or link: text, commenter, score, reply count, time posted, with the first levels of replies.
- Reddit post detail: Get one Reddit post by ID or link: title, text, author, community, score, comment count.
- Reddit post search: Get a page of Reddit posts matching a search, by relevance, newest or top score, optionally within a period.
- Reddit popular posts: Get a page of the posts on Reddit's Popular feed: title, text, author, community, score, comment count.
- Reddit community posts: Get a page of the posts of a Reddit community by its name, hot, newest or top score first. Top score is of the last day unless window asks for the last week, month or year, or all time.
- Reddit trending searches: Get the searches trending on Reddit today, ranked in the order the platform lists them.
- Reddit user profile: Get a Reddit user's public profile by username: display name, bio, when it was created, karma, post and comment counts.
- Reddit user posts: Get a page of the posts a Reddit user has made, newest first.
- Reddit community profile: Get a Reddit community by its name: description, members, users active and contributions made in the last week, when it was created.
- Reddit user active communities: Get the communities a Reddit user is active in by username: each one's name, members and icon, all in one page (215 of them were recorded for one account).
- Reddit video transcript: Get what is said in the video of a Reddit post by ID or link: the captions Reddit makes for a video it hosts, as the whole text and timed segments.
One call, as it came back
A recorded call, fields already tidied up: ready for an AI or a spreadsheet.The first 5 rows of a response recorded 2026-10-12 18:43 UTC.
Run it in the Playground · $0.0020{
"code": "ok",
"request_id": "e5368130-2302-4850-b4a8-c7eb44f93554",
"data": {
"items": [
{
"id": "t3_c6zfcsj",
"url": "https://www.reddit.com/r/hiking/comments/c6zfcsj/",
"type": "image",
"title": "Everything I pack for saturn rings",
"text": null,
"lang": "en",
"published_at": "2024-11-22T01:25:15.633Z",
"author": {
"id": "t2_ulkupadj",
"username": "maya_makes",
"avatar_url": "https://styles.redditmedia.com/t5_7z4w4c/styles/profileIcon_giouwc19cllx7.png"
},
"metrics": { "comments": 213 },
"images": ["https://i.redd.it/lmqqmsves43vx.jpeg"],
"is_pinned": false
},
// … 6 more
]
},
"page": {
"next_cursor": "c1.QZa1D_DF2UeCuT2KXm3EnAtguUJjsyD68oCTkkOq",
"cursor_expires_at": "2026-10-12T19:43:12.000Z",
"has_more": true,
"returned": 7
},
"warnings": [],
"meta": {
"capability": "reddit.posts.search",
"result_status": "complete",
"fetched_at": "2026-10-12T18:43:12.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"metrics.likes": "platform",
"metrics.favorites": "platform",
"metrics.views": "capability",
"metrics.reposts": "platform",
"author.name": "platform",
"author.verified": "capability",
"author.followers": "capability",
"hashtags": "platform",
"mentions": "capability",
"post_id": "platform",
"parent_id": "platform",
"root_id": "platform",
"metrics.shares": "capability"
},
"billing": {
"amount": "0.002",
"currency": "USD",
"balance_after": "9.998"
}
}
}From a response recorded 2026-10-12 18:43 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
What you can get
Each row is an endpoint: what it returns and what one call costs.
What people build with it
Ready-made tasks your AI can run on Reddit data. Each is a few calls under a spending cap.
Comments and word of mouth
“What are people praising and complaining about under this post?”
Competitor account monitoring
“What did competitors post this week, and which post took off?”
Keyword search and mentions
“What is being said about this brand or keyword on each platform?”
Ask about Reddit right inside Claude or Cursor
Add the OneFeedAPI MCP server and the AI finds the Reddit endpoint it needs and calls it; answers link back to the source. You pay for the calls it makes.
https://onefeedapi.com/mcpStart in three steps
The call shown here is Reddit post search. Every other Reddit endpoint is called the same way and answers in the same envelope.
Get a key
Sign in with an emailed code or Google. Free trial, no card needed.
Call it, or let your AI call it
One GET from your code. Or paste this prompt into your agent with your key in it: it sets itself up, then finds and calls these endpoints by itself.
Read the same shape every time
Items are in data.items (one object in data.item), the next page in page.next_cursor, the charge in meta.billing.amount. A failed call is not charged.
curl -G "https://onefeedapi.com/v1/reddit/posts/search" \ --data-urlencode "query=saturn rings" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
# pip install onefeedapi from onefeedapi import OneFeedAPI dx = OneFeedAPI() # reads ONEFEED_API_KEY result = dx.reddit.posts.search(query="saturn rings") print(result["data"]["items"])
// npm i @onefeedapi/sdk import { OneFeedAPI } from "@onefeedapi/sdk"; const dx = new OneFeedAPI(); // reads ONEFEED_API_KEY const result = await dx.reddit.posts.search({ query: "saturn rings" }); console.log(result.data.items);
onefeedapi call reddit.posts.search 'query=saturn rings'{
"mcpServers": {
"onefeedapi": {
"type": "http",
"url": "https://onefeedapi.com/mcp",
"headers": {
"Authorization": "Bearer ${ONEFEED_API_KEY}"
}
}
}
}Add this to your MCP client, then ask your agent to call reddit.posts.search.
Edge cases
What the Reddit endpoints do at their edges, and what to check when a call does not return what you expected.
- Page sizes
- A list returns 6 to 500 items a page, depending on the endpoint. 5 of the 7 lists go on to a next page:
page.next_cursor, passed back ascursor, each page a call of its own. The others return one page only. - Fields it cannot give
- 10 of the 11 endpoints cannot fill every field of the object they return. Each endpoint's page lists which, and every answer repeats them in
meta.unavailable: a missing field is never a silent zero. - A missing object that reads as empty
- Reddit community posts: an object that does not exist cannot be told from one with nothing under it, so the answer is an empty result, not a 404.
- Preview structures
- 2 endpoints return a preview structure whose fields may still change; the others return a standard object, the same on every platform.
- Snapshots
- Reddit trending searches: a board is a snapshot refreshed every 10 minutes, and
meta.fetched_atsays when it was taken. - Post IDs carry t3_
- Pass the post ID with its t3_ prefix, or the post's link (reddit.com/r/<community>/comments/<id>/).
- Comments, page by page
- A page holds a few top-level comments with their first levels of replies; the cursor brings the next top-level ones. Deeper replies that Reddit folds away are not followed.
- Hidden scores
- While Reddit still hides a comment's score, it comes back as null, not as 1.
- Communities and users by name
- Communities take the name without r/, users the username without u/. A community that does not exist returns an empty post list.
- Only videos Reddit hosts
- Transcripts come only for videos Reddit hosts and captions. A video embedded from another site, or one without captions, reads as not found, not charged.
Questions about the Reddit API
Short answers. The details are on each endpoint's page.
What Reddit data can I get through the API?
11 endpoints: posts, users, communities, trends. Each endpoint's page gives its parameters and fields, with a recorded response.
How do I call the Reddit API?
Sign up for a key, send it as Authorization: Bearer <key> and call the endpoint's address, for example GET https://onefeedapi.com/v1/reddit/posts/comments/list. Or connect OneFeedAPI to Claude, Cursor or ChatGPT (MCP) and ask in a sentence. The free trial needs no card.
How many tokens does a Reddit API response take in an AI?
Across 11 Reddit endpoints, one recorded real response each, the platform's own JSON comes to 169k tokens and what an AI reads through OneFeedAPI's MCP server to 14k, 92% fewer; the JSON of a direct API call is 84% fewer (counted 2026-11-06). Every platform uses the same field names, and fields returns only the ones you name.
How is the Reddit API priced?
Per call, no subscription. All 11 endpoints cost $0.0020 a call. You are charged when data comes back; a failed call costs nothing.
Do I need a Reddit account or a cookie?
No. One OneFeedAPI key is all you hold: no Reddit login, no cookie, no device to keep alive. The endpoints return publicly visible data only.
Is the data live?
A call fetches from Reddit at that moment, and meta.fetched_at says when. Reddit trending searches: a board is a snapshot refreshed every 10 minutes. A result is kept for 24 hours, so a retry with the same Idempotency-Key is not charged again.
What happens when Reddit changes something?
A call that fails is not charged, whatever the reason. An endpoint that is paused answers capability_paused, also free, and GET /v1/catalog/status says what is up right now.
Related
Call Reddit with one key.
Free trial on sign-up: up to 50 calls at $0.0020. No card. No Reddit login, no cookie, no subscription. A failed call is free.