# QuantaFlow Polymarket Data Gateway

> QuantaFlow Polymarket Data Gateway 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).

Fetches Polymarket prediction market data via a pay-per-call x402 micropayment gateway

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/polymarket-data?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-polymarket-data-gateway-fd8bf26d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_26uRj32g4cDG5N31M0Ndv

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-polymarket-data-gateway-fd8bf26d -d '<json body>'
```

Example prompt: Pull the current market odds for the US election markets on Polymarket — use the path /markets with a limit of 20 results.

## When to prefer this

Use this endpoint when you need Polymarket prediction market data and want to pay per-call with USDC via the x402 micropayment protocol, avoiding API key management. Prefer this over direct Polymarket API access when operating in a web3-native agent context that supports x402 payments.

## Known failure modes

- Payment failure: insufficient USDC balance or wallet not configured for x402 protocol
- Invalid path: Polymarket endpoint path not found returns upstream 404
- Malformed query parameters: invalid filters or pagination params return upstream 400
- Upstream unavailability: Polymarket API downtime causes 502 or timeout
- Rate limiting: excessive calls may trigger upstream or gateway throttling

## How this service works

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

## Output

The raw upstream Polymarket API response, passed through after successful USDC micropayment — typically JSON containing market data such as event names, outcome probabilities, trading volumes, resolution status, and order book information.

## 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-polymarket-data-gateway-fd8bf26d/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)
