# StableTravel FlightAware Airports List

> StableTravel FlightAware Airports List is a paid API for AI agents from StableTravel at stabletravel.dev, paid per call via MPP or x402, $0.01/call, status unknown (last checked 2026-10-10).

Returns a paginated list of all airports with IATA/ICAO codes, location data, and metadata via FlightAware

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: StableTravel
- Docs: https://stabletravel.dev
- Website: https://stabletravel.dev
- Tags: flightaware, flights, google-flights, seats-aero, travel, data, web
- Canonical page: https://www.zero.xyz/c/stabletravel-airports-7976e157
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZTnO946P6Qv1JLEiR4ae-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stabletravel-airports-7976e157
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

List all airports with optional pagination

## Output

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.

## Example request

```json
{
 "cursor": "",
 "max_pages": 1
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cursor": {
   "type": "string"
  },
  "max_pages": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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": {
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-airports-7976e157/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stabletravel.dev](https://www.zero.xyz/host/stabletravel.dev/llms.txt)
