No Public Google Flights API Exists — Here Is How Developers Get the Data Anyway
Google has not offered a public Flights API since retiring QPX Express in 2018, leaving developers without an official endpoint or API key to query. Because Google Flights renders results via JavaScript and encodes search parameters in an opaque URL blob, simple HTTP requests and basic scraping scripts routinely fail. A practical workaround involves using a third-party hosted scraper, such as the Google Flights API Actor on Apify, which accepts a route and date as input and returns structured JSON containing prices, airlines, stops, duration, and booking links. Developers can access this through the Apify Console, a REST endpoint, or Python using the apify-client library. The approach is aimed at travel aggregators, indie developers, pricing analysts, and anyone integrating live fare data into applications or AI agents.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in