Skip to content

Guide

Is there a Google Flights API? What actually exists in 2026

No. Google Flights has no public API. Google shut down QPX Express, the last public flight-search API it offered, in April 2018, and its remaining Travel Partner API is for airlines and OTAs under contract, not for developers who want to query a route and get a price back. Everything sold as a "Google Flights API" since then is a third party reading the public Google Flights site for you. That includes mine. This page lays out the three real options and how to choose.

What happened to the official API

QPX Express came out of Google's ITA Software acquisition and let anyone query fares for a few cents per request. Google announced its retirement in late 2017 and switched it off in April 2018. Nothing public replaced it. The demand did not go anywhere, which is why the search results for "Google Flights API" are now a wall of third-party services with similar names.

The three real options

1. A hosted extraction API. A vendor runs live searches against the public Google Flights site and returns the results as JSON. You trade a per-request fee for not owning the scraping problem. This is what FlightPowers is, and also what SerpApi and SearchAPI sell. The differences that matter: which fields survive the extraction (price context is the big one), how the API behaves when a search fails, and price per request. I compare those honestly, with dated quotes, in the best flight data APIs in 2026.

2. A GDS or booking API. Amadeus, Duffel and the other travel-industry APIs do not touch Google. They sell airline inventory through GDS/NDC channels. You get bookable fares and ticketing, which extraction APIs cannot give you, but the prices are not what a traveler sees on Google Flights, coverage skews to the carriers in the deal, and getting production access involves sales conversations. If your product needs to issue tickets, start there: FlightPowers vs Duffel and vs Amadeus spell out the split.

3. Run a scraper yourself. Open-source projects (the best known is fast-flights on GitHub) parse Google Flights for free. For a personal script this is a fine answer. For anything with users, you now own proxy rotation, consent walls, page redesigns, and the fact that a broken parser returns an empty array that looks exactly like "no flights". That last failure mode is the reason this API reports search status explicitly.

The 60-second version of option 1

curl -X POST https://api.flightpowers.com/v1/flights/oneway \
  -H "x-api-key: $RAPIDAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"from_airport": "JFK", "to_airport": "LHR", "departure_date": "2026-10-15"}'

Each itinerary in the response carries the fare, airline, stops, duration, a booking deep link, and the two fields the official API never had: Google's own historical price band for the route (price_insights_low / price_insights_high) and a low | typical | high verdict. That verdict is what turns a price feed into "book now or wait" logic. The machine-readable contract is public: OpenAPI spec, llms.txt, full reference.

How to choose, in three questions

  1. Do you need to issue tickets? GDS/booking API. Nothing else will do it.
  2. Do you need the prices travelers actually compare? Google Flights data, which means an extraction API or your own scraper.
  3. Is this a product or a weekend script? Products need the failure-mode contract (what does an empty array mean?) and a rate limit that supports date scans. Scripts can use anything, including free scrapers.

Test it on your own routes

Run your three hardest routes and read the response headers. If the data doesn't earn the fee, you've spent nothing.

Free tier: 10 requests/month. No card to try.