Global search
Search public posts or comments across all of Reddit with ranking, a publication window, optional exact matching, trimmed records and after continuation.
/v1/reddit/searchx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Required.
min 1 chars · max 500 chars
planningposts (default) or comments. Comment search covers every community.
one of: posts, comments · default: "posts"
postsOptional.
one of: relevance, new, top, comment_count · default: "relevance"
relevanceall (default), hour, day, week, month or year.
one of: all, hour, day, week, month, year · default: "all"
allEarliest 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.
Publication time to stop before, as ISO 8601 or Unix seconds; must be later than since.
Optional.
max 5000 chars
Optional.
default: false
falsetrue 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.
default: false
Always included.
order is relevance, newest_first for sort=new or ranked. Inspect complete and reasons on every response.
Always included.
Always included.
Optional.
one of: newest_first, oldest_first, ranked, relevance, source_order
Optional.
Optional.
Optional.
Always included.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
Always included.
success, partial, challenged or failed. error contains a sanitized machine-readable reason on failure.
one of: success, partial
Always included.
up to 100 items
Always included.
Always included.
Always included.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Always included.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Always included.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | The request failed validation. |
| 401 | invalid_request | The internal service secret is invalid. |
| 503 | upstream_error breaker_open | Proxy unavailable or thread retrieval temporarily paused. |
| 502 | upstream_error | Retrieval failed. |
| 504 | timeout | The deadline expired; available results are retained. |
| 200 | partial challenged | Inspect status and failure even when HTTP succeeds. |