Kayak Flights Scraper
Pricing
from $0.40 / 1,000 flight rows
Kayak Flights Scraper
Scrape KAYAK flight prices for many routes and dates in one run: every airline's and travel site's price per itinerary, fares, bags, flight numbers, times, stops, layovers and booking links. 27 KAYAK country sites, all cabins.
Pricing
from $0.40 / 1,000 flight rows
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Scrape flight prices from KAYAK as clean JSON, CSV or Excel. For every route and date you get the itineraries KAYAK finds, with the price from every airline and travel site that sells each one (KAYAK's meta-search comparison), fare names, bag rules, booking links, airlines, flight numbers, times, duration, stops, layovers and aircraft.
Run one search or a batch of routes and dates in one run, on 27 KAYAK country sites (kayak.com, kayak.co.uk, kayak.de, ca.kayak.com, kayak.com.au and more), in economy, premium, business or first. No KAYAK account and no API key needed.
What does Kayak Flights Scraper do?
Give it a route (JFK → LAX) and a date, a list of routes and dates, or paste KAYAK results links. For each search it runs the same search the KAYAK website runs, waits until KAYAK has collected prices from all its partners, and saves the results:
- one row per itinerary (default): the cheapest price and the site selling it, plus a
bookingOptionslist with every airline and travel site that sells the same flights, each with its own price, fare name, bag rules and booking link; - or one row per booking site when you switch on One row per booking provider, for spreadsheet comparisons;
- outbound and return flights with airline, flight number, airports, local times, duration, layovers, aircraft and cabin;
- KAYAK's own Best and Cheapest flags and the rank of each itinerary in the results.
Who is Kayak Flights Scraper for?
- Travel agencies and OTAs: see which agencies undercut you on the routes you sell, every day.
- Fare monitoring and price-alert products: track the cheapest fare per route and date over time.
- Airline revenue management and pricing teams: watch competitor fares, stop patterns and the gap between airline-direct and agency prices.
- Corporate travel managers: benchmark negotiated fares against public prices.
- Travel bloggers and deal sites: find the cheapest days and booking sites for popular routes.
- Researchers and analysts: study fare dispersion between booking sites, markets and cabins.
Why use this KAYAK scraper?
- Every booking site's price in one row. KAYAK compares airlines and dozens of travel sites; each itinerary row keeps all of their prices, not just the cheapest.
- Batch runs. Many routes and dates in one run, each searched in parallel after one browser session per KAYAK site.
- 27 KAYAK country sites. The site decides the currency and which local agencies appear.
- Paste KAYAK links. Route, dates, cabin, passengers and sort are read from the link.
- Filters that fill the limit. With Max stops or Airlines set, the Actor reads more KAYAK pages until it has as many matching itineraries as you asked for.
- Honest status and charges. The run says how many rows it saved and why it stopped. Empty searches and invalid input cost nothing.
What data can you extract from KAYAK?
| Field | Example | Notes |
|---|---|---|
price | 167 | Per person, as KAYAK shows it. Round trip: both directions |
totalPrice | 501 | All travellers |
currency, priceText | EUR, 167 € | Set by the KAYAK site |
providerName, providerType | Expedia, travel site | Who sells the fare: airline or travel site |
fareName | Economy Basic | Fare brand when KAYAK shows one |
carryOnBag, checkedBag | included, fee | included, fee, not included or unknown |
bookingOptions[] | provider, price, fare, bags, link | Every booking site for the itinerary (default mode) |
providerCount | 17 | Booking sites selling the itinerary |
airlines, airlineCodes | ["Lufthansa"], ["LH"] | |
flightNumbers | ["LH1128"] | Outbound then return |
departAt, arriveAt | 2026-12-18T11:00:00 | Local times |
durationMinutes, stops, layoverAirports | 120, 0, [] | Outbound |
returnDepartAt, returnArriveAt, returnDurationMinutes, returnStops | Round trips | |
aircraft, cabin | ["Airbus A321neo"], Business | |
legs[] | segments, layover minutes | Full detail of each direction |
isBest, isCheapest, rank | true, false, 1 | KAYAK's flags and position in KAYAK's full results list. With Max stops or Airlines set, rank keeps KAYAK's position, so the first row can have rank 7 |
bookingUrl, itineraryUrl, searchUrl | KAYAK links | Booking redirect, itinerary page, results page. bookingUrl is empty on KAYAK split bookings (separate one-way tickets with no single booking link); open itineraryUrl for those |
How much does it cost to scrape KAYAK flight prices?
Pay per result, no monthly rental. You pay a fee per run, which covers opening the KAYAK session, and a fee per saved flight row:
| Event | Free | Bronze | Silver | Gold, Platinum, Diamond |
|---|---|---|---|---|
| Run started (once per run) | $0.05 | $0.05 | $0.05 | $0.05 |
| Flight row saved | $0.0005 | $0.0005 | $0.00045 | $0.0004 |
That is $0.50 per 1,000 rows on the Free plan and $0.40 per 1,000 on Gold. Each row in the default mode already holds every booking site's price for the itinerary.
Examples on the Free plan, with the default one row per itinerary:
- 1 route and date, 15 itineraries: about $0.058
- 1 route and date, 50 itineraries: about $0.075
- 10 routes × 50 itineraries in one run: about $0.30
- 30 dates on one route × 20 itineraries (daily fare tracking): about $0.35
The run fee is the same for 1 search or 200, so batching routes and dates into one run is the cheapest way to track fares.
With One row per booking provider switched on, an itinerary gives one row per booking site (usually 3 to 30), so the same search costs several times more. A search with no results is not charged, and a run that fails on bad input costs nothing. Set Max charge per run in Apify to cap spending.
How to scrape KAYAK flights
- Open the Actor and enter From and To as airport codes (
JFK,LHR) or KAYAK city codes (NYC,LON). - Pick a Departure date and, for a round trip, a Return date.
- Optionally add more searches in Routes (batch) or paste KAYAK search links.
- Choose the KAYAK country site, cabin and travellers.
- Click Start. A first search takes about 30 to 60 seconds, including opening the KAYAK session; more searches run in parallel.
- Open the Flights table, or export JSON, CSV or Excel.
Input parameters
| Parameter | What it does |
|---|---|
origin, destination | 3-letter airport or city code. |
departureDate, returnDate | YYYY-MM-DD. Empty return = one-way. |
routes | More searches: {origin, destination, departureDate, returnDate} each. Up to 200 searches per run. |
searchUrls | KAYAK results links; site, route, dates, cabin, adults, children and sort come from the link. |
kayakSite | KAYAK country site, e.g. kayak.com, kayak.co.uk, kayak.de, ca.kayak.com. |
cabinClass | economy, premium, business, first. |
adults, children | 1 to 9 adults, 0 to 8 children (age 2 to 11), 9 travellers at most. |
sortBy | best (KAYAK default), price or duration. Decides which itineraries come first. |
maxItinerariesPerSearch | Itineraries per search, default 50, up to 500. |
rowPerProvider | Off (default): one row per itinerary with all booking options inside. On: one row per booking option. |
maxStops | any, 0 (nonstop), 1, 2. Applies to each direction. |
airlines | 2-letter airline codes; keeps itineraries with at least one flight by these airlines. |
Example, a family round trip in business on KAYAK UK:
{"kayakSite": "kayak.co.uk","origin": "LON","destination": "NYC","departureDate": "2027-01-17","returnDate": "2027-01-24","cabinClass": "business","adults": 2,"children": 1,"sortBy": "price","maxItinerariesPerSearch": 30}
Daily fare tracking for several dates and routes:
{"routes": [{ "origin": "ORD", "destination": "MIA", "departureDate": "2026-12-18" },{ "origin": "ORD", "destination": "MIA", "departureDate": "2026-12-19" },{ "origin": "SFO", "destination": "SEA", "departureDate": "2026-12-18", "returnDate": "2026-12-22" }],"maxItinerariesPerSearch": 20,"maxStops": "0"}
Output example
One itinerary row from kayak.co.uk (shortened: one leg and two booking options shown, links cut):
{"origin": "LON","destination": "NYC","departureDate": "2027-01-17","returnDate": "2027-01-24","tripType": "round-trip","rank": 27,"price": 2703,"totalPrice": 8107,"currency": "GBP","priceText": "£2,703","providerCode": "TRAVCART","providerName": "Travcart","providerType": "travel site","fareName": "Mint","isCheapestOption": true,"providerCount": 7,"airlines": ["JetBlue"],"airlineCodes": ["B6"],"flightNumbers": ["B620","B67"],"departAt": "2027-01-17T12:20:00","arriveAt": "2027-01-17T15:52:00","durationMinutes": 512,"stops": 0,"layoverAirports": [],"returnDepartAt": "2027-01-24T21:10:00","returnArriveAt": "2027-01-25T09:30:00","returnDurationMinutes": 440,"returnStops": 0,"aircraft": ["Airbus A321neo"],"cabin": "Business","carryOnBag": "included","checkedBag": "included","isBest": false,"isCheapest": false,"legs": [{"origin": "LHR","destination": "JFK","departAt": "2027-01-17T12:20:00","arriveAt": "2027-01-17T15:52:00","durationMinutes": 512,"stops": 0,"layoverAirports": [],"layoverMinutes": [],"segments": [{"airlineCode": "B6","airline": "JetBlue","flightNumber": "B620","origin": "LHR","destination": "JFK","departAt": "2027-01-17T12:20:00","arriveAt": "2027-01-17T15:52:00","durationMinutes": 512,"aircraft": "Airbus A321neo","cabin": "Business"}]}],"bookingUrl": "https://www.kayak.co.uk/book/flight?code=vGGCCn7gC4.HcI-hMJ5...","bookingOptions": [{"providerCode": "TRAVCART","providerName": "Travcart","providerType": "travel site","price": 2703,"totalPrice": 8107,"currency": "GBP","priceText": "£2,703","fareName": "Mint","carryOnBag": "included","checkedBag": "included","bookingUrl": "https://www.kayak.co.uk/book/flight?code=vGGCCn7gC4.HcI-hMJ5..."},{"providerCode": "CHECKNFLY","providerName": "ChecknFly","providerType": "travel site","price": 3105,"totalPrice": 9315,"currency": "GBP","priceText": "£3,105","fareName": "Mint","carryOnBag": "included","checkedBag": "included","bookingUrl": "https://www.kayak.co.uk/book/flight?code=vGGCCn7gC4.BOXK_LsO..."}],"itineraryUrl": "https://www.kayak.co.uk/flights/LON-NYC/2027-01-17/2027-01-24/business/fa24ae32a9681bc21915a30413a4a5afa/2adults/children-11?viewRank=35","searchUrl": "https://www.kayak.co.uk/flights/LON-NYC/2027-01-17/2027-01-24/business/2adults/children-11?sort=price_a","kayakSite": "kayak.co.uk","adults": 2,"children": 1,"cabinClass": "business","itineraryId": "a24ae32a9681bc21915a30413a4a5afa","scrapedAt": "2026-11-18T08:29:26.071Z"}
Tips and limits
- Times are local at each airport, as on KAYAK. Durations are in minutes.
- Prices are what KAYAK shows at run time. The booking site sets the final price, and some add bag or payment fees.
- City codes cover every airport of a city (
LONincludes Heathrow, Gatwick, Stansted, Luton and City). - Fare names and bag rules appear when KAYAK shows them for that fare; otherwise they are
null. - Limits: up to 200 searches per run and 500 itineraries per search. With filters the Actor reads at most 10 KAYAK pages (500 itineraries) per search.
- Failures: a bad code, a past date or an unsupported KAYAK site stops the run at once with a clear message and no charge. If KAYAK refuses one search, the others go on, saved rows are kept and the status names the failed search.
- Multi-city trips are not supported yet; search each leg as its own route.
Scheduling fare monitoring
- Save your input as an Apify Task, with your routes and dates in Routes (batch).
- Add a Schedule, for example every morning at 06:00.
- Keep
maxItinerariesPerSearchsmall (10 to 20) and sort bypricefor a cheap daily tracker. - Send each run's dataset to Google Sheets, a webhook or your database, and compare
priceby route, date andproviderNameover time.
Integrations
- Google Sheets, Excel, CSV: export the Flights view directly.
- Make, Zapier, n8n: start a flow when a run succeeds and read the dataset.
- Webhooks: post the dataset link to your backend after each run.
- Data warehouses: load the JSON with
legsandbookingOptionsas nested records.
Use the KAYAK scraper with the API
cURL:
curl -X POST "https://api.apify.com/v2/acts/automation-lab~kayak-flights-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"origin":"JFK","destination":"LAX","departureDate":"2027-01-20","maxItinerariesPerSearch":20}'
JavaScript:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('automation-lab/kayak-flights-scraper').call({origin: 'JFK',destination: 'LAX',departureDate: '2027-01-20',sortBy: 'price',});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items[0].price, items[0].providerName, items[0].bookingOptions.length);
Python:
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("automation-lab/kayak-flights-scraper").call(run_input={"kayakSite": "kayak.de","origin": "FRA","destination": "BCN","departureDate": "2027-01-20","maxStops": "0",})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row["flightNumbers"], row["price"], row["currency"], row["providerName"])
Use with AI agents through MCP
Connect this Actor to Claude, Cursor, VS Code or any MCP client through the Apify MCP server.
Claude Code:
claude mcp add --transport http apify \"https://mcp.apify.com?tools=automation-lab/kayak-flights-scraper"
Claude Desktop, Cursor or VS Code (JSON config):
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=automation-lab/kayak-flights-scraper"}}}
The Actor-specific URL also adds the run and dataset helper tools. A search can take longer than one call-actor wait, so keep the returned run ID and check that same run until it finishes, then read the dataset in pages (for example 20 rows at a time) with only the fields you need, such as price, providerName, flightNumbers, departAt.
Example prompts:
- "Find the 10 cheapest KAYAK flights from New York to Los Angeles on 20 January and list who sells each one."
- "Compare business class prices London to New York on kayak.co.uk for 17 to 24 January."
- "Which booking site is cheapest for nonstop Frankfurt to Barcelona flights next Friday on kayak.de?"
Data handling and privacy
The Actor does not call an AI model and collects no personal data. It sends only your routes, dates, cabin and traveller counts to KAYAK. Results stay in your Apify run storage and follow your account's retention settings.
Failed operations send sanitized diagnostic input, exceptions and Actor/build/run IDs to our private GlitchTip service for repair. Secret fields and URL query strings are removed; reports are retained for 30 days.
Is it legal to scrape KAYAK?
This Actor collects publicly visible flight prices and schedules, the same data any visitor sees on KAYAK without logging in. It collects no personal data. Make sure your use complies with KAYAK's terms and the laws that apply to you, especially if you republish the data commercially. This Actor is not affiliated with or endorsed by KAYAK. When in doubt, consult a lawyer.
FAQ
How fresh are the prices? Each search is a live KAYAK search at run time. KAYAK may reuse very recent partner answers from its own cache.
Why is the price different on the booking site? Airlines and travel sites change prices often, and some add fees for bags or payment. Always confirm on the booking site.
Why did I get fewer itineraries than my limit? KAYAK found fewer for that route and date, or your Max stops or Airlines filter matched fewer within 10 pages of results. The run status says how many rows were saved.
A search failed with a KAYAK bot check. What now? The Actor already retries with fresh sessions and switches to residential connections. Run it again a few minutes later; you only pay for saved rows.
Can I search a price calendar or flexible dates? Not as one KAYAK request. Put each date you care about in Routes (batch); they run in parallel in one run.
Which currency do I get? The currency of the KAYAK site you choose, for example USD on kayak.com, GBP on kayak.co.uk and EUR on kayak.de.
Related Actors
- Skyscanner Flight Price Scraper: flight prices from Skyscanner with every agent's price and a price calendar.
- Google Flights Scraper: flight prices from Google Flights.
- Ryanair Scraper: Ryanair fares and cheapest routes.