Weather
Field observations.
1 endpoint · base URL https://api.aerscheduler.com
get
/weather/metarCurrent METAR
The latest observation for a field. Prefer airport when the location has a stored identifier; lat/lon are the fallback for a typed site, and for a strip whose ident has no METAR.
Query parameters
airport | string | Airport identifier. ICAO when the field has one, otherwise the FAA local code. |
lat | number | Latitude. Used when airport is omitted, or when that station has no METAR. |
lon | number | Longitude. |
Responses
200 | OK | Success.→ { data: object | null } |
400 | Bad Request | A valid airport identifier or lat and lon are required. |
401 | Unauthorized | No token, an expired token, or a malformed one. Sign in again. |
403 | Forbidden | Authenticated, but not allowed to do this. |
429 | Too Many Requests | Rate limited. Retry-After says how long to wait. |
Example request
curl https://api.aerscheduler.com/weather/metar \
-H "Authorization: Bearer $AERSCHEDULER_KEY"