# QuantaFlow Polymarket Relayer Gateway

> QuantaFlow Polymarket Relayer 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-23).

Proxies requests to the Polymarket prediction market API via x402 micropayment-gated relay, forwarding arbitrary paths, methods, and query parameters to Polymarket's upstream services.

## Facts

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

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-relayer-gateway-55505ec4 -d '<json body>'
```

Example prompt: Can you pull the current win probability for the 2024 US presidential election market on Polymarket — just give me the latest odds breakdown?

## When to prefer this

Use this endpoint when you need programmatic, per-call access to Polymarket prediction market data and can pay $0.01 USDC per request via x402 micropayments. Prefer this over direct Polymarket API access when you want a simple relay abstraction with built-in payment settlement, or when integrating Polymarket data into a web3/DeFi agent workflow that already handles x402 protocol payments.

## Known failure modes

- Payment failure: x402 micropayment rejected or insufficient USDC balance, request blocked before reaching Polymarket
- Invalid path: upstream Polymarket endpoint does not exist, returns 404
- Polymarket API rate limit or downtime: upstream returns 429 or 5xx errors passed through
- Malformed query/body: Polymarket rejects the forwarded parameters with a 400 error
- Network timeout: relay fails to reach Polymarket upstream within time limit

## 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 body passed through transparently, including market data, odds, order books, or event details, along with the original content type. No transformation is applied; the agent receives exactly what Polymarket returns.

## 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-relayer-gateway-55505ec4/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)
