{"uid":"cap_ZTnO946P6Qv1JLEiR4ae-","slug":"stabletravel-airports-7976e157","name":"StableTravel FlightAware Airports List","description":"List all airports with optional pagination","url":"https://stabletravel.dev/api/flightaware/airports?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"cursor":{"type":"string"},"max_pages":{"type":"number"}}},"responseSchema":{"type":"object","required":["airports"],"properties":{"links":{"type":"object","properties":{"next":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"airports":{"type":"array","items":{"type":"object","required":["airport_code","name"],"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"type":{"type":"string"},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_lid":{"anyOf":[{"type":"string"},{"type":"null"}]},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"wiki_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_iata":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_icao":{"anyOf":[{"type":"string"},{"type":"null"}]},"elevation":{"anyOf":[{"type":"number"},{"type":"null"}]},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}]},"airport_code":{"type":"string"},"alternatives":{"anyOf":[{"type":"array","items":{"type":"object","required":["airport_code"],"properties":{"city":{"type":"string"},"name":{"type":"string"},"airport_code":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"airport_flights_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"num_pages":{"type":"number"}},"additionalProperties":false},"example":{"request":{"cursor":"","max_pages":1},"response":{"links":{"next":"/airports?max_pages=1&cursor=d6adab6a7d8db99"},"airports":[{"code":"00A","airport_info_url":"/airports/00A"},{"code":"00AA","airport_info_url":"/airports/00AA"},{"code":"00AK","airport_info_url":"/airports/00AK"},{"code":"00AL","airport_info_url":"/airports/00AL"},{"code":"00AN","airport_info_url":"/airports/00AN"},{"code":"00AR","airport_info_url":"/airports/00AR"},{"code":"00AS","airport_info_url":"/airports/00AS"},{"code":"00C","airport_info_url":"/airports/00C"},{"code":"00CA","airport_info_url":"/airports/00CA"},{"code":"00CL","airport_info_url":"/airports/00CL"},{"code":"00CN","airport_info_url":"/airports/00CN"},{"code":"00F","airport_info_url":"/airports/00F"},{"code":"00FA","airport_info_url":"/airports/00FA"},{"code":"00FL","airport_info_url":"/airports/00FL"},{"code":"00GA","airport_info_url":"/airports/00GA"}],"num_pages":1}},"exampleRequest":{"cursor":"","max_pages":1},"tags":["flightaware","flights","google-flights","seats-aero","travel","data","web"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CP7wMh-k9HZR2ozwxLVIF","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_WaA8ct8W_ekNVqL26OuxI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"StableTravel","brandSlug":"stabletravel","brandBaseUrl":"https://stabletravel.dev","brandDocsUrl":"https://stabletravel.dev","whatItDoes":"Returns a paginated list of all airports with IATA/ICAO codes, location data, and metadata via FlightAware","exampleAgentPrompt":"Can you pull the first page of all airports from the FlightAware database — I need their IATA codes, ICAO codes, names, and location info? Just fetch one page of results.","exampleUseCases":null,"resultDescription":"An array of airport objects each containing airport_code, name, IATA code, ICAO code, city, state, country_code, latitude, longitude, elevation, timezone, wiki_url, and alternative airports. Also includes pagination links with a cursor for the next page and the total number of pages.","failureModes":["Invalid cursor string returns empty or error response","max_pages exceeding available data returns fewer results than expected","Upstream FlightAware API unavailability causes 5xx error","No airports returned if database is empty or service degraded"],"whenToPreferThis":"Use this endpoint when you need to enumerate or browse the full catalog of airports (with rich metadata like IATA/ICAO codes, coordinates, timezone) and can tolerate paginated retrieval. Prefer this over a search endpoint when you want a comprehensive list rather than a filtered result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:50:44.055Z","isFirstParty":false,"canonicalSlug":"stabletravel-airports-7976e157"}