API Access
A live VFR airspace + weather data API for drone, aviation, and geospatial builders. Backed by FAA charts, FAA NASR, AviationWeather.gov, and Open-Meteo.
All endpoints below require an X-API-Key header. Request a key by emailing [email protected].
Endpoints
| Method | Path | Summary | Example |
|---|---|---|---|
| GET | /api/airport/{code} |
Airport lookup by ICAO / FAA LID / ident. | try |
| GET | /api/metar/{icao} |
Current METAR observation for an airport. | try |
| GET | /api/metars/bbox |
Bulk METARs in a bounding box (GeoJSON). | try |
| GET | /api/winds |
Winds-aloft forecast for a point (Open-Meteo passthrough). | try |
| GET | /api/airsigmets |
Active AIRMETs/SIGMETs as GeoJSON polygons. | try |
| GET | /api/data |
Version and freshness for every served data layer. Public. | try |
Authentication
curl -H "X-API-Key: YOUR_KEY" \ https://maps.loiter.ai/api/metar/KSFO
Calls without a key from outside maps.loiter.ai return 401. The viewer at / uses the same endpoints — they work in-browser without a key on the site itself.