# StableTravel FlightAware Airport Routes

> StableTravel 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).

Returns flight routes filed between a specific origin airport and a specific destination airport, including route strings, distances, altitudes, and airspeeds.

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/id/routes/dest_id
- 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/stabletravel-flightaware-airport-routes-55c01339
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AFndXRL_3_GhP2IRaLfGu

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-flightaware-airport-routes-55c01339
```

Example prompt: What routes do flights typically file going from JFK to LAX — show me the route strings, filed altitudes, and when they last departed, sorted by most recent departure time.

## When to prefer this

Use this endpoint when you need to look up historical or current filed flight routes between a specific origin-destination airport pair, including route strings, altitudes, and airspeeds. Prefer this over generic flight search endpoints when you need aeronautical routing data rather than booking or scheduling information. Best for aviation analytics, flight planning research, or understanding typical routing between two airports.

## Known failure modes

- Invalid or unknown airport ID returns a 404 or empty routes array
- No routes found for the given airport pair returns an empty routes list
- Invalid date range format returns a validation error
- Malformed cursor parameter causes pagination failure
- Payment not included or insufficient returns 402 Payment Required

## How this service works

Get routes between two airports with historical filing data

## Output

A paginated list of route objects between the specified origin and destination airports, each containing the route waypoint string, route distance, filed minimum and maximum altitude, filed minimum and maximum airspeed, and the timestamp of the last departure. Also includes total page count and a next-page cursor link.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "sort_by": "count",
   "max_pages": 1
  }
 }
}
```

## 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)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "routes": [
   {
    "route": "JFK DCT LAX",
    "route_distance": "2475",
    "filed_altitude_max": 36000,
    "filed_altitude_min": 32000,
    "last_departure_time": "2026-04-21T18:30:00Z"
   }
  ],
  "num_pages": 1
 }
}
```

## More

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