# FlightAware Airport Routes

> FlightAware Airport Routes is a paid API for AI agents from stabletravel.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Retrieves historical flight routes filed between two specific airports, including airspeed, altitude, and departure data

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/ZRH/routes/BCN
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flightaware-airport-routes-6011a7b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n2ESs0e6WsTMWxiecJbQf

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 flightaware-airport-routes-6011a7b4
```

Example prompt: Can you pull up the historical flight routes that have been filed between Zurich (ZRH) and Barcelona (BCN), sorted by how frequently they were used?

## When to prefer this

Use this endpoint when you need historical filed route data between a specific airport pair — especially useful for flight planning research, airspace analysis, or understanding typical airways used by pilots. Prefer this over general flight search endpoints when the goal is route string and altitude/airspeed metadata rather than live flight status or schedules.

## Known failure modes

- Invalid airport ICAO/IATA codes return an error or empty result
- Date range outside available historical data may return empty routes array
- Unrecognized sort_by value may cause a 400 error
- Rate limiting or payment failure (x402) if USDC balance is insufficient
- Very thin routes (rarely-filed city pairs) may return zero or one result

## How this service works

Get routes between two airports with historical filing data

## Output

A paginated list of route objects between the two specified airports, each containing the route string (waypoints/airways), route distance, min/max filed airspeed, min/max filed altitude, and last departure time. Also includes pagination links and page count.

## Request schema (JSON Schema)

```json
{
 "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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "cursor": {
       "type": "string"
      },
      "sort_by": {
       "enum": [
        "count",
        "last_departure_time"
       ],
       "type": "string"
      },
      "date_end": {
       "type": "string"
      },
      "max_pages": {
       "type": "number"
      },
      "date_start": {
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "routes"
     ],
     "properties": {
      "links": {
       "type": "object",
       "properties": {
        "next": {
         "anyOf": [
          {
           "type": "string"
          },
          {
           "type": "null"
          }
         ]
        }
       },
       "additionalProperties": false
      },
      "routes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "route": {
          "type": "string"
         },
         "route_distance": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "filed_airspeed_max": {
          "anyOf": [
           {
            "type": "number"
           },
           {
            "type": "null"
           }
          ]
         },
         "filed_airspeed_min": {
          "anyOf": [
           {
            "type": "number"
           },
           {
            "type": "null"
           }
          ]
         },
         "filed_altitude_max": {
          "anyOf": [
           {
            "type": "number"
           },
           {
            "type": "null"
           }
          ]
         },
         "filed_altitude_min": {
          
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/flightaware-airport-routes-6011a7b4/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)
