# Amadeus Airline Routes by Airport

> Amadeus Airline Routes by Airport is a paid API for AI agents from stabletravel.dev, paid per call via x402, $0.0054/call, status unknown (last checked 2026-09-14).

Returns the list of routes operated by a given airline from airports, optionally filtered by arrival country.

## Facts

- Endpoint: GET https://stabletravel.dev/api/reference/airline-routes
- Price: $0.0054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amadeus-468cbfb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HG8fH1l563JUDl5DNpYLr

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 amadeus-468cbfb6
```

Example prompt: Show me all routes operated by American Airlines (AA), up to 50 results, and filter them to arrivals in the US.

## When to prefer this

Use this endpoint when you need to discover which routes a specific airline operates — particularly useful for itinerary planning, network analysis, or checking reachable destinations. Prefer this over flight availability search when you need a broad route map rather than specific flight schedules or seat availability.

## Known failure modes

- Missing required airlineCode parameter returns a validation error
- Invalid or unknown IATA airline code returns empty data or error
- arrivalCountryCode filter with no matching routes returns empty data array
- Network or upstream Amadeus API unavailability returns a service error
- Exceeding max parameter limits may cause unexpected behavior

## How this service works

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

## Output

An array of route objects for the specified airline, each indicating origin and destination airport pairs. May also include metadata and optional warnings from the Amadeus API.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "max": 25,
   "airlineCode": "AA"
  }
 }
}
```

## 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",
     "required": [
      "airlineCode"
     ],
     "properties": {
      "max": {
       "type": "number",
       "description": "Maximum number of results (default 50)"
      },
      "airlineCode": {
       "type": "string",
       "description": "IATA airline code (e.g. AA)"
      },
      "arrivalCountryCode": {
       "type": "string",
       "description": "Filter by arrival country code"
      }
     },
     "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": [
      "data"
     ],
     "properties": {
      "data": {
       "type": "array",
       "items": {}
      },
      "meta": {},
      "warnings": {
       "type": "array",
       "items": {}
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "name": "NEW YORK",
    "type": "location",
    "subtype": "city",
    "iataCode": "NYC",
    "analytics": {
     "flights": {
      "score": 100
     },
     "travelers": {
      "score": 100
     }
    }
   }
  ],
  "meta": {
   "count": 1
  }
 }
}
```

## More

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