{"uid":"cap_g8kOT5DTMOxctKitFc6OD","slug":"airport-lookup-by-iata-or-icao-code-2f9eb60c","name":"Airport Lookup by IATA or ICAO Code","description":"Look up an airport by its 3-letter IATA code or 4-character ICAO code. Provide exactly one. Returns the airport name, both codes, city, country, coordinates, elevation and type.","url":"https://airport.openverbs.com/v1/airport","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"iata":{"type":"string","description":"3-letter IATA code, e.g. \"JFK\"."},"icao":{"type":"string","description":"4-character ICAO code, e.g. \"KJFK\"."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"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_Cd4VFRD556a5YDtqZP-sg","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 detailed airport information (name, codes, city, country, coordinates, elevation, type) for a given 3-letter IATA or 4-character ICAO code.","exampleAgentPrompt":"What airport is JFK — can you look it up and give me its full name, city, country, and coordinates?","exampleUseCases":[{"title":"Enrich flight booking with airport details","prompt":"I have a flight departing from LHR — can you look up that airport code and tell me its full name, which city it's in, and its exact coordinates?"},{"title":"Resolve ICAO code for aviation tool","prompt":"I need the full details for the airport with ICAO code YSSY — name, city, country, elevation, and type please."},{"title":"Validate airport code before itinerary","prompt":"Can you confirm that CDG is a valid airport code and tell me what city and country it's located in?"}],"resultDescription":"Returns a structured record containing the airport's full name, IATA code, ICAO code, city, country, geographic coordinates (latitude/longitude), elevation, and airport type for the queried code.","failureModes":["Invalid or unrecognized IATA/ICAO code returns an error or empty result","Providing both IATA and ICAO simultaneously may be rejected (only one allowed)","Malformed code (wrong length or format) returns a validation error","Payment failure (x402) blocks the request from being processed"],"whenToPreferThis":"Use this endpoint when you have a specific IATA or ICAO airport code and need structured details about that airport — name, location, coordinates, elevation, and type. Prefer this over the fuzzy-search sibling endpoint when the exact code is already known, and over the nearest-airports sibling when you have a code rather than coordinates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:38:38.441Z","isFirstParty":false}