Look up airline routes from an airport via Amadeus reference data, pay-per-request at $0.005.
What it does
This endpoint returns the destinations served by a specific airline, optionally filtered by departure airport or arrival country. It is part of StableTravel's Reference Data category, which wraps Amadeus GDS reference APIs behind a pay-per-request MPP/x402 micropayment wall. No API keys, OAuth tokens, or subscriptions are required — payment via USDC on Base, Solana, or Tempo serves as authentication.
The endpoint accepts a required `airlineCode` parameter (IATA code, e.g. "AA" for American Airlines), an optional `arrivalCountryCode` filter, and an optional `max` parameter (default 50 results). It costs $0.005 per request (confirmed by both the OpenAPI spec's x-payment-info amount of 0.005400 USD and the MPP 402 challenge with amount 5400 in pathUSD base units on Tempo chain 4217). The response returns a JSON object with a `data` array of route entries.
StableTravel is built by Merit Systems and aggregates data from Amadeus (flights, hotels, activities, transfers, reference data), FlightAware AeroAPI (real-time tracking, airport info, history), and Google Flights via SerpAPI (price comparison). The full API suite covers 70+ endpoints spanning flight search/booking, hotel discovery/booking, activity search, airport transfers, real-time flight tracking, weather observations, disruption counts, and reference lookups — all accessible at per-call prices ranging from $0.001 to $0.40.
Capabilities
Use cases
- —Determine which destinations an airline serves from a given airport before searching for flights
- —Build an airline route-map visualization by querying all routes for a carrier
- —Filter airline destinations by country to find international or domestic coverage
- —Pre-validate origin-destination pairs before issuing a flight search to avoid empty results
- —Power a travel-planning agent that needs to know airline connectivity
Fit
Best for
- —AI travel agents that need airline route connectivity data before booking
- —Applications building route maps or network visualizations for airlines
- —Pre-flight-search validation to check if an airline serves a particular route
- —Lightweight reference lookups where per-call pricing is preferable to a subscription
Not for
- —Bulk downloading the entire global airline route database (rate/cost would add up)
- —Real-time flight tracking or live position data (use the FlightAware endpoints instead)
- —Booking flights directly (use /api/flights/search → /api/flights/book workflow)
Quick start
npx agentcash fetch "https://stabletravel.dev/api/reference/airline-routes?airlineCode=AA&max=10"Example
Response
{
"data": [
{
"name": "LOS ANGELES INTL",
"type": "location",
"subtype": "AIRPORT",
"iataCode": "LAX"
},
{
"name": "LONDON HEATHROW",
"type": "location",
"subtype": "AIRPORT",
"iataCode": "LHR"
}
],
"meta": {
"count": 2
}
}Endpoint
Quality
Full OpenAPI 3.1 schema with parameter definitions, x-payment-info pricing, and a live 402 MPP challenge confirming the endpoint is operational. Comprehensive guidance docs and endpoint table are present. Slightly below 0.9 because no example response body was captured from the actual endpoint and the response schema items are untyped (empty `items: {}` in the OpenAPI spec).
Warnings
- —Response schema items are untyped in the OpenAPI spec (items: {}), so the exact shape of returned route objects must be inferred from Amadeus documentation.
- —Example response JSON is inferred from Amadeus conventions, not captured from a live call.
Citations
- —Endpoint costs $0.005 per request (x-payment-info amount 0.005400 USD)https://stabletravel.dev/openapi.json
- —MPP challenge confirms live status with amount 5400 base units on Tempo chain 4217https://stabletravel.dev/api/reference/airline-routes
- —Required parameter is airlineCode (IATA code), optional parameters are max (default 50) and arrivalCountryCodehttps://stabletravel.dev/openapi.json
- —StableTravel provides pay-per-request access to Amadeus, FlightAware, and Google Flights data with no API keys or subscriptionshttps://stabletravel.dev
- —Payment via USDC on Base, Solana, or Tempo serves as authenticationhttps://stabletravel.dev