Kayak Flights Scraper avatar

Kayak Flights Scraper

Pricing

from $6.00 / 1,000 flight founds

Go to Apify Store
Kayak Flights Scraper

Kayak Flights Scraper

Scrape Kayak flight search results by route and dates: price, booking site, airline-direct flag, airlines, stops, duration, baggage fees, fare options and booking links for each itinerary.

Pricing

from $6.00 / 1,000 flight founds

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

9

Total users

5

Monthly active users

5 days ago

Last modified

Share

What is Kayak Flights Scraper?

Kayak Flights Scraper returns one dataset row per flight itinerary from Kayak for the route and dates you choose. Each row has the price, the booking site offering it, whether the airline sells direct, airlines, stops, total duration, departure and arrival times, baggage rules and fees, fare options, legs and segments, and the Kayak booking link. Travel agencies, fare analysts, travel managers and AI agents use it to compare fares and track prices, with no Kayak account.

Why travel teams use it for fares

  • Every booking option. Airline-direct and online-agency prices for each itinerary, with totalBookingOptions.
  • Baggage costs. Carry-on and checked-bag inclusion plus the checked-bag fee, so cheap fares are comparable.
  • Full itinerary. Legs, segments, airlines, stops and duration in every row.
  • Simple routes. Airport or city codes such as LAX, NYC or LON; leave the dates empty to search a week-long trip a month out.
  • Flexible search. Cabin class, passengers, sort order, stop limit and airline-direct-only.

How to use it

Cheapest round trips New York to London in December:

{
"origin": "NYC",
"destination": "LON",
"departureDate": "2026-12-10",
"returnDate": "2026-12-17",
"sortMode": "price_a",
"maxResults": 25
}

Non-stop business-class options, dates chosen automatically:

{
"origin": "JFK",
"destination": "LAX",
"cabinClass": "business",
"maxStops": 0,
"maxResults": 10
}
InputWhat it controls
origin, destinationAirport or city codes such as LAX, JFK, NYC, LON
departureDate, returnDateTravel dates; leave returnDate empty for one-way, or both empty for a week-long trip departing 30 days from today
adultsPassengers, 1 to 9 (default 1)
cabinClasseconomy (default), premium_economy or business
sortModebestflight_a (default), price_a, duration_a, depart_a, arrive_a
maxStops, airlineDirectOnlyStop limit and airline-direct offers only
startUrlsKayak flight search URLs you already have
maxResultsMost itineraries to save (default 50)

Output: flight data you receive

A real row from a LAX–SFO search (booking options, legs and segments shortened):

{
"recordType": "flight",
"rank": 2,
"searchOrigin": "LAX",
"searchDestination": "SFO",
"departureDate": "2026-11-01",
"returnDate": "2026-11-08",
"tripType": "roundtrip",
"cabinClass": "economy",
"passengerCount": 1,
"price": 76,
"currency": "USD",
"priceFormatted": "$76",
"providerName": "Cheapflightsfares",
"isAirlineDirect": null,
"freeCancellation": true,
"airlineCodes": ["F9"],
"airlines": ["Frontier"],
"stops": 0,
"durationMinutes": 179,
"departureTime": "2026-11-01T08:44:00",
"arrivalTime": "2026-11-08T10:46:00",
"carryOnIncluded": false,
"checkedBagIncluded": false,
"checkedBagFee": 166,
"totalBookingOptions": 3,
"bookingUrl": "https://www.kayak.com/book/flight?code=uUECJFOos-...",
"shareableUrl": "https://www.kayak.com/flights/LAX-SFO/2026-11-01/2026-11-08/fc320c368a75fb79ba10ea6b1ca5131b5?viewRank=1",
"scrapedAt": "2026-10-02T14:24:29.102Z"
}
FieldWhat it contains
price, currency, providerName, isAirlineDirect, totalBookingOptionsBest offer and who sells it
airlines, airlineCodes, stops, durationMinutes, departureTime, arrivalTimeThe itinerary
carryOnIncluded, checkedBagIncluded, checkedBagFeeBaggage rules and cost
bookingOptions, fareOptions, legs, segmentsAll offers, fare families and flight-by-flight detail
freeCancellation, hasHackerFaresFlexibility and split-ticket flags
bookingUrl, shareableUrl, searchUrlLinks to book or reopen the search

OUTPUT reports the outcome, flights saved and the dates searched when they were chosen automatically.

Example workflow: a fare watch for a sales trip

A travel manager tracks fares for a team trip from Chicago to San Francisco. Every Monday they collect price_a results for the trip dates and record the lowest price with checkedBagFee added, by airline. When the total drops, they book. They continue with Kayak Car Rental Scraper for car prices at the destination.

Pricing

Startup billing and empty runs

The apify-actor-start event costs $0.00005 per startup unit. Apify charges one startup unit per GB of allocated memory, with a minimum of one unit, so a 2 GB run incurs two units. This startup charge still applies when input is invalid, no results are found, or an upstream request fails. Statements about free, unbilled, or skipped results refer only to the corresponding result event; they do not waive the startup charge. Apify platform usage is charged separately according to the run resources and your plan. Check the live Pricing tab for current events, tiers, and rates. Result limits cap result events, not the entire run cost.

This Actor uses Pay per event plus Apify platform usage. You pay a small start event and one event per itinerary saved, plus the platform usage of the job. The live Pricing tab on this page shows the current price.

  • 1 route with maxResults 25 = up to 25 flight events + platform usage.
  • maxStops and airlineDirectOnly filters reduce the rows saved and charged.
  • maxResults is the cost ceiling for the whole job.

Flight fares with AI agents (MCP)

Connect this Actor to an AI agent through Apify MCP and ask in plain language:

Find the three cheapest non-stop flights from Boston to Denver on 10 December, returning 14 December, including checked bag fees.

Agent checklist:

  1. Set origin, destination and the dates from the request.
  2. Use sortMode: "price_a" for "cheapest" and maxStops: 0 for "non-stop".
  3. Keep maxResults small for chat answers.
  4. Read rows with get-dataset-items and add checkedBagFee when bags matter.

API example

curl -X POST "https://api.apify.com/v2/acts/khadinakbar~kayak-flights-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"origin": "BOS", "destination": "DEN", "departureDate": "2026-12-10", "returnDate": "2026-12-14", "sortMode": "price_a", "maxResults": 10}'
Your next stepUseWhy
When you then need a car at the destinationKayak Car Rental ScraperRental offers with prices and policies
When you compare fares on GoogleGoogle Flights ScraperGoogle Flights itineraries and prices
When you then price hotels for the same datesHotels.com ScraperHotel prices and ratings

Best results

Starting situationHelpful actionExpected outcome
Comparing true costAdd checkedBagFee to priceLike-for-like fares
Flexible airportsUse city codes such as NYC or LONAll airports in that city
Airline loyaltyTurn on airlineDirectOnlyOffers sold by the airline
A search already set upPaste the Kayak URL in startUrlsThe same results as on Kayak

Builder's note

I found that the cheapest fare on a results page is often the most expensive trip once bags are added, so baggage inclusion and fees sit next to the price in every row. I learned that saved example inputs with fixed dates go out of date, so leaving the dates empty searches a week-long trip a month ahead.

FAQ

Do I need a Kayak account?

No. The Actor reads Kayak's public flight results.

Can I search one-way flights?

Yes. Leave returnDate empty.

Which codes work for origin and destination?

IATA airport codes such as LAX or LHR, and Kayak city codes such as NYC, LON or CHI.

What happens with a past date?

The job ends with an INVALID_INPUT outcome and no result-event charge; use today or a later date.

Are prices per person?

Prices follow Kayak's display for the passenger count in adults.

Responsible use

This Actor collects publicly visible Kayak flight results. Use the data for fare research and travel planning, and follow Kayak's terms and the laws that apply to you. Read Apify's guide on whether web scraping is legal for more context. KAYAK is a trademark of KAYAK Software Corporation. This independent Actor is not affiliated with, associated with, or endorsed by KAYAK. For questions or bugs, open a ticket in the Issues tab.