# Pa1m Reddit Vote Data API

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

Fetches Reddit post voting/ranking data for a given subreddit or query via a pay-per-request x402 USDC API

## Facts

- Endpoint: POST https://reddit.hypa1m.xyz/vote?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pa1m-reddit-vote-data-api-6dfeb3f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g7ppivUq1twWkvxVQ9PkT

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-vote-data-api-6dfeb3f7 -d '<json body>'
```

Example prompt: Pull the top voted posts from r/technology right now — I want to see what's trending there today.

## When to prefer this

Choose this endpoint when your AI agent needs programmatic, pay-per-use access to Reddit post voting/ranking data without managing Reddit API OAuth credentials. It is ideal for agents that need lightweight, on-demand access to subreddit feeds paid via USDC on Base (x402 protocol), rather than maintaining a persistent Reddit developer account or dealing with Reddit's API rate limits directly.

## Known failure modes

- Payment failure — insufficient USDC balance or x402 payment not accepted returns a 402 error
- Invalid subreddit name returns empty posts array
- Rate limiting or Reddit API unavailability may cause timeouts
- Malformed request body returns an error response
- Private or banned subreddits return no results

## How this service works

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

## Output

Returns a JSON object with a list of Reddit posts (including titles, vote counts, URLs, and metadata) and a pagination cursor (`after`) for fetching subsequent pages. An empty posts array with null after indicates no results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "loid": {
   "type": "string",
   "description": "loid cookie from /login"
  },
  "thing_id": {
   "type": "string",
   "description": "Fullname of the target, e.g. t3_ for a post or t1_ for a comment"
  },
  "direction": {
   "type": "string",
   "description": "1 to upvote, -1 to downvote, 0 to clear"
  },
  "csrf_token": {
   "type": "string",
   "description": "Optional CSRF token"
  },
  "reddit_session": {
   "type": "string",
   "description": "Session cookie from /login"
  }
 }
}
```

## 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-vote-data-api-6dfeb3f7/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)
