1 credit per call7 endpoints3 datapointsChecked working 6 Dec 2026
Trivago API
Trivago API for hotel search by destination and dates, hotel deals, price calendars, reviews and filters as JSON. 7 endpoints, 1 credit per call.
{
"success": true,
"data": {
"destination_id": 22235,
"check_in": "2026-11-20",
"check_out": "2026-11-23",
"market": "us",
"currency": "USD",
"sort": "relevance",
"total": 2500,
"limit": 35,
"offset": 0,
"has_more": true,
"next_offset": 35,
"city_center": {
"name": "Paris",
"coordinates": {
"latitude": 48.856445,
"longitude": 2.352231
}
},
"price_range": {
"min": 2,
"max": 600
},
"price_histogram": [
{
"from": 2,
"to": 21.92,
"count": 0
},
{
"from": 21.93,
"to": 41.85,
"count": 1
},
{
"from": 41.86,
"to": 61.79,
"count": 4
}
],
"available_filters": [
{
"concept": "416-6",
"hotels": 0
}
],
"hotels": [
{
"id": 49992,
"position": 1,
"name": "Residence Hoteliere Champ de Mars",
"url": "https://www.trivago.com/en-US/oar/residence-hoteliere-champ-de-mars-paris?search=100-49992",
"type": "Hotel",
"stars": 3,
"is_superior": false,
"rating": 8.3,
"review_count": 1284,
"image": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_800,q_60,w_1200/partner-images/3d/35/474372b8841db141133d4541e7305b2c469bda3dc9a0f939838996854564",
"thumbnail": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_267,q_40,w_400/partner-images/3d/35/474372b8841db141133d4541e7305b2c469bda3dc9a0f939838996854564",
"image_count": 28,
"coordinates": {
"latitude": 48.851398,
"longitude": 2.2975
},
"location": "Paris, France",
"locality": "Paris",
"distance": "0.5 miles to Eiffel tower",
"check_in_hour": 14,
"free_wifi": true,
"popular": false,
"provider_count": 7,
"sponsored": false,
"forecast_price": {
"month": "2027-01",
"price_per_night": 91,
"currency": "USD"
}
},
{
"id": 2627611,
"position": 2,
"name": "VIP Paris Yacht Hôtel & Spa",
"url": "https://www.trivago.com/en-US/oar/hotel-vip-paris-yacht-hôtel-spa?search=100-2627611",
"type": "Hotel",
"stars": 4,
"is_superior": false,
"rating": 8.3,
"review_count": 3286,
"image": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_800,q_60,w_1200/hotelier-images/b3/24/ae14c958f9d2b5374c04a7df6d37f41087ab0c0440919e04918dafb294a9",
"thumbnail": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_267,q_40,w_400/hotelier-images/b3/24/ae14c958f9d2b5374c04a7df6d37f41087ab0c0440919e04918dafb294a9",
"image_count": 88,
"coordinates": {
"latitude": 48.841389,
"longitude": 2.37254
},
"location": "Paris, France",
"locality": "Paris",
"distance": "1.3 miles to Notre-Dame Cathedral",
"check_in_hour": 16,
"check_out_hour": 11,
"construction_year": 2006,
"free_wifi": true,
"highlights": [
"Panoramic rooftop sundeck",
"On-site secure parking",
"Suites with private spa facilities"
],
"popular": false,
"provider_count": 16,
"sponsored": false,
"forecast_price": {
"month": "2026-11",
"price_per_night": 143,
"currency": "USD"
}
},
{
"id": 48409,
"position": 3,
"name": "Mercure Paris Bercy Bibliothèque",
"url": "https://www.trivago.com/en-US/oar/hotel-mercure-paris-bercy-bibliothèque?search=100-48409",
"type": "Hotel",
"stars": 4,
"is_superior": false,
"rating": 8.6,
"review_count": 6167,
"image": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_800,q_60,w_1200/partner-images/c4/b0/14dfac884192d534dce285af328e027590093b5cecaa30a547d18ad6f090",
"thumbnail": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_267,q_40,w_400/partner-images/c4/b0/14dfac884192d534dce285af328e027590093b5cecaa30a547d18ad6f090",
"image_count": 101,
"coordinates": {
"latitude": 48.837479,
"longitude": 2.37287
},
"location": "Paris, France",
"locality": "Paris",
"distance": "1.5 miles to Notre-Dame Cathedral",
"check_in_hour": 12,
"check_out_hour": 12,
"free_wifi": true,
"highlights": [
"Seine-view privilege rooms",
"Private seventh-floor terraces",
"Quai de la Gare metro access"
],
"popular": false,
"provider_count": 20,
"sponsored": false,
"forecast_price": {
"month": "2026-11",
"price_per_night": 98,
"currency": "USD"
}
}
]
},
"meta": {
"endpoint_family": "hotel_search"
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | fromnumber | tonumber | countinteger |
|---|---|---|---|
| 1 | 2 | 21.92 | 0 |
| 2 | 21.93 | 41.85 | 1 |
| 3 | 41.86 | 61.79 | 4 |
[
{
"from": 2,
"to": 21.92,
"count": 0
},
{
"from": 21.93,
"to": 41.85,
"count": 1
},
{
"from": 41.86,
"to": 61.79,
"count": 4
}
]from,to,count 2,21.92,0 21.93,41.85,1 41.86,61.79,4
Recorded from our API · 3 items shown · 3 datapoints per itemGET /v1/trivago/search?destination_id=22235&check_in=2027-01-08&check_out=2027-01-11
3 datapoints
Other
- fromnumber
- tonumber
- countinteger
Playground
Run this API
curl "https://api.perceptlayer.com/v1/trivago/search?destination_id=22235&check_in=2027-01-08&check_out=2027-01-11" \
-H "X-API-Key: $API_KEY"Trivago · 7 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/trivago/deals | hotel_idcheck_incheck_out+5 optional | hotel_idcheck_incheck_outnightsmarketcurrency+3 more | 1 credit |
GET/v1/trivago/filters | destination_id+1 optional | destination_idmarketfilter_groupsproperty_type_groupshotel_chain_idssort_options+2 more | 1 credit |
GET/v1/trivago/hotel | hotel_id+1 optional | markethotel | 1 credit |
GET/v1/trivago/price-calendar | hotel_idstart_dateend_date+2 optional | hotel_idmarketcurrencystart_dateend_dateprice_type+4 more | 1 credit |
GET/v1/trivago/reviews | hotel_id+4 optional | hotel_idmarketlanguagerating_splitlanguagessummary+2 more | 1 credit |
GET/v1/trivago/search | check_incheck_outdestination_id+14 optional | destination_idcheck_incheck_outmarketcurrencycity_center+4 more | 1 credit |
GET/v1/trivago/suggest | query+1 optional | marketresultscompletions | 1 credit |
Overview
About the Trivago API
What you can get
The Trivago API returns Trivago hotel data as JSON through 7 endpoints. Every endpoint takes an optional market (us, de, uk, fr, es, it or nl).
- Search:
searchtakes adestination_id,check_inandcheck_out, withadults,rooms,children_ages[],currency,limit,offset,sort(relevance, price_asc, rating or price_desc),min_price,max_price,stars[],min_rating(7.0, 7.5, 8.0 or 8.5),property_type[]andamenities[].filterstakes adestination_id, andsuggesttakes aquery. - One hotel:
hoteltakes ahotel_id;dealstakes ahotel_id,check_inandcheck_out, withadults,rooms,children_ages[]andcurrency. - Prices over time:
price-calendartakes ahotel_id,start_dateandend_date, withcurrency. - Reviews:
reviewstakes ahotel_id, withlimit,offsetandlanguage.
The recorded search for destination 22235 (Paris) from 2026-11-20 to 2026-11-23 returns a total of 2,500, has_more and next_offset, a price_range and price_histogram, and hotels with id, stars, rating, review_count, provider_count, distance and a forecast_price.
How a call works
Search a destination for your dates: GET /v1/trivago/search?destination_id=22235&check_in=2027-01-08&check_out=2027-01-11 with your key in the X-API-Key header. Page search and reviews with limit and offset; the recorded search has a limit of 35. The first recorded hotel has id 49992, the value the price-calendar example passes as hotel_id. Every successful call costs 1 credit; failed calls cost nothing.
More travel APIs
Use cases
Track hotel supply and the price range in a destination for set dates
Use the Trivago API to track hotel supply and the price range in a destination for set datesWatch a hotel's prices across a date range with `price-calendar`
Use the Trivago API to watch a hotel's prices across a date range with `price-calendar`Compare hotels in a city by `stars`, `rating` and `review_count`
Use the Trivago API to compare hotels in a city by `stars`, `rating` and `review_count`Collect hotel reviews by `language` for sentiment analysis
Use the Trivago API to collect hotel reviews by `language` for sentiment analysisFAQ
Questions
Do I need a Trivago API key?
No. You call this Trivago API with your Perceptlayer key in the `X-API-Key` header, so there's no Trivago account or partner key to set up.
How much does the Trivago API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
How do I get hotel prices for a date range?
Call `price-calendar` with a `hotel_id`, `start_date` and `end_date`, or `deals` with a `hotel_id`, `check_in` and `check_out` for one stay. Both take a `currency` and `market`.
Is this the official Trivago API?
No. Perceptlayer is an independent service and is not affiliated with Trivago. It returns Trivago data as JSON with a Perceptlayer key, so there is no Trivago developer account, app review or partner approval to get first. It only reads data: if Trivago has an official API and you need to act on your own Trivago account, such as posting, managing orders or reading private data, use that one.
Should I build a Trivago scraper instead?
You can, but a Trivago scraper is code you maintain: page changes break it, requests get blocked, and Trivago's terms govern how you collect data. The Trivago API gives you 7 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Trivago API with 100 free credits
No credit card. Failed calls are never billed.