Hotels.com

Get Hotels.com destination suggestions

Returns Hotels.com search-box suggestions for a partial destination or property name in q (up to 120 characters). Each suggestion has its type, primary and secondary text, full location name, coordinates, and region or property id. A query with no match returns an empty suggestions list.

get/hotels/autocomplete

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/hotels/autocomplete
  • Auth: API key in header x-api-key

Query parameters

qstring required

Partial destination or property name

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.