# FlightAware Airport-to-Airport Flights Lookup

> FlightAware Airport-to-Airport Flights Lookup is a paid API for AI agents from stabletravel.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Retrieves flights departing from a specific origin airport and arriving at a specific destination airport, with optional date filtering and pagination

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/KDCA/flights/to/KMVY
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flightaware-airport-to-airport-flights-lookup-65a29713
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_970aEqx-3NtSzRzGnaYXQ

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-to-airport-flights-lookup-65a29713
```

Example prompt: Can you pull up all the flights from Reagan National (KDCA) to Martha's Vineyard (KMVY) for this coming Saturday?

## When to prefer this

Use this endpoint when you need to enumerate all flights between two specific airports (identified by ICAO codes), with optional date filtering. Prefer this over a general flight search when you know both the exact origin and destination airport codes and need structured FlightAware data including real-time status, operator, and route details. This is better than a Google Flights-style search when you need raw flight tracking data rather than booking offers.

## Known failure modes

- Invalid or unrecognized airport ICAO code returns an error or empty flights array
- No flights found for the route returns an empty flights list
- Invalid date range parameters may return unexpected results or an error
- Pagination cursor mismatch can result in repeated or missing results
- Rate limiting or payment failure returns a 402 Payment Required response
- Temporary FlightAware upstream outage may cause 5xx errors

## How this service works

Get flights from one airport to another specific destination airport

## Output

A paginated list of flight objects for the specified origin-to-destination route, each including flight identifier, operator, status (e.g. scheduled, cancelled, diverted), origin and destination airport details (code, city, name, timezone, IATA/ICAO codes), actual and estimated departure/arrival times, route string, and a next-page cursor link for additional results.

## 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": {
      "type": {
       "type": "string"
      },
      "cursor": {
       "type": "string"
      },
      "date_end": {
       "type": "string"
      },
      "max_pages": {
       "type": "number"
      },
      "connection": {
       "type": "string"
      },
      "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": [
      "flights"
     ],
     "properties": {
      "links": {
       "type": "object",
       "properties": {
        "next": {
         "anyOf": [
          {
           "type": "string"
          },
          {
           "type": "null"
          }
         ]
        }
       },
       "additionalProperties": false
      },
      "flights": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "type": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "ident": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "route": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "origin": {
          "anyOf": [
           {
            "type": "object",
            "properties": {
             "city": {
              "anyOf": [
               {
                "type": "string"
               },
               {
                "type": "null"
               }
              ]
             },
             "code"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/flightaware-airport-to-airport-flights-lookup-65a29713/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)
