Trivago Destination Suggest API Documentation Find Trivago destinations, hotels and landmarks by a search text. Each result has an id, a type (destination, hotel, landmark or place), a name, a location label and a category such as City or Region. Use the id of a destination as destination_id in the search and filters endpoints, and the id of a hotel as hotel_id in the offers, hotel and reviews endpoints. Place suggestions have no Trivago id and cannot start a search. Completions are text suggestions for the search box.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
1 optional filter available.
string
Required
Destination or hotel name, 2 to 100 characters. Example: berlin.
coffee shops
string
Optional
Trivago country site: us, de, uk, fr, es, it or nl. Sets language, currency and prices. Defaults to us.
US
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"query": "Berlin",
"market": "us",
"results": [
{
"id": 3848,
"name": "Berlin",
"type": "destination",
"category": "City",
"location": "Berlin, Germany"
},
{
"id": 343951,
"name": "Berlin",
"type": "destination",
"category": "City",
"location": "Ohio, USA"
},
{
"id": 97952,
"name": "Berlin",
"type": "destination",
"category": "City",
"location": "Maryland, USA"
}
],
"completions": [
"Berlin"
]
},
"meta": {
"billable": true,
"endpoint_family": "destination_suggest"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A required query parameter is missing or invalid. This response is not billable.
{
"errors": {
"query": [
"The query field is required."
]
},
"message": "The request validation failed"
}Resource Not Found
No resource matched. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "destination_suggest"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested Trivago resource was not found."
},
"success": false
}Service Unavailable
Trivago could not be reached or answered with an unexpected shape. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "destination_suggest"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The Trivago API is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.