{"uid":"cap_ZHKSoGa5hxOe792h9EXRu","slug":"writerslogic-metar-speci-aviation-weather-parser-043c1580","name":"WritersLogic METAR/SPECI Aviation Weather Parser","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/metar-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"claims":{"type":"array","items":{"type":"object","required":["report"],"properties":{"report":{"type":"integer","maximum":19,"minimum":0,"description":"Index into reports."},"dewpointC":{"type":"number","description":"Claimed dew point, Celsius."},"windSpeed":{"type":"number","description":"Claimed mean wind speed in the report's own unit."},"temperatureC":{"type":"number","description":"Claimed air temperature, Celsius."},"flightCategory":{"enum":["LIFR","IFR","MVFR","VFR"],"type":"string"}}},"maxItems":100,"description":"Optional claims to verify against the decoded report."},"reports":{"type":"array","items":{"type":"string","maxLength":2000,"description":"One METAR or SPECI report, optionally ending in '='."},"maxItems":20,"minItems":1,"description":"Reports to decode."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kdLxwpgtJFBIUYngs0lFp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes up to 20 raw METAR or SPECI aviation weather reports into structured fields and computes FAA flight categories (LIFR/IFR/MVFR/VFR), returning every unrecognized token with its character offset rather than silently dropping it.","exampleAgentPrompt":"Can you parse this METAR for me and tell me the flight category, wind, visibility, and cloud layers: 'KJFK 121851Z 27018G25KT 10SM FEW045 BKN250 22/10 A2992 RMK AO2 SLP132'?","exampleUseCases":[{"title":"Pre-flight weather briefing check","prompt":"I have three METARs from airports along my route — KBOS, KPVD, and KBDL — can you decode all of them and tell me which are IFR or worse right now? Here are the raw strings: 'KBOS 121854Z 06012KT 4SM -RA OVC008 14/12 A2978', 'KPVD 121856Z 07010KT 3SM BR OVC005 13/12 A2980', 'KBDL 121851Z 08008KT 6SM -RA BKN010 OVC025 14/11 A2981'."},{"title":"Dispatch flight category verification","prompt":"Our dispatch system predicted MVFR for KSFO but I want to double-check — can you decode this METAR and verify if the flight category actually comes out MVFR: 'KSFO 121956Z 28015KT 5SM HZ BKN025 17/09 A2998 RMK AO2 SLP153'?"},{"title":"Aviation data pipeline batch decode","prompt":"I need to decode these 5 METAR reports from our observation feed and extract the structured fields — wind, visibility, cloud layers, temperature, dew point, altimeter, and flight category — for each one: 'KDFW 122053Z 18008KT 10SM SKC 32/18 A3002', 'KORD 122051Z 24012G20KT 10SM FEW060 28/15 A2994', 'KLAX 121953Z 24010KT 10SM FEW025 22/14 A2997', 'KATL 122052Z 20007KT 10SM SCT045 30/19 A3001', 'KDEN 122053Z 29014KT 10SM FEW080 BKN250 28/09 A3010'."}],"resultDescription":"A structured JSON response for each submitted METAR/SPECI containing decoded fields: wind direction/speed/gusts, visibility (statute miles or metres), CAVOK flag, RVR values, present weather phenomena, cloud layers (coverage and altitude), air temperature and dew point in Celsius, altimeter setting, trend group, raw remarks text, computed FAA flight category (LIFR/IFR/MVFR/VFR), and an array of any unrecognized tokens each with their character offset and 'unknown' status. If claims were submitted, each claim is validated against the decoded value and the result includes a pass/fail for each assertion.","failureModes":["Report string not uppercase — parser may return unknown tokens for fields that would otherwise decode correctly","More than 20 reports submitted — request rejected with validation error","Individual report string exceeds 2000 characters — rejected","Report is a TAF or forecast rather than METAR/SPECI — not decoded, may return many unknown tokens","Malformed or truncated METAR missing mandatory groups — partial decode with unknown tokens for missing fields","Non-ASCII or special characters in report string — tokenization errors"],"whenToPreferThis":"Choose this endpoint when you need deterministic, structured extraction of METAR or SPECI observation data without silent failures — every unrecognized token is surfaced with its position rather than dropped. Ideal for aviation dispatch systems, pre-flight automation, flight category alerting, and data pipelines that must process up to 20 reports per call. Prefer this over generic LLM-based weather parsing when auditability and claim verification matter. Not suitable for TAF decoding, forecast interpretation, or live weather fetching.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:38:01.300Z","isFirstParty":false,"canonicalSlug":"writerslogic-metar-speci-aviation-weather-parser-043c1580"}