# Predict – Live Prediction-Market Odds, Order Books & Trades (Polymarket)

> Predict – Live Prediction-Market Odds, Order Books & Trades (Polymarket) 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-10).

Fetches live odds, order-book depth, and recent trades for a specific Polymarket prediction market by market identifier.

## Facts

- Endpoint: GET https://predict.gocreativeai.com/v1/predict/markets/%7Barg%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/predict-prediction-market-data-by-market-id-abccfc9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kXUnyy3ZitWOsUdgLVcgH

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-prediction-market-data-by-market-id-abccfc9d
```

Example prompt: What are the live Polymarket odds and order book for the market on whether the Fed will cut rates in September — pull the current YES/NO probabilities and recent trades.

## When to prefer this

Use this endpoint when an agent needs real-time odds, order-book depth, or trade history for a specific known Polymarket market and already has the market identifier. For discovering markets by keyword, use the search sibling endpoint first. Prefer this over generic financial data APIs when the target is a prediction-market contract on Polymarket.

## Known failure modes

- Invalid or unknown market ID returns a 404 or error response
- Market has been resolved or delisted — returns empty or error
- Payment not included or insufficient USDC — returns 402 Payment Required
- Rate limit or service unavailability returns 5xx error
- Malformed input query param returns 400 Bad Request

## 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 prediction-market data for the specified Polymarket market, including current YES/NO odds, bid/ask order-book depth, and a list of recent trades. Data reflects real-time conditions from Polymarket's CLOB.

## 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-prediction-market-data-by-market-id-abccfc9d/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)
