Trivago Search Filters API Documentation List the filters Trivago offers for a destination: filter groups (popular filters, meal options, payment, amenities), property type groups and hotel chain ids. Filters that the search endpoint supports carry search_parameter and search_value: use them as the property_type or amenities parameter. Trivago names only some filters, so a filter can come without a label. The response also lists the sort values, minimum rating values and star classes of the search endpoint.
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.
integer
Required
Trivago destination id from the suggest endpoint. Example: 3848 for Berlin.
1234567890
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": {
"market": "us",
"sort_options": [
"relevance",
"price_asc",
"rating",
"price_desc"
],
"star_options": [
1,
2,
3,
4,
5
],
"filter_groups": [
{
"name": "Popular filters",
"filters": [
{
"key": "411-2",
"label": "Breakfast included"
},
{
"key": "101-2",
"label": "Hotel",
"search_value": 2,
"search_parameter": "property_type"
},
{
"key": "300-25",
"search_value": 25,
"search_parameter": "amenities"
}
]
},
{
"name": "Deals",
"filters": [
{
"key": "416-6",
"label": "Only show stays with highlighted deals"
}
]
}
],
"destination_id": 3848,
"hotel_chain_ids": [
1835,
1100,
1831
],
"min_rating_options": [
"7.0",
"7.5",
"8.0",
"8.5"
],
"property_type_groups": [
{
"name": "Hotels",
"types": [
{
"key": "101-2",
"label": "Hotel",
"search_value": 2,
"search_parameter": "property_type"
},
{
"key": "101-5",
"search_value": 5,
"search_parameter": "property_type"
},
{
"key": "101-6",
"label": "Serviced apartment",
"search_value": 6,
"search_parameter": "property_type"
}
],
"description": "Hotels, resorts and more"
}
]
},
"meta": {
"billable": true,
"endpoint_family": "search_filters"
},
"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": {
"destination_id": [
"The destination id field is required."
]
},
"message": "The request validation failed"
}Resource Not Found
The destination id is unknown. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "search_filters"
},
"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": "search_filters"
},
"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.