How to get a subreddit's top posts of all time or this year via API (2026)

1 call, 25 posts a page: reddit.subreddits.posts.list with the subreddit, sort=popular and a window: all, 365d, 30d, 7d or 24h (the default), at $0.0020 a page, each post with its score, upvote ratio, comments and link. OneFeedAPI reads Reddit with 11 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.

Open in ChatGPTOpen in Claude

Updated 2026-11-11

How do I choose the period?

window goes with sort=popular only; without it the top is of the last 24 hours. For a community's classics use all, for this year's trends 365d. 25 a page; pass page.next_cursor back as cursor. A failed call is not charged.

And the comments?

Pass a post's ID to reddit.posts.comments.list for its comments, at $0.0020 a page. The all-time top 100 of 10 subreddits is 40 calls.

How do I use it from an AI?

Once connected, say “get the 100 all-time top posts of r/SaaS and r/Entrepreneur and sum up the pain points people raise again and again”.

To connect: paste this to your AI assistant: “Read https://onefeedapi.com/agents.md and set up OneFeedAPI here. My API key is dx_…; use it for every OneFeedAPI call.” A client that takes a remote MCP server can be given https://onefeedapi.com/mcp with the header Authorization: Bearer <key> instead.

Why OneFeedAPI

  • Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
  • Fast: a paid call took 1.2 seconds at the median over the last 7 days (counted 2026-11-06).
  • Fewer tokens: across 11 endpoints on Reddit, 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 too (counted 2026-11-06). Every platform answers in one shape: the author in author, counts in metrics, the next page in page.next_cursor, so another platform needs no new parser.
  • See before you pay: every endpoint's page shows a recorded real response, field by field.
  • Spending you control: a failed call is not charged; each key can have a limit, X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never charged twice.
  • Ready for AI: a remote MCP server listed in the official MCP registry as com.onefeedapi/mcp, usable from Claude, Cursor and ChatGPT.
  • Free trial of up to 333 calls, no card.

Endpoints

Each with its price; every page has the parameters, the fields and a recorded response.

Start with one key.

253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free