{"uid":"cap_g_dsJLE3mrZ9-P9naEY32","slug":"aviationapis-com-flight-category-10893e87","name":"aviationapis.com Flight Category","description":"Pay-per-call aviation data APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://aviationapis.com/flight-category","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"icao":{"type":"string","pattern":"^[A-Za-z]{4}$","description":"4-letter ICAO airport code (e.g. 'KSFO', 'EGLL', 'RJTT')"}}},"responseSchema":{"type":"json","example":{"icao":"KORD","ceiling_ft":1800,"fetched_at":"2026-06-02T18:58:11.000Z","observed_at":"2026-06-02T18:51:00Z","visibility_sm":4,"flight_category":"MVFR"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dpVnngmgOzW29tyPtFMkG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the flight category (VFR, IFR, MVFR, LIFR) for an airport based on current ceiling and visibility conditions, given an ICAO airport code.","exampleAgentPrompt":"What's the current flight category at Chicago O'Hare — is it VFR, MVFR, IFR, or LIFR? The ICAO code is KORD.","exampleUseCases":null,"resultDescription":"A JSON object containing the ICAO code, current flight category (e.g. VFR, MVFR, IFR, LIFR), ceiling in feet, visibility in statute miles, the time the observation was recorded, and the time the data was fetched.","failureModes":["Invalid or malformed ICAO code (not exactly 4 letters) returns a validation error","Airport not found or no weather data available for the given ICAO code","Stale or unavailable METAR data results in no flight category returned","Payment failure via x402 protocol results in 402 response and no data"],"whenToPreferThis":"Use this endpoint when you need a quick, categorized flight condition status (VFR/MVFR/IFR/LIFR) for a specific airport identified by its ICAO code. Prefer this over raw METAR endpoints when you need a pre-computed flight category label rather than raw weather strings. Ideal for AI agents automating pre-flight checks, go/no-go decisions, or flight planning workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:36:01.641Z","isFirstParty":false}