Skip to main content
GET
Get Weather Index

Path Parameters

city
string
required

Index city ID (e.g. miami)

Query Parameters

from
integer<int64>

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

to
integer<int64>

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

last_sec
integer<int64>

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

detailed
boolean

Include per-station audit readings on every point.

Response

Weather index retrieved successfully

city
string
required

Index city ID.

units
string
required

Always fahrenheit.

timeseries
object[]
required
config_version
string

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