# Kalshi Prediction Markets Data

> Kalshi Prediction Markets Data is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Fetches live Kalshi prediction market events and contract data, optionally filtered by series ticker or category

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/kalshi-prediction-markets?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kalshi-prediction-markets-data-f099ee2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q3eIAKqcPVK8G0d-wQFS-

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 kalshi-prediction-markets-data-f099ee2f
```

Example prompt: Pull me the top 20 Kalshi prediction markets in the Economics category and show me the current contract prices and probabilities.

## When to prefer this

Use this endpoint when an agent needs live Kalshi prediction market data without requiring a Kalshi account or API key. Ideal for agents that need pay-per-call access to prediction market probabilities for crypto, economics, politics, or sports events, especially when integrating with x402 micropayment flows on Base, Solana, or other supported chains.

## Known failure modes

- Invalid series ticker returns empty results or an error
- Limit out of range (below 1 or above 100) may return an error or be clamped
- Payment failure (x402) results in no charge and no data returned
- Kalshi API downtime may cause upstream errors
- Category substring with no matches returns an empty list

## How this service works

Kalshi (US regulated prediction exchange) open events and their markets: event title, category, series, and per market the question, yes/no bid and ask, last price (= implied probability), 24h and total volume, open interest, close time and rules. Filter by series ticker (e.g. KXFED, KXBTC) or category text. From Kalshi's official public market-data API via a proxy; prices in USD per $1 contract.

## Output

Returns a list of Kalshi prediction market events including event titles, series tickers, categories, contract details, market prices, and probability data for each active market matching the query parameters.

## 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",
     "required": [],
     "properties": {
      "limit": {
       "type": "string",
       "description": "How many events, 1 to 100 (default 10)"
      },
      "series": {
       "type": "string",
       "description": "Optional Kalshi series ticker, e.g. KXFED, KXBTCD, KXELONMARS"
      },
      "category": {
       "type": "string",
       "description": "Optional category filter (case-insensitive substring), e.g. Economics, Politics, Sports, Crypto"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kalshi-prediction-markets-data-f099ee2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
