Introducing the Instagram APIRead more →

Reddit Subreddit Search API. Subreddits matching your search.

Subreddits by keyword, with weekly visitors. We handle the proxies, blocks and platform changes.

Reddit Subreddit Search API at a glance

Searches public subreddits by keyword and returns them a page at a time, in Reddit's relevance order. Each has its name, ID, link, description and icon, whether it is marked NSFW or quarantined, and the exact weekly visitors and contributions Reddit shows beside it. Queries in any language work.

GET /v1/reddit/search_subreddits

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 17 typed fields null when unknown
  • 10 subreddits per page, Reddit's relevance order
  • query is all it needs, e.g. golang

Send one request. Get up to 10 subreddits back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
query = golang
GET /v1/reddit/search_subredditsTry in
const params = new URLSearchParams({
  query: "golang",
});
const res = await fetch(`https://socialtap.dev/v1/reddit/search_subreddits?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/reddit/search_subredditsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 3 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Reddit doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    Words to find subreddits by, matched by Reddit's community search against their names and descriptions (golang, home brewing, fußball).

  • Write one parser

    Reddit, Facebook and X answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (reddit, facebook, …).
idstring
Platform-native community ID (string): Reddit's subreddit ID with its t5_ prefix, Facebook's numeric group ID.
namestring
The name its links use, without a prefix (golang for r/golang; a Facebook group's vanity name); null when it has none (a Facebook group known only by its number).
titlestring
The community's title as its page shows it ("The Go Programming Language"; what Facebook calls a group's name); null when it has none.
descriptionstring
Its short description as plain text; null when it has none.
urlstring
Canonical community URL (https://www.reddit.com/r/golang/, https://www.facebook.com/groups/<id>/).
avatar_urlstring
The community's icon or picture; null when it has none. Platform CDN URLs can expire.
banner_urlstring
Header or cover image URL; null when it has none.

What teams build with the Reddit Subreddit Search API.

  • Find where a topic or brand is discussed

  • Build a list of communities to monitor

  • Compare subreddits on one subject by activity

  • Resolve a topic to subreddit names

Good to know before you build.

  • Reddit ranks relevance per visitor. A walk keeps one logged-out session, so its pages follow one ranking, but two walks of the same query can differ.
  • Reddit's search leaves NSFW and quarantined subreddits out logged out, so they aren't found here. The Reddit Subreddit API reads one by name.
  • Results show only what Reddit's search shows: title, creation date, privacy, banner, member nickname and rules are null (rules listed in unknown_fields). The Reddit Subreddit API returns them.
  • Reddit shows no subscriber count logged out, so metrics.member_count is null. platform_specific.reddit.weekly_visitor_count and weekly_contribution_count are the activity Reddit shows instead.
  • Reddit's community search matches loosely: a query no subreddit name or description contains still returns Reddit's nearest matches.
  • Reddit serves a limited number of result pages per search. A walk that reaches the last one ends with end_reason platform_limit.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Public page page1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Reddit Subreddit Search API.

More in the API reference.

How much does the Reddit Subreddit Search API cost?
A page of up to 10 subreddits costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 1 hour.

Try it with your own search.

Type it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs