Kayak Price insights 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: insights — ?view=insights 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 | destination | string, nullable | insight rows only; null on any other row. The queried destination airport IATA code, echoed back. On a destination row the destination is destination_airport instead. | ||
| 3 | start_date | string, nullable | insight rows only; null on any other row. The departure date that was asked about, as YYYY-MM-DD. | ||
| 4 | end_date | string, nullable | insight rows only; null on any other row. The return date that was asked about, or null for a one-way question. | ||
| 5 | insight_type | string, nullable | insight rows only; null on any other row. Which datapoint this is: “route_average”, “month_average”, “depart_day_of_week_average”, “return_day_of_week_average”, “flex_day”, “flex_week” or “nearby_airport”. It decides which of the coordinate columns below are filled. | ||
| 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 | month | integer, nullable | insight rows only. The month this average is for, 1-12. Filled only when insight_type is “month_average”; null otherwise. KAYAK omits months it has no history for, so a route can return fewer than 12. | ||
| 10 | day_of_week | integer, nullable | insight rows only. The day this average is for, 1-7. Filled only for “depart_day_of_week_average” and “return_day_of_week_average”; null otherwise. | ||
| 11 | alt_start_date | string, nullable | insight rows only. The shifted departure date this minimum is for, as YYYY-MM-DD. Filled only for “flex_day” and “flex_week”; null otherwise. | ||
| 12 | alt_end_date | string, nullable | insight rows only. The shifted return date this minimum is for. Filled only for “flex_day” and “flex_week”; null otherwise. | ||
| 13 | alt_origin | string, nullable | insight rows only. The alternative origin airport this minimum is for. Filled only for “nearby_airport”; null otherwise. | ||
| 14 | alt_destination | string, nullable | insight rows only. The alternative destination airport this minimum is for. Filled only for “nearby_airport”; null otherwise. |