Reddit API

Reddit Trending posts API

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

POST/v1/run/reddit.trending_posts
Uptime
100.00%
30d · 7 calls
Requests
7
30d · weekly, last 12 wks
Response
1.7s
median · 30d

Pricing

One price, in dollars

Providers
Badger7 served100.00% uptime1475ms p50$0.20/1k reqflat

Try it

Make your first 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.
{
  "data": {
    "nextCursor": "example",
    "posts": [
      {
        "author": "Alex Rivera",
        "createdUtc": 12.5,
        "id": "a1b2c3d4",
        "numComments": 12500,
        "permalink": "https://example.com/page",
        "score": 5,
        "selftext": "A short example description of this item.",
        "subreddit": "example",
        "title": "Example title",
        "url": "https://example.com/page"
      }
    ]
  },
  "found": true
}
Response interface
interface RedditTrendingPostsResponse {
  data: {
    nextCursor: string | null;
    posts: {
      author: string;
      createdUtc: number;
      id: string;
      numComments: number;
      permalink: string;
      score: number;
      selftext?: string;
      subreddit: string;
      title: string;
      url: string;
    }[];
  } | null;
  found: boolean;
}

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

Reference

Request, response, and price

Last verified 2026-09-12 · uptime and latency measured over 30d
POST /v1/run/reddit.trending_posts
curl -X POST https://api.getanyapi.com/v1/run/reddit.trending_posts \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":25}'
FieldTypeExample value
Request body
afterstringPagination cursor from a previous response's nextCursor. Omit for the first page.
limitinteger25Maximum number of trending posts to return (1-100, default 25).
Response
dataobject
data.nextCursorstringCursor for the next page; pass it back as after. Null when no more results exist.
data.postsobject[]Populated whenever the provider has data for the entity.
data.posts[].authorstringAuthor username, without the u/ prefix. Populated whenever the provider has data for the entity.
data.posts[].createdUtcnumberUTC epoch timestamp in seconds (Unix time). Populated whenever the provider has data for the entity.
data.posts[].idstringReddit post ID (base-36, without the t3_ prefix). Populated whenever the provider has data for the entity.
data.posts[].numCommentsintegerTotal number of comments on the post.
data.posts[].permalinkstringCanonical reddit.com thread path for the post. Populated whenever the provider has data for the entity.
data.posts[].scoreintegerNet score (upvotes minus downvotes) at fetch time.
data.posts[].selftextstringBody text of a self post, as Markdown. Empty on a link post, which has no body.
data.posts[].subredditstringSubreddit name, without the r/ prefix. Populated whenever the provider has data for the entity.
data.posts[].titlestringPost title. Populated whenever the provider has data for the entity.
data.posts[].urlstringThe post's destination link. Populated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0002
Price /1k reqUSD$0.20

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.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Reddit trending posts calls through AnyAPI succeeded, with a median response time of 1.7 seconds across 7 measured calls.

It costs from $0.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

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, 100.0% of Reddit trending posts calls through AnyAPI succeeded, with a median response time of 1.7 seconds across 7 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.