Skip to content
Scrappa Get API key
Trivago API 1 credit/request

Trivago Hotel Detail API Documentation

GET https://scrappa.co/api/trivago/hotel

Trivago Hotel Detail API Documentation 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.

Trivago Hotel Detail API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/trivago/hotel
Auth header
x-api-key
Cost
1 credit/request
hotel_id = 1234567890
Response preview
200 OK
{
    "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"
                }
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

1 optional filter available.

hotel_id integer Required

Trivago hotel id from the suggest or search endpoint. Example: 5670.

Example value 1234567890
market string Optional

Trivago country site: us, de, uk, fr, es, it or nl. Sets language, currency and prices. Defaults to us.

Example value US

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "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

Handle these documented responses before retrying or showing customer-facing failures.

422

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"
}
404

Resource Not Found

The hotel id is unknown. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "hotel_detail"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested Trivago resource was not found."
    },
    "success": false
}
503

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_detail"
    },
    "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.