Google Flights API
google.com
Google Flights - flight search and cheapest prices by date.
- Actions
- 2
- Category
- Travel
- Login
- Not required
- Output
- JSON
Call the Google Flights API
Submit a task, then poll the job until it settles. This example runs gf_search_flights.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "gf_search_flights",
"params": {
"origin": "BOM",
"destination": "BLR",
"date": "2026-04-22"
}
}'2 actions on google.com
Read
Flight Search
gf_search_flightsread2 credits / callReturns one-way or round-trip flights with price, duration, stops, and leg details.
- origin
- string · required
- destination
- string · required
- date
- string · required
- return_date
- string
- cabin
- string
- adults
- integer
- children
- integer
- stops
- string
- sort
- string
- max_price
- integer
- max_duration
- integer
- departure_window
- string
- arrival_window
- string
- airlines
- string
- emissions
- string
- currency
- string
Price Calendar
gf_price_calendarread3 credits / callReturns the cheapest flight price per date across a date range for a route.
- origin
- string · required
- destination
- string · required
- from_date
- string · required
- to_date
- string · required
- trip_type
- string
- duration
- integer
- cabin
- string
- adults
- integer
- children
- integer
- stops
- string
- max_duration
- integer
- departure_window
- string
- arrival_window
- string
- airlines
- string
- emissions
- string
- currency
- string
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
ADS-B Exchange
ADS-B Exchange - live flight tracking, aircraft positions, route history, and details.
Aeromexico
Aeromexico - flight and fare search, schedules, flight status, and destinations.
Afar
Travel destination guides, articles, and curated itineraries.
Agoda
Agoda - travel platform for hotels, vacation rentals, flights, and tours.
Airbnb
Airbnb - stay search by destination and dates with full property details.
Airbnb Portugal
Airbnb Portugal - stay search, listings, pricing, availability, and reviews.