Get Trending Reddit Posts
PythonSocial MediaPOST api.upapi.io/reddit-get-trending.getFetch 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.
Request schema
| Field | Type | Description |
|---|---|---|
time | string | Time filter for 'top' listing: hour, day, week, month, year, all· default: "day" |
after | Pagination cursor· default: null | |
limit | integer | Max posts to return· default: 25 |
listing | string | Listing type: hot, new, rising, top, controversial· default: "hot" |
proxyUrl | User-provided proxy URL· default: null | |
subredditreq | string | Subreddit 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
| Field | Type | Description |
|---|---|---|
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.
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" }'