All API requests must be made over https.

Please safeguard your access key. To include it with each request, set it as the value of the X-TripAdvisor-API-Key header. If you need to make API calls from client code, be aware this may expose your key to other scripts and browser extensions on the client.

Tripadvisor reserves the right to revoke an access key at any time and issue a new one, if a key has leaked or is being misused.

Example curl command:

$ curl
--header 'Content-Type: application/json'
--header 'X-TripAdvisor-API-Key: yourkeyhere'