{"uid":"cap_WLm7xVJOKTyUJ9MsJ9By3","slug":"agentgate-airport-lookup-798d4699","name":"AgentGate Airport Lookup","description":"Machine-payable micro-APIs: web content extraction, airport data, route distances and DNS intelligence. No accounts, no API keys — AI agents pay $0.002–$0.005 per request in USDC on Base via the x402 protocol.","url":"https://agentgate-x402.netlify.app/api/airport","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"3-letter IATA or 4-letter ICAO airport code"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"lat":25.2528,"lon":55.3644,"iata":"DXB","icao":"OMDB","name":"Dubai International Airport","type":"large","region":"AE-DU","country":"AE","elevationFt":62,"municipality":"Dubai","scheduledService":true}},"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_JiaUVNQYw5FMPHhOnPPws","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":"Looks up structured airport metadata by IATA or ICAO code, returning name, location, country, coordinates, elevation, and service status.","exampleAgentPrompt":"Can you look up the details for JFK airport — I need its full name, country, coordinates, and elevation?","exampleUseCases":null,"resultDescription":"Returns structured airport metadata including the airport's full name, city, country, geographic coordinates (latitude/longitude), elevation, and service/operational status.","failureModes":["Invalid or unrecognized airport code returns an error","Passing a city name instead of a code fails validation","Malformed code (wrong length or format) returns a bad request error","Network or service downtime returns a 5xx error","Payment failure (insufficient USDC) blocks the request"],"whenToPreferThis":"Use this endpoint when you need authoritative, structured metadata about a specific airport and have its IATA (3-letter) or ICAO (4-letter) code. Ideal for enriching travel itineraries, validating airport codes, geocoding airports, or displaying airport info to users.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:32:50.240Z","isFirstParty":false}