Reddit Subreddits Search API
Find communities by name or topic, in Reddit's order of relevance.
- 1 credit per call
- Failed calls are free
- Updated
- reddit.subreddit.search
{ "items": [ { "name": "webdevelopment", "title": null, "active_users": null, "created_utc": null, "description": "Community for discussions about web development", "nsfw": false, "subscribers": null, "url": "https://www.reddit.com/r/webdevelopment/", "weekly_visitors": 15648 }, { "name": "webdev", "title": null, "active_users": null, "created_utc": null, "description": "A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.", "nsfw": false, "subscribers": null, "url": "https://www.reddit.com/r/webdev/", "weekly_visitors": 408621 } ]}
| # | Community | Description | Weekly visitors | Link | Nsfw |
|---|---|---|---|---|---|
| 1 | webdevelopment | Community for discussions about web development | 15,648 | https://www.reddit.com/r/webdevelopment/ | false |
| 2 | webdev | A community dedicated to all things web development: both front… | 408,621 | https://www.reddit.com/r/webdev/ | false |
| 3 | Frontend | /r/frontend is a subreddit for front end web developers who wan… | 34,695 | https://www.reddit.com/r/Frontend/ | false |
| 4 | FreelanceProgramming | Best place to hire and get hired for freelance work. A place by… | 2458 | https://www.reddit.com/r/FreelanceProgramming/ | false |
| 5 | FullStack | Welcome to Full-stack Development! A mix of back-end & front-en… | 11,474 | https://www.reddit.com/r/FullStack/ | false |
| 6 | WebdevTutorials | Web Development Tutorials | 664 | https://www.reddit.com/r/WebdevTutorials/ | false |
| 7 | WebDeveloperJobs | Jobs for JavaScript web developers who have experience with or … | 9075 | https://www.reddit.com/r/WebDeveloperJobs/ | false |
| 8 | learnprogramming | A subreddit for all questions related to programming in any pro… | 365,573 | https://www.reddit.com/r/learnprogramming/ | false |
| 9 | developers | Share your knowledge, ask questions, and engage with other memb… | 14,145 | https://www.reddit.com/r/developers/ | false |
| 10 | programming | Computer Programming | 200,401 | https://www.reddit.com/r/programming/ | false |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| q | string | yes | Community name, prefix, or topic. | web development |
| limit | integer | no | Result count (default 10). From 1 to 25. Default: 10. |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| items[].name | string | The community's name. | webdevelopment |
| items[].description | string | The community's description. | Community for discussions about web development |
| items[].weekly_visitors | integer | Weekly visitors, as Reddit shows them. | 15,648 |
| items[].nsfw | boolean | Whether Reddit marks it as adult content. | false |
| items[].url | string | The community's page. | https://www.reddit.com/r/webdevelopment/ |
| items[].title | null | The community's title, when it has one. | null |
| items[].active_users | null | Members online now, when Reddit shows it. | null |
| items[].created_utc | null | When the community was created, when Reddit shows it. | null |
| items[].subscribers | null | Members, when Reddit shows the count. | null |
| items | array | The matching communities. | 10 records |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "reddit.subreddit.search", "input": { "q": "web development" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "reddit.subreddit.search", "input": { "q": "web development" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "reddit.subreddit.search", "input": { "q": "web development" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, find the Reddit communities about web development and rank them by weekly visitors.
More from the Reddit API
Reddit Subreddits Search API FAQ
The short answers. The docs have the long ones.
How much does the Reddit Subreddits Search API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send q. The input fields below list every option with its type and limits.
Do I need a Reddit login?
No. It reads public Reddit data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds reddit.subreddit.search, checks its price and runs it with the same credits as the REST API.
Your first Reddit call is free.
Up to 100 free credits to start, no card needed.