{"uid":"cap_Q6CRqONrmqDCHu0zuqjqM","slug":"2s-aviation-metar-weather-63bec977","name":"2s Aviation METAR Weather","description":"Current aviation weather observation (METAR) for one or more airports. Pass ids = comma-separated ICAO station ids (e.g. KATL, EGLL, KJFK). Returns the raw METAR plus decoded fields: flight category (VFR/MVFR/IFR/LIFR), temperature + dewpoint (°C), wind direction/speed/gust (kt), visibility, altimeter (inHg), and cloud layers. Source: NOAA Aviation Weather Center (keyless, public domain).","url":"https://2s.io/api/aviation/metar?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","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["ids"],"properties":{"ids":{"type":"string","description":"Comma-separated ICAO ids (e.g. KATL,KJFK)."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"ids":"KATL,KJFK"}}},"response":{"data":{"ok":true,"items":[{"raw":"METAR KATL 172052Z 22011G17KT 10SM FEW034 SCT046 BKN065 BKN200 29/21 A2988 RMK AO2 SLP107 MDT CU ALQDS T02940211 58010 $","name":"Atlanta/Hartsfield-Jackson Intl, GA, US","tempC":29.4,"clouds":[{"cover":"FEW","baseFtAgl":3400},{"cover":"SCT","baseFtAgl":4600},{"cover":"BKN","baseFtAgl":6500},{"cover":"BKN","baseFtAgl":20000}],"station":"KATL","dewpointC":21.1,"observedAt":"2026-06-17T21:00:00.000Z","visibility":"10+","windDirDeg":220,"windGustKt":17,"windSpeedKt":11,"altimeterInHg":29.88,"flightCategory":null},{"raw":"METAR KJFK 172051Z 14013KT 10SM FEW040 BKN100 BKN140 BKN250 23/17 A2981 RMK AO2 SLP095 VCSH W AND NW T02280167 56007 $","name":"New York/JF Kennedy Intl, NY, US","tempC":22.8,"clouds":[{"cover":"FEW","baseFtAgl":4000},{"cover":"BKN","baseFtAgl":10000},{"cover":"BKN","baseFtAgl":14000},{"cover":"BKN","baseFtAgl":25000}],"station":"KJFK","dewpointC":16.7,"observedAt":"2026-06-17T21:00:00.000Z","visibility":"10+","windDirDeg":140,"windGustKt":null,"windSpeedKt":13,"altimeterInHg":29.81,"flightCategory":null}],"total":2,"source":{"url":"https://aviationweather.gov/","license":"US Government work — public domain.","provider":"NOAA Aviation Weather Center — aviationweather.gov"}},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"aviation.metar","settlement":{"txHash":"0xdafb972169fe3bc20c4bd1de0a0c23e1d7eb81a1de837a79f069a545acc45fb6","network":"eip155:8453","success":true}}}},"exampleRequest":{"ids":"KATL,KJFK"},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pk0J_do8B9E-iaisVA100","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves live METAR aviation weather observations for one or more airports by ICAO station code","exampleAgentPrompt":"What are the current METAR conditions at KATL and KJFK — give me wind, visibility, cloud cover, and flight category for both.","exampleUseCases":null,"resultDescription":"Returns an array of decoded METAR records per station, each containing: raw METAR string, station name, temperature (°C), dewpoint (°C), wind direction (degrees), wind speed (kt), wind gust (kt or null), visibility, cloud layers with cover type and base altitude (ft AGL), altimeter setting (inHg), flight category (e.g. VFR/IFR/MVFR), and observation timestamp. Also includes a total count and source attribution (NOAA public domain).","failureModes":["Invalid or unknown ICAO code returns empty items array or error","Missing 'ids' query parameter returns 400 or validation error","Station not reporting (offline or no recent observation) returns no items for that station","Network timeout or upstream NOAA outage returns error or empty response","Malformed comma-separated list may cause partial results"],"whenToPreferThis":"Use this endpoint when you need real-time, decoded METAR aviation weather data for one or more airports by ICAO code. It provides structured output (not just raw METAR text) with flight category, making it ideal for flight planning, pre-flight briefings, or any agent workflow that needs current airport weather conditions. Prefer this over generic weather APIs when aviation-specific fields (altimeter, flight category, cloud layers in ft AGL) are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:43:01.424Z","isFirstParty":false,"canonicalSlug":"2s-aviation-metar-weather-63bec977"}