# BlockRun.AI Kalshi Markets Query

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

Query and filter Kalshi prediction markets with sorting and pagination support

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/kalshi/markets
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-e816660d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EtMfVyhNGq8VRU8i8HhbJ

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 blockrun-ai-e816660d
```

Example prompt: Show me a list of currently active Kalshi prediction markets — filter for political or economic topics and sort by most recent.

## When to prefer this

Use this endpoint when you need to discover, browse, or search Kalshi prediction market listings programmatically with filtering and pagination. Prefer it over manual Kalshi browsing or scraping when you need structured market data for automated agent workflows involving prediction market analysis.

## Known failure modes

- Invalid filter parameters return empty results or 400 error
- Pagination offset out of range returns empty data set
- Kalshi API upstream unavailability causes 502 or timeout
- Payment not fulfilled returns 402 Payment Required
- Rate limiting returns 429 Too Many Requests

## How this service works

Query Kalshi markets with filtering, sorting, and pagination

## Output

Returns a paginated list of Kalshi prediction markets with metadata such as market titles, categories, status, and related data fields, wrapped in a data object.

## Example request

```json
{
 "input": {
  "body": {}
 }
}
```

## 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/blockrun-ai-e816660d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
