Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kalshi live-data API

Live data endpoints

Kalshi live-data API is one of 21 APIs that Kalshi publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include live-data. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 4 paths, and defines 5 schemas. It is described by OpenAPI 3.0.0, at version 3.19.0.

Requests are made against 4 base URLs: https://external-api.kalshi.com/trade-api/v2, https://api.elections.kalshi.com/trade-api/v2, https://external-api.demo.kalshi.co/trade-api/v2, https://demo-api.kalshi.co/trade-api/v2.

4 operations 4 paths 5 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
3.19.0
Base URL
https://api.elections.kalshi.com/trade-api/v2
Authentication
API Key, API Key, API Key
Resource Areas
1

Authentication & Security 3

Kalshi live-data API declares 3 security schemes for authenticating requests. An API key is passed in the header as KALSHI-ACCESS-KEY (kalshiAccessKey). An API key is passed in the header as KALSHI-ACCESS-SIGNATURE (kalshiAccessSignature). An API key is passed in the header as KALSHI-ACCESS-TIMESTAMP (kalshiAccessTimestamp).

  • kalshiAccessKey — Your API key ID
  • kalshiAccessSignature — RSA-PSS signature of the request
  • kalshiAccessTimestamp — Request timestamp in milliseconds

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

live-data 4

Live data endpoints

GET
/live_data/milestone/{milestone_id}
Get Live Data
GetLiveDataByMilestone 2 params → 200404500
GET
/live_data/{type}/milestone/{milestone_id}
Get Live Data (with type)
GetLiveData 3 params → 200404500
GET
/live_data/batch
Get Multiple Live Data
GetLiveDatas 2 params → 200500
GET
/live_data/milestone/{milestone_id}/game_stats
Get Game Stats
GetGameStats 1 param → 200404500

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are LiveData (3 properties), GetLiveDataResponse (1 property), GetGameStatsResponse (1 property), PlayByPlay (1 property). Each schema is shown below with its type and property counts.

GetLiveDatasResponse
object
1 property 1 required
PlayByPlay
object
Play-by-play data organized by period.
1 property
GetGameStatsResponse
object
1 property
GetLiveDataResponse
object
1 property 1 required
LiveData
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kalshi-live-data-api-openapi.yml Raw ↑

Other APIs Kalshi publishes across the network.

Kalshi Trade API (Demo)
Kalshi WebSocket Streaming API
Kalshi AsyncAPI Specification
Kalshi Python Starter Kit
Kalshi account API
Kalshi api-keys API
Kalshi communications API
Kalshi events API
Kalshi exchange API
Kalshi fcm API
Kalshi historical API
Kalshi incentive-programs API