Aviation Weather Center Data API
by aviationweather.gov
Weather forecasts
Added on October 31st, 2026
Checked and working on November 15th, 2026
Visit aviationweather.gov →
What it does
The Aviation Weather Center of the US National Weather Service publishes aviation weather through its Data API: METAR observations and TAF forecasts for airports worldwide, PIREPs, SIGMETs and other advisories. Ask for one or more airport codes and choose JSON, XML, GeoJSON or raw text. Free, no key needed; keep the number of requests reasonable.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free, no key needed; keep the number of requests reasonable.
- From the browser
- No, call it from a server
- Formats
- JSON, XML
- Interface
- REST, HTTP-GET
- Provider
- aviationweather.gov
- Last checked
- Working on November 15th, 2026
More information: https://aviationweather.gov/data/api/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://aviationweather.gov/api/data/metar?ids=EGLL&format=json'
JavaScript
const response = await fetch("https://aviationweather.gov/api/data/metar?ids=EGLL&format=json");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://aviationweather.gov/api/data/metar?ids=EGLL&format=json",
timeout=30,
)
print(response.json())
Run the JavaScript on a server, such as Node.js 18 or newer: this API does not accept calls from web pages on other sites.