Skip to content
scrapeatlas.Dashboard

Community discovery

Try in Playground

Find public communities by topic with descriptions, member counts, images and pagination.

GET/v1/reddit/subreddits/searchx-api-key
x-api-keystringrequiredheader

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

Query parameters
3
querystringrequiredquery

Topic or keyword to find communities.

min 1 chars · max 500 chars

Examplesynthetic topic
limitintegerdefault: 25query

Number of communities per page, 1–25; defaults to 25.

default: 25 · 1 – 25

Example25
afterstringquery

Return the signed after token with the same inputs to continue.

max 5000 chars

Response fields
26
requestIdstring

Always included.

Always included.

coverage.completeboolean

Always included.

coverage.reasonsstring[]

Always included.

Always included.

accounting.httpRequestsinteger

Always included.

≥ 0

accounting.proxyBytesnumber

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

accounting.pageLoadsinteger

Always included.

≥ 0

accounting.challengeCountinteger

Always included.

≥ 0

accounting.rssRequestsinteger

Always included.

≥ 0

accounting.proxySessionIdstring

Always included.

successboolean

Always included.

statusenum

Always included.

one of: success, partial

Always included.

up to 25 items

subreddits.idstring

Always included.

subreddits.namestring

Always included.

subreddits.display_namestring

Always included.

subreddits.titlestringnullable

Always included.

subreddits.public_descriptionstringnullable

Always included.

subreddits.subscribersnumbernullable

Always included.

subreddits.icon_imgstringnullable

Always included.

subreddits.over18booleannullable

Always included.

subreddits.created_utcnumbernullable

Always included.

subreddits.urlstring

Always included.

afterstringnullable

Return the signed after token with the same inputs to continue.

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.