# Trivago Hotel Detail API Documentation

<p><strong>Trivago Hotel Detail API Documentation</strong> Get one hotel in full: name, url, type, star class, guest rating and review count, description, main image, up to 20 images, address and postal code, coordinates, destination hierarchy, check-in and check-out hours, construction year, highlights with sentiment, badges, amenity groups, top amenities with free flags, aspect ratings and provider ratings. One request reads several Trivago sources of the hotel. If an optional block is missing, the response stays successful and lists its name in partial.</p>

- **Documentation:** [https://scrappa.co/docs/trivago-api/trivago_hotel](https://scrappa.co/docs/trivago-api/trivago_hotel)
- **API group:** Trivago API
- **Endpoint:** `GET https://scrappa.co/api/trivago/hotel`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `hotel_id` | integer | Yes | Trivago hotel id from the suggest or search endpoint. Example: 5670. |
| `market` | string | No | Trivago country site: us, de, uk, fr, es, it or nl. Sets language, currency and prices. Defaults to us. |

## Example response

```json
{
    "data": {
        "hotel": {
            "id": 5670,
            "url": "https://www.trivago.com/en-US/oar/hotel-estrel-berlin?search=100-5670",
            "name": "Estrel Berlin",
            "type": "Hotel",
            "image": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_800,q_60,w_1200/hotelier-images/20/b7/c73184727e1f7afbd1c64bd72cda27155a896bda424584899a4637f333dd",
            "stars": 4,
            "badges": [
                {
                    "name": "Business",
                    "tier": "TOP_3"
                }
            ],
            "images": [
                {
                    "url": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_800,q_60,w_1200/hotelier-images/20/b7/c73184727e1f7afbd1c64bd72cda27155a896bda424584899a4637f333dd",
                    "width": 3000,
                    "height": 2000,
                    "thumbnail": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_267,q_40,w_400/hotelier-images/20/b7/c73184727e1f7afbd1c64bd72cda27155a896bda424584899a4637f333dd"
                },
                {
                    "url": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_800,q_60,w_1200/partner-images/40/ba/83407edd2cfad5ce53fcc3ce19e24eee938039f290de31c195f9e7e86afc",
                    "width": 3304,
                    "height": 1999,
                    "thumbnail": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_267,q_40,w_400/partner-images/40/ba/83407edd2cfad5ce53fcc3ce19e24eee938039f290de31c195f9e7e86afc"
                }
            ],
            "rating": 8.6,
            "address": {
                "full": "Sonnenallee 225, 12057, Berlin, Germany",
                "label": "Berlin, Germany",
                "street": "Sonnenallee 225",
                "country": "Germany",
                "locality": "Berlin",
                "postal_code": "12057"
            },
            "free_wifi": true,
            "thumbnail": "https://imgcy.trivago.com/c_fill,d_dummy.jpeg,e_sharpen:60,f_auto,h_267,q_40,w_400/hotelier-images/20/b7/c73184727e1f7afbd1c64bd72cda27155a896bda424584899a4637f333dd",
            "highlights": [
                {
                    "title": "Atrium dining and international cuisine",
                    "rating": 8.8,
                    "sentiment": "POSITIVE",
                    "description": "Savor diverse flavors across four restaurants, including Italian specialties at Portofino and premium cuts at the Grill, all set in a grand atrium.",
                    "rating_basis": "from 250+ reviews"
                },
                {
                    "title": "Las Vegas style show theater",
                    "rating": 9.3,
                    "sentiment": "POSITIVE",
                    "description": "Enjoy world-class entertainment at the on-site theater, famous for the 'Stars in Concert' series and high-quality musical tribute productions.",
                    "rating_basis": "from 250+ reviews"
                }
            ],
            "coordinates": {
                "latitude": 52.473419,
                "longitude": 13.45896
            },
            "description": "Location: Set in a central position on a main road, the hotel enjoys a riverside setting with the water directly nearby, giving the neighbourhood a distinctive Berlin character. S Sonnenallee train station is around 300 m away, making it st...",
            "image_count": 74,
            "is_superior": false,
            "destinations": [
                {
                    "id": 3848,
                    "name": "Berlin",
                    "type": "City"
                },
                {
                    "id": 224,
                    "name": "Berlin",
                    "type": "Region"
                },
                {
                    "id": 43,
                    "name": "Germany",
                    "type": "Country"
                }
            ],
            "review_count": 30211,
            "check_in_hour": 15,
            "top_amenities": [
                {
                    "free": true,
                    "name": "WiFi in lobby"
                },
                {
                    "free": true,
                    "name": "WiFi in rooms"
                },
                {
                    "free": false,
                    "name": "Spa"
                }
            ],
            "amenity_groups": [
                {
                    "name": "Wellness",
                    "amenities": [
                        "Beauty salon",
                        "Steam room",
                        "Massage",
                        "Sauna",
                        "Body treatments",
                        "Hammam"
                    ]
                },
                {
                    "name": "Property amenities",
                    "amenities": [
                        "Business center",
                        "Caf\u00e9",
                        "Entrance hall/lobby",
                        "Express check-in/check-out",
                        "Elevator",
                        "Gym",
                        "Parking",
                        "Terrace",
                        "Bell service",
                        "Pet-friendly",
                        "Bar",
                        "Hotel safe",
                        "Convenience store",
                        "Conference rooms",
                        "Non-smoking rooms",
                        "Computer with internet",
                        "Restaurant",
                        "24-hour reception",
                        "On-site boutique shopping",
                        "Snack bar",
                        "Laundry service",
                        "Spa",
                        "WiFi in public areas",
                        "Shoe cleaning",
                        "Fax/Modem access",
                        "Car rental",
                        "Concierge",
                        "Free WiFi in public areas",
                        "ATM",
                        "Luggage storage",
                        "WiFi",
                        "Breakfast",
                        "EV charger",
                        "Deep cleaning",
                        "Hand sanitizer provided",
                        "Temperature screening",
                        "Safe distancing",
                        "Response protocol",
                        "Safety protocols",
                        "Cashless payment",
                        "24-hour security",
                        "Live entertainment",
                        "First aid kit",
                        "Vending machine"
                    ]
                }
            ],
            "aspect_ratings": [
                {
                    "name": "Facilities",
                    "rating": 7.9
                },
                {
                    "name": "Comfort",
                    "rating": 8.1
                },
                {
                    "name": "Rooms",
                    "rating": 8.4
                },
                {
                    "name": "Cleanliness",
                    "rating": 8.6
                },
                {
                    "name": "Value for money",
                    "rating": 7.6
                },
                {
                    "name": "Food",
                    "rating": 8.4
                },
                {
                    "name": "Location",
                    "rating": 7.1
                },
                {
                    "name": "Breakfast",
                    "rating": 7.2
                },
                {
                    "name": "Building",
                    "rating": 7.8
                },
                {
                    "name": "Service",
                    "rating": 8.3
                }
            ],
            "check_out_hour": 12,
            "construction_year": 1994
        },
        "market": "us"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "hotel_detail"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required query parameter is missing or invalid. This response is not billable. |
| 404 | Resource Not Found | The hotel id is unknown. This response is not billable. |
| 503 | Service Unavailable | Trivago could not be reached or answered with an unexpected shape. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
