Kayak Destinations columns, generated from the actor dataset schema.
Describes build 0.0 of rl1987/kayak-api-scraper. Earlier builds can return a different one.
Dataset view: destinations — ?view=destinations on the items API, or the matching tab in the Console.
14 columns, in the order the view shows them.
| # | Column | Label | Type | Description | Example |
|---|---|---|---|---|---|
| 1 | origin | string, nullable | destination and insight rows; null on any other row. The queried origin airport IATA code, echoed back. | ||
| 2 | source | string, nullable | destination rows only; null on any other row. Which endpoint the row came from: “explore” (the full list for an origin) or “popular” (KAYAK’s ten current picks). The two overlap on purpose, so this is part of what identifies a row. | ||
| 3 | destination_airport | string, nullable | destination rows only; null on any other row. IATA code of the destination airport. | ||
| 4 | destination_city | string, nullable | destination rows only; null on any other row. City name. | ||
| 5 | country | string, nullable | destination rows only; null on any other row. Country name of the destination. | ||
| 6 | price | number, nullable | destination and insight rows. On a destination row, the cheapest fare KAYAK has for the route; on an insight row, the average or minimum that datapoint represents. A row with no price is never charged. In practice every destination measured carried one - 3109 of 3109 across three origins - but the response does allow an unpriced destination, and one would be delivered unbilled. | ||
| 7 | price_formatted | string, nullable | destination and insight rows. The same price as KAYAK renders it, e.g. “$303”. On a destination row from the explore source this is the only thing that names the currency (see currency). Conditional: the popular source sends no formatted price. | ||
| 8 | currency | string, nullable | ISO currency code for price. Present on insight rows and on destination rows from the popular source. NULL on destination rows from the explore source: that response carries no currency code at any level, and the prices are in the session’s display currency (USD), named only by the symbol in price_formatted. | ||
| 9 | airline | string, nullable | destination rows only; null on any other row. Airline on the cheapest itinerary. Conditional: the explore source only. | ||
| 10 | max_stops | integer, nullable | destination rows only; null on any other row. Stops on the cheapest itinerary (0 = nonstop). Conditional: the explore source only. The maxStops input filters on this server-side. | ||
| 11 | depart_date | string, nullable | destination rows only; null on any other row. Outbound date of the priced itinerary, as YYYY-MM-DD. Normalised: KAYAK sends “20270810” on the explore source and epoch milliseconds on the popular one. | ||
| 12 | return_date | string, nullable | destination rows only; null on any other row. Return date of the priced itinerary, as YYYY-MM-DD. See depart_date. | ||
| 13 | trip_days | integer, nullable | destination rows only; null on any other row. Nights in the priced itinerary. Conditional: the explore source only. | ||
| 14 | destination_city_id | string, nullable | destination rows only; null on any other row. KAYAK’s own city id, as a STRING (e.g. “32213” for Madrid). Stable, and the id other KAYAK endpoints accept. |