Skip to main content
GET
Get one page of posts from a subreddit

Authorizations

X-API-Key
string
header
required

API key passed as the X-API-Key request header. Recommended for server-to-server calls.

Path Parameters

subreddit
string
required
Minimum string length: 1
Example:

"programming"

Query Parameters

sort
enum<string>
Available options:
hot,
new,
top,
rising
Example:

"hot"

after
string

Pagination cursor

Response

Get one page of posts from a subreddit

posts
object[]
required
after
string | null
required

Pagination cursor — pass as ?after= to fetch the next page; null on the last page

hasMore
boolean
required

True if after is non-null and a next page exists