Reddit

Global search

Search public posts or comments across all of Reddit with ranking, a publication window, optional exact matching, trimmed records and after continuation. Each successful request costs 1 account credit, including partial results. Failed requests cost 0 credits.

get/v1/reddit/search

Request

  • Base URL: https://api.scrapeatlas.com
  • URL: https://api.scrapeatlas.com/v1/reddit/search
  • Auth: API key in header x-api-key

Query parameters

querystring required
filter'posts' | 'comments'

posts (default) or comments. Comment search covers every community.

sort'relevance' | 'new' | 'top' | 'comment_count'
timeframe'all' | 'hour' | 'day' | 'week' | 'month' | 'year'

all (default), hour, day, week, month or year.

number
OR
string

Earliest publication time to include, as ISO 8601 (2026-09-27T09:00:00Z) or Unix seconds. With sort=new, pagination ends once results are older than since.

number
OR
string

Publication time to stop before, as ISO 8601 or Unix seconds; must be later than since.

afterstring
boolean
OR
'true' | 'false'
boolean
OR
'true' | 'false'

true keeps only results whose own text contains every query word or "quoted phrase" as a whole word (case- and accent-insensitive; A OR B and -word are honoured); defaults to false.

Response

Inspect the response status and failure or coverage fields.

OR
OR

Changes

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