Skip to content
scrapeatlas.Dashboard

Search discussions

Try in Playground

RSS keyword discovery with optional subreddit, ranking, time-window, and result bounds. Unknown scores and metrics remain null.

POST/v1/searchx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Content-Typestringrequiredheader

Must be application/json.

Request body
5
querystringrequiredbody

Required. Search text, 1–200 characters.

min 1 chars · max 200 chars

Examplemeal planning
subredditsstring[]default: []body

Up to five subreddit names; defaults to an empty list.

default: [] · up to 5 items

Example["MealPrepSunday"]
sortenumdefault: "relevance"body

top, new, or relevance; defaults to relevance.

one of: top, new, relevance · default: "relevance"

Examplerelevance
timeWindowenumdefault: "month"body

day, week, month, or year; defaults to month.

one of: day, week, month, year · default: "month"

Examplemonth
maxPostsintegerdefault: 25body

1–50 posts; defaults to 25.

default: 25 · 1 – 50

Example10
Response fields
24
requestIdstring

Always included.

min 1 chars · max 128 chars

Always included.

accounting.pageLoadsinteger

Always included.

≥ 0

accounting.httpRequestsinteger

Always included.

≥ 0

accounting.proxyBytesinteger

Always included.

≥ 0

accounting.challengeCountinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

accounting.proxySessionIdstring

Always included.

min 1 chars · max 128 chars

accounting.rssRequestsintegeroptional

Optional.

≥ 0

statusstring

Always included.

Always included.

up to 50 items

posts.idstring

Always included.

min 1 chars · max 128 chars

posts.subredditstring

Always included.

posts.titlestring

Always included.

min 1 chars · max 1000 chars

posts.permalinkstring

Always included.

max 2048 chars · absolute HTTPS URL

posts.urlstring

Always included.

max 4096 chars · absolute HTTPS URL

posts.authorstringnullable

Always included.

posts.createdAtstring

Always included.

posts.scoreintegernullable

Always included.

posts.upvoteRationumbernullable

Always included.

posts.commentCountintegernullable

Always included.

posts.flairstringnullable

Always included.

posts.selftextstring

Always included.

max 4000 chars

posts.retrievalStatusenum

Always included.

one of: success, partial, challenged, failed

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.

Error codes
6
HTTPfailure.codeMeaning
400invalid_requestThe request failed validation.
401invalid_requestThe internal service secret is invalid.
503upstream_error breaker_openProxy unavailable or thread retrieval temporarily paused.
502upstream_errorRetrieval failed.
504timeoutThe deadline expired; available results are retained.
200partial challengedInspect status and failure even when HTTP succeeds.