# FlightAware Airport-to-Airport Flights

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

Returns flights between a specific origin airport (KSNA) and a specific destination airport (KSFO), with status, timing, and routing details

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/ksna/flights/to/ksfo
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flightaware-3f54bb40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KRkoq00S2nETf8zxKXXRc

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-3f54bb40
```

Example prompt: Can you pull up all the flights from John Wayne Airport (KSNA) to San Francisco International (KSFO) for today using FlightAware?

## When to prefer this

Use this endpoint when you need a filtered list of flights specifically traveling between two known airports (origin KSNA → destination KSFO). Prefer this over the general airport flights endpoint when you only care about a particular destination corridor. Ideal for flight availability checks, travel planning, or monitoring a specific route.

## Known failure modes

- No flights found between the specified airports for the given date range — returns empty flights array
- Invalid airport code — returns 4xx error
- Date range too broad or invalid format — returns validation error
- API rate limit exceeded — returns 429 error
- Payment not received — returns 402 Payment Required
- Upstream FlightAware data unavailable — returns 503 or timeout

## How this service works

Get flights from one airport to another specific destination airport

## Output

Returns a paginated array of flight objects, each including flight identifier, operator, aircraft type, origin and destination airport details (code, name, city, timezone), departure and arrival times (scheduled, estimated, actual), flight status, route string, gate info, and whether the flight is blocked or diverted. Also includes a pagination cursor for retrieving additional pages.

## 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-3f54bb40/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)
