Get Trending Reddit Posts

PythonSocial Media
POST api.upapi.io/reddit-get-trending.get

Fetch trending, hot, rising, top, or new posts from any subreddit with pagination and time filtering. Requires a Reddit session cookie in sessionCookies (obtain it from reddit-login.post, or copy reddit_session out of a signed-in browser) — Reddit has blocked every anonymous read surface since 2026-07-30.

reddittrendingpostssocial
AuthAPI key
Cost4 units
Timeout60s
Cache300s

Request schema

FieldTypeDescription
time
stringTime filter for 'top' listing: hour, day, week, month, year, all· default: "day"
after
Pagination cursor· default: null
limit
integerMax posts to return· default: 25
listing
stringListing type: hot, new, rising, top, controversial· default: "hot"
proxyUrl
User-provided proxy URL· default: null
subredditreq
stringSubreddit name (without r/)
sessionCookies
REQUIRED IN PRACTICE. Reddit account session cookies, as a JSON object or a '; '-delimited cookie header; the blob must contain reddit_session. Since 2026-07-30 Reddit blocks EVERY anonymous read surface, so a call without cookies returns a classified UPSTREAM_BLOCKED rather than data. Obtain the blob from reddit-login.post, or copy the reddit_session cookie out of a signed-in browser. A lead-gen account-pool row stores it nested at cookies->>'sessionCookies', not at the row's top level.· default: null

Response schema

FieldTypeDescription
afterreq
postsreq
array
listingreq
string
elapsedMsreq
integer
fetchedAtreq
string
subredditreq
string
totalResultsreq
integer

Try it

Try it

Subreddit name (without r/)

Time filter for 'top' listing: hour, day, week, month, year, all

Pagination cursor

Max posts to return

Listing type: hot, new, rising, top, controversial

User-provided proxy URL

REQUIRED IN PRACTICE. Reddit account session cookies, as a JSON object or a '; '-delimited cookie header; the blob must contain reddit_session. Since 2026-07-30 Reddit blocks EVERY anonymous read surface, so a call without cookies returns a classified UPSTREAM_BLOCKED rather than data. Obtain the blob from reddit-login.post, or copy the reddit_session cookie out of a signed-in browser. A lead-gen account-pool row stores it nested at cookies->>'sessionCookies', not at the row's top level.

Run this endpoint live

Jump in as a guest — no signup — and run reddit-get-trending.get with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/reddit-get-trending.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "time": "day", "limit": 25, "listing": "hot", "subreddit": "example" }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.