# FlightAware Airport Departures

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

Retrieve a list of departure flights for Miami International Airport (KMIA) with real-time flight tracking data

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/KMIA/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/flightaware-6b884856
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bEZIF2e_fxyt4V6yZKcWv

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-6b884856
```

Example prompt: What flights are currently departing from Miami International Airport (KMIA)? Show me the full departure board with flight status and destinations.

## When to prefer this

Use this endpoint when you need real-time or scheduled departure flight data specifically for Miami International Airport (KMIA). It is ideal for building departure boards, monitoring airline operations, tracking outbound flights, or filtering departures by airline. Prefer this over generic flight search endpoints when airport-centric departure data is required rather than route-based flight search.

## Known failure modes

- Invalid airport code returns empty or error response
- Airline filter with no matching flights returns empty departures array
- Pagination cursor expired or invalid causes fetch failure
- Rate limiting or payment failure (402) if USDC balance insufficient
- Upstream FlightAware API unavailability causes timeout or 503

## How this service works

Get departure flights for a specific airport

## Output

Returns a paginated list of departure flights from KMIA, each including flight identifier, origin/destination airport info (ICAO, IATA, city, timezone), flight status, scheduled and actual departure/arrival times, operator/airline, aircraft type, route, and flags for diverted or blocked flights. Includes pagination cursor and page count for iterating through large result sets.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "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": {
      "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)
```

## More

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