API
Read-only JSON over GET. No key. Responses are cached for seconds to minutes, so poll no faster than the cache time shown.
Earthquakes
GET /api/quakes?range=day&min=2.5
| Parameter | Values |
|---|---|
range | hour day week month (default day) |
min | all 1.0 2.5 4.5 significant (default 2.5) |
GeoJSON FeatureCollection. Each feature has mag, place, time (ms), depth (km), tsunami and url. Cached 60 s.
Flights
GET /api/flights?lat=34.05&lon=-118.25&dist=100
Aircraft within dist nautical miles (1 to 250) of the point. Returns { now, count, aircraft: [ { hex, flight, type, reg, lat, lon, alt, gs, track } ] } with altitude in feet and speed in knots. Cached 10 s.
Weather radar
GET /api/radar/maps
GET /api/radar/tile/v2/radar/{time}/256/{z}/{x}/{y}/2/1_1.png
The frame list follows the RainViewer format, so existing radar code works unchanged: host plus a frame's path plus /256/{z}/{x}/{y}/2/1_1.png is a tile. Frames are 10 minutes apart; the frame list is cached 2 min and tiles 5 min.
Status
GET /api/status
The layers, where each one's data comes from, and its license.
Errors
A bad parameter returns 400 and { "error": "..." }. A source that is down returns 502.