Reddit

Search Reddit posts

Search Reddit posts site-wide by keyword (not scoped to one subreddit — use reddit.subreddit.search.list for that).

get/v1/reddit/search

Request

  • Base URL: https://api.socialfetch.dev
  • URL: https://api.socialfetch.dev/v1/reddit/search
  • Auth: one of:
    • API key in header x-api-key
    • none

Query parameters

querystring required

Search query text for public Reddit posts.

sortBy'relevance' | 'new' | 'top'

Optional sort order for search results.

timeframe'all' | 'day' | 'week' | 'month' | 'year'

Optional time range filter for search results.

cursorstring

Opaque pagination cursor returned by a previous response.

trimboolean

Whether to request a smaller response shape when available.

Response

Search results for the requested query.

Changes

No recorded changes to this operation across all 1 revision of this API.