Metadata of one subreddit: description, icon, creation date, weekly active users and advertiser category.
2 credits/ call
Never more than 3 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/reddit.subreddit_details" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"subreddit":"webscraping"}'{
"output": {
"found": true,
"data": {
"name": "<string>",
"weeklyActiveUsers": "<integer | null>",
"weeklyContributions": "<integer | null>",
"description": "<string | null>", …
}
},
"credits": 2
}Input and output
1 field
webscraping.8 fields
Good to know
Subscriber totals are not available. weeklyActiveUsers measures weekly activity.
Unknown subreddit? It comes back as not found, not as an error.
Terms of use. Usernames and user content are personal data under GDPR/CCPA even when pseudonymous: use for lawful purposes only, honour deletions, do not keep removed content, and do not train AI models on it without rightsholder permission (Data API Terms §2.4).
The same key and credits work for every API.