Aviation Weather METAR & TAF (NOAA/FAA)
Pricing
$1.00 / 1,000 weather reports
Aviation Weather METAR & TAF (NOAA/FAA)
Fetch official METAR observations and TAF forecasts from the NOAA/FAA Aviation Weather Center by ICAO station code. No API key.
Pricing
$1.00 / 1,000 weather reports
Rating
0.0
(0)
Developer
Clearfield Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Fetch official METAR observations and TAF forecasts from the NOAA/FAA Aviation Weather Center by ICAO station code. Use it when you need current or recent aviation weather for flight planning, operations dashboards, or to enrich airport records — without parsing raw weather bulletins yourself.
Data source and freshness
Reports come from the official US government Aviation Weather Center API at https://aviationweather.gov/api/data/, requested at run time. METARs are the latest observation (or a lookback window if you set hours). TAFs are the current official forecast for each station. This is public US government aviation weather data. No login and no API key are required.
Input
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
stationIds | array of strings | yes | Four-letter ICAO airport or station identifiers. | ["OMDB", "EGLL", "KJFK"] |
products | array of strings | no | Weather products to fetch: metar, taf, or both (default both). | ["metar", "taf"] |
hours | integer | no | Optional METAR lookback window in hours (1–48). Leave empty for the latest observation only. Does not apply to TAF. | 6 |
maxItems | integer | no | Maximum METAR/TAF records to emit (default 50, min 1, max 2,000). | 50 |
Output
Each item is one METAR or TAF report. METAR rows include decoded fields such as flight category, wind, temperature, visibility, and altimeter. TAF rows include raw_text, issue/valid times, and a forecasts array of forecast periods from the official API. Shared fields such as flight_category or temperature_c are null on TAF rows because they apply to observations.
Example METAR item from a real local test run (London Heathrow):
{"product": "metar","station_id": "EGLL","station_name": "London/Heathrow Intl, EN, GB","raw_text": "METAR EGLL 221120Z COR AUTO 09012KT 9999 NCD 08/03 Q1010 NOSIG","report_time": "2026-11-22T11:20:00.000Z","obs_time": 1795346400,"flight_category": "VFR","temperature_c": 8,"dewpoint_c": 3,"wind_dir": 90,"wind_speed_kt": 12,"wind_gust_kt": null,"visibility": "6+","altimeter_hpa": 1010,"cover": "CLR","clouds": [],"wx_string": null,"latitude": 51.477,"longitude": -0.461,"elevation_m": 26,"metar_type": "METAR"}
Pricing
This Actor is priced per result at $1.00 per 1,000 results (one result event for each METAR or TAF report written to the dataset). For example, 50 reports cost $0.05 in result charges ($0.001 per report).
Apify also bills platform usage (compute and storage) for the run according to your Apify plan. Result charges and platform usage appear separately on the run.
Use cases
- Pull current METARs for a watch-list of airports into a briefing or operations dashboard.
- Retrieve official TAF forecasts alongside observations for the same ICAO stations.
- Enrich flight, dispatch, or travel workflows with flight category, wind, and visibility.
- Look back up to 48 hours of METAR history with the
hoursparameter. - Support aviation research and training tools with raw and decoded text.
- Let an AI agent answer “what is the weather at OMDB?” from official AWC data.
How to use
You can run this Actor from the Apify Console, via the API, from Python or JavaScript, or from an AI agent that speaks MCP.
API
curl "https://api.apify.com/v2/acts/phobia82~aviation-weather-metar-taf/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-X POST \-H "Content-Type: application/json" \-d '{"stationIds":["OMDB","EGLL","KJFK"],"products":["metar","taf"],"maxItems":20}'
Replace YOUR_API_TOKEN with an API token from Apify Console → Settings → Integrations. For longer jobs, start a run with the Run Actor endpoint and read the dataset when it finishes.
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("phobia82/aviation-weather-metar-taf").call(run_input={"stationIds": ["OMDB", "EGLL", "KJFK"], "products": ["metar", "taf"], "maxItems": 20})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('phobia82/aviation-weather-metar-taf').call({ stationIds: ["OMDB", "EGLL", "KJFK"], products: ["metar", "taf"], maxItems: 20 });const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
AI agents and MCP
Connect the Apify MCP server to an MCP client such as Claude, Cursor, or another compatible agent, then call Actor phobia82/aviation-weather-metar-taf with the same JSON input as the API. The agent receives the dataset items as structured results.
FAQ
Is this legal to use? Yes. The Actor calls the official public Aviation Weather Center API (US government aviation weather). It does not log in, does not scrape a website unofficially, and does not collect personal data.
Can I use IATA codes such as DXB or LHR? No. The AWC API expects four-letter ICAO identifiers (OMDB, EGLL, KJFK). Resolve IATA codes first (for example with the Airport Reference Lookup Actor).
What does hours do? It is passed through as the official METAR hours parameter so you can request history (1–48 hours). It is not added to TAF requests.
Why is visibility "6+"? That is the value returned by the Aviation Weather Center API for visibility at or beyond the encoded cap, not a value invented by this Actor.
Do you issue flight advice? No. Reports are passed through from the official API for information only. They are not operational briefing or dispatch approval.
What if a station has no report? That station simply contributes no row for that product. Other stations in the same run are still fetched. HTTP errors are logged and that product is skipped.
Limits and known issues
maxItemsis capped at 2,000 and counts METARs and TAFs together, in product order (all requested METARs, then TAFs, until the cap).- Coverage and latency follow the Aviation Weather Center feed; some non-US stations may be missing or delayed.
- TAF
forecastsperiods use the API's native structure (including UnixtimeFrom/timeTovalues). - This is not a SIGMET, AIRMET, PIREP, or radar product.
- IATA codes are not accepted.
Support
Questions, incorrect data, or a feature request? Open a ticket on this Actor's Issues tab in Apify Console or on the Actor's Store page. Built by Clearfield Data.