RedditapisRedditapis
Listings & Search

Get a Subreddit's Metadata (Subscribers, Type)

Fetch a subreddit's public metadata by name: title, description, subscriber and active-user counts, creation date, type, and NSFW flag.

GET/api/reddit/sub/:name/about$0.002 / call

A subreddit's public metadata (Reddit's /r/<name>/about data): title, public description, subscriber count, creation date, type, and NSFW flag. Returns a single object, not a list.

When to use this

Use it to size or vet a community before you list or search its posts: check how many subscribers it has, whether it is public/restricted/private, whether it is over-18, and read its description. One read.

Path Parameters

ParameterTypeRequiredDescription
namestringYesSubreddit name (no r/ prefix)

A subreddit that does not exist returns 404.

Example

curl -H "Authorization: Bearer $TOKEN" \
  "https://api.redditapis.com/api/reddit/sub/Python/about"
const response = await fetch(
  "https://api.redditapis.com/api/reddit/sub/Python/about",
  { headers: { Authorization: "Bearer TOKEN" } }
);
const data = await response.json();
import requests

response = requests.get(
    "https://api.redditapis.com/api/reddit/sub/Python/about",
    headers={"Authorization": "Bearer TOKEN"},
)

Response Shape

{
  "name": "Python",
  "id": "2qh0y",
  "fullname": "t5_2qh0y",
  "title": "Python",
  "display_name_prefixed": "r/Python",
  "public_description": "The official Python community for Reddit!",
  "description": "...",
  "subscribers": 1500869,
  "active_user_count": 1240,
  "created_utc": 1201261935,
  "created": "2008-01-25T12:32:15.000Z",
  "over_18": false,
  "subreddit_type": "public",
  "url": "/r/Python/",
  "lang": "en",
  "icon_img": "https://b.thumbs.redditmedia.com/...png",
  "banner_img": "https://styles.redditmedia.com/...png"
}

Response Fields

FieldTypeNotes
namestringSubreddit name (the display_name, no r/ prefix)
idstringSubreddit id without prefix
fullnamestringFull id with the t5_ prefix
titlestringSubreddit title
display_name_prefixedstringThe r/name form
public_descriptionstringShort public blurb
descriptionstring | nullFull sidebar description (markdown)
subscribersnumberSubscriber count
active_user_countnumber | nullUsers online now (Reddit often omits this, may be null)
created_utcnumberUnix epoch seconds
createdstring | nullISO-8601 form of created_utc
over_18boolean | nulltrue if the subreddit is NSFW
subreddit_typestringpublic | restricted | private | ...
urlstringSubreddit path, e.g. /r/Python/
langstring | nullPrimary language code (e.g. en)
icon_imgstring | nullCommunity icon URL (may be empty / null)
banner_imgstring | nullBanner image URL (may be empty / null)

Independent third-party API for developers and researchers. Not affiliated with, endorsed by, or sponsored by Reddit, Inc.

On this page