# StableTravel FlightAware Last Flight by Aircraft Registration

> StableTravel FlightAware Last Flight by Aircraft Registration is a paid API for AI agents from stabletravel.dev, paid per call via x402, $0.4/call, status unknown (last checked 2026-09-13).

Returns the most recent flight record for a specific aircraft identified by its registration number, including origin, destination, timestamps, and flight identifiers.

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/history/aircraft/registration/last-flight
- Price: $0.4/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-last-flight-by-aircraft-registration-33a547c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t4MjAK6Ly_ZRkXTZr6dp6

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-last-flight-by-aircraft-registration-33a547c6
```

Example prompt: What was the last flight for aircraft registration N12345 — where did it depart from, where did it land, and when did it arrive?

## When to prefer this

Use this endpoint when you need the most recent flight record for a specific aircraft identified by tail/registration number and want structured FlightAware data including exact timestamps, airports, and operator details. Prefer this over general flight search endpoints when you have a specific aircraft registration (not a route or airline) and need historical last-flight data rather than upcoming schedules.

## Known failure modes

- Invalid or unknown aircraft registration returns empty result or 404
- Registration format mismatch (e.g. missing leading N) causes no results
- Aircraft has no recent flights logged in FlightAware database
- Payment of 0.4 USDC not fulfilled results in 402 Payment Required
- Rate limiting or upstream FlightAware API unavailability causes 503

## How this service works

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

## Output

A JSON object containing the most recent flight for the given aircraft registration, including the flight identifier (FA flight ID, IATA and ICAO idents), airline operator codes, origin and destination airport details (city, IATA/ICAO codes, full name), scheduled and actual departure/arrival timestamps, aircraft type, flight number, and current status (e.g. Arrived).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-flightaware-last-flight-by-aircraft-registration-33a547c6/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)
