{"uid":"cap_tSUgxnavLRoHT00CbqovG","slug":"airport-code-lookup-e831b982","name":"Airport Code Lookup","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/airport-code-lookup?utm_source=zero.xyz","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":{"required":["code"],"properties":{"code":{"type":"string","description":"IATA-3 (e.g. 'SFO', 'JFK', 'LHR') or ICAO-4 (e.g. 'KSFO', 'KJFK', 'EGLL') airport code. Case-insensitive."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"query":{"type":"string"},"airport":{"type":"object","properties":{"iata":{"type":"string"},"icao":{"type":"string"},"name":{"type":"string"}}}}}}}}},"responseSchema":{"type":"json","example":{"query":"SFO","airport":{"iata":"SFO","icao":"KSFO","name":"San Francisco International Airport"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_b9BhiAbfoSX0hKP10f_04","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves an IATA-3 or ICAO-4 airport code to the airport's full name and both code formats","exampleAgentPrompt":"What airport does the code LHR refer to? Give me its full name and both the IATA and ICAO codes.","exampleUseCases":[{"title":"Decode flight itinerary airport codes","prompt":"My flight confirmation just says I'm flying from ORD to CDG — can you tell me the full names of those airports?"},{"title":"Validate airport code on booking form","prompt":"I need to confirm: is DXB a valid airport code, and if so what's the full official airport name?"},{"title":"Get ICAO code from IATA for flight planning","prompt":"I have the IATA code SFO — what's the equivalent ICAO code and the full name of that airport?"}],"resultDescription":"Returns a JSON object with the queried code, the airport's IATA 3-letter code, its ICAO 4-letter code, and the full official airport name (e.g. {query: 'SFO', airport: {iata: 'SFO', icao: 'KSFO', name: 'San Francisco International Airport'}}).","failureModes":["Unknown or invalid airport code returns no airport data or an error","Providing a city name instead of a code may return no results","Codes longer than 4 characters or shorter than 3 characters may be rejected","Ambiguous partial codes may not match any airport"],"whenToPreferThis":"Use this endpoint when you need to resolve a specific IATA-3 or ICAO-4 airport code to its full name or cross-reference between IATA and ICAO formats. It is ideal for enriching flight data, validating codes on booking flows, or displaying human-readable airport names from raw code strings. Prefer this over a general search API when you already have a specific code and just need its details.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T12:37:44.308Z","isFirstParty":false,"canonicalSlug":"airport-code-lookup-e831b982"}