The Hotel Name Autocomplete API enables you to autocomplete a hotel search field and help your users quickly find their desired hotel. For a given text string, the API will provide a list of up to 20 hotels whose names most closely match.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET '/v1/reference-data/locations/hotel?keyword=PARI&subType=HOTEL_LEISURE'