---
title: "Google Flights API: 7 endpoints, 1 credit per call"
description: "Get Google Flights data as structured JSON with one API key: airlines, airports, booking details and date range. Free credits every month."
url: https://perceptlayer.com/apis/google-flights
---

[APIs](https://perceptlayer.com/apis) / [Travel](https://perceptlayer.com/verticals/travel) / Google Flights

1 credit per call 7 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.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Google Flights

GET /v1/google-flights/airlines 

```
curl "https://api.perceptlayer.com/v1/google-flights/airlines" \
  -H "X-API-Key: $API_KEY"
```

cURL 1 credit per successful call

Run this call below or from your dashboard to see a live response.

Playground

## Run this API

cURL shell 

```
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 | Required parameters | Cost |
| --- | --- | --- |
| [GET `/v1/google-flights/airlines`](https://perceptlayer.com/apis/google-flights/airlines) | none | 1 credit |
| [GET `/v1/google-flights/airports`](https://perceptlayer.com/apis/google-flights/airports) | none | 1 credit |
| [GET `/v1/google-flights/autocomplete`](https://perceptlayer.com/apis/google-flights/autocomplete) | `q` +2 optional | 1 credit |
| [GET `/v1/google-flights/booking-details`](https://perceptlayer.com/apis/google-flights/booking-details) | `booking_token` `origin` `destination` `departure_date` `airline` `flight_number` +8 optional | 1 credit |
| [GET `/v1/google-flights/date-range`](https://perceptlayer.com/apis/google-flights/date-range) | `origin` `destination` `from_date` `to_date` +14 optional | 1 credit |
| [GET `/v1/google-flights/one-way`](https://perceptlayer.com/apis/google-flights/one-way) | `origin` `destination` `departure_date` +21 optional | 1 credit |
| [GET `/v1/google-flights/round-trip`](https://perceptlayer.com/apis/google-flights/round-trip) | `origin` `destination` `departure_date` `return_date` +22 optional | 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.

Travel JSON REST MCP

### More travel APIs

[Agoda](https://perceptlayer.com/apis/agoda) [Airbnb](https://perceptlayer.com/apis/airbnb) [Booking.com](https://perceptlayer.com/apis/booking) [Economy Car Rentals](https://perceptlayer.com/apis/economy-car-rentals) [Eventbrite](https://perceptlayer.com/apis/eventbrite) [Expedia](https://perceptlayer.com/apis/expedia) [FlixBus](https://perceptlayer.com/apis/flixbus) [GetYourGuide](https://perceptlayer.com/apis/getyourguide) [Google Hotels](https://perceptlayer.com/apis/google-hotels) [Google Travel Explore](https://perceptlayer.com/apis/google-travel-explore) [HolidayCheck](https://perceptlayer.com/apis/holidaycheck) [Holidu](https://perceptlayer.com/apis/holidu)

Use cases

### Monitor fares and room rates

`Use the Google Flights API to monitor fares and room rates` 

### Check availability across dates

`Use the Google Flights API to check availability across dates` 

### Build travel search and comparison tools

`Use the Google Flights API to build travel search and comparison tools` 

FAQ

## 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.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://perceptlayer.com/docs)
