Every data set on this site is readable over plain HTTPS GET requests: no account and no key, except for writing sensor readings. The site's own pages use these same endpoints. Each data set has its own reference page:
| API | What it serves |
|---|---|
| Weather | Hourly observations from 304 airport weather stations: temperature, dew point, humidity, pressure, wind and clouds, current and historical. |
| Sensors | Readings from sensor nodes (indoor climate, temperature grids, power meters), plus the endpoints a node uses to log its readings. |
| EPW | Typical-year (TMY) weather data of 2,014 stations for building energy simulation: station lists and hourly data files. |
| Air Traffic | Aircraft positions over the continental US. |
| Drinks | Cocktail recipes. |
| Wine | Finger Lakes wines with ratings and prices. |
Weather, Sensors and EPW are stable interfaces: other programs depend on them, so they are kept compatible (new columns are added at the end, never in between). Air Traffic, Drinks and Wine serve this site's own pages and may change with them.
Every endpoint is https://larsi.org/api/<api>/<name>, without a file extension, with its parameters in the query string:
https://larsi.org/api/weather/current?prefix=kroc
prefix names a station: kroc (an airport's ICAO code in lowercase) for weather, batcave for sensors, 725290 (a WMO number) for EPW. Each API's locations endpoint lists them. An unknown prefix is answered with 400 Bad Request and an empty body; so is a malformed parameter.sensors endpoints).Content-Type: text/csv); metadata, search results and recipes as JSON (application/json). Each endpoint's format is on its API's page.Accept-Encoding: gzip gets the response gzipped (about 5 to 1). A client that doesn't gets the plain body with a Content-Length header, never chunked transfer encoding, so a minimal HTTP client (a microcontroller reading the raw stream) can read it as it is.Cache-Control lifetime: 60 minutes for data bucketed by the hour (history, yyyymm), 15 minutes for other reads, none for searches, live status and reads that run up to the present. Asking more often than that gets the same data.0: a station that measures no pressure leaves that column empty.Until November 2026 the endpoints lived under each section, for example /weather/csv/data.php, /sensors/json/sensors.php or /sensors/log. Those URLs still work and answer exactly as the new ones do; new code should use the /api/ URLs.