latestOpenAPI 3.0.02026-08-22107190316.9 KB

6aec27d55fba

live-data

Get Weather Index

Get the Kalshi-computed city temperature index: the canonical minute-resolution series behind hourly temperature markets. City-keyed and independent of any event — the series exists whenever the city's index is configured. Values are Fahrenheit rounded to 0.01. Minutes where the index quorum failed carry no value and are never returned as points, so gaps in the series are real gaps. With detailed=true each point additionally carries every member station's reported reading and quality-control disposition — the pre-incorporation breakdown.

get/live_data/weather/{city}

Path parameters

citystring required

Index city ID (e.g. miami)

Query parameters

frominteger

Window start, unix milliseconds (inclusive). Defaults to to minus 24 hours. Must be paired with to unless last_sec is used.

tointeger

Window end, unix milliseconds (inclusive). Defaults to now.

last_secinteger

Trailing window in seconds; equivalent to from=now-last_sec, to=now. Mutually exclusive with from/to.

detailedboolean

Include per-station audit readings on every point.

Response

Weather index retrieved successfully

citystring required

Index city ID.

config_versionstring

Index configuration version of the newest returned point (e.g. miami-temperature-v1.0). Empty when no points matched the window.

unitsstring required

Always fahrenheit.