Skip to main content

Geo Code

v1
REST API
Try now

What is it?

In detail: the API uses the description of a location to retrieve geographic details (like geographical coordinates). The location description can be a postal address, point of interest landmark (like Disneyland) or a place ID (such as an airport, multi-airport city (MAC) code or Sabre ID). These geographic details could then be used to plot locations on a graphical map.

Optional search preferences are available to sort and filter results, including the ability to specify a category (such as "AIR" for airports) and a limit on the number of search results to return per category

Why use it?

You could use this API with the Destination Finder API to display destinations on a graphical map. For example, the application could use the Destination Finder API to get a list of destinations. Then the application could make a call to the Geo Code API to get the geographic information for each of the destinations and use the response to display destinations on a graphical map.

Geocode data response

The response contains details about each place, including: a name, category, location information (such as a postal address, geographical coordinates), an ID (such as an airport, multi-airport city (MAC) code or Sabre ID) and a confidence factor. There are 10 possible values for confidence factor, ranging from a specific location with a high degree of accuracy (e.g. a street address indicated by confidence factor "ADDRESS_QUALITY"), to a nonspecific location (e.g. a country like Brazil indicated by confidence factor "COUNTRY_QUALITY").

Note: Geographic information, including latitude and longitude, is provided by a third party geocoding entity. Sabre makes no representation or warranty regarding the accuracy of the geographic information provided by the geocoding entity.

How to use?

Destination Finder API

To get the lowest published fares available to destinations from a given origin, use the Destination Finder API. The Destination Finder API retrieves a then current nonstop lead fare and an overall lead fare available to destinations from a specific origin on roundtrip travel dates from the Sabre cache. Numerous optional search preferences are available to sort and filter results, including the ability to specify a region, theme or multiple lengths of stay. The Geo Code API could be then be used to get the geographic information for each of the destinations and use the response to display destinations on a graphical map.

Resources