# Polymarket CLOB Order Book Depth API

> Polymarket CLOB Order Book Depth API is a paid API for AI agents from predict.gocreativeai.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns live bid/ask order book depth (price and liquidity) for a specific Polymarket prediction market outcome token

## Facts

- Endpoint: GET https://predict.gocreativeai.com/v1/predict/orderbook/:var1
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polymarket-clob-order-book-depth-api-6fc95ffe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ezagb4doRBcAkX9xefOfy

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 polymarket-clob-order-book-depth-api-6fc95ffe
```

Example prompt: Pull the live order book depth from Polymarket's CLOB for this outcome token — I need the current bid/ask levels and liquidity before I place a market-making order.

## When to prefer this

Use this endpoint when you need order-book-level granularity (full bid/ask depth, liquidity at each price tier) for a specific Polymarket outcome token, especially for automated trading, market-making, or arbitrage strategies. Prefer this over simple YES/NO odds endpoints when pricing precision and liquidity measurement matter.

## Known failure modes

- Invalid or unknown market outcome token returns 404 or empty order book
- Network latency causes stale or delayed order book snapshot
- Payment failure (USDC) blocks the request with 402 error
- Malformed path parameter returns 400 bad request
- Market is closed or resolved — returns empty or inactive order book

## How this service works

Returns live bid/ask depth from Polymarket CLOB for any market outcome token. Trading & market-making agents use this for order-book-level pricing + liquidity. Keyless, pay-per-call USDC on Base/Solana, no API key, no signup.

## Output

Returns the full live bid/ask order book for the specified Polymarket CLOB outcome token, including price levels, quantities at each level, and spread data useful for trading and market-making decisions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "endpoint argument"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polymarket-clob-order-book-depth-api-6fc95ffe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from predict.gocreativeai.com](https://www.zero.xyz/host/predict.gocreativeai.com/llms.txt)
