Skip to content
Scrappa Get API key
Kiwi.com API 1 credit/request

Kiwi.com Price Graph API Documentation

GET https://scrappa.co/api/kiwi/calendar/price-graph

Kiwi.com Price Graph API Documentation Get a price curve for return trips: one point per departure date with the matching return date for the stay length you choose. Prices are economy prices for the date and party. They are not the cheapest fare of a flight search. Use the curve to find the best departure day for a stay of 3 to 5 nights, then open the flight search.

Kiwi.com Price Graph API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/kiwi/calendar/price-graph
Auth header
x-api-key
Cost
1 credit/request
origin = example destination = example start_date = 2026-06-15
Response preview
200 OK
{
    "data": {
        "nights": {
            "max": 5,
            "min": 3
        },
        "points": [
            {
                "price": 140,
                "currency": "EUR",
                "return_date": "2026-11-22",
                "departure_date": "2026-11-19"
            },
            {
...

Parameters

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

Runnable path

6 required parameters needed before sending a request.

5 optional filters available.

origin string Required

Kiwi.com place id from the locations endpoint (City:berlin_de, Station:airport:BER) or an airport code (BER). Example: City:berlin_de.

Example value example
destination string Required

Place id or airport code of the destination. Example: City:london_gb.

Example value example
start_date string Required

First day of the window, YYYY-MM-DD, today or later.

Example value 2026-06-15
end_date string Required

Last day of the window, YYYY-MM-DD, at most 62 days after the start.

Example value 2026-06-15
nights_min integer Required

Shortest stay in nights, 1 to 60.

Example value 10
nights_max integer Required

Longest stay in nights, 1 to 60, not below nights_min.

Example value 10
adults integer Optional

Adults, 1 to 9. Defaults to 1. Adults, children and infants together are at most 9.

Example value 10
children integer Optional

Children, 0 to 8. Defaults to 0.

Example value 10
infants integer Optional

Infants, 0 to 8. Each infant needs an adult. Defaults to 0.

Example value 10
currency string Optional

Price currency, a 3-letter code such as EUR or USD. Defaults to EUR.

Example value USD
locale string Optional

Language of names, such as en or de. Defaults to en.

Example value en-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": {
        "nights": {
            "max": 5,
            "min": 3
        },
        "points": [
            {
                "price": 140,
                "currency": "EUR",
                "return_date": "2026-11-22",
                "departure_date": "2026-11-19"
            },
            {
                "price": 147,
                "currency": "EUR",
                "return_date": "2026-11-23",
                "departure_date": "2026-11-20"
            },
            {
                "price": 126,
                "currency": "EUR",
                "return_date": "2026-11-24",
                "departure_date": "2026-11-21"
            }
        ],
        "currency": "EUR",
        "end_date": "2026-11-21",
        "start_date": "2026-11-19",
        "price_basis": "Price for this departure date and stay length in economy. It is not the cheapest fare of a flight search."
    },
    "meta": {
        "billable": true,
        "endpoint_family": "price_graph"
    },
    "success": true
}

Errors

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

422

Validation Error

A parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "nights_min": [
            "A stay length is required: nights_min and nights_max, e.g. 3 and 5."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

Kiwi.com did not answer in time. Retry the request. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "flight_search"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Kiwi.com API is temporarily unavailable. Please retry."
    },
    "success": false
}
503

Unexpected Upstream Answer

Kiwi.com answered in a form this API does not read. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "flight_search"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "Kiwi.com rejected the request. Check the parameters and try again."
    },
    "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.