Get weather forecast for given airport
Returns the weather forecast for an airport in the form of a decoded TAF (Terminal Area Forecast). Only a single result is returned.
Request
- Base URLhttps://aeroapi.flightaware.com/aeroapi
- AuthAPI key in header x-apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ICAO, IATA or LID ID of destination airport to fetch. ICAO is highly preferred to prevent ambiguity.
Query parameters
Timestamp from which to begin returning weather data in a 1 day range. Because weather data is returned in reverse chronological order, all returned weather reports will be from before this timestamp. If unspecified, weather is returned starting from now up to or less than the user history limit, normally 14 days.
If the requested airport does not have a weather conditions report then the weather for the nearest airport within 30 miles will be returned instead.
Response
OK
Example response
{
"time": "2021-12-31T19:59:59Z",
"decoded_forecast": {
"start": "2021-12-31T19:59:59Z",
"end": "2021-12-31T19:59:59Z",
"lines": [
{
"start": "2021-12-31T19:59:59Z",
"end": "2021-12-31T19:59:59Z"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.