# Reddit Scraper via Cerwal

> Reddit Scraper via Cerwal is a paid API for AI agents from cerwal.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Fetches and extracts structured data from a given Reddit URL, returning post content, comments, or subreddit information.

## Facts

- Endpoint: POST https://cerwal.vercel.app/api/reddit
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reddit-scraper-via-cerwal-b32415be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IttmMMxwJr6lfli7M3t28

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 reddit-scraper-via-cerwal-b32415be -d '<json body>'
```

Example prompt: Can you scrape this Reddit thread and pull out all the content for me? Here's the URL: https://www.reddit.com/r/MachineLearning/comments/xyz123/some_discussion/

## When to prefer this

Choose this endpoint when you need to extract structured data from a specific Reddit URL without managing Reddit API credentials or OAuth flows. It is ideal for AI agents that need to read Reddit threads, posts, or subreddit pages on-demand with simple pay-per-call pricing in USDC. Prefer this over the official Reddit API when you want frictionless, no-subscription access to Reddit content at low cost.

## Known failure modes

- Invalid or malformed Reddit URL returns an error or success: false
- Private or banned subreddit URLs may return no data
- Reddit rate limiting or blocking may cause fetch failures
- Non-Reddit URLs passed to the endpoint will likely fail or return empty data
- Deleted posts or removed content may yield empty or partial data

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing the extracted Reddit content — which may include post title, body, author, score, comments, metadata, and other structured fields parsed from the given Reddit URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "Reddit URL"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reddit-scraper-via-cerwal-b32415be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerwal.vercel.app](https://www.zero.xyz/host/cerwal.vercel.app/llms.txt)
