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

Trivago Hotel Price Calendar API Documentation

GET https://scrappa.co/api/trivago/price-calendar

Trivago Hotel Price Calendar API Documentation Get a day by day price calendar for one hotel. Each day has the low price forecast per night in the currency you ask for. The response also names the cheapest day and counts the days that have a price. The calendar covers up to 91 days in one request. The price is a forecast of low prices on Trivago (not a bookable offer). Use the offers endpoint to read live prices for a stay. A day without a forecast has a null price. Trivago has no forecast for most hotels more than a few months ahead. If no day has a price, the response is a successful answer with a note, and it is not billed.

Trivago Hotel Price Calendar API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/trivago/price-calendar
Auth header
x-api-key
Cost
1 credit/request
hotel_id = 1234567890 start_date = 2026-06-15 end_date = 2026-06-15
Response preview
200 OK
{
    "data": {
        "days": [
            {
                "date": "2026-12-01",
                "price_per_night": 96
            },
            {
                "date": "2026-12-02",
                "price_per_night": 107
            },
            {
                "date": "2026-12-03",
                "price_per_night": 101
...

Parameters

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

Runnable path

3 required parameters needed before sending a request.

2 optional filters available.

hotel_id integer Required

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

Example value 1234567890
start_date string Required

First day of the calendar, formatted YYYY-MM-DD. Today or later. Example: 2026-12-01.

Example value 2026-06-15
end_date string Required

Last day of the calendar, formatted YYYY-MM-DD. On or after the start date, at most 91 days in total. Example: 2026-12-07.

Example value 2026-06-15
currency string Optional

Three-letter uppercase currency code, e.g. USD or EUR. Defaults to the currency of the market.

Example value USD
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": {
        "days": [
            {
                "date": "2026-12-01",
                "price_per_night": 96
            },
            {
                "date": "2026-12-02",
                "price_per_night": 107
            },
            {
                "date": "2026-12-03",
                "price_per_night": 101
            },
            {
                "date": "2026-12-04",
                "price_per_night": 78
            },
            {
                "date": "2026-12-05",
                "price_per_night": 74
            },
            {
                "date": "2026-12-06",
                "price_per_night": 68
            },
            {
                "date": "2026-12-07",
                "price_per_night": 109
            }
        ],
        "market": "us",
        "currency": "USD",
        "end_date": "2026-12-07",
        "hotel_id": 5670,
        "day_count": 7,
        "price_type": "forecast_low",
        "start_date": "2026-12-01",
        "cheapest_day": {
            "date": "2026-12-06",
            "price_per_night": 68
        },
        "priced_day_count": 7
    },
    "meta": {
        "billable": true,
        "endpoint_family": "hotel_price_calendar"
    },
    "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, or the window is longer than 91 days. 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_price_calendar"
    },
    "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_price_calendar"
    },
    "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.