Trivago Hotel Offers API Documentation Get the offers of every booking site for one hotel and stay. Each offer has the provider name and logo, room type, price per night and per stay, the same prices with taxes and fees, currency, free cancellation (with the deadline when known), pay later, meal plan and a deal link. Offers are sorted by price per night. Trivago lists offers only for stays it holds a current price for, and often only for stays of one night. If there is none, the response is a successful empty list with a note, and it is not billed. The deal link opens the booking site through Trivago.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
3 required parameters needed before sending a request.
5 optional filters available.
integer
Required
Trivago hotel id from the suggest or search endpoint. Example: 5670.
1234567890
string
Required
Check-in date, YYYY-MM-DD, today or later. Example: 2027-03-14.
example
string
Required
Check-out date, YYYY-MM-DD, after check-in, at most 30 nights. Example: 2027-03-15.
example
integer
Optional
Number of adults, 1 to 30. Defaults to 2.
10
integer
Optional
Number of rooms, 1 to 9, not more than adults. Defaults to 1.
10
string
Optional
Comma-separated ages of the children, each 0 to 17, up to 6. Example: 5,7.
example
string
Optional
Three-letter uppercase currency code. Defaults to the currency of the market.
USD
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",
"nights": 1,
"offers": [
{
"id": "1543566299014695026",
"currency": "USD",
"deal_url": "https://www.trivago.com/forward/en-US?forwarderA=EXAMPLE",
"provider": {
"id": 395,
"logo": "https://imgcy.trivago.com/partnerlogos-s3/395",
"name": "Agoda"
},
"meal_plan": "room_only",
"pay_later": false,
"room_type": "Double Room",
"room_category": "standard",
"price_per_stay": 111,
"price_per_night": 111,
"free_cancellation": false,
"breakfast_included": false,
"price_per_stay_with_fees": 134,
"price_per_night_with_fees": 134
},
{
"id": "-2711303296388992688",
"currency": "USD",
"deal_url": "https://www.trivago.com/forward/en-US?forwarderA=EXAMPLE",
"provider": {
"id": 626,
"logo": "https://imgcy.trivago.com/partnerlogos-s3/626",
"name": "Booking.com"
},
"meal_plan": "room_only",
"pay_later": false,
"price_per_stay": 120,
"price_per_night": 120,
"free_cancellation": false,
"breakfast_included": false,
"price_per_stay_with_fees": 143,
"price_per_night_with_fees": 143
}
],
"check_in": "2027-03-14",
"currency": "USD",
"hotel_id": 5670,
"check_out": "2027-03-15",
"offer_count": 20,
"provider_count": 13,
"lowest_price_per_night": 111
},
"meta": {
"billable": true,
"endpoint_family": "hotel_offers"
},
"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": {
"hotel_id": [
"The hotel id field is required."
]
},
"message": "The request validation failed"
}Resource Not Found
The hotel id is unknown. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "hotel_offers"
},
"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": "hotel_offers"
},
"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.