GET /official/live_data/weather/{city}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/kalshi/official/live_data/weather/{city}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeKalshi-computed minute-resolution temperature index for a city.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
city | path | str | required | Index city id (e.g. miami) example: miami |
from | query | int | optional | Window start, unix milliseconds (pair with to) |
to | query | int | optional | Window end, unix milliseconds |
last_sec | query | int | optional | Trailing window in seconds (mutually exclusive with from/to) |
detailed | query | bool | optional | Include per-station audit readings default: False |
Response
type: object
data key: timeseries
pagination: none
sample: {
"city": "str",
"config_version": "str",
"timeseries": "array[55]",
"units": "str"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/kalshi/official/live_data/weather/miami"