{"uid":"cap_JT-pXNHTqn5yQM_rLK4u5","slug":"airlines-reference-route-between-two-airports-2df15487","name":"Airlines Reference — Route Between Two Airports","description":"Airlines listed on a route between two airport codes (JFK, LHR) in the old OpenFlights routes snapshot, both directions.","url":"https://airlines-reference.x402tookit.com/airline-route-between?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"],"type":"string"},"queryParams":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"Destination airport code (LHR)"},"from":{"type":"string","description":"Origin airport code, IATA (JFK) or ICAO (KJFK) as used in the routes file"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"to":{"type":["null","string"]},"asOf":{"type":["null","string"]},"from":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"airlines":{"type":["array","null"],"items":{"type":"object","properties":{"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"name":{"type":["null","string"]},"alias":{},"active":{"type":["boolean","null"]},"country":{"type":["null","string"]},"listing":{"type":["null","string"]},"callsign":{"type":["null","string"]},"routesFromTo":{"type":["null","number"]},"routesToFrom":{"type":["null","number"]},"openflightsId":{"type":["null","number"]},"routesInSnapshot":{"type":["null","number"]}}}},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"snapshotDate":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3-kN4a9E5SyPRFyPNxUfD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the list of airlines that operate routes between two airports (by IATA or ICAO code), in both directions, from the OpenFlights routes snapshot.","exampleAgentPrompt":"Which airlines flew between JFK and LHR according to the OpenFlights routes snapshot? I need the carrier names, their IATA and ICAO codes, and how many routes each had in both directions.","exampleUseCases":[{"title":"Flight research for a travel planning agent","prompt":"Can you tell me which airlines operated routes between LAX and NRT? I want to know their names, codes, and whether they were still active in the OpenFlights snapshot."},{"title":"Competitive airline route analysis","prompt":"I'm doing research on transatlantic routes — can you pull all the airlines that had flights between London Heathrow (LHR) and New York JFK, in both directions, and tell me how many routes each carrier had?"},{"title":"Aviation data enrichment for a booking comparison tool","prompt":"For a route between Dubai (DXB) and Singapore (SIN), which airlines does the OpenFlights routes snapshot show as operating that corridor, and are they listed as active?"}],"resultDescription":"Returns a structured object containing: a list of airlines operating routes between the two specified airports (each with IATA code, ICAO code, name, alias, callsign, country, active flag, route counts in each direction, and total routes in the snapshot), plus a summary text, verdict, data source attribution, snapshot date, degraded flag, disclaimer, and any reasons or not-checked notes.","failureModes":["Invalid or unrecognized airport code returns empty airlines array or error","Route not found in snapshot returns empty results (snapshot is from ~2017 and may be outdated)","Missing required 'from' or 'to' query parameters returns a validation error","Snapshot data may not reflect current airline operations (historical data only)","ICAO vs IATA code mismatch may yield no results if the wrong format is used for a given airport"],"whenToPreferThis":"Use this endpoint when you need to discover which airlines historically served a route between two airports, based on the OpenFlights routes dataset. Ideal for travel research tools, aviation analytics, or data enrichment pipelines that need carrier lists per route. Prefer this over live flight search APIs when historical or reference data is sufficient and real-time pricing/availability is not needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:31:05.804Z","isFirstParty":false,"canonicalSlug":"airlines-reference-route-between-two-airports-2df15487"}