# ScrapFly Reddit Crawler

> ScrapFly Reddit Crawler is a paid API for AI agents from scrapfly.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-24).

Crawls and extracts content from a Reddit URL, returning structured data about posts, comments, or subreddit pages.

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/crawl/reddit?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-reddit-crawler-8604ecb0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PAp12e_JdwXGNw8xCt26O

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 scrapfly-reddit-crawler-8604ecb0 -d '<json body>'
```

Example prompt: Scrape this Reddit thread and give me the post content along with all the top comments: https://www.reddit.com/r/MachineLearning/comments/abc123/some_post_title/

## When to prefer this

Use this endpoint when you need to extract structured data specifically from Reddit — posts, comments, subreddit listings — without managing proxy infrastructure or anti-bot measures yourself. Prefer this over generic HTTP fetch when Reddit's bot detection would otherwise block you, or when you need parsed structured output rather than raw HTML.

## Known failure modes

- Invalid or malformed Reddit URL returns error
- Reddit rate-limiting or bot detection causes scrape failure
- Private or quarantined subreddit URLs return no data
- Deleted posts or removed content return empty data
- Network timeout results in failed success response
- URL points to non-Reddit domain and returns unexpected results

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

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

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

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