Google Flights Scraper & API: prices, airlines and times

Google Flights Scraper is an Apify Actor that returns Google Flights results for any route and date: price, airlines, flight numbers, departure and arrival times, duration, stops and layovers, aircraft, legroom and CO2 emissions, one way or round trip, any cabin, passengers and currency, at $0.20 per 1,000 flights.

Run it on Apify $0.20 per 1,000 flights ($0.16 on Gold and above)

Quick facts

Example input

{
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "2026-11-12"
}

Run it from code

REST API (cURL)

curl -X POST "https://api.apify.com/v2/acts/automationnation~google-flights-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"origin": "JFK", "destination": "LHR", "departureDate": "2026-11-12"}'

Python

# pip install apify-client
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("automationnation/google-flights-scraper").call(run_input={
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "2026-11-12"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("price"), item.get("airlines"), item.get("departure"), item.get("duration"))

JavaScript / Node.js

// npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('automationnation/google-flights-scraper').call({
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "2026-11-12"
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) console.log(item.price, item.airlines, item.departure, item.duration);

Use it with AI agents (MCP)

Connect AI assistants such as Claude, ChatGPT or Cursor through Apify's MCP server. Hosted URL:

https://mcp.apify.com?tools=automationnation/google-flights-scraper

Or run it locally in Claude Desktop / Cursor:

{
  "mcpServers": {
    "google-flights-scraper": {
      "command": "npx",
      "args": [
        "-y",
        "@apify/actors-mcp-server",
        "--tools",
        "automationnation/google-flights-scraper"
      ],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}

FAQ

Is there an official Google Flights API?

No. Google shut down its QPX Express flights API in 2018. Google Flights Scraper returns Google Flights results as data.

Are prices per person?

Prices include taxes and cover all passengers; round trips show the round-trip total.

Can it send me flight price alerts?

Yes. Schedule a search with Only fare drops on: each run saves flights only when the cheapest fare drops, with the previous price, and the task's Integrations tab sends them to Slack, email or a webhook. A run with no drop saves nothing.

Step-by-step guide: How to scrape Google Flights in 2026 (prices, airlines and times)

Step-by-step guide: Amadeus Self-Service API shut down? Get flight and hotel prices by API in 2026

Step-by-step guide: Google Flights API in 2026: is there one, and how to get flight prices by API

Step-by-step guide: Skyscanner API alternative: flight prices by API without a partner application (2026)

Step-by-step guide: Flight price alerts by API: get Google Flights fare drops in Slack, email or JSON

Open Google Flights Scraper on Apify Store