# Predict — Polymarket Order Book Endpoint

> Predict — Polymarket Order Book Endpoint 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-09).

Fetches live order book depth (bid/ask) for a specific Polymarket prediction market outcome token

## Facts

- Endpoint: GET https://predict.gocreativeai.com/v1/predict/orderbook/%7Barg%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/predict-polymarket-order-book-endpoint-4f8f16df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_keNL24SO7a6Zx1icOVQqG

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 predict-polymarket-order-book-endpoint-4f8f16df
```

Example prompt: Pull the current Polymarket order book for the outcome token 'will-biden-drop-out-yes' — I want to see the full bid and ask depth so I can decide where to place a limit order.

## When to prefer this

Use this endpoint when you need real-time order book depth (bid/ask levels and quantities) for a specific Polymarket outcome token, especially for trading, market-making, or liquidity analysis. Prefer this over the search or odds endpoint when you already have the token/market ID and need granular price-level data rather than summary odds.

## Known failure modes

- Invalid or unknown market outcome token returns 404 or empty order book
- Polymarket CLOB API downtime causes upstream fetch failure
- Payment of 0.01 USDC not fulfilled causes 402 Payment Required response
- Malformed token ID in path parameter causes 400 Bad Request
- Market no longer active or resolved returns empty or stale order book

## How this service works

Predict gives AI agents live prediction-market odds, order-book depth and recent trades across thousands of markets (Polymarket) in one keyless call. Pay per call in USDC — no demo, no API key. For forecasting, trading and research agents.

## Output

Returns live CLOB (Central Limit Order Book) bid/ask depth for the specified Polymarket outcome token, including price levels and quantities available at each level, enabling 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/predict-polymarket-order-book-endpoint-4f8f16df/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)
