Weather

Field observations.

1 endpoint · base URL https://api.aerscheduler.com

get/weather/metar

Current 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

airportstringAirport identifier. ICAO when the field has one, otherwise the FAA local code.
latnumberLatitude. Used when airport is omitted, or when that station has no METAR.
lonnumberLongitude.

Responses

200OKSuccess.{ data: object | null }
400Bad RequestA valid airport identifier or lat and lon are required.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl https://api.aerscheduler.com/weather/metar \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"