# StableTravel FlightAware Airport Departures

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

Returns a paginated list of departure flights for a specific airport using FlightAware data, including flight identifiers, status, origin/destination, and scheduled times.

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/id/flights/departures
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stabletravel-flightaware-airport-departures-a38ecced
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EzkZpMSQE1mP8ld_olLUs

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-departures-a38ecced
```

Example prompt: What flights are departing from JFK airport today? Show me American Airlines departures if you can filter by airline.

## When to prefer this

Use this endpoint when you need real-time or scheduled departure flight data for a specific airport, especially when you want FlightAware-quality data without a subscription. Prefer this over airline-specific APIs when you need multi-airline departures from a single airport. Prefer over generic flight search endpoints when the use case is monitoring or listing outbound flights rather than booking.

## Known failure modes

- Invalid or unknown airport ID returns an error or empty departures array
- Missing required airport ID in the URL path returns 400 or 404
- Pagination cursor mismatch or expiry causes empty or duplicate results
- Rate limiting or payment failure returns 402 Payment Required
- Airline filter that matches no flights returns empty departures array
- FlightAware upstream outage may result in stale or unavailable data

## How this service works

Pay-per-request access to flights, award availability, hotels, activities, and transfers. No auth, no subscriptions.

## Output

A paginated JSON response containing an array of departure flights, each with flight ident, IATA/ICAO codes, origin and destination airport details (city, name, code), flight status (e.g. Scheduled, En Route, Landed), operator, aircraft type, scheduled and actual departure/arrival times, and FlightAware flight ID. Also includes pagination links and total 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": {
      "type": {
       "type": "string"
      },
      "cursor": {
       "type": "string"
      },
      "airline": {
       "type": "string"
      },
      "max_pages": {
       "type": "number"
      }
     },
     "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": [
      "departures"
     ],
     "properties": {
      "links": {
       "type": "object",
       "properties": {
        "next": {
         "anyOf": [
          {
           "type": "string"
          },
          {
           "type": "null"
          }
         ]
        }
       },
       "additionalProperties": false
      },
      "num_pages": {
       "type": "number"
      },
      "departures": {
       "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": {
              "anyOf": [
               {
     
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "num_pages": 1,
  "departures": [
   {
    "ident": "AAL100",
    "origin": {
     "city": "New York",
     "code": "KJFK",
     "name": "John F. Kennedy International",
     "code_iata": "JFK",
     "code_icao": "KJFK"
    },
    "status": "Scheduled",
    "operator": "AAL",
    "ident_iata": "AA100",
    "ident_icao": "AAL100",
    "destination": {
     "city": "Los Angeles",
     "code": "KLAX",
     "name": "Los Angeles International",
     "code_iata": "LAX",
     "code_icao": "KLAX"
    },
    "fa_flight_id": "AAL100-1733068800-airline-0001",
    "scheduled_in": "2026-12-01T19:00:00Z",
    "aircraft_type": "B738",
    "flight_number": "100",
    "operator_iata": "AA",
    "operator_icao": "AAL",
    "scheduled_out": "2026-12-01T13:00:00Z"
   }
  ]
 }
}
```

## More

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