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

Kiwi.com Explore Destinations API Documentation

GET https://scrappa.co/api/kiwi/flights/one-per-city

Kiwi.com Explore Destinations API Documentation Get the cheapest flight to each destination from an origin on one departure date. The destination is anywhere by default, or a country or place id. Add nights_min and nights_max for return trips. Each row has the destination airport, the price, the departure time and, for return trips, the return time and nights. Prices are offers for the date and party. Open the flight search for the full itinerary.

Kiwi.com Explore Destinations API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/kiwi/flights/one-per-city
Auth header
x-api-key
Cost
1 credit/request
origin = example departure_date = 2026-06-15
Response preview
200 OK
{
    "data": {
        "limit": 3,
        "nights": null,
        "notice": null,
        "origin": "City:berlin_de",
        "currency": "EUR",
        "trip_type": "one_way",
        "destination": "anywhere",
        "destinations": [
            {
                "price": {
                    "amount": 70,
                    "currency": "EUR",
...

Parameters

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

Runnable path

2 required parameters needed before sending a request.

13 optional filters available.

origin string Required

Place id or airport code of the origin. Example: City:berlin_de.

Example value example
departure_date string Required

Departure date, YYYY-MM-DD, today or later.

Example value 2026-06-15
destination string Optional

Place id, country id or anywhere. Defaults to anywhere.

Example value example
nights_min integer Optional

Shortest stay in nights, 1 to 60. Send it with nights_max for a return calendar.

Example value 10
nights_max integer Optional

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
cabin string Optional

economy, premium_economy, business or first. Defaults to economy.

Example value example
max_stops integer Optional

Maximum stops, 0 to 3.

Example value 10
min_price integer Optional

Minimum price in the chosen currency.

Example value 10
max_price integer Optional

Maximum price in the chosen currency.

Example value 10
limit integer Optional

Destinations to return, 1 to 50. Defaults to 30.

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": {
        "limit": 3,
        "nights": null,
        "notice": null,
        "origin": "City:berlin_de",
        "currency": "EUR",
        "trip_type": "one_way",
        "destination": "anywhere",
        "destinations": [
            {
                "price": {
                    "amount": 70,
                    "currency": "EUR",
                    "formatted": "70 \u20ac"
                },
                "nights": null,
                "origin": {
                    "id": "Station:airport:BER",
                    "name": "Berlin Brandenburg"
                },
                "destination": {
                    "id": "Station:airport:PMI",
                    "name": "Palma de Mallorca"
                },
                "return_time": null,
                "departure_time": "2026-11-19T19:55:00",
                "discount_percentage": null
            },
            {
                "price": {
                    "amount": 82,
                    "currency": "EUR",
                    "formatted": "82 \u20ac"
                },
                "nights": null,
                "origin": {
                    "id": "Station:airport:BER",
                    "name": "Berlin Brandenburg"
                },
                "destination": {
                    "id": "Station:airport:SAW",
                    "name": "Sabiha G\u00f6k\u00e7en International"
                },
                "return_time": null,
                "departure_time": "2026-11-19T13:40:00",
                "discount_percentage": null
            },
            {
                "price": {
                    "amount": 176,
                    "currency": "EUR",
                    "formatted": "176 \u20ac"
                },
                "nights": null,
                "origin": {
                    "id": "Station:airport:BER",
                    "name": "Berlin Brandenburg"
                },
                "destination": {
                    "id": "Station:airport:BCN",
                    "name": "Barcelona\u2013El Prat"
                },
                "return_time": null,
                "departure_time": "2026-11-19T10:30:00",
                "discount_percentage": null
            }
        ],
        "departure_date": "2026-11-19",
        "filters_applied": [],
        "total_available": 3
    },
    "meta": {
        "billable": true,
        "endpoint_family": "one_per_city"
    },
    "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": {
        "return_date": [
            "Explore has no return date. Use nights_min and nights_max for a return trip."
        ]
    },
    "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.