trivago hotels nearby

GET https://api.api.sh/trivago/v1/hotel/nearby
1 credit / call travel & events try it in the playground →

Top-rated hotels and other hotels near a hotel: name, type, stars, rating, reviews, distance, link, image and top amenities.

Every response includes credits_used: the credits this call cost.

Part of the trivago API: 10 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
idrequired string Hotel id from /trivago/v1/search or /trivago/v1/suggest, e.g. 104990, or a trivago hotel link. Example: 104990
limit integer Hotels per list, 1-30 (default 10).
market br | us | uk | de | fr | es | it | pt | nl | at | ch | be | ie | mx | ar | cl | co | pe | ca | au | nz | in | jp | kr | sg | ae | za | se | dk | no | fi | pl | tr | gr | cz | hu trivago market: sets the default language and currency (default br).
language string Language override, e.g. en-US, pt-BR, de.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/trivago/v1/hotel/nearby?id=104990" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"id": 104990,"top_rated_nearby": [{"id": 4626720,"name": "Hotel Atlântico Prime","type": "Hotel","stars": 4,"rating": 7.4,"reviews": 35090,"distance": "2,2 km até Aeroporto do Rio de Janeiro - Santos Dumont","url": "https://www.trivago.com.br/pt-BR/oar/hotel-atlântico-prime-rio-de-janeiro?search=100-4626720","image": null,"top_amenities": ["Wi-Fi no lobby","Wi-Fi nos quartos","… 5 more"]},{"id": 104881,"name": "Hotel Atlantico Avenida","type": "Hotel","stars": 3,"rating": 5.4,"reviews": 16888,"distance": "2,1 km até Aeroporto do Rio de Janeiro - Santos Dumont","url": "https://www.trivago.com.br/pt-BR/oar/hotel-atlântico-avenida-rio-de-janeiro?search=100-104881","image": null,"top_amenities": ["Wi-Fi no lobby","Wi-Fi nos quartos","… 2 more"]},"… 8 more"],"nearby": [{"id": 109353,"name": "Windsor Excelsior Copacabana","type": "Hotel","stars": 4,"rating": 8.6,"reviews": 10300,"distance": "Rio de Janeiro, 6,8 km até Centro","url": "https://www.trivago.com.br/pt-BR/oar/hotel-windsor-excelsior-copacabana-rio-de-janeiro?search=100-109353","image": null,"top_amenities": ["Wi-Fi no lobby","Wi-Fi nos quartos","… 6 more"]},{"id": 2281300,"name": "Windsor Copa Hotel","type": "Hotel","stars": 3,"rating": 8.8,"reviews": 8135,"distance": "Rio de Janeiro, 6,7 km até Centro","url": "https://www.trivago.com.br/pt-BR/oar/windsor-copa-hotel-rio-de-janeiro?search=100-2281300","image": null,"top_amenities": ["Wi-Fi no lobby","Wi-Fi nos quartos","… 3 more"]},"… 8 more"],"count": 20,"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.