Where is Everyone Going? New Top Destinations API.

by

 

One of our newest services (and a personal favorite) within the REST API portfolio is Top Destinations API. Top Destinations API retrieves top booked leisure destinations booked though the Sabre marketplace and returns them in ascending rank order.

The new API was the number one service voted at the Sabre Online Executive Forum that took place in July with attendees including our top OTA customers and their executives. The new service was developed to help OTA customers, travel companies, and social sites understand popular destinations in different markets.

So how does it work, you ask?

A user can search for top destinations out of New York City or even more specifically the top beach destinations out of any city in the world. The API will then return up to 50 of the most booked destinations based on the last two weeks of data.

For example, the input parameters for top beach destinations out of NYC are:

{
  "Theme": "BEACH",
  "OriginLocation": "NYC",

Top Destinations API will then return up to the top 50 destinations. In this case the top three results include Orlando, Miami, and Palm Beach:

"Destinations":[{ 
  "Rank": 1,
  "Destination": { 
    "DestinationLocation": "ORL",
    "CountryCode": "US", 
    "CountryName": "United States", 
    "RegionName": "North America", 
    "MetropolitanAreaName": "Orlando", 
    "Links": [{ 
      "rel": "airportsInCity", 
      "href": "https://api.test.sabre.com/v1/lists/supported/cities/ORL/airports" 
    }], 
    "Type": "City" 
  } 
}, { 
  "Rank": 2, 
  "Destination": { 
    "DestinationLocation": "MIA", 
    "AirportName": "Miami International Airport", 
    "CityName": "Miami", 
    "CountryCode": "US", 
    "CountryName": "United States", 
    "RegionName": "North America", 
    "Type": "Airport"
  }
 }, { 
  "Rank": 3, 
  "Destination": { 
    "DestinationLocation": "PBI", 
    "AirportName": "Palm Beach International Airport", 
    "CityName": "West Palm Beach", 
    "CountryCode": "US", 
    "CountryName": "United States", 
    "RegionName": "North America", 
    "Type": "Airport" 
  }

Some enhancements we are looking at in the future include incorporating some seasonality into the query as well as extending the look-back window from 2 weeks to 3 months or beyond. For example, we could then ask “what are the top destinations for Spring Break 2015?” or ”what are the top destinations booked in the last 3 months?”

The API is supported globally, meaning you can search top destinations from origins across the world. Be sure to play around with the API in the API Explorer to see sample responses and read through the documentation for more detail. Don’t you want to see where everyone is going?

Leave a Reply

Your email address will not be published. Required fields are marked *