AviationWeather API
NOAA aviation weather forecasts and observations
- Our call
- HTTP 200
- Latency
- 215 ms
- From a browser
- Blocked
- Key
- No key
- Docs link
- Answered
https://aviationweather.gov/api/data/metar?ids=KJFK&format=jsonWe got no CORS header that lets other sites read this one, so Run will probably be blocked. That's the answer: call it from a server.
const res = await fetch("https://aviationweather.gov/api/data/metar?ids=KJFK&format=json");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://aviationweather.gov/api/data/metar?ids=KJFK&format=json'import requests
r = requests.get("https://aviationweather.gov/api/data/metar?ids=KJFK&format=json", timeout=10)
r.raise_for_status()
print(r.json())AviationWeather docsMore Weather APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://aviationweather.gov/api/data/metar?ids=KJFK&format=json- Result
- HTTP 200 in 215 ms
- From a browser
- No CORS header no Access-Control-Allow-Origin header
- HTTPS
- Yes
- Response
- application/json, 534 bytes, a JSON array
- Fields
icaoIdreceiptTimeobsTimereportTimetempdewpwdirwspdvisibaltim- Rate-limit headers
- none sent (that doesn't mean unlimited)
Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Weather
- Auth
- No key
- CORS
- Not recorded
- Docs link
- aviationweather.gov answered 200 in 2235 ms on 2026-11-06 Measured
AviationWeather is listed in Weather. AviationWeather needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 36 Weather APIs: 10 need no key, 24 need an API key and 1 uses OAuth, and 12 of them are marked as allowing browser calls. 4 others have the same setup, such as 7Timer!, Hong Kong Obervatory and NOAA NGDC.
AviationWeather and other Weather APIs
| Fact | AviationWeather (this page) | Open-Meteo | RainViewer | US Weather | 7Timer! |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Yes | Not recorded | Yes | Not recorded |
| Our test call Measured by us | 215 ms | 785 ms | 1,394 ms | 660 ms | 479 ms |
| Browser call Measured by us | Blocked | Allowed | Allowed | Allowed | Blocked |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does AviationWeather need an API key?
AviationWeather needs no key: you can call it without signing up.
Can I call AviationWeather from JavaScript in the browser?
Not directly. Our test call got no CORS header that allows other sites, so call it from your own server or a proxy.
Where are the AviationWeather docs?
At https://www.aviationweather.gov/dataserver. When we checked, the link answered 200 in 2235 ms.
What are some alternatives to AviationWeather?
Other Weather APIs in the list include 7Timer!, Hong Kong Obervatory, NOAA NGDC and RainViewer.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.