Travel
Google Flights logo

Google Flights API

google.com

Search flights and browse cheapest prices by date.

Actions
2
Category
Travel
Login
Not required
Output
JSON

Google Flights has 2 actions. The live parameter list is temporarily unavailable — fetch it from GET https://api.anakin.io/v1/wire/catalog/google_flights.

Google Flights API questions

Is there an API for Google Flights?
Google Flights does not offer a public data API for this, but Anakin Wire provides 2 maintained endpoints for google.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Google Flights data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when google.com changes its markup, Anakin updates the action.
Do I need a Google Flights account?
No. Every Google Flights action listed here runs anonymously — no account and no credentials required.
What does the Google Flights API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Travel APIs

All Travel sites