{
  "data": {
    "id": "ZvlGIRggyziNW9Cet",
    "actId": "ZmbUs6NcF7g7ualE1",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-11-25T06:34:34.968Z",
    "finishedAt": "2026-11-25T06:34:46.225Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 11177,
      "runTimeSecs": 11.177,
      "computeUnits": 0.012418888888888889,
      "imageSizeBytes": 319191552
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "QYo53EZkJk0prePWY",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Kiwi.com Scraper Input\",\n  \"description\": \"Search flights on Kiwi.com by route and date, fetch popular routes from a city, or look up airports/cities/stations.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"popularRoutes\",\n        \"stationLookup\"\n      ],\n      \"enumTitles\": [\n        \"Search flights (origin → destination → date)\",\n        \"Popular routes from a city\",\n        \"Look up airports, cities and stations\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"origin\": {\n      \"title\": \"Origin\",\n      \"type\": \"string\",\n      \"description\": \"Airport code, city name, or Kiwi place ID (mode=search, popularRoutes). Examples: `LTN`, `london`, `City:london_gb`.\",\n      \"editor\": \"textfield\",\n      \"default\": \"london\",\n      \"prefill\": \"london\"\n    },\n    \"destination\": {\n      \"title\": \"Destination\",\n      \"type\": \"string\",\n      \"description\": \"Airport code, city name, or Kiwi place ID (mode=search). Use `anywhere` to search all destinations.\",\n      \"editor\": \"textfield\",\n      \"default\": \"paris\",\n      \"prefill\": \"paris\"\n    },\n    \"stationQuery\": {\n      \"title\": \"Station lookup query\",\n      \"type\": \"string\",\n      \"description\": \"Free-text term to search airports, cities, countries and points of interest (mode=stationLookup).\",\n      \"editor\": \"textfield\"\n    },\n    \"travelDate\": {\n      \"title\": \"Travel date\",\n      \"type\": \"string\",\n      \"description\": \"Departure date (mode=search). Format `YYYY-MM-DD`. When omitted, the actor uses today + 30 days.\",\n      \"editor\": \"textfield\",\n      \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}$\"\n    },\n    \"returnDate\": {\n      \"title\": \"Return date\",\n      \"type\": \"string\",\n      \"description\": \"Optional return date (mode=search). Format `YYYY-MM-DD`. When omitted, Kiwi returns flights with any return date.\",\n      \"editor\": \"textfield\",\n      \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}$\"\n    },\n    \"currency\": {\n      \"title\": \"Currency\",\n      \"type\": \"string\",\n      \"description\": \"Currency for all prices (ISO 4217).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"usd\",\n        \"eur\",\n        \"gbp\",\n        \"jpy\",\n        \"aud\",\n        \"cad\",\n        \"chf\",\n        \"cny\",\n        \"hkd\",\n        \"sgd\",\n        \"nzd\",\n        \"inr\",\n        \"pkr\",\n        \"aed\",\n        \"sar\",\n        \"qar\",\n        \"kwd\",\n        \"try\",\n        \"sek\",\n        \"nok\",\n        \"dkk\",\n        \"pln\",\n        \"czk\",\n        \"myr\",\n        \"thb\",\n        \"idr\",\n        \"php\",\n        \"vnd\",\n        \"brl\",\n        \"mxn\",\n        \"zar\",\n        \"npr\"\n      ],\n      \"enumTitles\": [\n        \"US Dollar (USD)\",\n        \"Euro (EUR)\",\n        \"British Pound (GBP)\",\n        \"Japanese Yen (JPY)\",\n        \"Australian Dollar (AUD)\",\n        \"Canadian Dollar (CAD)\",\n        \"Swiss Franc (CHF)\",\n        \"Chinese Yuan (CNY)\",\n        \"Hong Kong Dollar (HKD)\",\n        \"Singapore Dollar (SGD)\",\n        \"New Zealand Dollar (NZD)\",\n        \"Indian Rupee (INR)\",\n        \"Pakistani Rupee (PKR)\",\n        \"UAE Dirham (AED)\",\n        \"Saudi Riyal (SAR)\",\n        \"Qatari Riyal (QAR)\",\n        \"Kuwaiti Dinar (KWD)\",\n        \"Turkish Lira (TRY)\",\n        \"Swedish Krona (SEK)\",\n        \"Norwegian Krone (NOK)\",\n        \"Danish Krone (DKK)\",\n        \"Polish Zloty (PLN)\",\n        \"Czech Koruna (CZK)\",\n        \"Malaysian Ringgit (MYR)\",\n        \"Thai Baht (THB)\",\n        \"Indonesian Rupiah (IDR)\",\n        \"Philippine Peso (PHP)\",\n        \"Vietnamese Dong (VND)\",\n        \"Brazilian Real (BRL)\",\n        \"Mexican Peso (MXN)\",\n        \"South African Rand (ZAR)\",\n        \"Nepalese Rupee (NPR)\"\n      ],\n      \"default\": \"usd\",\n      \"prefill\": \"usd\"\n    },\n    \"stops\": {\n      \"title\": \"Max stops\",\n      \"type\": \"string\",\n      \"description\": \"Filter itineraries by the number of stops on the outbound journey.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"nonstop\",\n        \"1plus\",\n        \"2plus\"\n      ],\n      \"enumTitles\": [\n        \"Any number of stops\",\n        \"Nonstop only\",\n        \"At least 1 stop\",\n        \"At least 2 stops\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"passengers\": {\n      \"title\": \"Passengers\",\n      \"type\": \"integer\",\n      \"description\": \"Number of adult passengers (1-9).\",\n      \"minimum\": 1,\n      \"maximum\": 9,\n      \"default\": 1,\n      \"prefill\": 1\n    },\n    \"cabinClass\": {\n      \"title\": \"Cabin class\",\n      \"type\": \"string\",\n      \"description\": \"Cabin class for the search (mode=search, popularRoutes).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"economy\",\n        \"premium\",\n        \"business\",\n        \"first\"\n      ],\n      \"enumTitles\": [\n        \"Economy\",\n        \"Premium\",\n        \"Business\",\n        \"First\"\n      ],\n      \"default\": \"economy\",\n      \"prefill\": \"economy\"\n    },\n    \"sortBy\": {\n      \"title\": \"Sort order\",\n      \"type\": \"string\",\n      \"description\": \"How Kiwi.com sorts the returned itineraries.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"QUALITY\",\n        \"PRICE\",\n        \"DURATION\",\n        \"TAKEOFF_ASC\",\n        \"LANDING_ASC\"\n      ],\n      \"enumTitles\": [\n        \"Quality (Kiwi default)\",\n        \"Cheapest first\",\n        \"Fastest first\",\n        \"Earliest take-off\",\n        \"Earliest landing\"\n      ],\n      \"default\": \"QUALITY\",\n      \"prefill\": \"QUALITY\"\n    },\n    \"maxPrice\": {\n      \"title\": \"Max price\",\n      \"type\": \"number\",\n      \"description\": \"Drop itineraries priced above this amount (in the selected currency).\",\n      \"minimum\": 1,\n      \"maximum\": 1000000\n    },\n    \"containsKeyword\": {\n      \"title\": \"Contains keyword\",\n      \"type\": \"string\",\n      \"description\": \"Only keep flights whose airline, flight number, origin or destination contains this text (case-insensitive).\",\n      \"editor\": \"textfield\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records.\",\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"default\": 20,\n      \"prefill\": 10\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"Optional Apify proxy. The actor runs without a proxy and only uses it lazily if the Kiwi API starts rate-limiting (429) or blocking (403).\",\n      \"editor\": \"proxy\",\n      \"prefill\": {\n        \"useApifyProxy\": true\n      },\n      \"default\": {\n        \"useApifyProxy\": true\n      }\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Kiwi.com Flight Fares & Popular Routes Scraper\r\n\r\nScrape **Kiwi.com** — the flight metasearch engine famous for virtual interlining (self-transfer connections between non-cooperating airlines). Search flights between any origin and destination, pull the most popular routes from a city with live prices, and look up airports, cities and stations. No login, no cookies, no proxy required.\r\n\r\n## What this actor does\r\n\r\n- **Three modes:** `search` (flights by route + date), `popularRoutes` (top destinations from a city), `stationLookup` (airport / city / station autocomplete)\r\n- **Live prices** in 32 currencies (ISO 4217)\r\n- **Full itinerary details** — airlines, flight numbers, departure/arrival times, durations, stops, layovers, bag allowances, virtual-interlining flags\r\n- **Four cabin classes** — Economy, Premium, Business and First\r\n- **`anywhere` destination** — search flights from your origin to every destination Kiwi can price\r\n- **Optional return date** — or let Kiwi return flights with any return date\r\n- **Filters:** max stops, max price, keyword match, sort order\r\n- **Empty fields are omitted** — you only ever see fields the API actually returned\r\n\r\n## Output per flight (mode = `search`)\r\n\r\n- `itineraryId`\r\n- `originCity`, `originAirport` (IATA code), `originAirportName`\r\n- `destinationCity`, `destinationAirport`, `destinationAirportName`\r\n- `departureTime`, `arrivalTime` (local times) plus `departureTimeUtc`, `arrivalTimeUtc`\r\n- `durationMinutes`, `outboundDurationMinutes`, `stops`\r\n- `layoverMinutes[]` — one entry per connection on the outbound journey\r\n- `price`, `priceBeforeDiscount`, `currency`\r\n- `airlines[]`, `airlineNames[]`, `flightNumbers[]`\r\n- `includedHandBags`, `includedCheckedBags`, `hasNoCheckedBaggage`, `hasNoBaggageSupported`\r\n- `isVirtualInterlining`, `isTrueHiddenCity`, `isThrowawayTicket`\r\n- Return legs (when present): `isReturn`, `returnDepartureTime`, `returnArrivalTime`, `returnAirlines[]`, `inboundDurationMinutes`, `nightsInDestination`\r\n- `provider` (e.g. `Kiwi.com`), `seatsLeft`\r\n- `sourceUrl` — the exact Kiwi.com results page for this search\r\n- `recordType: \"flight\"`, `scrapedAt`\r\n\r\n## Output per popular route (mode = `popularRoutes`)\r\n\r\n- `itineraryId`\r\n- `originCity`, `originAirport`, `destinationCity`, `destinationAirport`, `destinationCountry`\r\n- `price`, `priceBeforeDiscount`, `currency`\r\n- `sourceUrl` — Kiwi.com results page for the route\r\n- `recordType: \"popularRoute\"`, `scrapedAt`\r\n\r\n## Output per station (mode = `stationLookup`)\r\n\r\n- `name`, `kind` (City / Airport & station / Country / …), `code` (IATA for airports, metro code for cities)\r\n- `cityName`, `countryCode`, `countryName`, `airportsCount`\r\n- `latitude`, `longitude`\r\n- `id` — the Kiwi place id (`City:london_gb`, `Station:airport:LGW`) you can paste straight back into `origin` / `destination`\r\n- `legacyId`, `slug`\r\n- `sourceUrl`, `recordType: \"station\"`, `scrapedAt`\r\n\r\n## Input\r\n\r\n| Field | Type | Default | Description |\r\n|---|---|---|---|\r\n| `mode` | string (select) | `search` | `search`, `popularRoutes` or `stationLookup` |\r\n| `origin` | string | `london` | Airport code, city name or Kiwi place id (mode=search, popularRoutes) |\r\n| `destination` | string | `paris` | Airport code, city name or Kiwi place id; use `anywhere` for all destinations (mode=search) |\r\n| `stationQuery` | string | – | Free-text term (mode=stationLookup) |\r\n| `travelDate` | string | – | Departure date `YYYY-MM-DD` (mode=search); when omitted the actor uses today + 30 days |\r\n| `returnDate` | string | – | Optional return date `YYYY-MM-DD` (mode=search) |\r\n| `currency` | string (select) | `usd` | 32 currencies (ISO 4217) |\r\n| `stops` | string (select) | `any` | `any` / `nonstop` / `1plus` / `2plus` |\r\n| `passengers` | int | `1` | 1–9 adults |\r\n| `cabinClass` | string (select) | `economy` | `economy` / `premium` / `business` / `first` |\r\n| `sortBy` | string (select) | `QUALITY` | Quality / price / duration / take-off / landing |\r\n| `maxPrice` | number | – | Drop itineraries above this price |\r\n| `containsKeyword` | string | – | Keep only flights matching this text (airline, flight number, city) |\r\n| `maxItems` | int | `20` | Hard cap (1–500) |\r\n| `proxyConfiguration` | object | – | Optional; only used lazily if the API rate-limits or blocks |\r\n\r\n### Example: cheap direct flights from London to Paris\r\n\r\n```json\r\n{\r\n  \"mode\": \"search\",\r\n  \"origin\": \"london\",\r\n  \"destination\": \"paris\",\r\n  \"travelDate\": \"2026-09-15\",\r\n  \"stops\": \"nonstop\",\r\n  \"sortBy\": \"PRICE\",\r\n  \"maxItems\": 25\r\n}\r\n```\r\n\r\n### Example: popular routes from Dubai with return dates\r\n\r\n```json\r\n{\r\n  \"mode\": \"popularRoutes\",\r\n  \"origin\": \"dubai\",\r\n  \"currency\": \"aed\",\r\n  \"maxItems\": 10\r\n}\r\n```\r\n\r\n### Example: find the airport code for Osaka\r\n\r\n```json\r\n{\r\n  \"mode\": \"stationLookup\",\r\n  \"stationQuery\": \"osaka\",\r\n  \"maxItems\": 5\r\n}\r\n```\r\n\r\n### Example: long-haul with a stop, any airline\r\n\r\n```json\r\n{\r\n  \"mode\": \"search\",\r\n  \"origin\": \"LHR\",\r\n  \"destination\": \"City:tokyo_jp\",\r\n  \"travelDate\": \"2026-10-02\",\r\n  \"stops\": \"any\",\r\n  \"maxPrice\": 900,\r\n  \"currency\": \"usd\",\r\n  \"maxItems\": 15\r\n}\r\n```\r\n\r\n### Example: business class to anywhere\r\n\r\n```json\r\n{\r\n  \"mode\": \"search\",\r\n  \"origin\": \"london\",\r\n  \"destination\": \"anywhere\",\r\n  \"cabinClass\": \"business\",\r\n  \"maxItems\": 10\r\n}\r\n```\r\n\r\n## Use cases\r\n\r\n- **Travel price intelligence** — track how fares on a route evolve and detect virtual-interlining deals\r\n- **Competitive fare monitoring** — compare Kiwi.com pricing against direct-airline prices\r\n- **Route planning tools** — power \"popular destinations from my city\" widgets\r\n- **Airport/city data enrichment** — resolve IATA codes, coordinates and country info for place names\r\n- **Travel search engines** — feed real itineraries into metasearch prototypes\r\n\r\n## Data source and limitations\r\n\r\n- **Data source:** Kiwi.com's own public flight-search service — the same one www.kiwi.com uses. No authentication is required.\r\n- **Live prices:** flight fares are live quotes from Kiwi.com's fare engine. They change constantly and can be heavy to compute — searches can take 20–60 seconds for busy routes.\r\n- **Anti-bot caveat:** Kiwi.com may rate-limit or block aggressive scraping. The actor is designed to work without a proxy, but you can enable one in `proxyConfiguration` if a run gets blocked.\r\n- **One-way and multi-city:** this actor mirrors Kiwi's default search behaviour — a date-only search returns flights with any return date, exactly like www.kiwi.com. Multi-city and true one-way search shapes are not exposed.\r\n- **Pagination:** the API returns one page of results per search (25–100 itineraries depending on filters). Kiwi's \"show more\" flow is interactive, so results are capped per search. Raise `maxItems` up to 100 for one page of results.\r\n- **Sort caveat:** `TAKEOFF_ASC` and `LANDING_ASC` are valid Kiwi sort values but the return-search API returns no itineraries for them — use `QUALITY`, `PRICE` or `DURATION` for mode=search.\r\n- **Date availability:** fares are only returned for dates Kiwi.com can price (typically up to ~11 months ahead). Dates in the past return zero results.\r\n- **Not affiliated:** this actor is a third-party tool and is not affiliated with or endorsed by Kiwi.com.\r\n\r\n## FAQ\r\n\r\n**Do I need an API key or cookies?** No. The actor reads Kiwi.com's public flight-search service, which requires no authentication.\r\n\r\n**Why are prices higher than on kiwi.com?** Kiwi.com's pricing includes their service fees and can change between requests. The price shown is the live quote at scrape time.\r\n\r\n**What does `isVirtualInterlining` mean?** Kiwi.com's signature feature — two flights on separate tickets (e.g. different airlines that don't cooperate) connected with a self-transfer. If it's `true`, the passenger must collect bags and check in again themselves; a checked bag is usually not included.\r\n\r\n**Why are some fields missing on my records?** All fields are omitted when the API doesn't return them (no sentinel values). For example `returnDepartureTime` only appears when the search includes a return leg, and `layoverMinutes` only for connecting flights.\r\n\r\n**Can I scrape prices for a whole month?** Not in one call — each search covers a single departure date. Run the actor per date and merge the datasets.\r\n\r\n**Is this affiliated with Kiwi.com?** No — this is a third-party actor using Kiwi.com's public API.\r\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "kiwi-com-flight-fares-and-popular-routes-scraper",
      "title": "Kiwi.com Flight Fares & Popular Routes Scraper",
      "description": "Scrape Kiwi.com — flight metasearch with virtual interlining. Search flights between any origin and destination, fetch popular routes from a city with live prices, and look up airports, cities and stations. No auth, no proxy required.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Kiwi.com Flight Fares & Popular Routes Scraper\r\n\r\nScrape **Kiwi.com** — the flight metasearch engine famous for virtual interlining (self-transfer connections between non-cooperating airlines). Search flights between any origin and destination, pull the most popular routes from a city with live prices, and look up airports, cities and stations. No login, no cookies, no proxy required.\r\n\r\n## What this actor does\r\n\r\n- **Three modes:** `search` (flights by route + date), `popularRoutes` (top destinations from a city), `stationLookup` (airport / city / station autocomplete)\r\n- **Live prices** in 32 currencies (ISO 4217)\r\n- **Full itinerary details** — airlines, flight numbers, departure/arrival times, durations, stops, layovers, bag allowances, virtual-interlining flags\r\n- **Four cabin classes** — Economy, Premium, Business and First\r\n- **`anywhere` destination** — search flights from your origin to every destination Kiwi can price\r\n- **Optional return date** — or let Kiwi return flights with any return date\r\n- **Filters:** max stops, max price, keyword match, sort order\r\n- **Empty fields are omitted** — you only ever see fields the API actually returned\r\n\r\n## Output per flight (mode = `search`)\r\n\r\n- `itineraryId`\r\n- `originCity`, `originAirport` (IATA code), `originAirportName`\r\n- `destinationCity`, `destinationAirport`, `destinationAirportName`\r\n- `departureTime`, `arrivalTime` (local times) plus `departureTimeUtc`, `arrivalTimeUtc`\r\n- `durationMinutes`, `outboundDurationMinutes`, `stops`\r\n- `layoverMinutes[]` — one entry per connection on the outbound journey\r\n- `price`, `priceBeforeDiscount`, `currency`\r\n- `airlines[]`, `airlineNames[]`, `flightNumbers[]`\r\n- `includedHandBags`, `includedCheckedBags`, `hasNoCheckedBaggage`, `hasNoBaggageSupported`\r\n- `isVirtualInterlining`, `isTrueHiddenCity`, `isThrowawayTicket`\r\n- Return legs (when present): `isReturn`, `returnDepartureTime`, `returnArrivalTime`, `returnAirlines[]`, `inboundDurationMinutes`, `nightsInDestination`\r\n- `provider` (e.g. `Kiwi.com`), `seatsLeft`\r\n- `sourceUrl` — the exact Kiwi.com results page for this search\r\n- `recordType: \"flight\"`, `scrapedAt`\r\n\r\n## Output per popular route (mode = `popularRoutes`)\r\n\r\n- `itineraryId`\r\n- `originCity`, `originAirport`, `destinationCity`, `destinationAirport`, `destinationCountry`\r\n- `price`, `priceBeforeDiscount`, `currency`\r\n- `sourceUrl` — Kiwi.com results page for the route\r\n- `recordType: \"popularRoute\"`, `scrapedAt`\r\n\r\n## Output per station (mode = `stationLookup`)\r\n\r\n- `name`, `kind` (City / Airport & station / Country / …), `code` (IATA for airports, metro code for cities)\r\n- `cityName`, `countryCode`, `countryName`, `airportsCount`\r\n- `latitude`, `longitude`\r\n- `id` — the Kiwi place id (`City:london_gb`, `Station:airport:LGW`) you can paste straight back into `origin` / `destination`\r\n- `legacyId`, `slug`\r\n- `sourceUrl`, `recordType: \"station\"`, `scrapedAt`\r\n\r\n## Input\r\n\r\n| Field | Type | Default | Description |\r\n|---|---|---|---|\r\n| `mode` | string (select) | `search` | `search`, `popularRoutes` or `stationLookup` |\r\n| `origin` | string | `london` | Airport code, city name or Kiwi place id (mode=search, popularRoutes) |\r\n| `destination` | string | `paris` | Airport code, city name or Kiwi place id; use `anywhere` for all destinations (mode=search) |\r\n| `stationQuery` | string | – | Free-text term (mode=stationLookup) |\r\n| `travelDate` | string | – | Departure date `YYYY-MM-DD` (mode=search); when omitted the actor uses today + 30 days |\r\n| `returnDate` | string | – | Optional return date `YYYY-MM-DD` (mode=search) |\r\n| `currency` | string (select) | `usd` | 32 currencies (ISO 4217) |\r\n| `stops` | string (select) | `any` | `any` / `nonstop` / `1plus` / `2plus` |\r\n| `passengers` | int | `1` | 1–9 adults |\r\n| `cabinClass` | string (select) | `economy` | `economy` / `premium` / `business` / `first` |\r\n| `sortBy` | string (select) | `QUALITY` | Quality / price / duration / take-off / landing |\r\n| `maxPrice` | number | – | Drop itineraries above this price |\r\n| `containsKeyword` | string | – | Keep only flights matching this text (airline, flight number, city) |\r\n| `maxItems` | int | `20` | Hard cap (1–500) |\r\n| `proxyConfiguration` | object | – | Optional; only used lazily if the API rate-limits or blocks |\r\n\r\n### Example: cheap direct flights from London to Paris\r\n\r\n```json\r\n{\r\n  \"mode\": \"search\",\r\n  \"origin\": \"london\",\r\n  \"destination\": \"paris\",\r\n  \"travelDate\": \"2026-09-15\",\r\n  \"stops\": \"nonstop\",\r\n  \"sortBy\": \"PRICE\",\r\n  \"maxItems\": 25\r\n}\r\n```\r\n\r\n### Example: popular routes from Dubai with return dates\r\n\r\n```json\r\n{\r\n  \"mode\": \"popularRoutes\",\r\n  \"origin\": \"dubai\",\r\n  \"currency\": \"aed\",\r\n  \"maxItems\": 10\r\n}\r\n```\r\n\r\n### Example: find the airport code for Osaka\r\n\r\n```json\r\n{\r\n  \"mode\": \"stationLookup\",\r\n  \"stationQuery\": \"osaka\",\r\n  \"maxItems\": 5\r\n}\r\n```\r\n\r\n### Example: long-haul with a stop, any airline\r\n\r\n```json\r\n{\r\n  \"mode\": \"search\",\r\n  \"origin\": \"LHR\",\r\n  \"destination\": \"City:tokyo_jp\",\r\n  \"travelDate\": \"2026-10-02\",\r\n  \"stops\": \"any\",\r\n  \"maxPrice\": 900,\r\n  \"currency\": \"usd\",\r\n  \"maxItems\": 15\r\n}\r\n```\r\n\r\n### Example: business class to anywhere\r\n\r\n```json\r\n{\r\n  \"mode\": \"search\",\r\n  \"origin\": \"london\",\r\n  \"destination\": \"anywhere\",\r\n  \"cabinClass\": \"business\",\r\n  \"maxItems\": 10\r\n}\r\n```\r\n\r\n## Use cases\r\n\r\n- **Travel price intelligence** — track how fares on a route evolve and detect virtual-interlining deals\r\n- **Competitive fare monitoring** — compare Kiwi.com pricing against direct-airline prices\r\n- **Route planning tools** — power \"popular destinations from my city\" widgets\r\n- **Airport/city data enrichment** — resolve IATA codes, coordinates and country info for place names\r\n- **Travel search engines** — feed real itineraries into metasearch prototypes\r\n\r\n## Data source and limitations\r\n\r\n- **Data source:** Kiwi.com's own public flight-search service — the same one www.kiwi.com uses. No authentication is required.\r\n- **Live prices:** flight fares are live quotes from Kiwi.com's fare engine. They change constantly and can be heavy to compute — searches can take 20–60 seconds for busy routes.\r\n- **Anti-bot caveat:** Kiwi.com may rate-limit or block aggressive scraping. The actor is designed to work without a proxy, but you can enable one in `proxyConfiguration` if a run gets blocked.\r\n- **One-way and multi-city:** this actor mirrors Kiwi's default search behaviour — a date-only search returns flights with any return date, exactly like www.kiwi.com. Multi-city and true one-way search shapes are not exposed.\r\n- **Pagination:** the API returns one page of results per search (25–100 itineraries depending on filters). Kiwi's \"show more\" flow is interactive, so results are capped per search. Raise `maxItems` up to 100 for one page of results.\r\n- **Sort caveat:** `TAKEOFF_ASC` and `LANDING_ASC` are valid Kiwi sort values but the return-search API returns no itineraries for them — use `QUALITY`, `PRICE` or `DURATION` for mode=search.\r\n- **Date availability:** fares are only returned for dates Kiwi.com can price (typically up to ~11 months ahead). Dates in the past return zero results.\r\n- **Not affiliated:** this actor is a third-party tool and is not affiliated with or endorsed by Kiwi.com.\r\n\r\n## FAQ\r\n\r\n**Do I need an API key or cookies?** No. The actor reads Kiwi.com's public flight-search service, which requires no authentication.\r\n\r\n**Why are prices higher than on kiwi.com?** Kiwi.com's pricing includes their service fees and can change between requests. The price shown is the live quote at scrape time.\r\n\r\n**What does `isVirtualInterlining` mean?** Kiwi.com's signature feature — two flights on separate tickets (e.g. different airlines that don't cooperate) connected with a self-transfer. If it's `true`, the passenger must collect bags and check in again themselves; a checked bag is usually not included.\r\n\r\n**Why are some fields missing on my records?** All fields are omitted when the API doesn't return them (no sentinel values). For example `returnDepartureTime` only appears when the search includes a return leg, and `layoverMinutes` only for connecting flights.\r\n\r\n**Can I scrape prices for a whole month?** Not in one call — each search covers a single departure date. Run the actor per date and merge the datasets.\r\n\r\n**Is this affiliated with Kiwi.com?** No — this is a third-party actor using Kiwi.com's public API.\r\n",
      "input": {
        "title": "Kiwi.com Scraper Input",
        "description": "Search flights on Kiwi.com by route and date, fetch popular routes from a city, or look up airports/cities/stations.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch.",
            "editor": "select",
            "enum": [
              "search",
              "popularRoutes",
              "stationLookup"
            ],
            "enumTitles": [
              "Search flights (origin → destination → date)",
              "Popular routes from a city",
              "Look up airports, cities and stations"
            ],
            "default": "search",
            "prefill": "search"
          },
          "origin": {
            "title": "Origin",
            "type": "string",
            "description": "Airport code, city name, or Kiwi place ID (mode=search, popularRoutes). Examples: `LTN`, `london`, `City:london_gb`.",
            "editor": "textfield",
            "default": "london",
            "prefill": "london"
          },
          "destination": {
            "title": "Destination",
            "type": "string",
            "description": "Airport code, city name, or Kiwi place ID (mode=search). Use `anywhere` to search all destinations.",
            "editor": "textfield",
            "default": "paris",
            "prefill": "paris"
          },
          "stationQuery": {
            "title": "Station lookup query",
            "type": "string",
            "description": "Free-text term to search airports, cities, countries and points of interest (mode=stationLookup).",
            "editor": "textfield"
          },
          "travelDate": {
            "title": "Travel date",
            "type": "string",
            "description": "Departure date (mode=search). Format `YYYY-MM-DD`. When omitted, the actor uses today + 30 days.",
            "editor": "textfield",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "returnDate": {
            "title": "Return date",
            "type": "string",
            "description": "Optional return date (mode=search). Format `YYYY-MM-DD`. When omitted, Kiwi returns flights with any return date.",
            "editor": "textfield",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Currency for all prices (ISO 4217).",
            "editor": "select",
            "enum": [
              "usd",
              "eur",
              "gbp",
              "jpy",
              "aud",
              "cad",
              "chf",
              "cny",
              "hkd",
              "sgd",
              "nzd",
              "inr",
              "pkr",
              "aed",
              "sar",
              "qar",
              "kwd",
              "try",
              "sek",
              "nok",
              "dkk",
              "pln",
              "czk",
              "myr",
              "thb",
              "idr",
              "php",
              "vnd",
              "brl",
              "mxn",
              "zar",
              "npr"
            ],
            "enumTitles": [
              "US Dollar (USD)",
              "Euro (EUR)",
              "British Pound (GBP)",
              "Japanese Yen (JPY)",
              "Australian Dollar (AUD)",
              "Canadian Dollar (CAD)",
              "Swiss Franc (CHF)",
              "Chinese Yuan (CNY)",
              "Hong Kong Dollar (HKD)",
              "Singapore Dollar (SGD)",
              "New Zealand Dollar (NZD)",
              "Indian Rupee (INR)",
              "Pakistani Rupee (PKR)",
              "UAE Dirham (AED)",
              "Saudi Riyal (SAR)",
              "Qatari Riyal (QAR)",
              "Kuwaiti Dinar (KWD)",
              "Turkish Lira (TRY)",
              "Swedish Krona (SEK)",
              "Norwegian Krone (NOK)",
              "Danish Krone (DKK)",
              "Polish Zloty (PLN)",
              "Czech Koruna (CZK)",
              "Malaysian Ringgit (MYR)",
              "Thai Baht (THB)",
              "Indonesian Rupiah (IDR)",
              "Philippine Peso (PHP)",
              "Vietnamese Dong (VND)",
              "Brazilian Real (BRL)",
              "Mexican Peso (MXN)",
              "South African Rand (ZAR)",
              "Nepalese Rupee (NPR)"
            ],
            "default": "usd",
            "prefill": "usd"
          },
          "stops": {
            "title": "Max stops",
            "type": "string",
            "description": "Filter itineraries by the number of stops on the outbound journey.",
            "editor": "select",
            "enum": [
              "any",
              "nonstop",
              "1plus",
              "2plus"
            ],
            "enumTitles": [
              "Any number of stops",
              "Nonstop only",
              "At least 1 stop",
              "At least 2 stops"
            ],
            "default": "any",
            "prefill": "any"
          },
          "passengers": {
            "title": "Passengers",
            "type": "integer",
            "description": "Number of adult passengers (1-9).",
            "minimum": 1,
            "maximum": 9,
            "default": 1,
            "prefill": 1
          },
          "cabinClass": {
            "title": "Cabin class",
            "type": "string",
            "description": "Cabin class for the search (mode=search, popularRoutes).",
            "editor": "select",
            "enum": [
              "economy",
              "premium",
              "business",
              "first"
            ],
            "enumTitles": [
              "Economy",
              "Premium",
              "Business",
              "First"
            ],
            "default": "economy",
            "prefill": "economy"
          },
          "sortBy": {
            "title": "Sort order",
            "type": "string",
            "description": "How Kiwi.com sorts the returned itineraries.",
            "editor": "select",
            "enum": [
              "QUALITY",
              "PRICE",
              "DURATION",
              "TAKEOFF_ASC",
              "LANDING_ASC"
            ],
            "enumTitles": [
              "Quality (Kiwi default)",
              "Cheapest first",
              "Fastest first",
              "Earliest take-off",
              "Earliest landing"
            ],
            "default": "QUALITY",
            "prefill": "QUALITY"
          },
          "maxPrice": {
            "title": "Max price",
            "type": "number",
            "description": "Drop itineraries priced above this amount (in the selected currency).",
            "minimum": 1,
            "maximum": 1000000
          },
          "containsKeyword": {
            "title": "Contains keyword",
            "type": "string",
            "description": "Only keep flights whose airline, flight number, origin or destination contains this text (case-insensitive).",
            "editor": "textfield"
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "minimum": 1,
            "maximum": 500,
            "default": 20,
            "prefill": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify proxy. The actor runs without a proxy and only uses it lazily if the Kiwi API starts rate-limiting (429) or blocking (403).",
            "editor": "proxy",
            "prefill": {
              "useApifyProxy": true
            },
            "default": {
              "useApifyProxy": true
            }
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Kiwi.com Flight Fares & Popular Routes Scraper Output",
        "description": "Flight itineraries, popular routes and station lookups from Kiwi.com — prices, airlines, times, stops, bags and route metadata.",
        "properties": {
          "flights": {
            "type": "string",
            "title": "Kiwi.com flights",
            "description": "Dataset containing all scraped Kiwi.com flights, popular routes and station lookups.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Flights",
              "transformation": {
                "fields": [
                  "originCity",
                  "destinationCity",
                  "departureTime",
                  "arrivalTime",
                  "price",
                  "currency",
                  "airlines",
                  "stops",
                  "sourceUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "2d6c8bf3f64c3550da182f449b6f191a4e1d64d631c4423d92971a5d0f70bdfb",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.012418888888888889
    }
  }
}