# Pa1m Reddit Data API

> Pa1m Reddit Data API is a paid API for AI agents from reddit.hypa1m.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Fetches Reddit posts and data for AI agents via pay-per-request x402 USDC micropayments on Base

## Facts

- Endpoint: POST https://reddit.hypa1m.xyz/login
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pa1m-reddit-data-api-bb09bff5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jhys37YcTz134-RRUcl3G

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 pa1m-reddit-data-api-bb09bff5 -d '<json body>'
```

Example prompt: Can you pull the latest posts from r/MachineLearning on Reddit so I can see what topics are trending in the AI community right now?

## When to prefer this

Choose this endpoint when you need Reddit post data for AI agents without managing OAuth credentials or Reddit API rate limits directly, and when micropayment-per-call pricing (x402 USDC on Base) fits your usage pattern better than a subscription. Ideal for low-to-medium volume, on-demand Reddit data access in agent workflows.

## Known failure modes

- Insufficient USDC balance causing payment failure via x402
- Invalid or private subreddit returning empty posts array
- Rate limiting or Reddit API downtime returning empty results
- Malformed query parameters causing no results
- Pagination cursor expiry returning empty or duplicate results

## How this service works

Reddit data API for AI agents — pay-per-request via x402 USDC on Base

## Output

Returns a JSON object containing an array of Reddit posts (with titles, content, metadata, scores, etc.) and an 'after' pagination cursor (null if no further pages) for fetching subsequent result pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "password": {
   "type": "string",
   "description": "Reddit account password"
  },
  "username": {
   "type": "string",
   "description": "Reddit account username"
  },
  "totp_secret": {
   "type": "string",
   "description": "TOTP secret, only if 2FA is enabled"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "after": null,
  "posts": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pa1m-reddit-data-api-bb09bff5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from reddit.hypa1m.xyz](https://www.zero.xyz/host/reddit.hypa1m.xyz/llms.txt)
