AgentAPIGate
Back to Catalog
GET /v1/reddit/subreddit/searchPack: social·MCP Tool: reddit_subreddit_search

Reddit Subreddits & Communities Discovery Search

Discover Reddit communities matching any topic keyword with subscriber counts, active users, NSFW flags, descriptions, and URLs.

API Key Price:$0.0015 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Topic or keyword to search Reddit communities
Max subreddits (1-25)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/reddit/subreddit/search" \
  --data-urlencode "query=artificial intelligence" \
  --data-urlencode "limit=10" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-93% tokens
# Reddit Subreddits & Communities Discovery Search (`reddit.subreddit.search`)
**query**: artificial intelligence · **count**: 10

## subreddits
- [1] name: ArtificialInteligence, title: Artificial Intelligence, subscribers: 1992000, over18: false, description: The high-signal hub for artificial intelligence!
- [2] name: artificial, title: Artificial Intelligence (AI), subscribers: 1366289, over18: false, description: Reddit’s home for Artificial Intelligence (AI)
- [3] name: antiai, title: Anti AI, subscribers: 437894, over18: false, description: A recently resurrected and growing community for critical discussion on advancements in artificial intelligence. Now reopened to the public.
- [4] name: AIDiscussion, title: Artificial Intelligence, subscribers: 56161, over18: false, description: This is a subreddit about artificial intelligence. The discussions are about the technical and philosophical aspects of AI
- [5] name: AIDangers, title: AIDangers, subscribers: 71979, over18: false, description: AI Risk Awareness on Reddit. All about how upcoming autonomous AGI systems could go wrong. If you are a true techno-optimist at heart, use AI all the time and love how much power it gives you, you understand how this 
- [6] name: agi, title: Artificial General Intelligence - Strong AI Research, subscribers: 135524, over18: false, description: Artificial general intelligence (AGI) is the intelligence of a machine that could successfully perform any intellectual task that a human being can. It is a primary goal of artifi
- [7] name: artificialintelligenc, title: Artificial Intelligence, subscribers: 9137, over18: false, description: Welcome to the AI party! 🎉🤖 Here, we chat about everything AI: from the witty banter of LLMs like ChatGPT, self-driving cars that might just honk in binary, to image generators crafting mast
- [8] name: singularity, title: Singularity, subscribers: 4032500, over18: false, description: Everything pertaining to the technological singularity and related topics, e.g. AI, human enhancement, etc.
- [9] name: Artificials, title: Artificials, subscribers: 17317, over18: false, description: A community for everything artificial: AI, robotics, synthetic biology, virtual humans, computer-generated media, automation, and the technologies shaping an increasingly artificial world. Share news, research, pr
- [10] name: ArtificialNtelligence, title: artificial intelligence, subscribers: 43155, over18: false, description: Welcome to Artificial Ntelligence - This community is devoted to the field of Artificial Intelligence.

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: reddit.subreddit.search · Method: GET
ParameterTypeReqSample / DefaultDescription
querystringrequiredartificial intelligenceTopic or keyword to search Reddit communities
limitnumberoptional10Max subreddits (1-25)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0015 / call$0/mo · Balance never expires
Remote MCP Toolreddit_subreddit_searchOAuth 2.1 Hub & /mcp/social
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency683 ms$0 billed on empty or 4xx/5xx
Token Economy8905t → 667t (-93%)Partner credit: eligible

More reddit.subreddit Sibling Endpoints

Frequently Asked Questions

How do I call Reddit Subreddits & Communities Discovery Search (reddit.subreddit.search) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/reddit/subreddit/search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool reddit_subreddit_search on https://mcp.agentapigate.ai/mcp.

What does reddit.subreddit.search cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on reddit.subreddit.search?

Passing ?format=md transforms the response into normalized Markdown (~667 tokens vs ~8905 raw tokens, saving 93% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only social endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["social"], optional allowed_endpoints: ["reddit.subreddit.search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.