App Logo
reddit.com

Get trending Reddit posts

Automatically get trending Reddit posts on reddit.com. List Reddit's trending threads from r/popular, one page at a time, with optional sort. Returns id, url, title, subreddit, author, score, comment count, date, post type and the post's text per thread. Each call returns one page as Reddit serves it (the first page can be short, a few threads) and a nextCursor: pass it as cursor, with the same sort, for the next page; it is null when the feed has no more.

Input

sort optional

Feed sort. Omit for Reddit's default ranking.

cursor optional

The nextCursor of the previous answer, to read the next page. Omit for the first page. Pass the same sort as for the first page.

Output

count required
threads required
nextCursor required

Pass as cursor to read the next page; null when the feed has no next page.

FAQ

List Reddit's trending threads from r/popular, one page at a time, with optional sort. Returns id, url, title, subreddit, author, score, comment count, date, post type and the post's text per thread. Each call returns one page as Reddit serves it (the first page can be short, a few threads) and a nextCursor: pass it as cursor, with the same sort, for the next page; it is null when the feed has no more.
Ask an AI agent connected to Reduck to run reduck/reddit.com/get_trending, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/reddit.com/get_trending
You do not need one. "Get trending Reddit posts" drives the real reddit.com pages in a browser, so it works whether or not reddit.com offers an API for this.
Optional: sort, cursor.
It returns count, threads, nextCursor.
No. It only uses pages of reddit.com that are reachable without signing in.
Unknown: its author has not declared whether it changes anything on reddit.com, so treat it as if it could.
Ask an AI agent connected to Reduck to run reduck/reddit.com/get_trending, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/reddit.com/get_trending
It is part of Reduck's official curated catalogue.

Start building not clicking