# ScrapFly Reddit Popular Posts API

> ScrapFly Reddit Popular Posts 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 popular/trending posts from Reddit based on a search query

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/reddit/popular
- 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-popular-posts-api-a32ea752
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mAQebGg50frfagY4QuPmL

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-popular-posts-api-a32ea752 -d '<json body>'
```

Example prompt: What are the most popular Reddit posts right now about electric vehicles? Pull the trending discussions so I can see what the community is talking about.

## When to prefer this

Use this endpoint when you need to retrieve trending or popular Reddit content for a specific topic without direct Reddit API credentials. It is ideal for social listening, sentiment research, content ideation, or market research tasks where Reddit community opinion matters. Prefer this over direct Reddit API access when you want a simple pay-per-request model without OAuth setup.

## Known failure modes

- Reddit rate limiting or blocking causing scrape failure
- Invalid or empty query string returning no results
- Reddit page structure changes breaking the scraper
- Network timeout on slow Reddit responses
- Query returns no popular posts (empty data set)
- Payment failure via x402 on Base chain preventing request

## How this service works

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

## Output

Returns a success boolean and a data object containing popular Reddit posts matching the query, likely including post titles, URLs, upvote counts, subreddit names, author info, comment counts, and post metadata.

## Request schema (JSON Schema)

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

## 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-popular-posts-api-a32ea752/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)
