# Is there a Google Flights API? What Google offers in 2026, plus 40 live fare searches

We ran 40 one-way fare searches on 8 popular routes, 7 to 90 days out, to see what Google Flights data looks like and how fares move with lead time.

Published 2026-11-20, updated 2026-11-20, by the Datapika data team. Canonical: https://datapika.com/blog/google-flights-api

**Short answer:** No. Google has no public Google Flights API. Its last public airfare API, QPX Express, stopped taking new users in 2017 and shut down on April 10, 2018. Google's current Flights developer docs only onboard airlines and travel agencies, under NDA. To get Google Flights fares as data, you read the public results, for example with our Google Flights Scraper. In our 40 searches on November 20, 2026, the median cheapest fare 60 days out was 47% below the 7-day fare.

## Key takeaways

- Google has offered no public flight fare API since QPX Express shut down on April 10, 2018; its Flights developer docs serve invite-only airline and travel agency partners under NDA.
- Across 8 routes searched on November 20, 2026, the median cheapest one-way fare was 47% lower 60 days out and 41.5% lower 90 days out than 7 days out, with 7 of 8 routes cheaper at both.
- Holidays beat lead time: for a December 20 departure (30 days out), the median cheapest fare was 12% above the 7-day fare.
- A Google Flights search listed a median of 16.5 itineraries (range 8 to 34); 85% of our 699 itineraries were nonstop.
- In 14 of 40 searches, the cheapest fare appeared only in Google's "Top departing flights" list, not in the price-sorted "Other departing flights" list.

## Is there an official Google Flights API?

No. As of November 20, 2026, Google does not offer a public API for Google Flights search results or prices. The last one was QPX Express, a pay-as-you-go airfare search API. Google's own FAQ for it, last updated October 31, 2017, says: "The QPX Express API service ends on April 10, 2018" and "New users can no longer sign up for the QPX Express API service." At the end it charged $0.02 per query beyond 50 free queries a day and returned up to 500 itineraries per search.

Today's [Google Flights Search](https://developers.google.com/travel/flights) page on Google for Developers is onboarding for airlines and online travel agencies that want their fares shown on Google Flights, "shared under NDA with select, invite-only partners." Google's Travel Partner API is no substitute: version 3 keeps "only hotel-specific services."

**Official Google routes to flight data, checked November 20, 2026**

| Option | What it does | Who can use it | Fare data in your code? |
| --- | --- | --- | --- |
| QPX Express API | Airfare search API, up to 500 itineraries per query | Nobody since April 10, 2018 | No, shut down |
| Google Flights partner integration | Airlines and travel agencies send fares and booking links into Google Flights | Invite-only partners under NDA | No, it feeds Google, not you |
| Travel Partner API v3 | Hotel settings, hotel data and reports | Hotel partners | No, hotels only |
| Google Flights price tracking | Email alerts when tracked fares change | Anyone signed in to a Google account | No, email only |

The official route is the better choice in two cases. If you are an airline or travel agency that wants to appear on Google Flights, contact Google's Flights partner team. If you only watch a few trips for yourself, Google's free price tracking emails need no code. You need a data tool when you want fares as rows: many routes and dates, a database, a dashboard or research like ours.

## What does Google Flights offer instead of an API?

Google Flights offers price tracking and price insights inside the product, not as an API. Per Google Travel Help, you can "track flight prices based on specific flights, routes, and dates," and with "Any dates" tracking you get an email "when the route's minimum price drops significantly over a month." Google also emails you when "prices for a route you track are likely to go up."

- **Best and Cheapest tabs.** Google says results appear in 2 tabs, "Best" and "Cheapest," and the Cheapest tab "includes additional itineraries and prices from online travel agents."
- **Booking tips.** Notes such as "Prices are unlikely to drop before you book" appear when Google is confident the fare will not fall.
- **Cheapest time to book.** Google's August 28, 2023 blog post added insights showing "when prices have typically been lowest to book" for searches with reliable trend data.
- **AI Flight Deals.** An experimental (beta) feature that badges a flight "% less than usual" when it is at least 20% below the typical price.

All of these live in the Google Flights interface or your inbox. None returns structured fares you can store or chart.

## Is there a free Google Flights API?

No. There is no free official Google Flights API, and the last free tier, 50 QPX Express queries per day, ended with that service on April 10, 2018. The free tools that remain are the price tracking emails and price insights inside Google Flights.

Our Google Flights Scraper is pay per result: $0.0015 per itinerary returned, or $1.50 per 1,000, plus $0.00005 per GB of memory at the run start and $0.00001 per dataset row. You cap the cost with `max_results`. A search capped at 50 itineraries costs at most $0.075 in itinerary fees, and the 699 itineraries in our 40-search test come to $1.05 at list price.

> Datapika actor [google-flights-scraper](https://datapika.com/actors/google-flights-scraper): Our Google Flights Scraper turns a Google Flights search (route, date, cabin, passengers) into JSON rows with price, airlines, stops, times, segments and CO2 estimates, with no API key from Google.

## How do Google Flights fares change with lead time?

In our snapshot, booking 60 to 90 days ahead was much cheaper than booking a week ahead, but a holiday date erased the gain. On November 20, 2026, we searched 8 routes for one-way economy fares departing 7, 14, 30, 60 and 90 days later. The median cheapest fare was 47% below the 7-day fare at 60 days and 41.5% below it at 90 days, and 7 of 8 routes were cheaper at both lead times.

- **40** searches on 8 routes, 5 lead times
- **699** itineraries collected
- **-47%** median cheapest fare at 60 days vs 7 days
- **7 of 8** routes cheapest at 60 or 90 days

**Cheapest one-way economy fare on Google Flights by lead time, USD, 1 adult, searched November 20, 2026**

| Route | 7 days (Fri Nov 27) | 14 days (Fri Dec 4) | 30 days (Sun Dec 20) | 60 days (Tue Jan 19) | 90 days (Thu Feb 18) |
| --- | --- | --- | --- | --- | --- |
| New York JFK to Los Angeles LAX | $303 | $205 | $312 | $179 | $199 |
| Chicago ORD to Orlando MCO | $124 | $154 | $150 | $68 | $83 |
| Atlanta ATL to Las Vegas LAS | $236 | $160 | $190 | $58 | $98 |
| San Francisco SFO to Seattle SEA | $223 | $126 | $129 | $89 | $83 |
| New York JFK to London LHR | $318 | $308 | $587 | $273 | $308 |
| Los Angeles LAX to Tokyo HND | $473 | $473 | $1,230 | $497 | $497 |
| Dallas DFW to Cancun CUN | $217 | $253 | $389 | $111 | $111 |
| London LHR to Barcelona BCN | $161 | $60 | $142 | $69 | $59 |
| Median change vs 7 days | baseline | -17.7% | +12.0% | -47.0% | -41.5% |

_Cheapest fare = lowest price in Google Flights' default results (Top and Other departing flights). One snapshot day; fares change constantly._

**Median cheapest fare by lead time, as % of the 7-day fare**

- 7 days: 100%
- 14 days: 82.3%
- 30 days (Dec 20): 112%
- 60 days: 53%
- 90 days: 58.5%

_Median across 8 routes of each route's cheapest fare divided by its 7-day fare. Searched November 20, 2026._

**The calendar matters as much as the lead time.** The 7-day date was the Friday after US Thanksgiving, and the 30-day date was the Sunday before Christmas. For December 20, the median fare on the 4 US domestic routes was still 8.3% below the 7-day fare, but on the 4 international routes it was 81.9% above. Los Angeles to Tokyo went from $473 a week out to $1,230 on December 20, then $497 in January and February, the only route where the 7-day fare was the lowest.

**Day of the week does not explain the drop.** In 24 extra searches where every lead time fell on a Friday (28, 63 and 91 days out), the median cheapest fare was 44.6% below the 7-day fare at 63 days, 41.5% below at 91 days, and 23.2% above it on Friday, December 18.

Google's own analysis points the same way. Its August 28, 2023 post found US-to-Europe "average prices have been lowest 72 days or more before departure," based on several years of round-trip fares. Ours is one day of one-way fares: a snapshot, not a rule.

## What data does a Google Flights search return?

A Google Flights search returns a short ranked list, not the whole market: a median of 16.5 itineraries per search in our test, from 8 to 34. Each itinerary has a price, airlines, stops, times, flight segments with aircraft type, and a CO2 estimate. Of our 699 itineraries, 85% were nonstop.

**What each route's 5 searches returned, November 20, 2026**

| Route | Type | Itineraries per search (median) | Nonstop share | Airlines seen | Lowest fare at |
| --- | --- | --- | --- | --- | --- |
| JFK to LAX | US domestic | 32 | 95% | 4 | 60 days |
| ORD to MCO | US domestic | 16 | 91% | 3 | 60 days |
| ATL to LAS | US domestic | 17 | 73% | 7 | 60 days |
| SFO to SEA | US domestic | 20 | 88% | 6 | 90 days |
| JFK to LHR | Transatlantic | 20 | 88% | 10 | 60 days |
| LAX to HND | Transpacific | 11 | 69% | 11 | 7 and 14 days (tie) |
| DFW to CUN | US to Mexico | 12 | 65% | 7 | 60 and 90 days (tie) |
| LHR to BCN | Within Europe | 10 | 96% | 3 | 90 days |

_Nonstop share = nonstop itineraries / all itineraries over the route's 5 searches. Airlines seen = distinct airline names across those searches._

Google splits results into two lists, and the cheapest fare is often in the first one. Google Help says "Top departing flights" are ranked on "the best trade-off between price and convenience," while "Other departing flights" are ranked "in ascending order of price." In 14 of our 40 searches, the lowest fare appeared only in the Top list, a median of 4 itineraries long. If you build your own parser, read both lists, or you will report a cheapest fare that is too high.

The cheapest fare also swings widely by date. Atlanta to Las Vegas cost $236 a week out and $58 for January 19, about 4 times more, which is why fare data works best as a series of searches.

## How do you use a Google Flights API in Python?

You send one POST request with the route and date to our actor's `run-sync-get-dataset-items` endpoint and get the itineraries back as a JSON array. The input fields are `from_airport` and `to_airport` (3-letter IATA codes), `date` and optional `return_date` (YYYY-MM-DD), `trip`, `seat`, the passenger counts (`adults`, `children`, `infants_in_seat`, `infants_on_lap`), `language` and `max_results`. The endpoint waits up to 300 seconds for the run.

```python
import os
import requests

URL = "https://api.apify.com/v2/acts/openclawai~google-flights-scraper/run-sync-get-dataset-items"
TOKEN = os.environ["APIFY_TOKEN"]  # your Apify API token

search = {
    "from_airport": "JFK",
    "to_airport": "LHR",
    "date": "2027-01-19",
    "trip": "one-way",        # or "round-trip" with "return_date"
    "seat": "economy",        # premium-economy, business, first
    "adults": 1,
    "currency": "USD",       # every row carries its currency
    "language": "en",
    "max_results": 50,        # caps itineraries, and cost
}

resp = requests.post(URL, json=search,
                     headers={"Authorization": f"Bearer {TOKEN}"}, timeout=330)
resp.raise_for_status()
itineraries = resp.json()

priced = [i for i in itineraries if i.get("price")]
if not priced:
    raise SystemExit("No itineraries for this search")
cheapest = min(priced, key=lambda i: i["price"])
nonstop = sum(1 for i in itineraries if i["stops"] == 0)

print(f"{len(itineraries)} itineraries, {nonstop} nonstop")
print("cheapest:", cheapest["price"], cheapest["airline_names"], cheapest["departure"])
for seg in cheapest["segments"]:
    print(" ", seg["from_airport"]["code"], "->", seg["to_airport"]["code"], seg["plane_type"])
```

Each item has `price`, `airline_names`, `stops`, `duration_min_total`, `departure`, `arrival`, `segments` (with `plane_type` per leg) and `carbon_emission_g`. To repeat our lead-time test, loop over dates. Read Google's terms for your use case, collect only public data, keep request volumes modest, and handle any personal data under GDPR and CCPA.

> Datapika actor [google-flights-scraper](https://datapika.com/actors/google-flights-scraper): Use our Google Flights Scraper to run the same search across many dates or routes and get one row per itinerary, ready for a spreadsheet, database or fare tracker.

## How we got these numbers

On November 20, 2026 (UTC), we searched Google Flights for 1 adult, one-way, economy, on 8 routes: 4 US domestic (JFK-LAX, ORD-MCO, ATL-LAS, SFO-SEA) and 4 international (JFK-LHR, LAX-HND, DFW-CUN, LHR-BCN), each departing 7, 14, 30, 60 and 90 days later: 40 searches. A day-of-week check added 24 Friday searches (December 18, January 22, February 19). Searches ran through the engine behind our Google Flights Scraper in US dollars, keeping both result lists (Top and Other departing flights). We deduplicated itineraries by flight numbers and departure times; there were no duplicates and no unpriced itineraries. Change by lead time is each route's cheapest fare divided by its 7-day cheapest fare, minus 1, with the median across 8 routes. A second pass from US-based servers the same day matched the cheapest Other departing flights fare in 48 of 52 searches where both passes returned it. Limits: one snapshot day, one-way, economy, one adult, and 8 values per median. The 7-day and 30-day dates fall in the Thanksgiving and Christmas holiday periods. We used the default results, not the separate Cheapest tab, which can add travel agency fares and self-transfer itineraries.

## Questions

### Does Google have a flight API?

Not a public one. Google shut down QPX Express, its public airfare search API, on April 10, 2018. Its current Flights developer pages serve airlines and travel agencies that list fares on Google Flights, under NDA with invite-only partners.

### Is there a free Google Flights API?

No. The last free option, 50 QPX Express queries per day, ended with that service on April 10, 2018. The free tools left are price tracking emails and price insights inside Google Flights. For fares as data, our Google Flights Scraper charges $0.0015 per itinerary returned.

### What happened to the QPX Express API?

Google ended it on April 10, 2018. Its FAQ, last updated October 31, 2017, said new users could no longer sign up and cut the fee from $0.035 to $0.02 per query beyond 50 free daily queries until the end date.

### Is there official Google Flights API documentation?

Only partner onboarding for airlines and online travel agencies, at developers.google.com/travel/flights, shared under NDA with select, invite-only partners. It covers how partners send fares to Google, not how to read them. Google's Travel Partner API covers hotels only.

### How do I get Google Flights prices in Python?

POST from_airport, to_airport and date to our actor's run-sync-get-dataset-items endpoint with your Apify token in the Authorization header. You get back a JSON array of itineraries with price, airlines, stops, times, segments and CO2 estimates. Set max_results to cap results and cost.

### How far in advance are flights cheapest?

In our November 20, 2026 snapshot, 7 of 8 routes had their lowest one-way fare 60 or 90 days out, and the median fare at 60 days was 47% below the 7-day fare. Google's 2023 analysis found US-to-Europe round-trip prices lowest 72 days or more before departure. Holidays override this: for December 20, 3 of our 4 international routes cost more than a week out.

## Sources

1. [QPX Express API FAQ (archived copy, last updated October 31, 2017)](https://web.archive.org/web/20171101090140/https://developers.google.com/qpx-express/faq), Google Developers, accessed 2026-11-20
2. [Google Flights Search](https://developers.google.com/travel/flights), Google for Developers, accessed 2026-11-20
3. [Travel Partner API reference (Hotel Prices)](https://developers.google.com/hotels/hotel-prices/api-reference), Google for Developers, accessed 2026-11-20
4. [Track flights & prices](https://support.google.com/travel/answer/6235879?hl=en), Google Travel Help, accessed 2026-11-20
5. [How to find the best fares with Google Flights](https://support.google.com/travel/answer/7664728?hl=en), Google Travel Help, accessed 2026-11-20
6. [3 ways to find a great deal with Google Flights (August 28, 2023)](https://blog.google/products/travel/google-flights-find-deals/), Google, The Keyword, accessed 2026-11-20
7. [Find flight deals with AI in Google Flights](https://support.google.com/travel/answer/16497283?hl=en), Google Travel Help, accessed 2026-11-20
