# ScrapFly Reddit Subreddit Data API

> ScrapFly Reddit Subreddit Data API is a paid API for AI agents from test-scrapfly.orbonomy.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Fetches structured data about a Reddit subreddit by name, returning posts, metadata, and community information.

## Facts

- Endpoint: POST https://test-scrapfly.orbonomy.xyz/api/reddit/subreddit
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-reddit-subreddit-data-api-99290519
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iaP_l9U7IbuLaC1ys_vR6

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-99290519 -d '<json body>'
```

Example prompt: Can you pull the latest data from the r/MachineLearning subreddit — posts, metadata, the usual community info?

## When to prefer this

Use this endpoint when you need structured Reddit subreddit data — posts, metadata, community stats — without building your own scraper. Ideal when you want to avoid Reddit API rate limits and authentication complexity, or when you need quick programmatic access to subreddit content paid per-request via x402 on Base chain.

## Known failure modes

- Invalid or non-existent subreddit name returns success: false
- Rate limiting or blocked requests from Reddit
- Network timeout reaching Reddit
- Missing required 'name' field returns validation error
- Private or quarantined subreddits may return no data

## How this service works

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

## Output

A JSON object with a success boolean and a data object containing structured subreddit information such as posts, community metadata, subscriber counts, and other Reddit subreddit details.

## 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-99290519/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from test-scrapfly.orbonomy.xyz](https://www.zero.xyz/host/test-scrapfly.orbonomy.xyz/llms.txt)
