# Google Flights API — $0.003 per itinerary

> Google Flights API: Flight itineraries between two airports — airline, times, stops. $0.003 per delivered itinerary, nothing delivered means nothing charged.

[Home](https://quanticdata.io/)/[Collectors](https://quanticdata.io/collectors/)/*Google Flights API*

# Google Flights API

A Google Flights API that returns itineraries for a route as rows. Give it two IATA codes and a date — a return date for round trips, none for one-way — and each option comes back with airline, times, stops, duration, the price with a parsed value and currency, and the CO2 estimate Google shows. Billed per itinerary delivered.

[Get my free API key](https://app.quanticdata.io/register) [See the request](/collectors/google-flights-api/#integration)

$0.003 per delivered itinerary · $2 free every month · Failed runs never billed

POST /v1/scraper/collectors/google_flights/run

```
$ curl $QD/google_flights/run \
    -H "Authorization: Bearer $QD_API_KEY" \
    -d '{"departure_id": "JFK", "arrival_id": "LAX", "outbound_date": "2026-09-23", "return_date": "2026-09-30", "currency": "USD", "max_results": 15}'
{ "status": "done", "count": 15,
  "results": [
    {
      "airline": "…",
      "departure_time": "…",
      "arrival_time": "…",
      "duration": "…" } ],
  "cost": 0.045 }
# 15 itinerarys × $0.003 · nothing delivered, nothing charged
```

**$0.003 / itinerary**666 itinerarys on the free $2 every month

**Semantic input**departure_id, arrival_id, outbound_date — no URL lists

**Up to 30**itinerarys per run, pagination handled for you

**No browser**read over HTTP/TLS — cheaper and faster than rendering

On this page: [What it is](/collectors/google-flights-api/#what) [Output fields](/collectors/google-flights-api/#output) [Inputs](/collectors/google-flights-api/#input) [Pricing](/collectors/google-flights-api/#pricing) [Integration](/collectors/google-flights-api/#integration) [Use cases](/collectors/google-flights-api/#use-cases) [Versus the alternatives](/collectors/google-flights-api/#compare) [FAQ](/collectors/google-flights-api/#faq)

## What a Google Flights API does

Google Flights aggregates fares and schedules that no single airline feed carries, then ranks them; this collector reads that ranked view for the exact route and date you ask for. Each row is one option, with the price already parsed into a number and a currency next to the string Google displayed, so you can sort and compare without cleaning text.

Two cautions. It is a rendered surface, so doing it yourself means driving a browser through Google's defences — the collector runs that ladder service-side. And this is flight search, not flight tracking: it returns bookable itineraries and prices for a future date, not the live position or status of an aircraft in the air. You must send valid IATA codes and a YYYY-MM-DD date, and the price reflects the country and currency you request at fetch time.

Input is meaning, not a URL *departure_id* *arrival_id* *outbound_date* *return_date* *currency*

## What one itinerary looks like

Every delivered itinerary carries these fields. Nullable means the source did not publish it — the field stays empty instead of being guessed.

| Field | Type | What it holds |
| --- | --- | --- |
| `rank` | integer | 1-based position. |
| `airline` | string · nullable | Operating airline(s). |
| `departure_time` | string · nullable | Departure time as shown. |
| `arrival_time` | string · nullable | Arrival time as shown. |
| `duration` | string · nullable | Total duration ("5 hr 53 min"). |
| `stops` | string · nullable | "Nonstop", "1 stop"… |
| `price` | string · nullable | Price as shown. |
| `price_value` | number · nullable | Parsed numeric price. |
| `currency` | string · nullable | Price currency. |
| `departure_airport` | string · nullable | Departure airport code. |
| `arrival_airport` | string · nullable | Arrival airport code. |
| `emissions` | string · nullable | CO2 estimate as shown. |
| `outbound_date` | string | Requested outbound date. |
| `return_date` | string · nullable | Requested return date (null = one-way). |

## Inputs

The whole request. Anything you leave out falls back to the default shown in the catalog.

| Input | Type | Required | What it does |
| --- | --- | --- | --- |
| `departure_id` | string | yes | Departure airport/city IATA code, e.g. JFK. |
| `arrival_id` | string | yes | Arrival airport/city IATA code, e.g. LAX. |
| `outbound_date` | string | yes | Departure date YYYY-MM-DD. |
| `return_date` | string | no | Return date YYYY-MM-DD — omit for one-way. |
| `currency` | string | no | 3-letter price currency (USD, EUR…). |
| `country` | string | no | ISO 3166-1 alpha-2 code — proxy exit geo and Google locale (gl). Omit for the default pool. |
| `lang` | string | no | Interface language (hl), e.g. en, it, de. |
| `max_results` | integer | no | How many itineraries to deliver at most (1–30). You pay only for delivered itineraries. |

Pricing

## Google Flights API pricing

$0.003 per delivered itinerary. A run that delivers nothing costs nothing: blocked pages, challenges and retries are on us, and the $2 monthly allowance covers about 666 itinerarys before you spend anything.

**$0.003**per delivered itinerary*$2.4 per 1,000 delivered itinerarys*

**666 itinerarys**on the free allowance*$2 every month, no card*

**Zero rows**zero charge*blocks, captchas and retries are on us*

**−30%**on volume tiers*the catalog returns your key's price*

### Pay as you go

$0/mo

- $2 free credit / month

- 60 requests / min

- List unit prices

### Starter

$19/mo

- $15 free credit / month

- 300 requests / min

- 10% off unit prices

Most popular

### Growth

$79/mo

- $50 free credit / month

- 600 requests / min

- 20% off unit prices

### Scale

$299/mo

- $250 free credit / month

- 1,200 requests / min

- 30% off unit prices

Same wallet, same key and same $2 monthly allowance as every other [Data API](https://quanticdata.io/web-data-api-for-ai/). Prices are launch pricing read live from the billing config — `GET /v1/scraper/collectors` returns the price your key actually pays.

Integration

## One POST, typed rows

Base URL `https://api.quanticdata.io/v1`, Bearer auth, the same key as every other Data API. Endpoint: `POST /v1/scraper/collectors/google_flights/run`.

```
curl -X POST https://api.quanticdata.io/v1/scraper/collectors/google_flights/run \
  -H "Authorization: Bearer $QD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"departure_id":"JFK","arrival_id":"LAX","outbound_date":"2026-09-23","return_date":"2026-09-30","currency":"USD","max_results":15}'
```

```
import requests

r = requests.post(
    "https://api.quanticdata.io/v1/scraper/collectors/google_flights/run",
    headers={"Authorization": f"Bearer {QD_API_KEY}"},
    json={
        "departure_id": "JFK",
        "arrival_id": "LAX",
        "outbound_date": "2026-09-23",
        "return_date": "2026-09-30",
        "currency": "USD",
        "max_results": 15
    },
    timeout=120,
)
for row in r.json()["payload"]["results"]:
    print(row)
```

```
const res = await fetch(
  "https://api.quanticdata.io/v1/scraper/collectors/google_flights/run",
  {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.QD_API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({"departure_id":"JFK","arrival_id":"LAX","outbound_date":"2026-09-23","return_date":"2026-09-30","currency":"USD","max_results":15}),
  },
);
const { payload } = await res.json();
console.table(payload.results);
```

```
claude mcp add quantumproxies \
  -e QUANTUMPROXIES_API_KEY=qd_live_your_key_here \
  -- npx -y quantumproxies-mcp

# then, in the chat:
> run the google_flights collector with departure_id="JFK" and arrival_id="LAX"
```

## What people build with the Google Flights API

Three shapes of work this endpoint was designed around.

### Fare monitoring

Re-run a route and date on a schedule and store the parsed price value to chart how a fare moves before departure.

### Travel meta-search

Show a ranked option list on your own page without integrating a GDS or a dozen airline APIs.

### Route and emissions research

Collect stops, duration and the CO2 estimate across routes to compare options on more than price.

## Google Flights API versus rolling your own

The differences that actually cost time when you build this in-house.

|  | DIY scraper | This collector |
| --- | --- | --- |
| Coverage | One airline feed, or a GDS contract | Whatever Google aggregates for the route |
| Price | A string to clean | The string plus a parsed value and currency |
| Scope | Live aircraft tracking | Bookable itineraries and prices for a date |

## FAQ

Questions we get about the Google Flights API.

[Something else? Ask us →](mailto:hello@quanticdata.io)

### Is there an official Google Flights API?

No public one for fare search — Google offers that access only to partners. This collector reads the Google Flights vertical directly and returns the itineraries as rows, so you query a route and date without a partner contract or a key of your own.

### What do I have to send?

A departure and an arrival airport as three-letter IATA codes and an outbound date in YYYY-MM-DD. Add a return date for a round trip, or leave it off for one-way; `currency` and `country` control how the price is shown.

### Is this live flight tracking?

No. It returns search itineraries and prices for a future date — airline, times, stops, fare — not the real-time position or status of a flight already in the air. Those are separate products.

### Are the prices exact?

They are what Google shows for the requested country and currency at fetch time, returned both as the displayed string and a parsed value. Fares move, so a price is a snapshot of that query, not a quote you can hold.

### Is there a free Google Flights API?

Every account gets $2 of credit every month with no card, which is about 666 delivered itinerarys on this endpoint at $0.003 each. It renews monthly, and a run that delivers nothing is never billed — so a failed or blocked attempt does not eat the allowance.

### How much does one run cost?

Multiply the rows you actually receive by $0.003. A run capped at 30 itinerarys — the maximum for this collector — costs $0.09 if every row comes back, and less when the source has fewer. Volume tiers take up to 30% off, and `GET /v1/scraper/collectors` returns the price your key actually pays.

## Run the Google Flights API now

$2 of free credit every month, no card. Your key returns its own prices from `GET /v1/scraper/collectors`.

[Get my free API key](https://app.quanticdata.io/register)

Related: [All 65 collectors](https://quanticdata.io/collectors/) [Google Hotels API](https://quanticdata.io/collectors/google-hotels-api/) [Price Comparison API](https://quanticdata.io/collectors/price-comparison-api/) [Google search results API](https://quanticdata.io/collectors/google-search-results-api/) [Reverse image search API](https://quanticdata.io/collectors/reverse-image-search-api/) [Google Trends API](https://quanticdata.io/collectors/google-trends-api/) [Documentation](https://quanticdata.io/docs/)

---

Source: https://quanticdata.io/collectors/google-flights-api/ · Site index for AI: https://quanticdata.io/llms.txt
