APIs / Travel / Google Flights
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"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 |
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.
Use cases
- Monitor fares and room rates
- Check availability across dates
- Build travel search and comparison tools
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.
Related
More travel APIs
Try the Google Flights API with 1,000 free credits
No card and no password. We email you a sign-in link, and your key works on every API.
No credit card. 1,000 free credits a month.