# AnyAPI Reddit Subreddit Posts

> AnyAPI Reddit Subreddit Posts is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, not verified (last probed 2026-10-10); live alternatives: Reddit Search ($0.02) and Search Reddit ($0.003).

Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.

Live alternatives for the same use case:
- [Reddit Search](https://www.zero.xyz/c/stableenrich-search-053bf159) ($0.02)
- [Search Reddit](https://www.zero.xyz/c/zeroclick-x402-service-registry-search-reddit-523be5dd) ($0.003)

Scrapes and returns post listings from a specified Reddit subreddit

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/reddit.subreddit_posts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-07-01
- Success rate: 100% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-reddit-subreddit-posts-4ccfe40a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f4gX_75QgGN2z6bsTgP_c

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-posts-4ccfe40a -d '<json body>'
```

Example prompt: Pull the top 25 hot posts from r/MachineLearning on Reddit and give me the titles, upvote counts, and links.

## When to prefer this

Use this endpoint when you need to programmatically retrieve Reddit subreddit post listings without managing a Reddit API key or OAuth flow, and want pay-per-request pricing with no monthly subscription. Ideal for agents that need occasional Reddit data, one-off research tasks, or workflows where Reddit is one of many data sources accessed through a unified AnyAPI key.

## Known failure modes

- Subreddit does not exist or is banned — returns error or empty result
- Subreddit is private or quarantined — access denied
- Rate limiting or Reddit blocking the scraper — may return partial or no data
- Invalid sort/filter parameter — may default or error
- Request times out due to Reddit server latency

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

A JSON response containing a list of Reddit posts from the specified subreddit, including post titles, URLs, upvote/score counts, number of comments, author usernames, post creation timestamps, and other post metadata.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-reddit-subreddit-posts-4ccfe40a/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)
