# Kalshi Orderbook via 2s.io

> Kalshi Orderbook via 2s.io is a paid API for AI agents from 2s.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Fetches the live order book for a Kalshi prediction market contract by ticker symbol, with configurable depth.

## Facts

- Endpoint: GET https://2s.io/api/predict/kalshi-orderbook
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kalshi-orderbook-via-2s-io-8e538fae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7_5m_XN7fpGrizxgrlIQB

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-orderbook-via-2s-io-8e538fae
```

Example prompt: Pull the Kalshi order book for ticker PRES-2024-DEM with a depth of 20 and show me the current bids and asks.

## When to prefer this

Use this endpoint when you need real-time order book data for a specific Kalshi prediction market contract and want pay-per-call pricing with no signup or API key — ideal for agents that need occasional spot checks on market depth or pricing without maintaining a Kalshi account.

## Known failure modes

- Invalid or unknown ticker returns an error or empty result
- Depth out of range (must be 1-100) returns a validation error
- Kalshi API unavailability causes a downstream failure
- Ticker for an expired or delisted market may return no data

## How this service works

Order book for a Kalshi market by ticker: resting yes and no bids with price (dollars) and size (contracts). Optional depth. Read-only (no Kalshi key needed).

## Output

Returns a list of bid and ask price levels for the specified Kalshi prediction market ticker, up to the requested depth, showing the current market microstructure including prices and quantities at each level.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ticker"
     ],
     "properties": {
      "depth": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1
      },
      "ticker": {
       "type": "string",
       "maxLength": 120,
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kalshi-orderbook-via-2s-io-8e538fae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
