# Polymarket Prediction Market Odds via Crypto Microdata

> Polymarket Prediction Market Odds via Crypto Microdata is a paid API for AI agents from kr-x402-mvp.kgy5612.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Fetches live Polymarket prediction-market events with implied probabilities, bid/ask spreads, and 24h volume for any keyword, sorted by trading activity

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/prediction-markets?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polymarket-prediction-market-odds-via-crypto-microdata-16f42846
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tQ-ysFqSWBKU6fhQTjkWn

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-prediction-market-odds-via-crypto-microdata-16f42846
```

Example prompt: What are the current Polymarket odds for bitcoin price targets? Give me the top 5 events sorted by volume, showing up to 8 markets each, and highlight the most contested ones.

## When to prefer this

Use this endpoint when you need live, clean implied probabilities from Polymarket rather than raw exchange price feeds — ideal for agents that need to understand market consensus on future events (price targets, macro decisions, elections) rather than current spot prices. Prefer this over manual Polymarket scraping or general crypto price endpoints when the use case is event-driven probability, not OHLCV data.

## Known failure modes

- Keyword returns no matching events — empty events array with n_events:0
- Polymarket API upstream outage — stale or unavailable data
- limit or markets parameter out of range (1-20) — validation error
- Rate limiting or x402 payment failure — 402 response requiring USDC payment on Base
- Very low-volume keywords may return fewer events than requested limit

## How this service works

Live prediction-market odds (Polymarket) as clean implied probabilities, so your agent can price events: q=bitcoin|ethereum|solana|fed|election|any keyword (default crypto), limit=1-20 events (default 8), markets=1-20 per event (default 6). Returns events sorted by 24h volume, each with markets [{question, outcome_label, yes_prob, no_prob, best_bid, best_ask, change_1d, volume_24h, liquidity, end_date, url}], contested markets (5-95%) first; plus top_contested (the most-traded genuinely...

## Output

A JSON object with a list of Polymarket events matching the keyword query, each containing the event title, end date, total liquidity, and 24h volume, plus an array of individual markets sorted with contested (5-95% probability) ones first. Each market includes the question text, outcome label, yes_prob, no_prob, best_bid, best_ask, 1-day change, volume_24h, liquidity, and a direct Polymarket URL. Also includes a top_contested field highlighting the single most-traded genuinely uncertain market across all results, plus metadata (source, event count, updated_at timestamp).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "examples": [
        "bitcoin",
        "ethereum",
        "fed rate",
        "election"
       ],
       "maxLength": 80,
       "description": "Search keyword (default crypto)"
      },
      "limit": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1,
       "description": "Events to return (default 8)"
      },
      "markets": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1,
       "description": "Markets per event (default 6)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "q": "bitcoin",
  "events": [
   {
    "url": "https://polymarket.com/event/bitcoin-above-on-october-30",
    "title": "Bitcoin above ___ on October 30?",
    "markets": [
     {
      "no_prob": 0.38,
      "best_ask": 0.63,
      "best_bid": 0.61,
      "question": "Will the price of Bitcoin be above $80,000 on October 30?",
      "yes_prob": 0.62,
      "change_1d": 0.05,
      "contested": true,
      "liquidity": 50000,
      "volume_24h": 41000,
      "outcome_label": "80,000"
     }
    ],
    "end_date": "2026-10-30T16:00:00Z",
    "liquidity": 610000,
    "volume_24h": 281751.88
   }
  ],
  "source": "polymarket",
  "n_events": 1,
  "updated_at": "2026-10-29T15:30:00Z",
  "top_contested": {
   "event": "Bitcoin above ___ on October 30?",
   "question": "Will the price of Bitcoin be above $80,000 on October 30?",
   "yes_prob": 0.62,
   "volume_24h": 41000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polymarket-prediction-market-odds-via-crypto-microdata-16f42846/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kr-x402-mvp.kgy5612.workers.dev](https://www.zero.xyz/host/kr-x402-mvp.kgy5612.workers.dev/llms.txt)
