Travel data

Google Flights API: every itinerary for a route, as JSON

Send a route and date over HTTP and get back every itinerary Google Flights shows: price and price level, airline and flight numbers, layovers, aircraft, CO2 and booking options with seller prices. Batch routes, price calendars and multi-city trips are supported.

★ 5.0 rating · 1 reviews8 users96.4% successful runs (30 days)

What data you get

priceFare for the itinerary
priceLevelGoogle's low / typical / high verdict
airline / flightNumberCarrier and flight numbers
stops / layoversNumber of stops and layover airports
aircraftAircraft type
co2Estimated emissions
bookingOptionsSellers and their prices
priceCalendarOptional lowest fare per departure date

How it works

  1. Open the scraper on Apify and sign up (free).
  2. Enter routes, dates and options in the form.
  3. Click Start and download results as JSON, CSV or Excel, or call the API.

Pricing

$0.20 per 1,000 rows

You pay per row returned. There is no fee per request, per run or per search.

Apify gives $5 free credits every month — enough to test this scraper at no cost.

Example tasks

Ready-made inputs. Copy one into the scraper form or send it through the API.

Cheapest flights Singapore to Tokyo via API

Up to 50 itineraries sorted by price.

{
  "origin": "SIN",
  "destination": "NRT",
  "departureDate": "2027-03-10",
  "sortBy": "price",
  "maxResults": 50
}
Run this task →

New York to London round trip with booking sellers

Seller prices for the top 5 flights.

{
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "2027-04-12",
  "returnDate": "2027-04-20",
  "resolveBookingOptions": true,
  "maxBookingResolutions": 5
}
Run this task →

Multi-city Singapore, Bangkok, Phuket flight search

Two legs priced as one trip.

{
  "origin": "SIN",
  "departureDate": "2027-05-01",
  "multiCityLegs": [
    {
      "origin": "SIN",
      "destination": "BKK",
      "date": "2027-05-01"
    },
    {
      "origin": "BKK",
      "destination": "HKT",
      "date": "2027-05-05"
    }
  ]
}
Run this task →

Nonstop business class Paris to Dubai in EUR

Direct business-class flights only.

{
  "origin": "CDG",
  "destination": "DXB",
  "departureDate": "2027-02-14",
  "cabinClass": "business",
  "maxStops": "0",
  "currency": "EUR"
}
Run this task →

Use cases

FAQ

How do I call it as an API?

Start a run with the route in the input through the Apify API and read the dataset, or use the synchronous run endpoint to get items in one call.

Does it return booking links and seller prices?

Yes, turn on booking options and the top flights get each seller with its price.

Does it support multi-city and round trips?

Yes. Add a return date for round trips or a list of legs for multi-city.

Is it legal to scrape Google Flights?

The scraper collects only publicly visible data from Google Flights, without logging in. Whether your use is lawful depends on your country and purpose: respect local law and the site's terms, and avoid collecting or storing personal data you don't need.

How do I get the data into my app or spreadsheet?

Run it from the Apify API or the Python and JavaScript clients, or connect it to Make, n8n, Zapier or Google Sheets. Results export to JSON, CSV or Excel.

More scrapers

Call the Google Flights API now

Run on Apify — free trial