# BlockRun.AI Kalshi Historical Trades

> BlockRun.AI Kalshi Historical Trades 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).

Fetch historical trade data from the Kalshi prediction market exchange

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/kalshi/trades
- 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-447a81c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cgvxOIk_eSd_NzJQuJ7G8

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-447a81c1
```

Example prompt: Pull the historical trade data from Kalshi so I can analyze recent market activity and transaction flow.

## When to prefer this

Use this endpoint when you need historical trade-level data specifically from the Kalshi prediction market exchange, such as for backtesting, market analysis, or auditing past trades. Prefer this over OHLCV endpoints when you need individual transaction-level granularity rather than aggregated candlestick data.

## Known failure modes

- No trades found for the specified parameters — returns empty data object
- Invalid market ticker or filter — may return empty or error response
- Rate limiting or payment failure — 402 payment required if USDC balance is insufficient
- Kalshi API upstream outage — endpoint may return 5xx error

## How this service works

Fetch historical Kalshi trade data

## Output

Returns a data object containing historical Kalshi trade records, including trade timestamps, prices, quantities, and market identifiers for completed transactions on the Kalshi prediction market exchange.

## Example request

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

## 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-447a81c1/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)
