# Kalshi Markets Query API

> Kalshi Markets Query API is a paid API for AI agents from sol.blockrun.ai, paid per call via x402, $0.0075/call, status unknown (last checked 2026-09-14).

Query and filter Kalshi prediction market listings with sorting and pagination support

## Facts

- Endpoint: GET https://sol.blockrun.ai/api/v1/pm/kalshi/markets
- Price: $0.0075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kalshi-markets-query-api-7ba87184
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m7R2IipqM-k69w1IrTjxj

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-markets-query-api-7ba87184
```

Example prompt: Show me all currently open Kalshi prediction markets related to the 2024 US election — sort by volume and give me the first 20 results.

## When to prefer this

Choose this endpoint when you need to browse, search, or filter Kalshi prediction markets specifically — especially useful when you want to find markets by topic, status, or volume within the Kalshi exchange. Prefer this over Polymarket endpoints when the user is specifically interested in Kalshi's market offerings.

## Known failure modes

- Invalid filter parameters return an error or empty result set
- Pagination out of range returns empty data
- Kalshi API unavailability causes upstream timeout
- Rate limiting or payment failure returns 402 or 429 error
- Unsupported sort field may return default ordering or error

## How this service works

Query Kalshi markets with filtering, sorting, and pagination

## Output

Returns a list of Kalshi market objects matching the specified filters, including market titles, statuses, outcomes, prices, and metadata, with pagination support for browsing large result sets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "query": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kalshi-markets-query-api-7ba87184/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sol.blockrun.ai](https://www.zero.xyz/host/sol.blockrun.ai/llms.txt)
