SheetMagicSheetMagic

Google Flights Prices in Google Sheets, No Google Flights API Needed

Enter a route and a date to see flights with price, airline, times, stops and emissions. Install SheetMagic to get every flight as a row in Google Sheets.

Try

Results show here on the page, not in your inbox. Your email caps free runs per person. We send one email asking you to confirm it; nothing else comes unless you click it. Privacy policy

Free. Up to 5 results, in up to about a minute.

Your results

Run a search above. The rows land in this sheet.

RowAirlinePriceDuration (mins)DepartureArrivalFirst leg originFirst leg destinationTrip typeFlight numberTravel classFlightsLayoversAirline logoCarbon emissionsPrice insightsQuery
1
2
3
4
5

Install SheetMagic to get every result in Google Sheets

The same scraper runs from a formula in your sheet and writes every row there. The free plan includes 100 one-time scraping credits.

Free Google Flights scraper for Google Sheets, in short

Google does not offer a public Google Flights API. To get Google Flights prices into Google Sheets for free, search a route and date on this page to preview up to 5 flights. Then install the free SheetMagic add-on and type =GFLIGHTS("JFK", "LHR", "2027-09-14") in a cell. Each flight is written as a row in its own tab.

16 columns for every result

Each result is one row, with these columns in this order. Fields the source does not show stay blank.

  1. Airline
  2. Price
  3. Duration (mins)
  4. Departure
  5. Arrival
  6. First leg origin
  7. First leg destination
  8. Trip type
  9. Flight number
  10. Travel class
  11. Flights
  12. Layovers
  13. Airline logo
  14. Carbon emissions
  15. Price insights
  16. Query

From this page to your sheet

  1. 1. Search a route here

    Type where you fly from, where you fly to and the date, in plain words or airport codes. You see up to 5 flights on this page.

  2. 2. Install SheetMagic for free

    Add SheetMagic from the Google Workspace Marketplace and click Activate. No card is needed, and the free plan includes 100 one-time scraping credits.

  3. 3. Get every flight in Google Sheets

    Type =GFLIGHTS("JFK", "LHR", "2027-09-14") in a cell. The flights for that route land as rows in their own tab, with price, airline, times, stops and emissions.

Who uses it, and for what

Travel managers comparing fares for a team trip

Put one GFLIGHTS formula per departure city in a column, all for the same meeting date, and compare prices and travel times for everyone in one results tab.

Travel agents building quotes

Pull the flight options for a client's route and dates into a sheet, then sort by price or duration and copy the shortlist into your quote.

Watching a route before you book

Re-run the same search every few days and keep each result tab, so you can see how the price for your dates moves instead of checking Google Flights by hand.

The same thing, inside Google Sheets

GFLIGHTS takes a departure airport code, an arrival airport code, a departure date as YYYY-MM-DD, an optional return date for a round trip, and an optional cabin: "economy", "premium_economy", "business" or "first". It runs in the background and writes the flights to a new tab. Each search uses scraping credits. It's just a formula, so you never leave the sheet.

=GFLIGHTS("JFK", "LHR", "2027-09-14")
Type it in any cell once SheetMagic is installed.

Other ways to do it

Copying fares by hand from Google Flights
Fine for one trip. For several routes or dates it means retyping every price and time, and doing it again when fares change.
IMPORTXML
Free, but Google Flights builds its results with JavaScript, so IMPORTXML usually returns empty cells or errors instead of flights.
A Google Flights API
Google does not offer a public one. Flight data APIs from other companies exist, but they need an account, an API key and code of your own to get results into Sheets.
A fare alert or flight tracker app
Good for a notice when one route gets cheaper. Getting the full list of flights into your own spreadsheet still means copying it yourself.

Questions

Is this Google Flights scraper free?
Yes. Searching a route on this page is free and shows up to 5 flights. To get every flight in Google Sheets you install the free SheetMagic add-on, whose free plan includes 100 one-time scraping credits. Each search uses scraping credits, so frequent or large searches need a paid plan.
Is there an official Google Flights API?
No. Google does not offer a public Google Flights API. This tool is an alternative: it reads the flights Google Flights shows for a route and date, and SheetMagic writes them into your sheet. You need no API key, account or code.
Is it allowed to scrape Google Flights?
This tool reads the flight results Google Flights shows publicly to anyone who searches, without logging in. It does not access accounts, bookings or private data. How you reuse the data is up to you, so check Google's terms before republishing it.
What data do I get for each flight?
One row per flight with the airline, price, total duration in minutes, departure and arrival, the first leg's origin and destination, trip type, flight number, travel class, the flight legs, layovers, airline logo, carbon emissions, Google's price insights and the search it came from.
How do I get Google Flights data into Google Sheets?
Install SheetMagic from the Google Workspace Marketplace and click Activate. Then type =GFLIGHTS("JFK", "LHR", "2027-09-14") in a cell. The formula runs in the background, and the flights are written as rows in their own tab.
What are the limits?
This page shows up to 5 flights per search. Dates must be today or later, since past dates return no flights. Searches are one way, or round trip when you add a return date. Multi-city trips are not supported, and prices are what Google Flights shows at the time you search.
Can I search several destinations at once?
Yes. In Google Sheets, put a GFLIGHTS formula in each row with a different destination and drag it down. The flights for every row are collected into one results tab, with a column showing which cell asked for each flight.

Free plan

100scraping credits, one time

Run the full Google Flights scraper in Google Sheets.

Install SheetMagic from the Google Workspace Marketplace. No card, no separate account, and no deadline on the free allowance.