Notes
- Keyless. Simple calls are GET query strings; anything richer (elems objects with reduce, interval, smry, add) goes as one JSON object in the params parameter.
- Units are US customary: temperature in °F, precipitation, snow and depth in inches, elevation in feet.
- Missing values come back as “M”, trace precipitation/snow as “T”, accumulated values with an “A” suffix. Errors come as an “error” key, not an HTTP error.
- Ambiguous station ids need their id type appended after a space (e.g. ‘BUFthr 9’). Observation times are Local Standard Time.
Endpoints
Find stations
Get one station’s data
Get data for many stations
- CSV is not available for date ranges; use json or a single date.