Skip to main content
GET
Search
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

query
string
required

Search query

sort
enum<string>

Sort by

Available options:
relevance,
new,
top,
comment_count
Example:

"relevance"

timeframe
enum<string>

Timeframe

Available options:
all,
day,
week,
month,
year
Example:

"all"

after
string

Used to paginate to next page

Example:

"t3_1i8z28z"

trim
boolean

Set to true for a trimmed down version of the response

Example:

false

Response

Successful response

Key Response Fields:

  • data.posts[n].id: Short Reddit post ID
  • data.posts[n].title: Post title text
  • data.posts[n].author: Reddit username of the poster
  • data.posts[n].subreddit: Name of the subreddit where the post appears
  • data.posts[n].score: Net upvote score
  • data.posts[n].upvote_ratio: Ratio of upvotes to total votes (0–1)
  • data.posts[n].num_comments: Comment count
  • data.posts[n].url: Full URL to the post
  • data.posts[n].is_video: Whether the post contains native Reddit video
  • data.after: Pagination token — pass as after param for the next page