+trivago API
Search hotels on trivago in any market and pull prices per booking site, details, reviews and price forecasts as JSON.
The API.SH trivago API turns public trivago data into structured JSON. Search hotels for a destination and dates and get each hotel's best, cheapest and other deals with the booking site, price per night and per stay, breakfast and free-cancellation flags, plus stars, rating, reviews, location and highlights. Then pull every price for one hotel, its details, guest reviews, photos, room types, nearby hotels and its daily and monthly price forecasts, in any trivago market and currency.
- 10 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/trivago/v1/ search
{"destination": {"id": 59182,"ns": 200,"name": null},"applied_filters": {"market": "br","language": "pt-BR","currency": "BRL","check_in": "2026-12-04","check_out": "2026-12-06","rooms": [{"adults": 2,"children": []}],"sort": "relevance","filters": [],"min_price": 0,"max_price": null,"complete": false},"prices_complete": false,"total": 731,"offset": 0,"limit": 25,"next_offset": 25,"count": 25,"hotels": [{"id": 104990,"name": "Copacabana Palace, A Belmond Hotel, Rio de Janeiro","url": "https://www.trivago.com.br/pt-BR/oar/copacabana-palace-a-belmond-hotel-rio-de-janeiro?search=100-104990","type": "Hotel","stars": 5,"rating": 9.6,"reviews": 48831,"latitude": -22.967309951782227,"longitude": -43.178951263427734,"locality": "Rio de Janeiro","location": "Rio de Janeiro, Brasil","distance": "0,1 km da praia","chain_id": null,"image": "https://imgcy.trivago.com/f_auto,q_auto/partner-images/ad/37/2e37c7f38a124bb2e0197811e35902587ed441354c8ba334077ac9da6a57","image_count": 103,"highlights": ["Piscina semiolímpica espetacular","Culinária pan-asiática com estrela Michelin","… 4 more"],"themes": ["bar","piscina","… 4 more"],"free_wifi": true,"built": 1923,"check_in_hour": 16,"check_out_hour": 12,"sponsored": false,"sites_with_prices": 3,"currency": "BRL","best_deal": {"id": "-6576014937193740998","site": "Hoteis.com","site_id": 3340,"site_logo": "https://imgcy.trivago.com/f_auto,q_auto/partnerlogos-s3/3340_BR","price_per_night": 7290,"price_per_stay": 14579,"all_in_price_per_night": 7290,"all_in_price_per_stay": 14579,"strikethrough_price_per_night": null,"strikethrough_price_per_stay": null,"room": null,"attributes": ["Café da manhã incluído","Cancelamento gratuito","… 1 more"],"free_cancellation_until": "2026-12-02T14:59:00Z","labels": ["CHAMPION_DEAL","GLOBAL_OTA"],"booking_url": "https://www.trivago.com.br/forward/pt-BR?forwarderA=BBnIsPg%2FqbVKIcu43LzYdighZGZ9ZuHtRVm9BtMVr2epfvhqh433akrty448SVs8jplp16HCYtvUez%2FUhSPc…"},"cheapest_deal": {"id": "5874863742109638214","site": "Decolar","site_id": 1852,"site_logo": "https://imgcy.trivago.com/f_auto,q_auto/partnerlogos-s3/1852_BR","price_per_night": 6707,"price_per_stay": 13415,"all_in_price_per_night": 6707,"all_in_price_per_stay": 13415,"strikethrough_price_per_night": null,"strikethrough_price_per_stay": null,"room": null,"attributes": ["Café da manhã incluído","Cancelamento gratuito"],"free_cancellation_until": null,"labels": ["ALTERNATIVE_DEAL","GLOBAL_OTA","… 1 more"],"booking_url": "https://www.trivago.com.br/forward/pt-BR?forwarderA=RIRAkv0IrGaKQHaruxHFWMfNBFxoS%2BfmLtv%2F%2FR5idYsQvyVqNLGBWVrQM7P38tI06FEFX4ns2Su09a6%2F…"},"other_deals": [{"id": "5874863742109638214","site": "Decolar","site_id": 1852,"site_logo": "https://imgcy.trivago.com/f_auto,q_auto/partnerlogos-s3/1852_BR","price_per_night": 6707,"price_per_stay": 13415,"all_in_price_per_night": 6707,"all_in_price_per_stay": 13415,"strikethrough_price_per_night": null,"strikethrough_price_per_stay": null,"room": null,"attributes": ["Café da manhã incluído","Cancelamento gratuito"],"free_cancellation_until": null,"labels": ["ALTERNATIVE_DEAL","GLOBAL_OTA","… 1 more"],"booking_url": "https://www.trivago.com.br/forward/pt-BR?forwarderA=RIRAkv0IrGaKQHaruxHFWMfNBFxoS%2BfmLtv%2F%2FR5idYsQvyVqNLGBWVrQM7P38tI06FEFX4ns2Su09a6%2F…"},{"id": "-7593146908593882855","site": "Agoda","site_id": 395,"site_logo": "https://imgcy.trivago.com/f_auto,q_auto/partnerlogos-s3/395","price_per_night": 6943,"price_per_stay": 13886,"all_in_price_per_night": 6943,"all_in_price_per_stay": 13886,"strikethrough_price_per_night": null,"strikethrough_price_per_stay": null,"room": null,"attributes": ["Café da manhã incluído","Cancelamento gratuito"],"free_cancellation_until": null,"labels": ["ALTERNATIVE_DEAL"],"booking_url": "https://www.trivago.com.br/forward/pt-BR?forwarderA=K3dqpyd6nnLP%2BDVBBM4JpO1a4PvxBWHBs4Ne4rDR80OnKLAvX%2F85KHdq1OaxQOgSzmOPWj5nkvLMvZNIslnM…"}],"forecast_price": null},{"id": 104722,"name": "Fairmont Rio de Janeiro Copacabana","url": "https://www.trivago.com.br/pt-BR/oar/hotel-fairmont-rio-de-janeiro-copacabana?search=100-104722","type": "Hotel","stars": 5,"rating": 9.2,"reviews": 10788,"latitude": -22.986040115356445,"longitude": -43.189510345458984,"locality": "Rio de Janeiro","location": "Rio de Janeiro, Brasil","distance": "0,1 km da praia","chain_id": 99,"image": "https://imgcy.trivago.com/f_auto,q_auto/partner-images/f2/99/dd227c0dc878a5faa05fbb63ae86c6238f51d99d4b3895ab2e743952f9ca","image_count": 103,"highlights": ["Piscina panorâmica icônica em Copacabana","Gastronomia de frutos do mar no Marine Restô","… 5 more"],"themes": ["piscina"],"free_wifi": true,"built": 1979,"check_in_hour": 15,"check_out_hour": 12,"sponsored": false,"sites_with_prices": 9,"currency": "BRL","best_deal": {"id": "-3552026938248381071","site": "Hoteis.com","site_id": 3340,"site_logo": "https://imgcy.trivago.com/f_auto,q_auto/partnerlogos-s3/3340_BR","price_per_night": 3732,"price_per_stay": 7464,"all_in_price_per_night": 3732,"all_in_price_per_stay": 7464,"strikethrough_price_per_night": null,"strikethrough_price_per_stay": null,"room": null,"attributes": ["Café da manhã não incluído.","Cancelamento gratuito","… 1 more"],"free_cancellation_until": "2026-12-03T21:00:00Z","labels": ["CHAMPION_DEAL","GLOBAL_OTA"],"booking_url": "https://www.trivago.com.br/forward/pt-BR?forwarderA=omdPiB3Qtfl4i56slokAfL%2BOTRjRlokofK8KNT4BitjuGur3pyQNkb%2F2BoGowKKC21j%2BE627J%2F3Fp6i%…"},"cheapest_deal": {"id": "4863097275082317962","site": "Quero Passagem","site_id": 3708,"site_logo": "https://imgcy.trivago.com/f_auto,q_auto/partnerlogos-s3/3708","price_per_night": 2697,"price_per_stay": 5393,"all_in_price_per_night": 2697,"all_in_price_per_stay": 5393,"strikethrough_price_per_night": null,"strikethrough_price_per_stay": null,"room": null,"attributes": ["Café da manhã não incluído.","Cancelamento gratuito","… 1 more"],"free_cancellation_until": "2026-12-03T03:00:00Z","labels": ["ALTERNATIVE_DEAL","MINIMUM_DEAL"],"booking_url": "https://www.trivago.com.br/forward/pt-BR?forwarderA=FsNGS%2FntxG%2BqUjfG10l%2BalIQC9ozA%2BVNczwbgLN%2F2nXEsrNgRd4Q%2F7JlU2QJ1vbI9Z9SPXSmimJe…"},"other_deals": [{"id": "4863097275082317962","site": "Quero Passagem","site_id": 3708,"site_logo": "https://imgcy.trivago.com/f_auto,q_auto/partnerlogos-s3/3708","price_per_night": 2697,"price_per_stay": 5393,"all_in_price_per_night": 2697,"all_in_price_per_stay": 5393,"strikethrough_price_per_night": null,"strikethrough_price_per_stay": null,"room": null,"attributes": ["Café da manhã não incluído.","Cancelamento gratuito","… 1 more"],"free_cancellation_until": "2026-12-03T03:00:00Z","labels": ["ALTERNATIVE_DEAL","MINIMUM_DEAL"],"booking_url": "https://www.trivago.com.br/forward/pt-BR?forwarderA=FsNGS%2FntxG%2BqUjfG10l%2BalIQC9ozA%2BVNczwbgLN%2F2nXEsrNgRd4Q%2F7JlU2QJ1vbI9Z9SPXSmimJe…"},{"id": "2020608106413725755","site": "Fairmont","site_id": 2854,"site_logo": "https://imgcy.trivago.com/f_auto,q_auto/partnerlogos-s3/2854","price_per_night": 3566,"price_per_stay": 7131,"all_in_price_per_night": 3566,"all_in_price_per_stay": 7131,"strikethrough_price_per_night": null,"strikethrough_price_per_stay": null,"room": null,"attributes": ["Café da manhã não incluído.","Cancelamento gratuito","… 1 more"],"free_cancellation_until": "2026-11-04T00:00:00Z","labels": ["ALTERNATIVE_DEAL","DIRECT_CONNECT","… 1 more"],"booking_url": "https://www.trivago.com.br/forward/pt-BR?forwarderA=hK6ILDRwfaN0AEtwKOncj9TkvP8c6DHqijlbd7fzUVga68czSbLGA478i1T6RjSXFL%2BP1JovAkXidheEvWa0at…"}],"forecast_price": null},"… 23 more"],"price_range": {"min": 7,"max": 3100,"histogram": [{"frequency": 3,"from": 700,"to": 11009},{"frequency": 64,"from": 11010,"to": 21319},"… 28 more"]},"city_center": null,"cached": false,"credits_used": 1} What you can build with the trivago API
Hotel rate shopping and parity checks
Pull every booking site's price for your hotel and dates and see where you are undercut, with all-in prices and cancellation terms.
Market price monitoring
Search a destination for the same dates every day and track the best price, cheapest price and number of sites per hotel.
Travel apps and AI agents
Resolve a city or hotel name, search with guests, budget and filters, and show prices and booking links in your app.
Hotel content and reviews
Fill hotel pages with description, amenities, ratings by aspect, review summaries, guest reviews and photos.
Best time to book
Use the daily and monthly price forecasts to find the cheaper days and months for a hotel.
Competitive set analysis
List the top-rated and nearby hotels around a property with stars, rating and distance to define a competitor set.
trivago data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
trivago API endpoints and prices
Every trivago endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| trivago search filters /trivago/ | $1 · $2 PAYG 1 credit |
| trivago hotel search with prices /trivago/ | $1 · $2 PAYG 1 credit |
| trivago destination and hotel autocomplete /trivago/ | $1 · $2 PAYG 1 credit |
| trivago hotel images /trivago/ | $1 · $2 PAYG 1 credit |
| trivago hotel reviews /trivago/ | $1 · $2 PAYG 1 credit |
| trivago hotel details /trivago/ | $1 · $2 PAYG 1 credit |
| trivago hotels nearby /trivago/ | $1 · $2 PAYG 1 credit |
| trivago hotel price calendar /trivago/ | $1 · $2 PAYG 1 credit |
| trivago hotel prices by booking site /trivago/ | $1 · $2 PAYG 1 credit |
| trivago hotel room types /trivago/ | $1 · $2 PAYG 1 credit |
Call the trivago API
trivago hotel search with prices: GET https://api.api.sh/trivago/
curl "https://api.api.sh/trivago/v1/search?destination=59182&days_ahead=30&nights=2" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/trivago/v1/search",
params={"destination": "59182", "days_ahead": "30", "nights": "2"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/trivago/v1/search");
url.searchParams.set("destination", "59182");
url.searchParams.set("days_ahead", "30");
url.searchParams.set("nights", "2");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/trivago/v1/search", "destination", "59182", "days_ahead", "30", "nights", "2")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "trivago" and "trivago hotel search with prices".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 916 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for trivago data
- Public data only: no trivago login, cookies or account needed
- One key and one response shape for trivago and 915 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- No rate limits: run as many calls in parallel as you need
- Live status for every endpoint
API.SH vs the official trivago API
trivago's developer site (trivago Connectivity Suite, FastConnect) is for hotels and booking engines that send their rates to trivago; it does not hand out trivago's price comparison data. API.SH returns the public hotel search, prices and reviews without a partner account.
Skip building your own trivago scraper or comparing Apify actors: API.SH gives you one key, prices resolved to booking-site names, and a fixed price per call.
trivago API questions
What trivago data can I get?+
Autocomplete (/trivago/v1/suggest), hotel search with deals (/trivago/v1/search), search filters (/trivago/v1/filters), hotel details (/trivago/v1/hotel), every price per booking site (/trivago/v1/hotel/prices), reviews (/trivago/v1/hotel/reviews), images (/trivago/v1/hotel/images), room types (/trivago/v1/hotel/rooms), nearby hotels (/trivago/v1/hotel/nearby) and the price calendar (/trivago/v1/hotel/price-calendar).
How much does the trivago API cost?+
Every trivago endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /trivago/v1/filters at 1 credit each.
Is there an official trivago API?+
trivago's developer portal serves hotels and booking engines that push rates to trivago (FastConnect and the Connectivity Suite). It does not offer the price comparison results to developers. API.SH returns them from public trivago data.
Do I need a trivago account or login?+
No. API.SH reads public trivago data only. No endpoint uses a login or anyone's account, and nothing is booked.
Can I get prices in other countries and currencies?+
Yes. Pass market (br, us, uk, de, fr, es, mx, au and more) to use that trivago site's language and currency, or set currency and language yourself.
Does it show which booking site has the lowest price?+
Yes. Every deal names the booking site, with price per night and per stay, all-in prices, room, breakfast and free-cancellation attributes and the booking link. /trivago/v1/hotel/prices lists every site's offers for one hotel, cheapest first.
How do I get started?+
Sign up at api.sh, copy your API key, find a destination id with /trivago/v1/suggest and call /trivago/v1/search with check_in and nights. The docs at https://api.sh/docs list every parameter; you can also use the SDKs, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.
Does the trivago API have a rate limit?+
No. API.SH puts no rate limit on your key: send as many trivago calls in parallel as you need and pay only for the calls that run. If trivago itself slows down, the call returns 503 with a retry-after header and is not charged.