# StableTravel FlightAware Historical Airport Arrivals

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

Retrieves historical flight arrival records for a specific airport using FlightAware data, filterable by time range and airline.

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/history/airports/id/flights/arrivals
- Price: $0.04/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-historical-airport-arrivals-db258f7e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0C4QTeCjfEcXWUTmTRYCR

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-historical-airport-arrivals-db258f7e
```

Example prompt: Can you pull up all the historical flight arrivals at JFK (KJFK) from December 1st to December 3rd 2026, filtered to just American Airlines flights?

## When to prefer this

Use this endpoint when you need historical (past) arrival records for a specific airport rather than live or future flight data. Prefer this over the current arrivals endpoint when analyzing past operations, auditing flight history, or reconstructing what flights landed at an airport during a specific time window. The airline filter is useful when narrowing to a single carrier's operations.

## Known failure modes

- Invalid or unknown airport ICAO code returns empty results or 404
- Invalid date format for start/end parameters causes a 400 or empty response
- No arrivals found in the specified time window returns an empty arrivals array
- Exceeding max_pages or cursor mismatch causes pagination errors
- Payment not processed (x402 flow failure) blocks the request entirely
- Rate limiting or upstream FlightAware API outage returns a 5xx error

## How this service works

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

## Output

A paginated list of arrival flight objects, each containing flight identifiers (IATA, ICAO, FA flight ID), origin and destination airport details (city, code, name, timezone), operator codes, actual and scheduled departure/arrival times, flight status, and aircraft type. Also includes a pagination links object with a next cursor for fetching 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": {
      "end": {
       "type": "string"
      },
      "start": {
       "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": [
      "arrivals"
     ],
     "properties": {
      "links": {
       "type": "object",
       "properties": {
        "next": {
         "anyOf": [
          {
           "type": "string"
          },
          {
           "type": "null"
          }
         ]
        }
       },
       "additionalProperties": false
      },
      "arrivals": {
       "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": {
              "type": "string"
             },
         
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "arrivals": [
   {
    "type": "Airline",
    "ident": "AAL100",
    "origin": {
     "city": "New York",
     "code": "KJFK",
     "name": "John F. Kennedy International",
     "code_iata": "JFK",
     "code_icao": "KJFK"
    },
    "status": "Arrived",
    "operator": "AAL",
    "actual_in": "2026-12-01T18:55:00Z",
    "actual_out": "2026-12-01T13:05:00Z",
    "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"
   }
  ],
  "num_pages": 1
 }
}
```

## More

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