Get Destinations

Changed on

Returns the airports reachable from (or to) a single airport, along with the cheapest raw nonstop mileage price per cabin, aggregated across every source. Only direct/nonstop itineraries are considered; connecting prices are excluded. Supply exactly one of origin_airport or destination_airport. A cabin with no nonstop availability is returned as null (never 0).

get/destinations

Request

  • Base URL
    https://seats.aero/partnerapi
  • URL
    https://seats.aero/partnerapi/destinations
  • Auth
    API key in header Partner-Authorization

Query parameters

origin_airportstring
Example:SFO

Origin IATA code (3 letters). When supplied, the response lists reachable destinations and their cheapest nonstop price. Provide either this or destination_airport, not both. Metro/alias codes are expanded automatically.

destination_airportstring
Example:JFK

Destination IATA code (3 letters). When supplied, the response lists origin airports from which this airport is reachable nonstop, and their cheapest price. Provide either this or origin_airport, not both. Metro/alias codes are expanded automatically.

Response

200

origin_airportstring

Echoes the requested origin. Present only when origin_airport was supplied.

destination_airportstring

Echoes the requested destination. Present only when destination_airport was supplied.

successboolean

Example response

{
  "origin_airport": "SFO",
  "destination_airport": "JFK",
  "destinations": [
    {
      "airport": "JFK",
      "economy": 18000,
      "premium": 45000,
      "business": 45000,
      "first": 110000
    }
  ],
  "success": true
}

Changes