Weather forecasts

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.
  • API
  • HTTP-GET
  • JSON
  • REST
  • XML

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

Listed on Free Web Services

aviationweather.gov
Aviation Weather Center Data API

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.

Did it work for you?

Tell us what you found when you tried Aviation Weather Center Data API.