AviationWeather API
Overview
AviationWeather.gov is a free NOAA service that provides official aviation weather data including METARs, TAFs, PIREPs, and SIGMETs used by pilots and flight planners. No API key or registration is required; you simply pass station codes or geographic parameters to retrieve real weather reports. It is a great starting point for aviation apps, flight simulators, or anyone learning about weather data formats.
Beginner Tip
METARs and TAFs use standard aviation codes that look cryptic at first; use the format=json parameter to get parsed output instead of raw text. Station IDs follow ICAO 4-letter codes like KJFK for JFK Airport or EGLL for London Heathrow.
Available Data
Example Response
{
"location": "Tokyo",
"temperature": {
"current": 22,
"feels_like": 24,
"min": 18,
"max": 26
},
"condition": "Partly Cloudy",
"humidity": 65,
"wind": {
"speed": 12,
"direction": "NE"
},
"forecast": [
{
"date": "2025-01-16",
"high": 25,
"low": 17,
"condition": "Sunny"
}
]
} Field Reference
icaoId The 4-letter ICAO identifier for the airport or weather station. rawOb The raw METAR observation string as issued by the station. temp Temperature in degrees Celsius at the observation time. wspd Wind speed in knots at the reporting station. visib Visibility in statute miles at the station, may include + for greater than values. wxString Present weather string using standard aviation abbreviations, e.g., -RA for light rain. Implementation Example
const url = "https://www.aviationweather.gov/dataserver";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →7Timer!
⭐ Beginner's Pick7Timer!
Hong Kong Obervatory
⭐ Beginner's PickThe Hong Kong Observatory Open Data API provides free access to weather observations, forecasts, earthquake reports, and climate data for Hong Kong and the surrounding region.
MetaWeather
MetaWeather provides programmatic access to weather via REST API.
ODWeather
⭐ Beginner's PickODWeather is a free weather and webcam API from OceanDrivers that provides real-time marine and coastal weather data including wind, waves, and temperature.
Open-Meteo
⭐ Beginner's PickOpen-Meteo is a completely free and open-source weather API for non-commercial use that provides hourly and daily forecasts, historical data, and climate projections for any location worldwide without requiring an API key.