# ScrapFly Reddit Popular Posts API

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

Fetches popular/trending posts from Reddit based on a search query

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/reddit/popular?utm_source=zero.xyz
- Price: $0.03/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-popular-posts-api-69af1780
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FdU2jq7hm3BQ0hrHv1fZe

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

Example prompt: Can you pull the most popular Reddit posts about 'artificial intelligence' right now so I can see what the community is talking about?

## When to prefer this

Choose this endpoint when you need to retrieve popular/trending Reddit content programmatically without managing your own Reddit API credentials or scraping infrastructure. Ideal for agents that need real-time community sentiment, trending topics, or social proof data from Reddit as part of a research or monitoring workflow. Prefer over direct Reddit API when you want pay-per-use pricing via x402 on Base chain with no subscription setup.

## Known failure modes

- Reddit rate limiting or blocking causing scrape failure
- Empty results if query matches no popular posts
- Stale data if Reddit's popular feed hasn't refreshed
- Payment failure on Base chain preventing request execution
- Malformed query input returning error response
- Reddit anti-bot measures triggering temporary blocks

## 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 flag and a data object containing popular Reddit posts matching the query, likely including post titles, upvote counts, comment counts, subreddit names, post URLs, and author information scraped from Reddit's popular feed.

## 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-69af1780/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)
