# Last Flight for Aircraft

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

Retrieves the most recent flight record for a specific aircraft by its registration number

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/history/aircraft/:registration/last-flight
- Price: $0.4/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Provider: StableTravel
- Docs: https://stabletravel.dev
- Website: https://stabletravel.dev
- Tags: amadeus, flightaware, flights, hotels, activities, transfers, travel, data, web
- Canonical page: https://www.zero.xyz/c/stabletravel-last-flight-e239281b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KKxqw8opd7KMAVV7sobzf

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-last-flight-e239281b
```

Example prompt: What was the last flight for aircraft registration N12345? Search within the bounding box from latitude 25 to 50 north and longitude -125 to -65 east.

## When to prefer this

Use this endpoint when you need to look up the single most recent flight for a specific aircraft identified by its registration number, particularly when you also have a geographic bounding box to scope the search. Prefer this over general flight search endpoints when you already know the tail number and want historical flight context rather than live or scheduled flight data.

## Known failure modes

- Aircraft registration not found — returns 404 or empty result
- Invalid or malformed registration string — returns 400 bad request
- Missing required bounding box parameters (north/south/east/west) — returns 400 validation error
- No flight history available for the aircraft — returns empty or null result
- FlightAware data unavailable or rate-limited — returns 503 or upstream error
- Bounding box coordinates out of valid range — returns 400 error

## How this service works

Get last flight for an aircraft

## Output

Returns the most recent flight record for the specified aircraft registration, including flight identifiers, departure and arrival airports, timestamps, and related flight metadata sourced from FlightAware.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "north",
  "west",
  "south",
  "east"
 ],
 "properties": {
  "max": {
   "type": "number",
   "description": "Maximum number of results (default 50)"
  },
  "east": {
   "type": "number",
   "description": "Eastern longitude boundary"
  },
  "west": {
   "type": "number",
   "description": "Western longitude boundary"
  },
  "north": {
   "type": "number",
   "description": "Northern latitude boundary"
  },
  "south": {
   "type": "number",
   "description": "Southern latitude boundary"
  }
 }
}
```

## More

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