# QuantaFlow Reddit API Gateway (x402)

> QuantaFlow Reddit API Gateway (x402) is a paid API for AI agents from quanta-roan.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Proxies requests to the Reddit API through a pay-per-call x402 micropayment gateway, forwarding arbitrary paths, query params, and bodies to Reddit's upstream endpoints.

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/reddit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-reddit-api-gateway-x402-1dfa77df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N_kv5H5ST2SLV2b-E4z8y

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 quantaflow-reddit-api-gateway-x402-1dfa77df -d '<json body>'
```

Example prompt: Fetch the top 10 hot posts from the r/ethereum subreddit using the QuantaFlow Reddit proxy — use path '/r/ethereum/hot.json' with a limit of 10 in the query params.

## When to prefer this

Choose this endpoint when you need to access Reddit API data in a web3 or DeFi context where per-request USDC micropayments (x402 protocol) are preferred over traditional API key authentication. Ideal for agents that have a crypto wallet but no Reddit OAuth credentials, or for use cases requiring transparent, on-chain-verifiable API access billing.

## Known failure modes

- Payment failure if USDC balance is insufficient or x402 handshake fails
- Invalid Reddit API path returns 404 from upstream
- Reddit rate limiting or IP blocking causes 429 errors
- Malformed query parameters result in Reddit API errors
- Reddit authentication-required endpoints may return 403 if no OAuth token is forwarded
- Upstream Reddit API downtime causes gateway errors

## How this service works

Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.

## Output

The raw upstream Reddit API JSON response body is passed through as-is, including post listings, comment trees, user data, or search results, along with the original content type header.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "body": {
   "type": "string",
   "description": "Optional JSON body forwarded to POST requests."
  },
  "path": {
   "type": "string",
   "description": "Path below the selected upstream origin."
  },
  "query": {
   "type": "object"
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "description": "The upstream response body and content type are passed through after successful payment."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quantaflow-reddit-api-gateway-x402-1dfa77df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quanta-roan.vercel.app](https://www.zero.xyz/host/quanta-roan.vercel.app/llms.txt)
