# DataPipe API — Reddit Top Posts

> DataPipe API — Reddit Top Posts is a paid API for AI agents from v2kidnapi.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Fetches the top posts from a specified Reddit subreddit

## Facts

- Endpoint: POST https://v2kidnapi.vercel.app/api/reddit/top
- 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/datapipe-api-reddit-top-posts-506aafc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JPqMDdlG5aEcR4BAsdozR

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 datapipe-api-reddit-top-posts-506aafc6 -d '<json body>'
```

Example prompt: Can you grab the top 25 posts from r/MachineLearning on Reddit so I can see what the community is talking about right now?

## When to prefer this

Use this endpoint when you need to retrieve top Reddit posts from a specific subreddit programmatically and pay per use via crypto (x402/USDC on Base chain), without needing a Reddit developer account. Prefer this over direct Reddit API access when you want a simple pay-as-you-go model without OAuth setup.

## Known failure modes

- Invalid or private subreddit name returns an error
- Subreddit not found results in failure response
- Rate limiting or Reddit API downtime causes request failure
- Missing required subreddit parameter causes validation error
- Malformed request body causes 400-level error

## How this service works

Multi-source data API for AI agents. Search, news, Reddit, translation, web scraping. Pay with x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing the top posts from the specified subreddit, including post metadata such as titles, scores, and other Reddit post fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "subreddit"
 ],
 "properties": {
  "limit": {
   "type": "number",
   "description": "Number of posts"
  },
  "subreddit": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datapipe-api-reddit-top-posts-506aafc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from v2kidnapi.vercel.app](https://www.zero.xyz/host/v2kidnapi.vercel.app/llms.txt)
