# Kayak & Momondo Flights Scraper (`nice_dev/kayak-flights-scraper`) Actor

Scrape Kayak and Momondo flights from 60+ countries: price, airlines, stops, times, baggage, price forecast and booking link, with optional seller offers and Explore destinations. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/nice_dev/kayak-flights-scraper.md
- **Developed by:** [Nice Dev](https://apify.com/nice_dev) (community)
- **Categories:** Travel, MCP servers, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 91.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.45 / 1,000 flights

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### ✈️ What is Kayak & Momondo Flights Scraper?

**Kayak & Momondo Flights Scraper** extracts **flights from [Kayak](https://www.kayak.com) and [Momondo](https://www.momondo.com)** in 60 countries: **price per traveler and for all travelers, airline, flight numbers, departure and arrival times, duration, stops and layovers, bag fees, the best seller with its booking link, and Kayak's buy / wait price forecast**, for any route and date or any search link. It works as a **Kayak API alternative**: run it on a schedule to track fares, call it from your code, or plug it into Make, Zapier or n8n.

Type a departure and an arrival airport (`PAR`, `NYC`) and a date, or paste any Kayak or Momondo search link, click **Start**, and download the flights in JSON, CSV or Excel. No login, nothing to set up, and it is **fast: about 50 flights in 20 seconds**.

### 📋 What data can you extract from Kayak and Momondo?

One item per flight, 96 fields:

| Category | What you get |
| --- | --- |
| ✈️ **Flight** | airline, flight numbers, aircraft, operating airline, airline logo — `SWISS LX639 + LX18, Airbus A330-300` |
| 🛫 **Route and times** | airports with their names and cities, local departure and arrival times, next-day arrival, travel time, stops and every layover, each leg of a round trip — `CDG 15:00 → EWR 20:30, 11 h 30, 1 stop in Zurich` |
| 💰 **Price** | price per traveler and for all travelers, currency, the price as the site prints it — `660 USD` |
| 🏪 **Best offer** | seller (airline or travel agency) and its quality score, number of sellers and fares, fare name and what it includes, booking link, free cancellation, instant booking — `Thrive Travel, Economy Basic` |
| 🧳 **Bags** | carry-on and checked bag fees, bags included, each airline's baggage policy with sizes and weights, link to its baggage page |
| 🏷️ **Labels** | Kayak's Best, cheapest and cheapest nonstop flights, hacker fares, separate tickets, self transfer, airport change, overnight flight |
| 📈 **Price forecast** | Kayak's buy / wait advice for the search, its horizon and the expected price change — `BUY, 30 days` |
| 🔎 **Search** | site and country, trip type, dates, cabin, travelers, bags asked for, results page and rank |
| 🧾 **Options** | one row per seller of each flight; one summary row per search (best price per sort, price range, cheapest airline, airport and number of stops); Kayak Explore destinations with their cheapest price, dates, country and map position; price changes since the last run |

Every field, with an example, is listed in the **Output** section below.

The options (sellers, search summary, Explore destinations, price changes) are off by default and charged apart: tick only the ones you need.

### ✅ Why use Kayak & Momondo Flights Scraper?

- 🚀 **Fast and reliable**: about 50 flights in 20 seconds, 500 flights of one round-trip search in about 80 seconds; on the Apify platform, 5 searches out of 5 succeeded in our test run.
- 🌍 **Kayak and Momondo, 60 countries**: pick the site and the country (Kayak has 59 of them, Momondo 32), prices come in that country's currency.
- 🏪 **Every seller, not only the cheapest**: tick **Booking options** for one row per airline or travel agency with its price, bag fees, free cancellation and booking link.
- 🎯 **Filters other scrapers do not have**: departure and arrival hours, total duration, max price, layover length, connecting airports, alliances, Wi-Fi, no basic economy, no red-eye — on top of Kayak's own stops, airlines, bags and sort.
- 📈 **Kayak's price forecast**: the buy / wait advice on every flight, and a summary row per search (option) with the best price for each sort and the cheapest airline and airport.
- 🗂️ **Many searches in one run**: airports × destinations × a range of departure days, ready-made routes, a multi-city trip or pasted links, with a cap per search.
- 🔔 **Monitoring built in**: tick **Only new flights** and **Price changes**, schedule the Actor, and each run returns only the new flights and the ones whose price moved.
- 🔌 API, scheduling, monitoring, integrations (Make, Zapier, n8n, Google Sheets…), proxy rotation and JSON/CSV/Excel export via the Apify platform.

### 🚀 How to scrape Kayak and Momondo

1. Create a free Apify account.
2. Open **Kayak & Momondo Flights Scraper**, pick **Kayak** or **Momondo** and the **Market (country)**, then type **From** and **To** (IATA codes such as `PAR` and `NYC`) and a **Departure date** — plus a **Return date** for a round trip.
3. Or paste Kayak or Momondo search links into **Kayak or Momondo links**: every filter set on the site is kept.
4. Set **Max flights** (100 by default, 0 = no limit) — and **Max flights per search** when you run several searches — then click **Start**.
5. Download the dataset in JSON, CSV, Excel or via API.

### 💰 How much does it cost to scrape Kayak and Momondo?

This Actor uses **pay per event** pricing: you pay for what the run delivers. The price of each event is shown in the **Pricing** tab of this page.

| Event | Charged for |
| --- | --- |
| `flight` | each flight saved |
| `flight-search` | each search read (one route and date, or one link), whatever it finds; a search without any flight gives a free `no-flights` row |
| `booking-option` | option **Booking options**: each seller row |
| `search-summary` | option **Search summary**: each summary row (one per search) |
| `explore-destination` | option **Explore destinations**: each destination row |
| `price-change` | option **Price changes**: each flight that comes back because its price moved, on top of the flight |
| `apify-actor-start` | each run start |

The options are off by default: an option you do not tick costs nothing. A flight that a filter drops is not saved and not charged. Platform usage (compute, proxy) is included in the price.

### ⚙️ Input

```json
{
    "origin": "PAR",
    "destination": "NYC",
    "departureDate": "30 days",
    "tripLengthDays": 7,
    "maxItems": 100
}
```

Several searches on Momondo UK, a week of departure days, 2 adults and a child, filters, and only the flights not delivered before (or whose price moved):

```json
{
    "site": "momondo",
    "market": "gb",
    "origins": ["LON", "MAN"],
    "destinations": ["NYC", "BOS"],
    "departureDate": "60 days",
    "departureDateTo": "66 days",
    "tripLengthDays": 10,
    "adults": 2,
    "childAges": ["8"],
    "maxStops": "1",
    "maxPrice": 900,
    "departureTimeFrom": 8,
    "maxItemsPerQuery": 20,
    "maxItems": 500,
    "onlyNew": true,
    "trackPriceChanges": true,
    "stateKey": "lon-usa"
}
```

Or with your own links:

```json
{
    "startUrls": [
        { "url": "https://www.kayak.com/flights/PAR-NYC/2027-09-15/2027-09-22?sort=price_a" },
        { "url": "https://www.momondo.de/flight-search/BER-LON/2027-09-15" }
    ],
    "maxItemsPerQuery": 100
}
```

A multi-city trip, with every seller and a summary of the search:

```json
{
    "multiCityLegs": [
        { "origin": "PAR", "destination": "NYC", "date": "30 days" },
        { "origin": "NYC", "destination": "LAX", "date": "37 days" },
        { "origin": "LAX", "destination": "PAR", "date": "45 days" }
    ],
    "includeBookingOptions": true,
    "bookingOptionsPerFlight": 10,
    "includeSearchSummary": true
}
```

| Field | Notes |
| --- | --- |
| `site` | `kayak` (default) or `momondo`: the same flights engine, the same fields. A pasted link keeps its own site. |
| `origin`, `origins` | Departure airport or city as a 3-letter IATA code: `CDG`, `JFK`, or a city code that covers all its airports (`PAR`, `NYC`, `LON`). `origins` adds more departure airports; every departure is searched to every destination (max 500 searches per run). |
| `destination`, `destinations` | Arrival airport or city, same codes (`JFK`, `NYC`); `destinations` adds more. |
| `routes` | Ready-made routes, each with its own dates if you want: `origin`, `destination`, optionally `departureDate` and `returnDate` (with a `departureDate` alone the route is one-way, or a round trip of `tripLengthDays`) (max 500 routes). |
| `multiCityLegs` | One multi-city trip of 2 to 6 flights in a row, searched as one trip with one price for all legs; each leg has `origin`, `destination` and `date`. |
| `startUrls` | Kayak or Momondo flight search links of any country, copied from the address bar (`https://www.kayak.com/flights/PAR-NYC/2027-09-15?sort=price_a`, `https://www.momondo.co.uk/flight-search/LON-NYC/2027-09-15/2027-09-22`): route, dates, travelers, cabin, sort and filters are kept. Max 500 links. |
| `departureDate`, `returnDate` | A date (`2027-09-15`) or a period from the run date (`30 days`, `2 weeks`, `3 months`), so that a saved task always looks the same distance ahead. An empty departure date is 30 days after the run; an empty return date is a one-way trip (or see `tripLengthDays`). |
| `departureDateTo` | Search every departure day from `departureDate` to this day, each day being its own search (max 60 days). |
| `tripLengthDays` | Round trip of this many days after each departure day, used when `returnDate` is empty (also by a route that has a departure date and no return date). 0 = one-way. |
| `flexibleDays` | Kayak's flexible dates: one search also lists the flights of the days around the departure date (`1`, `2` or `3` days before and after); each flight keeps its own `departureDate`. |
| `includeNearbyAirports` | Also search the airports near the departure airport; each flight keeps its own airports. |
| `childAges`, `adults`, `infantsInSeat`, `infantsOnLap` | Travelers: one line per child aged 2 to 17 with its age at the time of the flight (`11`), adults, infants in a seat or on an adult's lap (one per adult). Up to 9 travelers with a seat. |
| `cabinClass` | `economy`, `premium_economy`, `business` or `first`. |
| `maxStops` | Most stops: `any`, `0` (nonstop only), `1` or `2`. |
| `airlines` | Only these airlines, sent with the search: 2-character IATA codes (`AF`, `DL`, `B6`). Empty = all airlines. |
| `carryOnBags`, `checkedBags` | Bags per traveler (carry-on 0-1, checked 0-2): prices then include the airline's fee for them. |
| `market` | Country site (`us`, `gb`, `fr`, `de`, `au`…): it sets the Kayak or Momondo domain, so the currency of the prices and the language of the names. |
| `sortBy` | Order of the flights of each search: `best` (Kayak's own order, default), `price`, `duration`, `departure`, `arrival` or `emissions`. |
| `maxItems` | Most flights saved for the whole run, after filters (`0` = no limit). |
| `maxItemsPerQuery` | Cap for EACH search (route × date, or link), so that the first search cannot use up the whole budget (`0` = no cap per search). |
| `includeSearchSummary` | Option: one summary row per search with Kayak's buy / wait advice, the best price for each sort, the price range, and the cheapest price per airline, airport and number of stops. |
| `includeBookingOptions`, `bookingOptionsPerFlight` | Option: for every flight saved, one row per seller (the airline and the travel agencies) with its price, fare, bag fees, free cancellation and booking link; `bookingOptionsPerFlight` keeps the cheapest sellers of each flight (5 by default, 0 = all). |
| `includeExplore`, `maxExploreDestinations` | Option: for each departure code, the destinations Kayak Explore suggests with their cheapest price, dates, trip length, country and map position; `maxExploreDestinations` keeps the cheapest ones (50 by default). |
| `exploreDepartureFrom`, `exploreDepartureTo`, `exploreReturnFrom`, `exploreReturnTo` | Explore: departure and return windows of the suggested trips, a date (`2027-09-15`) or a period from the run date (`30 days`). |
| `exploreMinDays`, `exploreMaxDays`, `exploreMaxPrice`, `exploreMaxStops` | Explore: shortest and longest suggested trip in days, highest price, most stops. |
| `exploreNorthEastLat`, `exploreNorthEastLng`, `exploreSouthWestLat`, `exploreSouthWestLng` | Explore: keep only the destinations inside a map rectangle (used when the four corners are filled). |
| `maxPrice`, `maxDurationMinutes` | Highest price per traveler in the currency of the market; longest travel time of each leg, layovers included. 0 = no limit. |
| `departureTimeFrom`, `departureTimeTo`, `arrivalTimeFrom`, `arrivalTimeTo` | Local hours of the first flight's departure and of the first leg's arrival, from 0 to 24. Empty = any. |
| `minLayoverMinutes`, `maxLayoverMinutes`, `connectingAirports`, `excludeConnectingAirports` | Connections: shortest and longest layover in minutes, connect only via these airports, never via those (IATA codes). |
| `excludeAirlines` | Drop the flights with a segment flown by one of these airlines (`FR`, `U2`). |
| `alliances` | Keep only the airlines of these alliances: `ONEWORLD`, `SKYTEAM`, `STAR_ALLIANCE`, `VALUE_ALLIANCE`. |
| `excludeBasicEconomy`, `excludeRedEye`, `excludeAirportChange`, `wifiOnly`, `airlineDirectOnly` | Drop the basic economy fares, the flights with a red-eye leg (taking off between 22:00 and 05:59, or landing before 06:00, local time: our own rule, not Kayak's count) and the connections with an airport change; keep the flights with Wi-Fi; count only the offers sold by the airline itself. |
| `excludeKeywords` | Drop the flights whose airline, aircraft or airport names contain one of these words (`Ryanair`, case ignored). |
| `onlyNew`, `stateKey`, `resetState` | Monitoring: only the flights never delivered under this memory key (`stateKey`, e.g. `par-nyc`); `resetState` forgets the memory. |
| `trackPriceChanges`, `priceChangeThreshold` | With `onlyNew`: a flight already delivered comes back when its price moved by at least the threshold (3 % by default). |
| Advanced | `proxyConfiguration` (Apify proxy by default, included in the price; the residential proxy is not available), `maxConcurrency`, `maxRequestsPerMinute`, `minRequestIntervalMs`, `maxRequestRetries`, `debugLog`. |

### 📦 Output

A real flight from a test run, shortened to 31 of its 96 fields:

```json
{
    "recordType": "flight",
    "id": "2026-12-06_LX639-LX18_economy",
    "url": "https://www.kayak.com/flights/PAR-NYC/2026-12-06/f331a9c48ee55314da81477cf49e02dc1?viewRank=53",
    "site": "kayak",
    "domain": "www.kayak.com",
    "tripType": "one-way",
    "departureDate": "2026-12-06",
    "cabinClass": "economy",
    "price": 660,
    "totalPrice": 660,
    "currency": "USD",
    "provider": "Thrive Travel",
    "providersCount": 15,
    "bookingUrl": "https://www.kayak.com/book/flight?code=vgFiGZnfAH.WUvgLcoqNNZMKCnkZNRomQ.65946.331a9c48ee55314da81477cf49e02dc1&h=cfd021ead6d2&sub=F-7595404205762707127E029eaaad227&viewId=4540b2f0-6cfa-48dc-9e55-ec20859d8012&viewRank=53&adContentId=4c24cc8b60dc7d0d7cc6b0f085dff547",
    "freeCancellation": true,
    "carryOnBagFee": 0,
    "checkedBagFee": null,
    "isBest": false,
    "airline": "SWISS",
    "flightNumbers": ["LX639", "LX18"],
    "origin": "CDG",
    "originName": "Paris Charles de Gaulle",
    "destination": "EWR",
    "destinationName": "Newark",
    "departureTime": "2026-12-06T15:00",
    "arrivalTime": "2026-12-06T20:30",
    "durationMinutes": 690,
    "stops": 1,
    "aircraft": ["Airbus A321neo", "Airbus A330-300"],
    "pricePrediction": { "prediction": "BUY", "daysHorizon": 30, "expectedPriceChange": 55 },
    "scrapedAt": "2026-11-06T21:14:36.564Z"
}
```

`recordType` tells the rows apart: `flight` (the base row), `no-flights` (a search that found no flight: free), and with the options `booking-option`, `search-summary` and `explore-destination`. A field that does not apply to a row is `null`.

You can download the dataset in various formats such as JSON, HTML, CSV or Excel.

#### All 96 fields

| Fields | What you get |
| --- | --- |
| `recordType`, `id`, `url` | **Row**: its type, a stable flight key (dates, flight numbers and cabin: `2026-12-06_LX639-LX18_economy`), the Kayak or Momondo page of the flight |
| `site`, `domain`, `searchUrl`, `searchOrigin`, `searchDestination` | **Search**: `kayak` or `momondo`, the country site (`www.kayak.com`), the search page and the codes it was made with (`PAR`, `NYC`) |
| `tripType`, `departureDate`, `returnDate`, `cabinClass`, `passengers`, `bagsRequested` | `one-way`, `round-trip` or `multi-city`, the dates, cabin, travelers and bags of the search |
| `priceMode`, `pageNumber`, `rank`, `resultId`, `searchId`, `flightId` | `per-person`, the results page and the position in Kayak's order, Kayak's ids; `flightId` = the flight of a seller row |
| `price`, `totalPrice`, `localizedPrice`, `currency`, `basePrice`, `sellerCurrency`, `cheapestPrice` | **Price** per traveler and for all travelers, as printed (`$660`), ISO currency; seller rows: the fare before fees and the seller's own currency; summary rows: the lowest price |
| `previousPrice`, `priceChange`, `priceChangePct` | with **Price changes**: the price delivered before, the change and the change in percent |
| `provider`, `providerCode`, `isAirline`, `providerQualityScore`, `providersCount`, `bookingOptionsCount`, `distinctFaresCount` | **Best offer**: the seller (`Thrive Travel`), its code, airline or agency, its quality score, the number of sellers, offers and fares |
| `fareName`, `fareAmenities`, `bookingUrl`, `bookingId`, `freeCancellation`, `isInstantBook` | the fare (`Economy Basic`) and what it includes, the booking link, free cancellation, instant booking |
| `carryOnBagFee`, `checkedBagFee`, `secondCheckedBagFee`, `checkedBagsIncluded`, `carryOnIncluded`, `baggagePolicy`, `baggagePolicyUrls` | **Bags**: fees (0 = included, `null` = not said), bags included, each airline's policy with sizes and weights, its baggage page |
| `isBest`, `isCheapest`, `isCheapestDirect`, `hasHackerFares`, `isSplitTicket`, `isSelfTransfer`, `hasSelfTransferProtection`, `hasAirportChange`, `isOvernight` | **Labels**: Kayak's Best, cheapest, cheapest nonstop, hacker fares, separate tickets, self transfer and its protection, airport change, overnight |
| `tripLengthDays`, `destinationCountry`, `destinationCountryCode`, `latitude`, `longitude`, `imageUrl`, `popularity`, `isPricePredicted` | **Explore** rows: trip length, country, map position, photo, popularity, a forecast price or a fare seen |
| `airline`, `airlineCode`, `airlines`, `operatedBy`, `flightNumbers`, `aircraft`, `airlineLogo` | **Flight**: `SWISS`, `LX`, every airline of the trip, the airlines that really fly it, `LX639`, the aircraft of each segment, the logo |
| `origin`, `originName`, `originCity`, `destination`, `destinationName`, `destinationCity` | **Route** of the first leg: `CDG`, `Paris Charles de Gaulle`, `Paris` → `EWR`, `Newark` |
| `departureTime`, `arrivalTime`, `arrivalDayOffset`, `durationMinutes`, `stops`, `layovers`, `legs` | **Times**: `2026-12-06T15:00` (local), days to arrival, travel time in minutes, stops, each layover, every leg with its segments and comfort (Wi-Fi, power, screen, seat, meal) |
| `pricePrediction` | **Price forecast**: `BUY`, `WAIT` (or `UNDECIDED` when Kayak has no advice), its horizon in days, the expected change |
| `priceBySort`, `priceRange`, `totalFlights`, `filteredFlights`, `airlinePrices`, `airportPrices`, `priceByStops` | **Search summary** rows: the best price for each sort, min / max / average, number of flights, the lowest price per airline, airport and number of stops |
| `scrapedAt` | ISO timestamp of the extraction |

### 💡 Tips

#### How to get more results

Set `maxItems` to `0`, use city codes (`PAR`, `LON`, `NYC` cover all the airports of the city), tick `includeNearbyAirports`, and widen the dates with `departureDateTo` or `flexibleDays`. Site filters that are not in the form can still be used: set them on Kayak, then paste the link into `startUrls`.

#### How to reduce costs

You pay per flight and per search read, so the levers are `maxItems`, `maxItemsPerQuery`, the filters (a flight a filter drops is not saved and not charged) and `onlyNew` for recurring runs (you never pay twice for the same flight). A search that returns many flights costs less per flight than many small searches. Leave the options off unless you need them.

#### Several searches in one run

Fill **More departure airports** (`origins`) and / or **More destinations** (`destinations`): the Actor runs one search per departure × destination × departure day (2 departures × 2 destinations over 7 days = 28 searches, up to 500 per run). **Routes** (`routes`), a **Multi-city trip** (`multiCityLegs`) and pasted links (`startUrls`) are added to them. A flight found by several searches is saved — and charged — once. Set `maxItemsPerQuery` to give every search its own cap: without it the first searches can use up the whole `maxItems` budget.

#### Monitoring: only the new flights, or the ones whose price moved

Tick **Only new flights** (`onlyNew`) and schedule the Actor. The first run returns everything; each later run skips the flights already delivered: they are not saved and not charged (the search itself is still one `flight-search`). Tick **Price changes** (`trackPriceChanges`) too, and a flight already delivered comes back when its price moved by at least the threshold (`priceChangeThreshold`, 3 % by default), with `previousPrice`, `priceChange` and `priceChangePct`. The memory lives in a named key-value store of your account (`kayak-flights-scraper-seen`, up to 150,000 flights per key) and is only updated with flights that really reached the dataset, so a failed run never hides anything. Give each schedule its own `stateKey` (two schedules sharing a key would hide each other's flights), and tick `resetState` once to start over.

#### Find the cheapest day or destination

Set `departureDateTo` to search every departure day of a range (max 60 days, each day its own search), or `flexibleDays` to get the days around one date in a single search. Tick **Search summary** for one row per search with the cheapest price, the best price for each sort and the cheapest airline and airport. Tick **Explore destinations** to get, for each departure code, the destinations Kayak suggests with their cheapest price and dates — the Kayak "Explore" map, as a table.

### 🔌 Integrations and API

Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.

### 🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the [Apify MCP server](https://mcp.apify.com), billed to their Apify account like any run. It returns one item per Kayak or Momondo flight. Actor id: `nice_dev/kayak-flights-scraper`; MCP server with this Actor only: `https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/kayak-flights-scraper`.

Smallest input, for a cheap first call:

```json
{
    "origin": "PAR",
    "destination": "NYC",
    "departureDate": "30 days",
    "maxItems": 10
}
```

Key output fields: `price`, `currency`, `airline`, `flightNumbers`, `departureTime`, `arrivalTime`, `stops`, `bookingUrl`.

Cost: pay per event — one `flight` per flight saved and one `flight-search` per search read, the options only when ticked; the prices are in the Pricing tab, see the pricing section above. Cap each call with `maxItems` and, through the API, with the run option `maxTotalChargeUsd`.

### ❓ FAQ

#### Is it legal to scrape Kayak and Momondo?

The Actor only reads what Kayak and Momondo show publicly to any anonymous visitor: flight prices and schedules. It logs in to nothing. The results hold no personal data (no traveler names, no accounts); personal data you would combine them with is protected by GDPR. You are responsible for using the data in compliance with the Terms of Use of Kayak and Momondo and with applicable law. This Actor is not affiliated with KAYAK or Momondo.

#### Does it need a login or a proxy?

No login. The proxy is included in the price: leave the default setting (the residential proxy is not available). A search the site does not answer is tried again from scratch, up to **Max request retries** times (3 by default).

#### Is the data safe to open in Excel or to show on a web page?

The rows hold codes, names of airlines, airports and sellers, prices, times and links, as Kayak and Momondo show them. On a test run of 40 flights, none of the 3,911 texts began with `-`, `+`, `=` or `@`, the signs that Excel and Google Sheets may read as a formula. The Actor leaves every text as it is, so that the JSON and the API give the real value. On a web page, escape every field like any text that comes from another site.

#### Known limitations

- Prices move all the time: each row is the price the site showed at `scrapedAt`.
- Momondo covers 32 of the 60 countries (Kayak 59): a Momondo search in another country is refused with a message that names the country.
- Every country site works the same way, but we checked the prices and their currency on the US, UK, Canadian, Australian, French and German sites. On another country (Momondo above all), check your first run: `currency` is always the one the site gave with the price.
- An airport code or a link the site does not know: the search waits for the site's answer (about 3 minutes a try, up to 12 minutes with the 3 retries by default) before it is marked as failed.
- `onlyNew` remembers each flight (dates, flight numbers and cabin) for one site, market, set of travelers and bags: the same flight searched for 2 adults instead of 1 is new again, and a flight whose price changed only comes back with `trackPriceChanges`.
- Two runs sharing the same `stateKey` at the same time may both return the same new flight.

**A run that reaches its timeout** stops itself about 45 seconds before it: no new search is started, what it read is saved and, with `onlyNew`, remembered, and the run ends *Succeeded* with "Stopped before the run's timeout". Resurrect it to go on from there, or give the next run a longer timeout (Run options).

**A run the platform stops without warning** (out of memory)

- Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the flights already saved are skipped: none is delivered or charged twice, and `maxItems` still counts them.
- With `onlyNew`, the memory is saved after each write (at most once every 2 seconds): resurrect the stopped run and the flights it had saved meanwhile join the memory; leave it stopped for good, and the next run may return the flights of its last 2 seconds once more.

#### Something doesn't work?

The last line of the log counts the flights saved and filtered out, and the searches that failed after every retry. Those searches are listed, with the reason, in the `FAILED_REQUESTS` record of the run's key-value store. A run that saved nothing and had failed searches fails, and its last message gives the cause.

If Kayak or Momondo change their pages, you are told instead of paying for blank rows. If the first 20 flights read all lack the same key field (airline, airports and their names, currency, seller, departure or arrival time, duration, legs or flight numbers), the run saves nothing more, stops and fails, and its last message names the missing field: at most those first flights are charged. A run of fewer flights (a scheduled `onlyNew` run that finds a few new ones, a small **Max flights**) is checked at its end, from 5 flights: its flights are already saved, and the run fails with the missing field instead of ending green.

### 🛟 Support

Open an issue in the **Issues** tab with a link to your run: the run log and the `FAILED_REQUESTS` record of the key-value store show exactly which searches failed and why.

# Actor input Schema

## `site` (type: `string`):

Search Kayak or Momondo (same flights engine). A pasted link keeps its own site.

## `origin` (type: `string`):

Departure airport or city, as a 3-letter IATA code (`CDG`, `JFK`) - a city code such as `PAR`, `NYC` or `LON` covers all its airports. Several codes separated by commas = one search per code.

## `origins` (type: `array`):

Several departure airports in one run, one IATA code per line (`ORY`, `BVA`). Added to **From**: every departure airport is searched to every destination (departure airports x destinations x dates max 500 searches).

## `destination` (type: `string`):

Arrival airport or city, as a 3-letter IATA code (`JFK`, `NYC`). Several codes separated by commas = one search per code.

## `destinations` (type: `array`):

Several destinations in one run, one IATA code per line. Added to **To**.

## `routes` (type: `array`):

Ready-made routes, each with its own dates if you want: `origin` and `destination` (IATA codes), optionally `departureDate` and `returnDate` (round trip; with a `departureDate` alone the route is one-way, or a round trip of the **Trip length** below). A route without dates uses the dates below. Added to the airports above; max 500 routes.

## `multiCityLegs` (type: `array`):

One multi-city trip: 2 to 6 flights in a row (Paris to New York, then New York to Los Angeles...), searched as ONE trip with one price for all legs, as the multi-city form of Kayak does. Each leg has `origin`, `destination` (IATA codes) and `date`. Added to the other searches of this form; the dates above are not used by it.

## `startUrls` (type: `array`):

Kayak or Momondo flight search links of any country, copied from the address bar (`https://www.kayak.com/flights/PAR-NYC/2027-09-15`, `https://www.momondo.de/flight-search/BER-PAR/2027-09-15`): their route, dates, passengers, cabin, sort and filters are kept as they are, and the Actor reads the full list of flights, not only the first page. Added to the searches of this form. Max 500 links.

## `departureDate` (type: `string`):

Outbound day: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = 30 days from the run date. Flights are sold up to about 11 months ahead.

## `departureDateTo` (type: `string`):

Search every departure day from **Departure date** to this day, each day being its own full search (max 60 days). A date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = the departure date only. To see neighbouring days in ONE search, use **Flexible days**.

## `returnDate` (type: `string`):

Return day of a round trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = one-way (unless **Trip length** is set). Prices of a round trip are for the whole trip, as on Kayak.

## `tripLengthDays` (type: `integer`):

Round trip of this many days after each departure day - handy with a date range or a saved task. Used when **Return date** is empty (also by a route that has a departure date and no return date). 0 = one-way.

## `flexibleDays` (type: `string`):

Kayak's flexible dates: one search also shows the flights of the days around the departure date (up to 3 days before and after). Each flight keeps its own date in `departureTime`.

## `includeNearbyAirports` (type: `boolean`):

Also search the airports near the departure airport (Kayak's `+ nearby airports` box). Each flight keeps its own airports in `origin` / `destination`.

## `adults` (type: `integer`):

Passengers aged 18 or more.

## `childAges` (type: `array`):

One line per child aged 2 to 17, with the age at the time of the flight (`11`, `5`); two children of the same age = two lines.

## `infantsInSeat` (type: `integer`):

Under 2, with their own seat.

## `infantsOnLap` (type: `integer`):

Under 2, on an adult's lap (at most one per adult).

## `cabinClass` (type: `string`):

Cabin searched.

## `maxStops` (type: `string`):

Most stops allowed.

## `airlines` (type: `array`):

Only these airlines, sent to Kayak with the search: 2-character IATA codes (`AF`, `DL`, `B6`). Empty = all airlines. For alliances, see **Alliances** in the filters.

## `carryOnBags` (type: `integer`):

Carry-on bags per passenger (0-1), sent to Kayak: prices then include the airline's fee for them - as with the Bags filter of Kayak.

## `checkedBags` (type: `integer`):

Checked bags per passenger (0-2), sent to Kayak: prices then include their fee.

## `market` (type: `string`):

Country site to search. It sets the Kayak / Momondo domain, so the currency of every price and the language of names (airports, comfort lines); fares and sellers can differ by market. Kayak has 59 country sites and Momondo 32 (the ones listed with a momondo domain; Estonia is Momondo only): a country without a site for the chosen **Site** is refused. A pasted link keeps its own domain.

## `sortBy` (type: `string`):

Order of the flights of each search, sent to Kayak. `Best` = Kayak's own order (its top flights first).

## `maxItems` (type: `integer`):

Most flights saved for the whole run (after filters). 0 = no limit. Kayak finds from a few dozen to several thousand flights per search and lists 50 per page; rows of the options are not counted here.

## `maxItemsPerQuery` (type: `integer`):

Most flights saved for each search (route x date), so that the first search cannot use up the whole **Max flights** budget. 0 = no limit per search.

## `includeSearchSummary` (type: `boolean`):

Add one row per search (`recordType` = `search-summary`): Kayak's buy / wait advice with its time horizon and expected price change, the best price for each sort (best, cheapest, fastest...), the price range, how many flights were found, and the airlines, airports and stop counts with their lowest price. Read from the page already loaded: no extra request. Charged per summary row, see Pricing.

## `includeBookingOptions` (type: `boolean`):

For every flight saved, add every place that sells the ticket - the airline and the travel agencies - one row each with its price, baggage fees, free cancellation, instant booking and booking link (`recordType` = `booking-option`). Read from the page already loaded: no extra request. Charged per seller row saved, see Pricing.

## `bookingOptionsPerFlight` (type: `integer`):

Used with **Booking options**: most sellers kept for each flight, cheapest first. 0 = all sellers (often 10 to 40 per flight).

## `includeExplore` (type: `boolean`):

For each departure airport or city, add the destinations Kayak Explore suggests with their cheapest price and dates (`recordType` = `explore-destination`) - to find where to go, not only how. Read from the Explore page of the origin in a session started only for this option: one page per departure code, not per date. Charged per destination saved, see Pricing.

## `maxExploreDestinations` (type: `integer`):

Used with **Explore destinations**: most destinations kept for each departure code, cheapest first (Kayak lists about 1 000 per origin). The **Explore filters** below apply first.

## `maxPrice` (type: `integer`):

Highest price per traveler (the `price` field, as Kayak shows it), in the currency of the market. 0 = no limit.

## `maxDurationMinutes` (type: `integer`):

Longest travel time of each leg, layovers included. 0 = no limit.

## `departureTimeFrom` (type: `integer`):

Earliest local departure hour of the first flight of the trip, 0-23. Empty = any.

## `departureTimeTo` (type: `integer`):

Latest local departure hour of the first flight of the trip, 1-24 (24 = midnight). Empty = any.

## `arrivalTimeFrom` (type: `integer`):

Earliest local arrival hour of the first leg, 0-23. Empty = any.

## `arrivalTimeTo` (type: `integer`):

Latest local arrival hour of the first leg, 1-24. Empty = any.

## `minLayoverMinutes` (type: `integer`):

Shortest connection allowed. 0 = no limit.

## `maxLayoverMinutes` (type: `integer`):

Longest connection allowed. 0 = no limit.

## `connectingAirports` (type: `array`):

Keep flights whose every connection is at one of these airports (IATA codes). Nonstop flights are kept.

## `excludeConnectingAirports` (type: `array`):

Drop flights with a connection at one of these airports.

## `excludeAirlines` (type: `array`):

Drop flights with a segment flown by one of these airlines (2-character IATA codes).

## `alliances` (type: `array`):

Keep flights flown by airlines of these alliances only (as the Alliances filter of Kayak). Empty = any airline.

## `excludeBasicEconomy` (type: `boolean`):

Drop basic economy fares (Kayak's `Hide basic tickets` filter): the cheapest fare of the flight is then the cheapest one that is not basic.

## `excludeRedEye` (type: `boolean`):

Drop the flights with a red-eye leg, outbound or return: a leg that takes off between 22:00 and 05:59, or lands before 06:00 (local times). This is the Actor's own rule: it does not give the same count as Kayak's `Red-eye flights` filter.

## `excludeAirportChange` (type: `boolean`):

Drop itineraries where a connection means changing airport (`hasAirportChange` = true).

## `wifiOnly` (type: `boolean`):

Keep flights that offer Wi-Fi on board (Kayak's Wi-Fi filter).

## `airlineDirectOnly` (type: `boolean`):

Count only the offers sold by the airline itself (Kayak's `Airlines only` seller filter): the price, seller and booking link of each flight are the airline's, and flights the airline does not sell on Kayak are dropped.

## `excludeKeywords` (type: `array`):

Drop flights whose airline, aircraft or airport names contain one of these words (case ignored).

## `exploreDepartureFrom` (type: `string`):

Earliest departure day of the suggested trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = any.

## `exploreDepartureTo` (type: `string`):

Latest departure day of the suggested trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = any.

## `exploreReturnFrom` (type: `string`):

Earliest return day of the suggested trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = any.

## `exploreReturnTo` (type: `string`):

Latest return day of the suggested trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = any.

## `exploreMinDays` (type: `integer`):

Shortest suggested trip, in days between departure and return. 0 = no limit.

## `exploreMaxDays` (type: `integer`):

Longest suggested trip, in days between departure and return. 0 = no limit.

## `exploreMaxPrice` (type: `integer`):

Highest price of a suggested destination, in the currency of the market. 0 = no limit.

## `exploreMaxStops` (type: `string`):

Most stops of the suggested flight.

## `exploreNorthEastLat` (type: `number`):

Map area filter, used only when the four map fields are filled: north-east corner latitude (-90 to 90). Keeps the destinations inside the rectangle (`latitude` / `longitude` of each row).

## `exploreNorthEastLng` (type: `number`):

North-east corner longitude of the map area (-180 to 180).

## `exploreSouthWestLat` (type: `number`):

South-west corner latitude of the map area (-90 to 90).

## `exploreSouthWestLng` (type: `number`):

South-west corner longitude of the map area (-180 to 180).

## `onlyNew` (type: `boolean`):

Skip the flights a previous run (same **Memory key**) already delivered: not saved, not charged. A flight = same dates, flight numbers and cabin. First run = everything is new.

## `trackPriceChanges` (type: `boolean`):

Needs **Only new flights**. A flight already delivered comes back when its price has moved by at least the threshold below since the run that delivered it, on the same site, market, travelers and bags: `previousPrice`, `priceChange` and `priceChangePct` are filled. Charged per flight that comes back as a price change, on top of the flight itself, see Pricing; a flight whose price did not move enough is skipped and costs nothing.

## `priceChangeThreshold` (type: `number`):

Used with **Price changes**: 3 means a price going from 100 to 103 or to 97.

## `stateKey` (type: `string`):

Name of the memory used by **Only new flights**. Give each schedule / task its own key (e.g. `par-nyc`). Letters, digits, `-` and `_`.

## `resetState` (type: `boolean`):

Forget the flights delivered under this **Memory key** before the run: this run returns (and charges) every flight again. Untick it afterwards.

## `proxyConfiguration` (type: `object`):

Apify Proxy or your own proxies. Keep the default: Apify Proxy, included in the price. The residential Apify proxy is not available in this Actor.

## `maxConcurrency` (type: `integer`):

Maximum number of searches processed in parallel, each in its own session. Raise the run memory when you raise this.

## `maxRequestsPerMinute` (type: `integer`):

Most requests to the site in any 60 seconds, all of them counted: search pages and result pages. Lower it if the log shows the site's robot check.

## `minRequestIntervalMs` (type: `integer`):

Smallest gap between two requests, in milliseconds. 0 = no gap.

## `maxRequestRetries` (type: `integer`):

Retries per search before it is marked as failed; each retry starts a fresh session.

## `debugLog` (type: `boolean`):

Include debug messages in the run log.

## Actor input object example

```json
{
  "site": "kayak",
  "origin": "PAR",
  "origins": [],
  "destination": "NYC",
  "destinations": [],
  "routes": [],
  "multiCityLegs": [],
  "startUrls": [],
  "tripLengthDays": 0,
  "flexibleDays": "0",
  "includeNearbyAirports": false,
  "adults": 1,
  "childAges": [],
  "infantsInSeat": 0,
  "infantsOnLap": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "airlines": [],
  "carryOnBags": 0,
  "checkedBags": 0,
  "market": "us",
  "sortBy": "best",
  "maxItems": 50,
  "maxItemsPerQuery": 0,
  "includeSearchSummary": false,
  "includeBookingOptions": false,
  "bookingOptionsPerFlight": 5,
  "includeExplore": false,
  "maxExploreDestinations": 50,
  "maxPrice": 0,
  "maxDurationMinutes": 0,
  "minLayoverMinutes": 0,
  "maxLayoverMinutes": 0,
  "connectingAirports": [],
  "excludeConnectingAirports": [],
  "excludeAirlines": [],
  "alliances": [],
  "excludeBasicEconomy": false,
  "excludeRedEye": false,
  "excludeAirportChange": false,
  "wifiOnly": false,
  "airlineDirectOnly": false,
  "excludeKeywords": [],
  "exploreMinDays": 0,
  "exploreMaxDays": 0,
  "exploreMaxPrice": 0,
  "exploreMaxStops": "any",
  "onlyNew": false,
  "trackPriceChanges": false,
  "priceChangeThreshold": 3,
  "stateKey": "default",
  "resetState": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 2,
  "maxRequestsPerMinute": 60,
  "minRequestIntervalMs": 0,
  "maxRequestRetries": 3,
  "debugLog": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "site": "kayak",
    "origin": "PAR",
    "destination": "NYC",
    "maxItems": 50,
    "includeSearchSummary": false,
    "includeBookingOptions": false,
    "includeExplore": false,
    "trackPriceChanges": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nice_dev/kayak-flights-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "site": "kayak",
    "origin": "PAR",
    "destination": "NYC",
    "maxItems": 50,
    "includeSearchSummary": False,
    "includeBookingOptions": False,
    "includeExplore": False,
    "trackPriceChanges": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nice_dev/kayak-flights-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "site": "kayak",
  "origin": "PAR",
  "destination": "NYC",
  "maxItems": 50,
  "includeSearchSummary": false,
  "includeBookingOptions": false,
  "includeExplore": false,
  "trackPriceChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nice_dev/kayak-flights-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/kayak-flights-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8mY6Keni7Rv09QVe2/builds/W9RqAw2pzUMEWUh5h/openapi.json
