reddit.com Subreddit API
Returns a subreddit's profile: name, id (t5_...), url, description, weekly_visitors, weekly_contributions, icon and banner image URLs and its status message (or null).
https://api.maviapi.com/v1/sites/reddit/get_subreddit5 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
subredditstring in query | Optional | python | subreddit name, with or without the r/ prefix, e.g. python |
Response fields
namee.g."Python"ide.g."t5_2qh0y"urle.g."https://www.reddit.com/r/Python/"descriptione.g."The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. \n---\n\nIf you have questions or are new to Python use r/LearnPython"weekly_visitorse.g.89865weekly_contributionse.g.568icone.g."https://styles.redditmedia.com/t5_2qh0y/styles/communityIcon_lctik80p96tg1.png?width=64&frame=1&auto=webp&s=92baaacc951d52b5071629852df033d53cafa5ec"bannere.g."https://styles.redditmedia.com/t5_2qh0y/styles/bannerBackgroundImage_cd73kiu1502d1.png?frame=1&auto=webp&s=cb043cb4ba040265a97554d8debbeb2ed419db16"statuse.g."Pycon US 2025 starts next week!"Example request
Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/reddit/get_subreddit' \
-H "Authorization: Bearer $MAVI_KEY"reddit.com Subreddit API questions
What you get, what it costs and how to call it.
What does the reddit.com Subreddit API return?
Returns a subreddit's profile: name, id (t5_...), url, description, weekly_visitors, weekly_contributions, icon and banner image URLs and its status message (or null). The response has name, id, url, description, weekly_visitors, weekly_contributions, icon, banner and 1 more.
Which parameters does the reddit.com Subreddit API take?
Every parameter of GET /get_subreddit is optional. You can pass subreddit.
How much does one reddit.com Subreddit API call cost?
One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the reddit.com Subreddit API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/reddit/get_subreddit with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.
Is the reddit.com Subreddit API official?
No. It is an independent, hosted API from maviapi for the public data on reddit.com, and it is not made, endorsed or supported by reddit.com. Its parameters and response fields are documented on this page.