# Google Flights scraper — $0.003 per itinerary

> Google Flights scraper API: itineraries for two airports — airline, stops, price. $0.003 per delivered itinerary, nothing delivered means nothing charged.

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

[All collectors](https://quanticdata.io/collectors/)

# Google Flights scraper API

Travel · v1.1.0 · `google_flights`

$0.003 / itinerary

$2.40 / 1K · pay per delivered itinerary

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.

By [Aldo Morese](https://quanticdata.io/about/), founder of QuanticData · Published Aug 21, 2026 · Updated Sep 3, 2026

[Run in dashboard](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fgoogle_flights&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=google-flights-api-hero) · [See the request](https://quanticdata.io/collectors/google-flights-api/#integration)

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

On this page:

- [Try it](https://quanticdata.io/collectors/google-flights-api/#try)
- [What it is](https://quanticdata.io/collectors/google-flights-api/#what)
- [Limits](https://quanticdata.io/collectors/google-flights-api/#caps)
- [Output fields](https://quanticdata.io/collectors/google-flights-api/#output)
- [Inputs](https://quanticdata.io/collectors/google-flights-api/#input)
- [Pricing](https://quanticdata.io/collectors/google-flights-api/#pricing)
- [Integration](https://quanticdata.io/collectors/google-flights-api/#integration)
- [Use cases](https://quanticdata.io/collectors/google-flights-api/#use-cases)
- [Versus the alternatives](https://quanticdata.io/collectors/google-flights-api/#compare)
- [FAQ](https://quanticdata.io/collectors/google-flights-api/#faq)

What it does

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

## 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…). Default USD. |
| `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. |

Outputs — 20 fields, one row per itinerary

## 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 | ISO currency code of the price. |
| `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). |
| `departure_id` | string | Departure IATA code as requested. |
| `arrival_id` | string | Arrival IATA code as requested. |
| `duration_minutes` | integer · nullable | Total duration in minutes. |
| `stops_count` | integer · nullable | Number of stops (0 = nonstop). |
| `emissions_kg` | number · nullable | CO2 estimate in kg. |
| `trip_type` | string | one_way or round_trip. |

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:

```bash
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-11-03","return_date":"2026-11-10","currency":"USD","max_results":15}'
```

Python:

```python
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-11-03",
        "return_date": "2026-11-10",
        "currency": "USD",
        "max_results": 15
    },
    timeout=120,
)
for row in r.json()["payload"]["results"]:
    print(row)
```

Node.js:

```javascript
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-11-03","return_date":"2026-11-10","currency":"USD","max_results":15}),
  },
);
const { payload } = await res.json();
console.table(payload.results);
```

MCP:

```bash
claude mcp add quanticdata \
  -e QUANTICDATA_API_KEY=qd_live_your_key_here \
  -- npx -y quanticdata-mcp

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

Example response

POST /v1/scraper/collectors/google_flights/run

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

Price

## Limits, in plain numbers

Everything that bounds one run of this collector. No hidden throttles.

Max per run

30 itineraries

Price

$0.003 / itinerary

Per 1,000

$2.40

Failed runs

Free zero rows, zero charge

Free every month

$2 no card

Rate limit

20 req/min on the free tier

Changelog

- `v1.1.0` 2026-10-04
- `v1.0.0` 2026-08-24 Initial release

Every run records the collector version it ran on. Breaking output changes bump the major version.

Try it

## Google Flights, running now

Change the input and run it against the live collector — nothing to install, no sign-up.

Run it from your own code, on your own inputs

Same collector, same rows — $2 of free API credit every month, no card.

[Get my free API key](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fgoogle_flights&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=google-flights-api-closing)

![Google Flights API: from departure_id, arrival_id and outbound_date, QuanticData reads the flight results and returns one row per itinerary with airline, departure_time and arrival_time, at $0.003 per delivered itinerary.](https://quanticdata.io/collectors/google-flights-api/diagram.webp?v=20261004f)

*You send departure_id and arrival_id; the run goes out through a residential exit and comes back as itineraries with rank, airline and departure_time — 20 fields on every row — and you are billed $0.003 for each itinerary actually delivered, nothing for a run that delivers none.*

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

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

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

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 itineraries before you spend anything.

**$0.003** per delivered itinerary · *$2.4 per 1,000 delivered itineraries*

**666 itineraries** · 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](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fgoogle_flights&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=google-flights-api-tier-1): $0/mo · $2 free credit / month · 20 requests / min (300 on real balance) · List unit prices
- [Starter](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fgoogle_flights&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=google-flights-api-tier-2): $19/mo · $15 free credit / month · 300 requests / min · 10% off unit prices
- [Growth](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fgoogle_flights&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=google-flights-api-tier-3): Most popular · $79/mo · $50 free credit / month · 600 requests / min · 20% off unit prices
- [Scale](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fgoogle_flights&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=google-flights-api-tier-4): $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.

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

## What people search for

Live autocomplete demand around Google Flights, pulled with our own Keyword ideas collector.

Searches:

- [google flights api key](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api free](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api github](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api cost](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api access](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api reddit](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api mcp](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api python](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api documentation](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api python dev to](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api key free](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api for developers](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api scraper](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api serpapi](https://quanticdata.io/collectors/google-flights-api/#try)
- [google flights api integration](https://quanticdata.io/collectors/google-flights-api/#try)
- [how to use google flights api](https://quanticdata.io/collectors/google-flights-api/#try)

![Google Flights API: the POST to the google_flights collector, 15 itineraries delivered and the bill, 15 × $0.003 = $0.045 in usage.cost_usd; zero itineraries would cost $0.](https://quanticdata.io/collectors/google-flights-api/diagram2.webp?v=20261004f)

*The same call you would paste into a terminal: a Bearer key, departure_id, arrival_id and outbound_date in the body, and back the envelope every QuanticData endpoint returns — type, message, payload — where count is how many itineraries arrived and usage.cost_usd is $0.045, which is 15 × $0.003. A run that delivers nothing costs nothing. The key is good for 20 req/min on the free tier.*

## Sources and standards

The platform documentation and standards this collector is built against — check any claim on this page against the primary source:

- [Schema.org: the Flight type](https://schema.org/Flight)
- [Google Search Central: intro to how structured data markup works](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
- [IETF: RFC 9309, Robots Exclusion Protocol](https://www.rfc-editor.org/rfc/rfc9309.html)

## FAQ

Questions we get about the Google Flights API.

[Something else? Ask us](https://quanticdata.io/collectors/google-flights-api/#ask)

### 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 itineraries 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 itineraries — 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`.

[Run in dashboard](https://app.quanticdata.io/register?next=%2Fdata-api%2Fcollectors%2Fgoogle_flights&utm_source=collector-page&utm_medium=website&utm_campaign=data-api&utm_content=google-flights-api-cta-3)

![Illustration: three coloured zones of the page that is read (Flight results) turn into clean JSON with the fields airline, departure_time and arrival_time; 20 fields on every row.](https://quanticdata.io/collectors/google-flights-api/hero.webp?v=20261004h)

Related:

- [All 100+ 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/)

In code:

- [Google Flights API in Python](https://quanticdata.io/collectors/google-flights-api/python/)
- [Google Flights SERP API](https://quanticdata.io/serp-api/google/flights/)

---

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