# Search Reddit posts by keyword

Searches across all of Reddit for posts matching a query.

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

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | yes | Search query |
| `after` | string | no | Pagination token from the previous response (after) to get the next page |
| `filter` | string | no | Search posts or comments. Default posts. |
| `sort` | string | no | Prefer relevance when you want posts matching the query. One of: relevance \| new \| top \| comment_count. sort=new is chronological newest-first and often returns weakly related or unrelated sitewide posts (not "recent posts about X"). Brand/token queries may also match colloquial substrings under ne… |
| `timeframe` | string | no | Post search timeframe. One of: all \| day \| week \| month \| year. |
| `trim` | boolean | no | Set to true for a trimmed down version of the response |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/scrapecreators.reddit-search-posts/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/scrapecreators.reddit-search-posts/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"query":"<query>"}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Reddit Search](https://www.orcarouter.ai/tools/reddit/search-posts/reddit-search.md) | — | $0.000418 per call | OK |
| [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/x-reddit-search-v1.md) | — | $0.016236 per call | OK |

## FAQ

### How much does Search Reddit posts by keyword cost?

Search Reddit posts by keyword costs $0.002068 per credit: 1,000 units cost $2.068.

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

About 4835 units (credit) at $0.002068 each.

### What inputs does Search Reddit posts by keyword need?

Required inputs: query.

### How do I call Search Reddit posts by keyword?

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-posts
