Kayak Scraper avatar
Kayak Scraper

Pricing

Pay per usage

Go to Apify Store
Kayak Scraper

Kayak Scraper

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Richard Kim

Richard Kim

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

This Apify actor is designed to scrape flight data from Kayak.com using Playwright. It is built with a focus on ease of use and provides structured output, mimicking the input and output patterns of a typical flight scraper for consistency.

Features

  • Flight Search: Scrapes one-way or round-trip flight information based on specified origin, destination, and dates.
  • Playwright Integration: Utilizes Playwright for robust browser automation, handling dynamic content and potential anti-bot measures.
  • Structured Output: Delivers clean, JSON-formatted flight data.

Usage

The actor requires an input object, defined by input_schema.json. This schema specifies the parameters for your flight search.

Input Configuration

The input_schema.json file outlines all available input fields. Key parameters include:

  • origin (string, required): 3-letter IATA code for the departure airport (e.g., 'JFK').
  • destination (string, required): 3-letter IATA code for the arrival airport (e.g., 'LAX').
  • departure_date (string, required): The desired departure date in YYYY-MM-DD format.
  • return_date (string, optional): The return date for a round trip in YYYY-MM-DD format. Leave empty for one-way.
  • passengers (object, optional): Number of adult, child, and infant passengers. Defaults to 1 adult.
  • seat (string, optional): Cabin class (economy, premium economy, business, first). Defaults to economy.

For a complete list of input options and their descriptions, refer to input_schema.json.

Output Example

The actor pushes results to the Apify dataset. Each item in the dataset represents a found flight and typically includes:

[
{
"price": 559,
"currency": "USD",
"provider": "DL",
"bookingUrl": "...",
"legs": [
{
"origin": "JFK",
"destination": "LAX",
"departureTime": "...",
"arrivalTime": "...",
"duration": "...",
"stops": 0,
"segments": [...]
}
]
}
]

(Note: Actual fields and their exact values may vary based on Kayak's response and the parser logic.)

Notes

More functionalities are to be updated.