Apify Actors by rl1987

Price insights

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.

#ColumnLabelTypeDescriptionExample
1originstring, nullabledestination and insight rows; null on any other row. The queried origin airport IATA code, echoed back.
2destinationstring, nullableinsight 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.
3start_datestring, nullableinsight rows only; null on any other row. The departure date that was asked about, as YYYY-MM-DD.
4end_datestring, nullableinsight rows only; null on any other row. The return date that was asked about, or null for a one-way question.
5insight_typestring, nullableinsight 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.
6pricenumber, nullabledestination 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.
7price_formattedstring, nullabledestination 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.
8currencystring, nullableISO 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.
9monthinteger, nullableinsight 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.
10day_of_weekinteger, nullableinsight 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.
11alt_start_datestring, nullableinsight rows only. The shifted departure date this minimum is for, as YYYY-MM-DD. Filled only for “flex_day” and “flex_week”; null otherwise.
12alt_end_datestring, nullableinsight rows only. The shifted return date this minimum is for. Filled only for “flex_day” and “flex_week”; null otherwise.
13alt_originstring, nullableinsight rows only. The alternative origin airport this minimum is for. Filled only for “nearby_airport”; null otherwise.
14alt_destinationstring, nullableinsight rows only. The alternative destination airport this minimum is for. Filled only for “nearby_airport”; null otherwise.