POST/api/v1/community-detailsCommunity

Community Details

Fetch metadata about a specific subreddit, including its subscriber count, current active users, public description, rules, and styling information.

Ready to try it?

Create a free account — 30 requests included, no credit card.

Get free API key →

Request Parameters

Send as a JSON body in your POST request.

ParameterTypeRequired
subredditstringYes

Code Examples

curl

curl -X POST https://subscraper.dev/api/v1/community-details \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "subreddit": "learnprogramming"
  }'

TypeScript SDK

const details = await client.getCommunityDetails({
  subreddit: "learnprogramming"
});
Install the SDK →

Sample Response

{
  "name": "learnprogramming",
  "title": "Learn Programming",
  "publicDescription": "A subreddit for all questions related to programming in any language.",
  "subscribers": 3500000,
  "activeUsers": 4200,
  "createdUtc": 1256345678,
  "nsfw": false,
  "iconImg": "https://b.thumbs.redditmedia.com/...",
  "bannerImg": "https://a.thumbs.redditmedia.com/..."
}

Common Use Cases

  • Validating if a subreddit exists before scraping
  • Analyzing community growth and size
  • Displaying community headers in a custom UI
  • Checking community rules before automating posts

Credits

Each call to /api/v1/community-details uses 1 credit. Free tier includes 30 credits. View pricing →

Related Tools & Guides

All developer tools →

Related Endpoints

Start using /community-details now

Free tier — 30 requests, no credit card required.