Introducing the Instagram APIRead more →

Reddit Subreddit API. Send a subreddit or its link.

Rules, description and weekly visitors. We handle the proxies, blocks and platform changes.

Reddit Subreddit API at a glance

Returns a public subreddit from its name or link: title, description, rules with their explanations, creation date, privacy, NSFW flag and icon. It also has the banner, what the subreddit calls its members, and the weekly visitors and contributions Reddit shows.

GET /v1/reddit/subreddit

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 17 typed fields null when unknown
  • url is all it needs, e.g. https://www.reddit.com/r/golang/
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 17 fields 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
url = https://www.reddit.com/r/golang/
GET /v1/reddit/subredditTry in
const params = new URLSearchParams({
  url: "https://www.reddit.com/r/golang/",
});
const res = await fetch(`https://socialtap.dev/v1/reddit/subreddit?${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, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/reddit/subredditLong 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

    The subreddit: its link on any reddit.com host (www, old, new, np, m, sh), any of its tabs included (/about, /new, /top, /wiki), r/<name>, or its bare name (golang).

  • 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 API.

  • Check a subreddit's rules before posting

  • Track a subreddit's weekly visitors over time

  • Enrich subreddit names with titles and icons

Good to know before you build.

  • Moderators and the subreddit's topic categories aren't shown logged out, so moderators and categories are [] and listed in unknown_fields.
  • A private, quarantined or members-only subreddit returns private_or_unavailable. A banned or unregistered name returns not_found.
  • r/popular and r/all are Reddit's feeds, not subreddits. The Reddit Subreddit Posts API reads their posts.
  • Reddit shows no privacy for an archived subreddit, so privacy is null there.

1 credit per request. Failed requests are free.

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

SourcePrice per successful requestPer 1,000 requests
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 API.

More in the API reference.

Does it return the subscriber count?
No. 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.
How much does the Reddit Subreddit API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste 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