# Reddit Search

Search Reddit posts across all subreddits by query.

|  |  |
| --- | --- |
| Tool id | `anyapi.reddit-search` |
| Platform | [Reddit](https://www.orcarouter.ai/tools/reddit.md) |
| Capability | [Search posts](https://www.orcarouter.ai/tools/reddit/search-posts.md) |
| Price | $0.000418 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | 16 |
| Idempotent | no |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | yes | Free-text search across all of Reddit. Reddit's field operators are supported inside the string: subreddit:\<name> to scope to one subreddit, author:\<user>, title:\<text>, selftext:\<text>, self:yes\|no, nsfw:yes\|no, and boolean AND/OR/NOT. To restrict to a single subreddit you can use subreddit:\<name> |
| `cursor` | string | no | Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of results. |
| `sort` | string | no | Result sort order. |
| `timeframe` | string | no | Time window for results. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/anyapi.reddit-search/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"<query>"}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/anyapi.reddit-search/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"query":"<query>"}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Reddit Subreddit Search](https://www.orcarouter.ai/tools/reddit/search-posts/reddit-subreddit-search.md) | — | $0.000418 per call | OK |
| [Search Reddit posts by keyword](https://www.orcarouter.ai/tools/reddit/search-posts/reddit-search-posts.md) | — | $0.002068 per credit | OK |
| [Search Reddit posts by keyword](https://www.orcarouter.ai/tools/reddit/search-posts/x-reddit-search-v1.md) | — | $0.016236 per call | OK |

## FAQ

### How much does Reddit Search cost?

Reddit Search costs $0.000418 per call: 1,000 calls cost $0.418.

### What does a $10 budget buy with Reddit Search?

About 23923 calls at $0.000418 per call.

### What inputs does Reddit Search need?

Required inputs: query.

### How do I call Reddit Search?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/reddit/search-posts/reddit-search
