# ScrapFly Reddit Subreddit Data API

> ScrapFly Reddit Subreddit Data API is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-14).

Fetches metadata and information about a Reddit subreddit by name via a paid API endpoint

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/reddit/subreddit
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-reddit-subreddit-data-api-afefdd59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i2O2hHJTvk0aP8P5j5yWU

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-subreddit-data-api-afefdd59 -d '<json body>'
```

Example prompt: Can you pull up all the details and metadata for the r/MachineLearning subreddit — things like its description, subscriber count, and any other community info?

## When to prefer this

Use this endpoint when you need Reddit subreddit metadata without access to the official Reddit API or when you want a simple pay-per-request model with no OAuth setup. Particularly useful for agents that need one-off subreddit lookups, community research, or pipeline validation at $0.09 per call without managing API credentials.

## Known failure modes

- Subreddit does not exist — may return success:false or empty data
- Subreddit is private or quarantined — scrape may fail or return restricted data
- Rate limiting or blocking by Reddit — request may time out or return error
- Invalid or empty subreddit name input — likely returns success:false
- Payment failure via x402 on Base chain — request not processed

## 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 subreddit metadata such as name, description, subscriber count, rules, and other community details scraped from Reddit.

## Request schema (JSON Schema)

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

## 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-subreddit-data-api-afefdd59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scravfly.vercel.app](https://www.zero.xyz/host/scravfly.vercel.app/llms.txt)
