{"uid":"cap_TFsjWQuiF7lUVx24aOmzz","slug":"lilambd-airport-lookup-by-code-c4698b84","name":"Lilambd Airport Lookup by Code","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/airports/%7Bcode%7D?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","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}},"queryParams":{"type":"object","required":[],"properties":{},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[],"count":0,"attribution":"source licence line"}},"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_At27FFoy7STX0Belai3D6","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":"Look up airport data by IATA/ICAO airport code and return structured airport records with attribution.","exampleAgentPrompt":"Can you look up the airport details for the code LHR and tell me what comes back?","exampleUseCases":[{"title":"Flight itinerary airport enrichment","prompt":"I have a list of airport codes from a booking — LHR, JFK, and SIN — can you fetch the airport details for each of those codes so I can display full airport names in the itinerary?"},{"title":"Validate airport code before booking","prompt":"Before I finalize this ticket, can you check whether CDG is a valid airport code and get me the details on it?"},{"title":"Travel chatbot airport name resolution","prompt":"The user typed in 'DXB' — can you look that airport code up and give me the full name and any other info so I can show it in a friendly message?"}],"resultDescription":"A JSON object containing a data array of airport records matching the provided code, a count of results, and an attribution string crediting the data source license.","failureModes":["Invalid or unrecognized airport code returns empty data array with count 0","Malformed path parameter may return a 400 or 404 error","Payment failure (402) if x402 micropayment not completed before request","Rate limiting or quota errors if the endpoint is called excessively"],"whenToPreferThis":"Choose this endpoint when you need to resolve a specific airport code to structured airport metadata and are operating in an x402 micropayment context where per-call billing is acceptable. It is well-suited for enriching travel data pipelines, validating codes, or displaying human-readable airport names from raw IATA/ICAO codes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:46.855Z","isFirstParty":false,"canonicalSlug":"lilambd-airport-lookup-by-code-c4698b84"}