METAR and TAF weather API
Decoded METAR and optional TAF aviation weather from the official NOAA Aviation Weather API for up to 10 ICAO stations. POST /api/v1/aviation-intelligence/metar-taf costs $0.003 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Caller-supplied flight schedules, diversions, registrations, maintenance logs, documents, ground times, and emission factors OpenSky aircraft metadata when openSky.icao24 is requested FAA NAS airport-status-information Limits: No paid flight-tracking API or authenticated airline system is used and no API key is required. Delay, connection, diversion, ground-time, and emissions results use only supplied times/distances/factors, or a small disclosed public-style CO2 factor table when no factor or fuel burn is supplied.
Decoded METAR and optional TAF aviation weather from the official NOAA Aviation Weather API for up to 10 ICAO stations. POST /api/v1/aviation-intelligence/metar-taf costs $0.003 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Caller-supplied flight schedules, diversions, registrations, maintenance logs, documents, ground times, and emission factors OpenSky aircraft metadata when openSky.icao24 is requested FAA NAS airport-status-information Limits: No paid flight-tracking API or authenticated airline system is used and no API key is required. Delay, connection, diversion, ground-time, and emissions results use only supplied times/distances/factors, or a small disclosed public-style CO2 factor table when no factor or fuel burn is supplied.
/api/v1/aviation-intelligence/metar-tafExample request
curl -i -X POST "https://www.brainiac.software/api/v1/aviation-intelligence/metar-taf" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"icaoIds": [
"KJFK"
],
"includeTaf": true
}
JSONExample response
{
"status": "complete",
"asOf": "2026-11-20T21:50:00.000Z",
"source": "NOAA Aviation Weather Center",
"stations": [
{
"icaoId": "KJFK",
"metar": {
"icaoId": "KJFK",
"obsTime": 1795211460,
"reportTime": "2026-11-20T21:51:00.000Z",
"temp": 8.3,
"dewp": 1.1,
"wdir": 310,
"wspd": 12,
"visib": 10,
"altim": 30.12,
"clouds": [
{
"cover": "FEW",
"base": 4500
}
],
"fltCat": "VFR",
"rawMetar": "KJFK 202151Z 31012KT 10SM FEW045 08/01 A3012"
},
"taf": {
"icaoId": "KJFK",
"issueTime": "2026-11-20T20:37:00.000Z",
"validTimeFrom": 1795207800,
"validTimeTo": 1795294200,
"rawTAF": "KJFK 202037Z 2021/2124 31012KT P6SM FEW045"
}
}
],
"missing_items": []
}An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
Errors: HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; failed or empty results are not charged. Invalid cursor returns HTTP 400 (uncharged).
Limits: No paid flight-tracking API or authenticated airline system is used and no API key is required. Delay, connection, diversion, ground-time, and emissions results use only supplied times/distances/factors, or a small disclosed public-style CO2 factor table when no factor or fuel burn is supplied. Document expiry checks compare caller-supplied expiry dates to asOf only. Regulatory compliance is not determined.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Normalize flight schedules — $0.03 USDC
- Analyze flight delay patterns — $0.04 USDC
- Calculate airport connection risk — $0.04 USDC
- Track flight diversion events — $0.03 USDC
Related APIs
- Building Energy & Facilities Intelligence API
- Electricity Market & Grid Intelligence API
- Electrical Engineering & Installation Intelligence API
Aviation & Airport Operations Intelligence APIGroup docsHow it works