{"uid":"cap_2iLCbsXSnstlCOWRx2jcy","slug":"aviation-weather-metar-taf-by-icao-cdaf57af","name":"Aviation Weather METAR & TAF by ICAO","description":"Current airport weather from NOAA Aviation Weather Center: latest METAR (observed temperature, dewpoint, wind, visibility, altimeter, flight category) and the TAF forecast text for a 4-letter ICAO airport code. Raw text is included alongside the parsed fields.","url":"https://api.healthtravel-api.workers.dev/api/travel/aviationweather-metar-taf?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["icao"],"properties":{"icao":{"type":"string","description":"4-letter ICAO airport code, e.g. KJFK, EGLL, LFPG"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"taf":{"raw":"TAF KJFK 230830Z 2308/2412 01010KT P6SM SKC FM231500 03010KT P6SM SKC FM232300 03007KT P6SM FEW250","validTo":"2026-10-24T12:00:00.000Z","issueTime":"2026-10-23T08:30:00.000Z","validFrom":"2026-10-23T08:00:00.000Z"},"icao":"KJFK","name":"New York/JF Kennedy Intl, NY, US","metar":{"raw":"METAR KJFK 230851Z 01006KT 10SM FEW250 10/03 A3023 RMK AO2 SLP235 T01000028 53020","clouds":[{"base":25000,"cover":"FEW"}],"dewpointC":2.8,"windDirDeg":10,"altimeterHpa":1023.8,"temperatureC":10,"windSpeedKts":6,"flightCategory":"VFR","visibilityStatuteMi":"10+"},"source":"https://aviationweather.gov/api/data/metar?ids=KJFK","checkedAt":"2026-10-23T09:36:43.892Z","observedAt":"2026-10-23T08:51:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M1X4Wuw5cNGbLDNJDUEMC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current METAR observation and TAF forecast for any airport identified by its 4-letter ICAO code, sourced from aviationweather.gov","exampleAgentPrompt":"What are the current METAR conditions and TAF forecast for JFK airport — give me wind, visibility, cloud cover, and flight category?","exampleUseCases":[{"title":"Pre-flight weather briefing","prompt":"Pull the latest METAR and TAF for KBOS Boston Logan — I need to know the current flight category, wind, and what the forecast looks like for the next 12 hours before I file my flight plan."},{"title":"Real-time airport conditions check","prompt":"What's the current weather at Heathrow right now? Give me the ICAO EGLL METAR including temperature, dewpoint, wind and visibility."},{"title":"Dispatch go/no-go decision support","prompt":"Check the TAF for KSFO San Francisco International — is the forecast calling for IFR or low-visibility conditions in the next 6 hours?"}],"resultDescription":"Returns a JSON object with the airport's ICAO code and name, a decoded METAR object (raw text, temperature, dewpoint, wind direction and speed, altimeter, visibility, cloud layers, and flight category), a TAF object (raw text, issue time, valid from/to times), source URL, and timestamps for when the data was checked and observed.","failureModes":["Invalid or unknown ICAO code returns an error — ICAO codes are 4 letters and must match a real station","Airport has no active METAR reporting (remote or non-reporting station) — partial or empty response","TAF not available for small or non-towered airports — metar may be present but taf object absent","Network or upstream aviationweather.gov outage — service error returned","Stale data if the upstream feed is delayed — checkedAt vs observedAt timestamps may differ significantly"],"whenToPreferThis":"Use this endpoint when you need official, structured aviation weather (METAR and TAF) for any ICAO-coded airport worldwide, without signing up for an account or managing API keys. Prefer this over raw web scraping or consumer weather APIs when you need aviation-standard data like flight category (VFR/IFR/MVFR/LIFR), altimeter settings in hPa, cloud bases in feet, or TAF forecast periods. Pay-per-call at $0.002 USDC means no subscription overhead for low-frequency lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:38:00.623Z","isFirstParty":false,"canonicalSlug":"aviation-weather-metar-taf-by-icao-cdaf57af"}