Subreddit metadata — members, activity, description, and branding
Get subreddit metadata including member and activity counts, description, creation time, icon, banner, and NSFW status.
/community-details Community https://api.fetchlayer.dev/reddit/community-details Headers
Authorization string required Bearer token — your FetchLayer API key.
Parameters
subreddit string required Subreddit name (without r/).
Response Fields
community-details
Subreddit metadata — members, activity, description, and branding
blocked boolean Whether Reddit returned a block or verification page.
blockReason string | null Machine-readable block reason when blocked is true; otherwise omitted.
blockedBodyText string | null Diagnostic block-page text when blocked is true; otherwise omitted.
pageTitle string Title of the scraped Reddit page.
requestedUrl string Reddit URL requested by the scraper.
fetchUrl string Normalized Reddit URL fetched by the scraper.
finalUrl string Final URL after redirects.
responseStatus number | null HTTP status returned by Reddit, or null when unavailable.
subreddit string | null Subreddit name without the r/ prefix.
subredditPrefixed string | null Subreddit name with the r/ prefix.
title string | null Community display title.
descriptionText string Plain-text community description.
descriptionHtml string | null HTML community description when available.
memberCount number | null Community member count.
memberCountText string | null Member count text as displayed by Reddit.
activeCount number | null Active-user or weekly-contributor count exposed by Reddit.
activeCountText string | null Active count text as displayed by Reddit.
createdAt string | null ISO 8601 community creation timestamp.
nsfw boolean Whether the community is marked NSFW.
iconUrl string | null Community icon URL.
bannerUrl string | null Community banner URL.
url string | null Absolute subreddit URL.
scrapedAt string ISO 8601 timestamp for the scrape.
transport string Reddit page transport used for extraction.
Request
curl -X POST "https://api.fetchlayer.dev/reddit/community-details" \
-H "Authorization: Bearer ss-your-key" \
-H "Content-Type: application/json" \
-d '{"subreddit":"programming"}'Response
{
"blocked": false,
"subreddit": "programming",
"subredditPrefixed": "r/programming",
"title": "Programming",
"descriptionText": "Computer Programming",
"memberCount": 35000000,
"memberCountText": "35M members",
"activeCount": 45000,
"activeCountText": "45K weekly contributions",
"createdAt": "2008-01-25T00:00:00.000Z",
"nsfw": false,
"url": "https://www.reddit.com/r/programming/",
"transport": "new-reddit-html"
}