Skip to main content

Car Hire

Endpoint

POST https://partners.api.skyscanner.net/apiservices/v3/autosuggest/carhire

Request

Requests to autosuggest/carhire contain the following:

Field nameDescription
queryObject containing parameters for car hire autosuggest search.

The query object contains the following fields:

Field nameDescription
marketMarket where search is coming from. e.g. UK.
localeLanguage to be used for the search (ISO locale) e.g. en-GB.
searchTermThe string to get autosuggest results for. If left blank, the most popular car hires will be returned. e.g. Pari

Response

The /carhire endpoint returns a places list containing objects with the following fields:

Field nameDescription
hierarchyShows hierarchy of places related to this entity. E.g. City of Edinburgh.
locationCoordinates of the entity. Expressed as a comma seperated latitude/longitude pair e.g. 55.9497, -3.3635.
nameName of the place e.g. London.
highlightIndicates emphasis on characters which match the searchTerm.
entityIdA unique ID for the place. It's an internal ID and it doesn't have any meaning outside of our APIs.
typeType of place. e.g. PLACE_TYPE_AIRPORT, PLACE_TYPE_CITY, PLACE_TYPE_DISTRICT etc

Entity Types

Here are the full list of possible values for type in the response:

Type
PLACE_TYPE_TRAIN_STATION
PLACE_TYPE_DISTRICT
PLACE_TYPE_AIRPORT
PLACE_TYPE_CITY

Autosuggest API reference

See the Autosuggest API reference for more details.