Airlines on a route
Which airlines fly one city pair non-stop, busiest first.
/v1/aviation/routesRequires X-API-KeyAnswers "who flies from A to B non-stop?" from the airlines' published schedules: every carrier that files the pair, ordered by weekly frequency (busiest first), then by airline code.
Both origin and destination are required three-letter IATA airport codes (either case); anything else is 400 invalid_route. The pair is directional — MAD→BCN and BCN→MAD are separate questions — and airport codes match exactly, so a metropolitan code such as LON matches nothing. Ask once per airport.
The list is unpaginated. A pair nobody publishes returns 200 with an empty data, not 404. This describes the airlines' networks, not what Norba can book: use POST /v1/shopping/offers for that.
Request example
curl --request GET \
--url https://api.norba.io/v1/aviation/routes \
--header "X-API-Key: $NORBA_KEY"Response example
{
"data": [
{
"airline_iata": "IB",
"origin": "MAD",
"destination": "BCN",
"weekly_frequency": 98,
"monthly_seats": 72400,
"source": "opentraveldata"
},
{
"airline_iata": "VY",
"origin": "MAD",
"destination": "BCN",
"weekly_frequency": 42,
"monthly_seats": 32600,
"source": "opentraveldata"
},
{
"airline_iata": "UX",
"origin": "MAD",
"destination": "BCN",
"weekly_frequency": 35,
"monthly_seats": 25900,
"source": "opentraveldata"
}
],
"meta": {
"request_id": "9b0d6e3f1a47c825",
"page": 1,
"limit": 3,
"count": 3,
"total": 3
},
"errors": []
}Query parameters
originstringRequiredThree-letter IATA code of the departure airport.
MADdestinationstringRequiredThree-letter IATA code of the arrival airport.
BCNResponse fields
airline_iatastringRequiredA carrier that files the pair.
originstringRequiredDeparture airport, as asked.
destinationstringRequiredArrival airport, as asked.
weekly_frequencynumberThat carrier's flights a week on the pair, averaged over the schedule season. Absent when not published.
monthly_seatsintegerSeats it offers a month on the pair. Absent when not published.
sourcestringThe dataset the pair comes from: opentraveldata.
Error codes
400invalid_route — origin or destination is missing or not three characters long.