Skip to main content

Autosuggest API (3.0)

AutosuggestService

/carhire

Authorizations:
UserAuth
Request Body schema: */*
required
object (CarHireQuery)

Object containing parameters for car hire autosuggest query.

locale
required
string

Locale that the results are returned in. e.g. en-GB. We provide a Culture API to get all the locales we support. See Culture API Documentation.

market
required
string

Market for which the search is for. e.g. UK. We provide a Culture API to get all the markets we support. See Culture API Documentation.

searchTerm
required
string

Term to get autosuggest results for. Omitting the searchTerm will return the most popular destinations.

Responses

Response samples

Content type
application/json
{
  • "places": [
    ]
}

/flights

Authorizations:
UserAuth
Request Body schema: */*
required
object (FlightsQuery)

Object containing query parameters for flight autosuggest search.

object

Limits number of entities returned in response. Takes a minimum value of 1 and a maximum of 50.

isDestination
boolean

Alters ranking logic of entities.

Responses

Response samples

Content type
application/json
{
  • "places": [
    ]
}

/hotels

Authorizations:
UserAuth
Request Body schema: */*
required
object (HotelsQuery)

Object containing query parameters for hotels autosuggest search.

object

Limits number of entities returned in response. Takes a minimum value of 1 and a maximum of 50.

Responses

Response samples

Content type
application/json
{
  • "places": [
    ]
}