Reddit API

Reddit Trending posts API

Get currently trending Reddit posts across all subreddits with stable cursor pagination.

$0.30/1k req, pay per request, no subscription.

What the API returnedposts[0]
{
"id":ย "1gm3k8",
"title":ย "NASA's Europa Clipper sends back its first images of Jupiter's icy moon",
"selftext":ย "",
"author":ย "orbital_mechanic",
"score":ย 84210,
"numComments":ย 3120,
"url":ย "https://www.nasa.gov/europa-clipper-first-images",
"permalink":ย "/r/space/comments/1gm3k8/nasas_europa_clipper_sends_back_its_first_images/",
... 8 more fields
}
Uptime
94.74%
30d ยท 456 calls
Requests
456
30d ยท weekly, last 12 wks
Response
2.4s
median ยท 30d

Pricing

Reddit Trending posts API pricing

Providers
Badger432 served93.51% uptime2304ms p50$0.30/1k reqflat
You pay
$3.00
$0.30/1k req, only for what you use. No monthly plan.
Your first 333 requests are free with the $0.10 starting balance.

Try it

Get Reddit trending posts in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 20 of 21 fields. See every field

{
  "found": true,
  "data": {
    "posts": [
      {
        "id": "1gm3k8",
        "title": "NASA's Europa Clipper sends back its first images of Jupiter's icy moon",
        "selftext": "",
        "author": "orbital_mechanic",
        "score": 84210,
        "numComments": 3120,
        "url": "https://www.nasa.gov/europa-clipper-first-images",
        "permalink": "/r/space/comments/1gm3k8/nasas_europa_clipper_sends_back_its_first_images/",
        "createdUtc": 1717516800,
        "subreddit": "space",
        "isArchived": false,
        "isLocked": false,
        "authorId": "4d8k1n",
        "nsfw": false,
        "upvoteRatio": 0.98,
        "domain": "nasa.gov"
      },
      {
        "id": "1gm2f1",
        "title": "Study finds four day work week trial improved productivity at 92% of companies",
        "selftext": "",
        "author": "econ_watcher",
        "score": 41720,
        "numComments": 5896,
        "url": "https://www.reuters.com/business/four-day-week-trial-results",
        "permalink": "/r/technology/comments/1gm2f1/study_finds_four_day_work_week_trial_improved/",
        "createdUtc": 1717513200,
        "subreddit": "technology",
        "isArchived": false,
        "isLocked": false,
        "authorId": "7q2m9x",
        "nsfw": false,
        "upvoteRatio": 0.95,
        "domain": "reuters.com"
      },
      {
        "id": "1gm1a4",
        "title": "Indie studio's 6 person team ships a 40 hour RPG built entirely in Godot",
        "selftext": "After three years of nights and weekends we finally launched Wraithmoor Keep on Steam. It is built entirely in Godot 4 and the whole team is six people. Happy to answer questions about the pipeline.",
        "author": "trailrunner_kate",
        "score": 26330,
        "numComments": 1042,
        "url": "https://www.reddit.com/r/gaming/comments/1gm1a4/indie_studios_6_person_team_ships_a_40_hour_rpg/",
        "permalink": "/r/gaming/comments/1gm1a4/indie_studios_6_person_team_ships_a_40_hour_rpg/",
        "createdUtc": 1717509600,
        "subreddit": "gaming",
        "isArchived": false,
        "isLocked": false,
        "authorId": "3f5j7p",
        "nsfw": false,
        "upvoteRatio": 0.99,
        "domain": "self.gaming"
      }
    ],
    "nextCursor": "t3_1gm0d2"
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-05 ยท uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • afterstring

    Pagination cursor from a previous response's nextCursor. Omit for the first page.

  • limitinteger

    25

    Maximum number of trending posts to return (1-100, default 25).

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata
  • nextCursorstring

    t3_1gm0d2

    Cursor for the next page; pass it back as after. Null when no more results exist.

each postdata.posts[]

Populated whenever the provider has data for the entity.

  • authorstring

    orbital_mechanic

    Author username, without the u/ prefix. Populated whenever the provider has data for the entity.

  • authorIdstring

    4d8k1n

    Reddit account ID of the author, without the t2_ prefix.

  • createdUtcnumber

    1717516800

    UTC epoch timestamp in seconds (Unix time). Populated whenever the provider has data for the entity.

  • domainstring

    nasa.gov

    Domain the post links to, for example "self.IAmA" for a text post.

  • idstring

    1gm3k8

    Reddit post ID (base-36, without the t3_ prefix). Populated whenever the provider has data for the entity.

  • isArchivedboolean

    false

    True when Reddit has archived the thread, which blocks new comments and votes. Archiving is a per-community setting, so an old thread is not necessarily archived. Absent when the source that served this request does not report it, which means unknown rather than false.

  • isLockedboolean

    false

    True when a moderator has locked the thread, which blocks new comments. Absent when the source that served this request does not report it, which means unknown rather than false.

  • nsfwboolean

    false

    Whether the post is marked not-safe-for-work.

  • numCommentsinteger

    3120

    Total number of comments on the post.

  • permalinkstring

    /r/space/comments/1gm3k8/nasas_europa_clipper_sends_back_its_first_images/

    Canonical reddit.com thread path for the post. Populated whenever the provider has data for the entity.

  • scoreinteger

    84210

    Net score (upvotes minus downvotes) at fetch time.

  • selftextstring

    Body text of a self post, as Markdown. Empty on a link post, which has no body.

  • subredditstring

    space

    Subreddit name, without the r/ prefix. Populated whenever the provider has data for the entity.

  • titlestring

    NASA's Europa Clipper sends back its first images of Jupiter's icy moon

    Post title. Populated whenever the provider has data for the entity.

  • upvoteRationumber

    0.98

    Share of votes on the post that are upvotes, between 0 and 1.

  • urlstring

    https://www.nasa.gov/europa-clipper-first-images

    The post's destination link. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Reddit Trending posts API

The AnyAPI Reddit Trending posts API returns Reddit trending posts data as normalized JSON from one POST call to /v1/run/reddit.trending_posts. Get currently trending Reddit posts across all subreddits with stable cursor pagination. AnyAPI returns one normalized schema whichever source serves it. It costs from $0.30 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 94.7% of Reddit trending posts calls through AnyAPI succeeded, with a median response time of 2.4 seconds across 456 measured calls.

It costs from $0.30 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Get currently trending Reddit posts across all subreddits with stable cursor pagination. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 94.7% of Reddit trending posts calls through AnyAPI succeeded, with a median response time of 2.4 seconds across 456 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 333 Reddit Trending posts calls at $0.0003 each.

Send a POST request to https://api.getanyapi.com/v1/run/reddit.trending_posts with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.