Google Flights avatar
Google Flights
Try for free

3 days trial then $12.00/month - No credit card required now

View all Actors
Google Flights

Google Flights

canadesk/google-flights
Try for free

3 days trial then $12.00/month - No credit card required now

Find the cheapest deals with Google Flight. It's fast and costs little!

🛑 Use IATA codes (Get Flights by Airport IATA) for improved performance.

🎉 Explore mode and more filters coming soon!

Features

  • Search Airports

    Returns details for the Departure and (first) Arrival Airport.

  • Get Flights by Airport name

    Returns the Best Flights list (one-way or round trip) from Google Flights. You can use either a name or IATA code.

  • Get Flights by Airport IATA

    Returns the Best Flights list (one-way or round trip) from Google Flights. You MUST use only IATA codes.

How It Works

[Input]

1{
2    operation: select,
3    departureIATA: string,           // Keyword or IATA Airport Code
4    arrivalIATA: array,              // Keyword or IATA Airport Code
5    departureDate: string,           // Start of the departure date range
6    departureDateRng: string,        // End of the departure date range - leave empty for exact departure date
7    arrivalDate: string,             // Start of the return date range
8    arrivalDateRng: string,          // End of the return date range - leave empty for exact return date
9    stops: select,
10    currency: select,
11    retries: integer,
12    delay: integer
13}

[Output]

1{
2	"departureAirport": "Los Angeles International Airport",
3	"arrivalAirport": "Harry Reid International Airport",
4	"currency": "CAD",
5	"price": 60,
6	"details": {
7		"airlines": {
8			"name": [
9				"Alaska"
10			]
11		},
12		"legs": [
13			{
14				"departureAirport": "LAX",
15				"departureTime": "2024-03-17T07:20:00-07:00",
16				"arrivalAirport": "LAS",
17				"arrivalTime": "2024-03-17T08:35:00-07:00",
18				"airlineName": "AS",
19				"flightNumber": "702",
20				"aircraftNumber": "73J"
21			}
22		],
23		"duration": "01:15"
24	},
25	"departureDate": "2024-03-18",
26	"returnDate": false
27}

Troubleshooting

  • You can find the list of existing IATA codes at https://en.wikipedia.org/wiki/Lists_of_airports_by_IATA_and_ICAO_code.

  • You can have exactly one Departure airport, but multiple Arrival airports. This is useful to check multiple destinations at once.

  • Date Ranges repeat the initial request with different dates. The longer the range, the longer the run and the higher the chances of getting blocked.

  • For exact dates, fill out the non-Range date inputs. Otherwise, also set the Range inputs to find out the cheapest flight throughout the month.

  • Exact prices cannot always be fetched. In that case, the final amount is converted from EUR to your selected currency and may vary slightly from Google's quote.

  • The returned Google Search URL does not support "Premium Economy". As a result, you have to switch from Economy to Premium manually after navigation.

Support

Always use a proxy and wait enough between requests (Delay input). The more airports, flights and dates you want to check, the more likely you are to get blocked.

Open a new issue for bugs and feature requests. We can only help if you provide your Run URL ("Share" button)!

Cheers! 🎈

Developer
Maintained by Community
Actor metrics
  • 8 monthly users
  • 73.8% runs succeeded
  • 0.2 days response time
  • Created in Jan 2024
  • Modified about 2 months ago