# Search Reddit posts, communities, comments by keyword

Reddit: fetch dynamic search (app)

|  |  |
| --- | --- |
| Tool id | `tikhub.x-reddit-app-fetch-dynamic-search` |
| Platform | [Reddit](https://www.orcarouter.ai/tools/reddit.md) |
| Capability | [Post comments](https://www.orcarouter.ai/tools/reddit/post-comments.md) |
| Price | $0.0011 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | yes | Search query |
| `after` | string | no | Pagination parameter |
| `allow_nsfw` | string | no | Allow NSFW content: 0, 1 |
| `need_format` | boolean | no | Whether to clean and format the data |
| `safe_search` | string | no | Safe search setting: unset, strict |
| `search_type` | string | no | 搜索类型/Search type: post(帖子), community(社区), comment(评论), media(媒体), people(用户) |
| `sort` | string | no | 排序方式(仅适用于post/comment/media)/Sort method (only for post/comment/media): RELEVANCE(相关性), HOT(热门), TOP(最受欢迎), NEW(最新), COMMENTS(评论数,仅post). Prefer RELEVANCE when you want posts matching the query. sort=NEW is chronological newest-first and often returns weakly related or unrelated sitewide posts (not… |
| `time_range` | string | no | 时间范围(仅适用于post/media)/Time range (only for post/media): all(所有时间), year(去年), month(上月), week(上周), day(今天), hour(过去1小时) |

## Call it

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

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Reddit Post Comments](https://www.orcarouter.ai/tools/reddit/post-comments/reddit-post-comments.md) | — | $0.00066 per call | OK |
| [Reddit User Comments](https://www.orcarouter.ai/tools/reddit/post-comments/reddit-user-comments.md) | — | $0.00066 per call | OK |
| [Reddit post comments by post fullname](https://www.orcarouter.ai/tools/reddit/post-comments/x-reddit-app-fetch-post-comments.md) | — | $0.0011 per call | OK |
| [Reddit user's comments by username](https://www.orcarouter.ai/tools/reddit/post-comments/x-reddit-app-fetch-user-comments.md) | — | $0.0011 per call | OK |
| [Reddit post comments by post id](https://www.orcarouter.ai/tools/reddit/post-comments/x-reddit-get-post-comments-v1.md) | — | $0.016236 per call | OK |

## FAQ

### How much does Search Reddit posts, communities, comments by keyword cost?

Search Reddit posts, communities, comments by keyword costs $0.0011 per call: 1,000 calls cost $1.10.

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

About 9090 calls at $0.0011 per call.

### What inputs does Search Reddit posts, communities, comments by keyword need?

Required inputs: query.

### How do I call Search Reddit posts, communities, comments 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/post-comments/x-reddit-app-fetch-dynamic-search
