# AnyAPI Reddit Subreddit Search

> AnyAPI Reddit Subreddit Search is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Searches Reddit subreddits by keyword or query, returning matching subreddit listings and metadata

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/reddit.subreddit_search
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-reddit-subreddit-search-bd42a5ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g4zfnom96HpdttNMuXmpb

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-reddit-subreddit-search-bd42a5ef -d '<json body>'
```

Example prompt: Search Reddit for subreddits about mechanical keyboards — I want to find the most relevant communities I can join or monitor.

## When to prefer this

Use this endpoint when you need to discover or enumerate Reddit subreddits matching a topic or keyword without a Reddit API key or subscription. Ideal for agents that need to find relevant Reddit communities programmatically, pay per use without a monthly commitment, and access subreddit discovery at scale via a single API key.

## Known failure modes

- No subreddits found for the given query — returns empty results array
- Invalid or missing query parameter — returns error response
- Reddit rate limiting or blocking of scraping request — returns failure or partial data
- Network timeout reaching Reddit — returns timeout error
- Malformed JSON response if Reddit changes its page structure

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a JSON list of subreddits matching the search query, typically including subreddit names, descriptions, subscriber counts, and other community metadata scraped from Reddit's subreddit search results.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-reddit-subreddit-search-bd42a5ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
