# StableTravel FlightAware Canonical Airport Code Lookup

> StableTravel FlightAware Canonical Airport Code Lookup is a paid API for AI agents from StableTravel at stabletravel.dev, paid per call via MPP, $0.002000/call, status unknown (last checked 2026-09-13).

Returns the canonical airport code for airports found within a specified geographic bounding box

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/:id/canonical
- Price: $0.002000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-13
- 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-canonical-526f928c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_neG_vQRScaHwl48bwYHjC

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-canonical-526f928c
```

Example prompt: What are the canonical airport codes for airports within the bounding box north 34.2, south 33.7, west -118.7, east -117.9 — return up to 10 results?

## When to prefer this

Use this endpoint when you need to resolve or canonicalize airport codes for airports in a specific geographic region, especially when integrating with FlightAware services that require canonical identifiers. Prefer this over IATA-only lookups when you need the official FlightAware canonical code for downstream flight tracking or historical flight queries.

## Known failure modes

- Missing required bounding box parameters (north, south, east, west) returns a 400 error
- Invalid or out-of-range latitude/longitude values cause a validation error
- No airports found within the specified bounding box returns an empty result
- Bounding box too large may hit result limits or timeout
- Authentication or payment failure returns a 402 or 401 error

## How this service works

Get canonical airport code

## Output

Returns canonical airport code(s) for airports found within the specified geographic bounding box, powered by FlightAware data. The response identifies the official/canonical identifier used by FlightAware for each matching airport.

## 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-canonical-526f928c/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)
