Skip to content
//Google Flights Scraper example\\

Round trip New York to London, 10 flights

Round-trip fares between JFK and Heathrow.

Updated November 25, 2026

What this example returns

This example returns up to 10 flights.

The dataset’s “Search” view shows 8 columns: Page, From, To, Date, Itineraries, Best, Other, and Searched at. See every output field.

What each setting does

The input this example runs Google Flights Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

From origin

JFK

Departure airport or metro code. Separate several with commas, for example CDG,ORY.

Default: LAX → this example uses JFK

To destination

LHR

Arrival airport or metro code. Separate several with commas, for example LHR,LGW.

Default: JFK → this example uses LHR

Outbound date outboundDate

2027-05-12

Departure date in YYYY-MM-DD format. Leave empty to search 30 days from today.

Return date returnDate

2027-05-19

Optional return date in YYYY-MM-DD format. When set, the search is a round trip and prices are round-trip fares.

Maximum itineraries maxResults

10

How many itineraries to save per search. Best matches are kept first. Leave empty to keep every itinerary Google returns for the search (at most about 300, Google's own limit).

Adults adults

1

Adult passengers. The whole party can be at most 9 people.

Children children

0

Child passengers.

Infants on lap infants

0

Infant passengers traveling on an adult's lap.

Currency currency

USD

Price currency, for example USD, EUR, or GBP.

Language language

English

Language of airport names and labels.

Country country

United States

Point of sale. This changes which fares Google Flights shows.

Cabin travelClass

Economy

Cabin to search.

.json
{
  "origin": "JFK",
  "destination": "LHR",
  "outboundDate": "2027-05-12",
  "returnDate": "2027-05-19",
  "maxResults": 10,
  "adults": 1,
  "children": 0,
  "infants": 0,
  "currency": "USD",
  "language": "en",
  "country": "us",
  "travelClass": "economy"
}

What it costs

From about $0.058 for 10 flights

An estimate at the lowest plan price: 10 × $0.00578 per result (One Google Flights search that returns itineraries). A run is charged for the events it reports, so one that finds fewer flights costs less. Platform usage is included in the event price.

Full pricing

Other ways to run Google Flights Scraper

All examples of Google Flights Scraper

About Google Flights Scraper

Search public Google Flights for one-way and round-trip itineraries, with prices, airlines, stops, times, and aircraft.

Price:
From $5.78 / 1,000 results
Developer:
Roam & Roof
Categories:
Travel, Automation

Google Flights Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.