# Reddit Subreddit Posts

Fetch posts from a subreddit listing (hot, new, or top).

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

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `subreddit` | string | yes | Subreddit name without the leading r/ (e.g. "golang"). |
| `after` | string | no | Legacy pagination alias. Prefer \`cursor\`; omit both fields for the first page. |
| `cursor` | string | no | Opaque pagination cursor from a previous response's \`nextCursor\`; omit for the first page. |
| `limit` | integer | no | Requested number of posts. Note: the upstream returns one page (about 25 posts) per call; values larger than a page are not delivered in a single response. To fetch more, pass \`nextCursor\` back as \`cursor\`. |
| `sort` | string | no | Listing sort order. |
| `timeframe` | string | no | Time window, applied when sort is "top" (e.g. "year" for the year's top posts). Ignored for hot/new. Omit to default to the current day for top. |

## Call it

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

```python
import os, requests

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

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Reddit Subreddit Details](https://www.orcarouter.ai/tools/reddit/other/reddit-subreddit-details.md) | — | $0.000418 per call | OK |
| [Reddit Post](https://www.orcarouter.ai/tools/reddit/other/reddit-post.md) | — | $0.00055 per call | OK |
| [Check subreddit muted status by t5 fullname](https://www.orcarouter.ai/tools/reddit/other/x-reddit-app-check-subreddit-muted.md) | — | $0.0011 per call | OK |
| [Reddit subreddit highlights by t5 fullname](https://www.orcarouter.ai/tools/reddit/other/x-reddit-app-fetch-community-highlights.md) | — | $0.0011 per call | OK |
| [Reddit games feed](https://www.orcarouter.ai/tools/reddit/other/x-reddit-app-fetch-games-feed.md) | — | $0.0011 per call | OK |
| [Reddit search suggestions by partial keyword](https://www.orcarouter.ai/tools/reddit/other/x-reddit-app-fetch-search-typeahead.md) | — | $0.0011 per call | OK |
| [Reddit subreddit details by subreddit name](https://www.orcarouter.ai/tools/reddit/other/x-reddit-app-fetch-subreddit-info.md) | — | $0.0011 per call | OK |
| [Reddit subreddit settings by t5 fullname](https://www.orcarouter.ai/tools/reddit/other/x-reddit-app-fetch-subreddit-settings.md) | — | $0.0011 per call | OK |
| [Reddit subreddit style by subreddit name](https://www.orcarouter.ai/tools/reddit/other/x-reddit-app-fetch-subreddit-style.md) | — | $0.0011 per call | OK |
| [Reddit user's active subreddits by username](https://www.orcarouter.ai/tools/reddit/other/x-reddit-app-fetch-user-active-subreddits.md) | — | $0.0011 per call | OK |

Showing the first 10 of 13.

## FAQ

### How much does Reddit Subreddit Posts cost?

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

### What does a $10 budget buy with Reddit Subreddit Posts?

About 23923 calls at $0.000418 per call.

### What inputs does Reddit Subreddit Posts need?

Required inputs: subreddit.

### How do I call Reddit Subreddit Posts?

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/other/reddit-subreddit-posts
