APIs / Travel / Google Flights
1 credit per call7 endpoints
Google Flights API
Get Google Flights data as structured JSON with one API key: airlines, airports, booking details and date range. Free credits every month.
curl "https://api.perceptlayer.com/v1/google-flights/airlines" \
-H "X-API-Key: $API_KEY"Playground
Run this API
curl "https://api.perceptlayer.com/v1/google-flights/airlines" \
-H "X-API-Key: $API_KEY"Google Flights · 7 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters and an example request.
| Endpoint | What it returns | Cost |
|---|---|---|
GET/v1/google-flights/airlines | Airlines | 1 credit |
GET/v1/google-flights/airports | Airports | 1 credit |
GET/v1/google-flights/autocomplete | Autocomplete | 1 credit |
GET/v1/google-flights/booking-details | Booking Details | 1 credit |
GET/v1/google-flights/date-range | Date Range | 1 credit |
GET/v1/google-flights/one-way | One Way | 1 credit |
GET/v1/google-flights/round-trip | Round Trip | 1 credit |
Overview
About the Google Flights API
What you can get
The Google Flights API returns airlines, airports, booking details and date range as clean JSON. Each successful call costs one credit, and calls that fail are free.
More travel APIs
Use cases
Monitor fares and room rates
Use the Google Flights API to monitor fares and room ratesCheck availability across dates
Use the Google Flights API to check availability across datesBuild travel search and comparison tools
Use the Google Flights API to build travel search and comparison toolsFAQ
Questions
How much does the Google Flights API cost?
Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Do I need a separate key for Google Flights?
No. One key works for every API in the catalogue.
Try the Google Flights API with 1,000 free credits
No credit card. Failed calls are never billed.