# QuantaFlow Polymarket CLOB Gateway

> QuantaFlow Polymarket CLOB 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-16).

Proxies POST requests to the Polymarket Central Limit Order Book (CLOB) API via x402 micropayment-gated passthrough, charging $0.01 USDC per call.

## Facts

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

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-clob-gateway-551fc382 -d '<json body>'
```

Example prompt: Pull the current order book for the 'Will the Fed cut rates in 2025?' market on Polymarket — I want to see the best bids and asks right now.

## When to prefer this

Choose this endpoint when you need pay-per-use, no-subscription access to the Polymarket CLOB API and are already operating in an x402 micropayment context. Ideal for AI agents that need sporadic or low-volume access to Polymarket order book, pricing, or trade data without managing a Polymarket API key directly. Prefer over direct Polymarket API access when operating in a web3/DeFi agent stack that supports x402 payments natively.

## Known failure modes

- Payment failure — insufficient USDC balance or invalid x402 payment header returns 402
- Invalid path — unrecognized or malformed Polymarket CLOB path returns upstream 404
- Malformed JSON body — invalid body string forwarded upstream may return 400
- Polymarket CLOB API downtime — upstream unavailability results in 502 or timeout
- Rate limiting — excessive calls may be throttled by upstream Polymarket API

## How this service works

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

## Output

The raw upstream response from the Polymarket CLOB API is passed through after successful x402 micropayment verification — including order book snapshots, trade data, market metadata, or any other CLOB API response, along with the 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-polymarket-clob-gateway-551fc382/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)
