Google Flights API

Compare the one-way economy fares Google Flights displays for two airports and a departure date. Get USD prices, flight times, airlines, and stops.

Request and response

Browse endpoints

Use Cases

Compare routes for a trip

Search each airport pair for the same date, then compare displayed fares, departure times, and stops.

Track fares for a known date

Repeat the same airport and date search to see how the displayed fare and itinerary options change.

API Endpoints

Available endpoints for the Google Flights API

POST /v1/google/flights/search

Google Flights Search

Compare displayed one-way Google Flights fares for one adult in economy, between two exact airports. Prices are in USD and exclude optional extras.

Parameters

departure_date string required Departure date at the origin airport, in YYYY-MM-DD.
destination_airport string required Three-letter IATA destination airport code.
origin_airport string required Three-letter IATA departure airport code.
View endpoint documentation

Frequently Asked Questions

Common questions about the Google Flights API

Which trips can I search?

Search for one adult travelling one way in economy. Supply two three-letter airport codes and a departure date.

Which price appears in the response?

Each price is the fare displayed in USD at the time of the search. Optional extras are separate.

Start scraping Google Flights

Get your free API key