Skip to main content
GET
Search Reddit (or one subreddit) for posts

Authorizations

X-API-Key
string
header
required

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

Query Parameters

query
string
required
Minimum string length: 1
Example:

"typescript"

sort
enum<string>
Available options:
relevance,
new,
top,
comments
Example:

"relevance"

subreddit
string
after
string

Pagination cursor

Response

Search Reddit (or one subreddit) for posts

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