# Google Flights Scraper – Prices, Calendar & Insights (`tubetext/google-flights-scraper`) Actor

Get Google Flights prices from origin, destination and dates: one-way, round trip or multi-city. Returns flight options with price, airlines, stops and times, a cheapest-day calendar and price insights. No login. $0.002 per result; failed searches are free. · by TubeText

- **URL**: https://apify.com/tubetext/google-flights-scraper.md
- **Developed by:** [TubeText Labs](https://apify.com/tubetext) (community)
- **Categories:** Travel, E-commerce, Automation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Flights Scraper – Prices, Cheapest-Day Calendar & Price Insights

> **TubeText** · E-commerce & travel · Pay per result. No login. Ready for AI agents. [All tools](https://apify.com/tubetext)

### Quick start (no coding)

![Google Flights Scraper quick start: click Try for free, paste your input, click Start, export to Excel](https://raw.githubusercontent.com/LMSlay/tubetext-assets/main/google-flights-quickstart.gif)

1. Click **Try for free** at the top of this page. A free Apify account is enough – it includes monthly credit.
2. In **Routes**, paste one route per line as two airport or city codes (like `JFK-LAX` or `PAR-BCN`), then set **Departure date**.
3. Click **Start**. Usually 1–3 minutes per route.
4. When it says **Succeeded**, open the **Output** tab and click **Export** → **Excel** (or CSV). One row per flight (airline, times, stops, price) plus a route summary saying whether today's price is low, typical or high.

**Cost:** $0.002 per result – a route with 30 flights ≈ $0.06.

**Common mistakes**

- Typing city names → use codes like `NYC-LON`.
- Want the cheapest day → set **Price calendar: days to check** (up to 60).
- Round trip → also fill **Return date**.
- Multi-city → use **Or: multi-city trips** (like `JFK-LHR 2026-11-20, LHR-CDG 2026-11-24`).
- Want each airline and travel site's price and bag fees → set **Booking options for the top N flights** (one-way searches).

**Questions or problems?** [Open an issue](https://apify.com/tubetext/google-flights-scraper/issues) (we read every one). **Need a custom version?** Ask in an issue or [email us](mailto:tubettext@gmail.com) – we build it as a private Actor on Apify.

### Use from Claude, Cursor or any MCP client

Add `https://mcp.apify.com?tools=tubetext/google-flights-scraper` as a remote MCP server and sign in to Apify (Claude: **Settings → Connectors → Add custom connector**). Claude Code:

```bash
claude mcp add --transport http tubetext "https://mcp.apify.com?tools=tubetext/google-flights-scraper"
```

Then ask, for example: *"Find round-trip flights New York to London, May 10–17, and show the cheapest day to fly that month."* or *"Compare nonstop vs 1-stop prices for SFO to Tokyo next month."*

🆓 **Free to try:** Apify's free plan includes $5 of usage every month, no credit card needed – enough for about 2,500 flight results with this tool.

**What you get** – real output from a test run, shortened. One row per flight, plus a route summary with Google's price level:

| Route | Airline | Flight | Departs | Stops | Price |
|---|---|---|---|---|---|
| JFK-LAX | JetBlue | B6 323 | 2026-11-20T11:30 | 0 | $269 |
| JFK-LAX | Delta | DL 701 | 2026-11-20T14:00 | 0 | $269 |
| JFK-LAX | JetBlue | B6 723 | 2026-11-20T14:00 | 0 | $269 |

Scrape **Google Flights** for any route: every flight option with **price, airlines, flight numbers, times, duration, stops, layovers, aircraft and CO₂**, one-way or **round trip**, any cabin and passenger count, in **any currency**. On top of the flight list you get two things most flight scrapers don't have:

- 📅 **Price calendar** – check up to 60 consecutive departure dates in one run and see the **cheapest day to fly** (`isCheapestDay`).
- 📈 **Price insights** – whether today's price is **low, typical or high** for the route, Google's **typical price range**, and about **60 days of price history**.
- 🛫 **Multi-city trips** – 2 to 6 legs with dates (`JFK-LHR 2026-11-20, LHR-CDG 2026-11-24, CDG-JFK 2026-11-28`); you get the first-leg options, each priced for the whole trip, as Google shows them.
- 🏷️ **Booking options** – for the top 1–10 one-way flights, every airline and travel site Google lists, with seller, price, fare name (e.g. Main Base / Main / Main Flex) and checked-bag fees. No extra charge.

Built for travel agencies, fare-tracking apps, travel bloggers, revenue managers and researchers. No login, no API key. **$2 per 1,000 results.**

### Input example

```json
{
  "routes": ["PAR-BCN", "JFK-LAX"],
  "departureDate": "2026-11-20",
  "returnDate": "2026-11-27",
  "calendarDays": 7,
  "adults": 1,
  "cabin": "economy",
  "currency": "EUR",
  "maxFlightsPerSearch": 10
}
```

Routes are two **airport or city codes** (`JFK-LAX`, `NYC-LON`, `PAR-BCN`, `SFO-NRT`). Leave `returnDate` empty for one-way.

### Output example

Real output (Oct 2026, shortened). A **flight** row:

```json
{
  "type": "flight",
  "route": "JFK-LAX",
  "rank": 1,
  "airlines": ["JetBlue"],
  "flightNumbers": ["B6 123"],
  "departure": "2026-11-20T06:10",
  "arrival": "2026-11-20T09:25",
  "durationMinutes": 375,
  "stops": 0,
  "price": 365,
  "currency": "EUR",
  "co2Kg": 374,
  "isBest": true,
  "tripType": "round_trip"
}
```

A **route summary** row with price insights:

```json
{
  "type": "summary",
  "route": "JFK-LAX",
  "lowestPrice": 365,
  "priceLevel": "typical",
  "typicalPriceLow": 195,
  "typicalPriceHigh": 460,
  "flightsFound": 32,
  "priceHistory": [{"date": "2026-08-11", "price": 367}, "… about 60 days …"]
}
```

**Calendar** rows (round trip, 7-night stays, Paris → Barcelona):

| departureDate | returnDate | lowestPrice | airlines | isCheapestDay |
|---|---|---|---|---|
| 2026-11-20 | 2026-11-27 | 125 | Vueling | false |
| 2026-11-21 | 2026-11-28 | **50** | Ryanair | **true** |
| 2026-11-22 | 2026-11-29 | 92 | Transavia | false |
| 2026-11-23 | 2026-11-30 | 64 | Ryanair | false |

Flight rows also include `layovers` (airport, city, minutes) and `legs` (each leg's times, flight number, aircraft and legroom). In Excel/CSV export, choose the **Flights** or **Price calendar** view for clean columns.

### Pricing

Pay per event:

- **$2.00 per 1,000 results** – one flight, route summary or calendar day (cheaper on higher Apify plans: down to $1.50).
- Booking options are included at no extra charge.
- Failed searches and routes without flights are free.

Example: 1 route with 30 flights + summary + a 30-day calendar = 61 results ≈ **$0.12**.

### Tips

- **Prices are totals** for all passengers. For round trips Google lists outbound flights with the **round-trip price**; open `googleFlightsUrl` to pick the return flight.
- **Find the cheapest day**: set `calendarDays` (e.g. 30) and sort the Price calendar view by `lowestPrice`.
- **Fare monitoring**: schedule a daily run and compare `lowestPrice` and `priceLevel` over time; send alerts to Slack, email or Google Sheets with Apify integrations, n8n, Make or Zapier.
- **Hotels too**: pair it with our [Google Hotels Scraper](https://apify.com/tubetext/google-hotels-scraper) for full trip costs.

### Ready-made examples

- [Cheapest Day to Fly](https://apify.com/tubetext/google-flights-scraper/examples/cheapest-day-to-fly)
- [Flight Price Insights](https://apify.com/tubetext/google-flights-scraper/examples/flight-price-insights)

### TubeText Labs tools

**TubeText Labs** builds 29 pay-per-result Apify Actors for video, social and e-commerce data – no login, JSON/CSV/Excel output, and ready for ChatGPT and Claude (Apify MCP), n8n, Make and Zapier. All tools: [apify.com/tubetext](https://apify.com/tubetext)

**Transcripts**

- [YouTube Transcript Scraper](https://apify.com/tubetext/youtube-transcript-fast) – videos, Shorts, playlists and whole channels to text; Whisper AI when there are no captions
- [TikTok Transcript Scraper](https://apify.com/tubetext/tiktok-transcript) – TikTok captions plus Whisper AI, SRT and timestamps
- [Instagram Reels Transcript](https://apify.com/tubetext/instagram-reels-transcript) – reel links or @usernames to text with Whisper AI
- [Podcast & Video Transcript](https://apify.com/tubetext/any-video-podcast-transcript) – podcast RSS / Apple Podcasts, X, Facebook, Loom, Twitch and audio files to text
- [Facebook Video Transcript](https://apify.com/tubetext/facebook-video-transcript) – public Facebook videos and Reels to text with Whisper AI
- [X (Twitter) Video Transcript](https://apify.com/tubetext/twitter-x-video-transcript) – X/Twitter video posts to text with Whisper AI
- [Bilibili Video Transcript](https://apify.com/tubetext/bilibili-video-transcript) – Bilibili (B站) videos to text with Whisper AI, plus optional English summaries
- [Podcast Transcript](https://apify.com/tubetext/podcast-transcript) – podcast RSS feeds and Apple Podcasts episodes to text with Whisper AI

**Video & ad analysis**

- [Video Breakdown AI](https://apify.com/tubetext/video-breakdown-ai) – hook analysis, shot list, cut pacing, products shown and script of any TikTok, Reel or YouTube video
- [Video Ad Analyzer](https://apify.com/tubetext/video-ad-analyzer) – competitors' YouTube video ads by brand or domain (Google Ads Transparency), torn down by AI
- [Meta Ad Library Scraper](https://apify.com/tubetext/meta-ad-library-videos) – Facebook and Instagram ads by brand or keyword: video URLs, images, ad copy, CTA and landing page

**Social, apps & trends**

- [YouTube Channel Analytics](https://apify.com/tubetext/youtube-channel-analytics) – subscribers, recent video performance, Social Blade grade, ranks and estimated earnings
- [Bilibili Scraper](https://apify.com/tubetext/bilibili-scraper) – Bilibili (B站) keyword search, popular board, top-100 ranking, video stats, danmaku text and creator (UP主) followers – no login
- [China Trending Topics](https://apify.com/tubetext/china-trending-topics) – Douyin, Weibo, Baidu, Toutiao and Bilibili hot-search boards in one run, in English – plus an optional AI briefing on why topics trend
- [WeChat Article Scraper](https://apify.com/tubetext/wechat-articles-scraper) – WeChat 公众号 articles by keyword or link: full text, English titles and optional English summaries
- [Google Play Reviews + AI Insights](https://apify.com/tubetext/google-play-reviews-ai) – Android app reviews by star rating, country and language, plus an AI report of complaints and praise
- [Steam Reviews Scraper + AI Insights](https://apify.com/tubetext/steam-reviews-scraper) – Steam game reviews with hours played and votes, review score and current players, plus an AI report of top complaints, praise and feature requests
- [Social Blade Scraper](https://apify.com/tubetext/socialblade-scraper) – Social Blade stats for YouTube, TikTok, Instagram and Twitch creators – grade, ranks, 2-week growth, daily history, earnings estimates and top-100 lists
- [Spotify Play Count Scraper](https://apify.com/tubetext/spotify-play-count-scraper) – play counts for every track of an album, artist or playlist (incl. Top 50 charts), plus monthly listeners, followers, world rank and top cities

**E-commerce & travel**

- [TikTok Shop Product Scraper](https://apify.com/tubetext/tiktok-shop-product-scraper) – US TikTok Shop prices, items sold, stock per SKU and shop stats
- [AliExpress Search Scraper](https://apify.com/tubetext/aliexpress-search-scraper) – AliExpress search results by keyword: price, items sold, rating, shipping, badges
- [Google Hotels Scraper](https://apify.com/tubetext/google-hotels-scraper) – hotel prices for any destination and dates, per booking site and as a 90-day price calendar
- [Taobao & Tmall Product Scraper](https://apify.com/tubetext/taobao-tmall-scraper) – Taobao/Tmall products by Chinese or English keyword, category or URL: CNY prices, shops and seller scores
- [Alibaba & Yiwu Supplier Finder by Image](https://apify.com/tubetext/alibaba-yiwu-image-search) – product photo in, similar Alibaba.com and Yiwu wholesale listings out: price, MOQ, supplier, country and rating
- [Amazon Product Search Scraper](https://apify.com/tubetext/amazon-product-search-scraper) – Amazon search results, Best Sellers lists and product pages: price, rating, reviews, monthly sales signal, badges and specs
- [Google Flights Scraper](https://apify.com/tubetext/google-flights-scraper) *(this tool)* – flight prices for any route or multi-city trip, a cheapest-day calendar, price insights and booking options per site
- [Agoda & Booking.com Hotel Reviews + AI](https://apify.com/tubetext/agoda-reviews-scraper) – Agoda hotel reviews plus verified Booking.com reviews shown on Agoda, hotel scores and sub-scores, and an AI report of complaints, praise and action items
- [Gas Prices Scraper (US & Canada)](https://apify.com/tubetext/gas-prices-scraper) – live gas station prices by ZIP, city or coordinates – regular, premium, diesel, E85 – with an area summary of the cheapest stations
- [Idealo Price Scraper](https://apify.com/tubetext/idealo-price-scraper) – every shop offer for a product on idealo – price, shipping, delivery, shop rating – in Germany, Austria, France, Italy, Spain and the UK, with a summary per market

**Questions or problems?** [Open an issue](https://apify.com/tubetext/google-flights-scraper/issues) (we read every one). **Need a custom version?** Ask in an issue or [email us](mailto:tubettext@gmail.com) – we build it as a private Actor on Apify.

Found it useful? A short review on this page helps others find it.

Built by **TubeText Labs** · Pay per result. No login. Ready for AI agents.

### FAQ

**Which airports and cities work?** Any IATA airport code (JFK, LHR, NRT) and multi-airport city codes (NYC, LON, PAR, TYO).

**Are these live prices?** Yes – the same results Google Flights shows at run time, for the currency you choose. Fares change often, so treat them as a snapshot.

**Can I book through it?** No – it collects public prices. `googleFlightsUrl` opens the search on Google Flights, where you can continue to the airline or agency.

**Is this legal?** The Actor reads public Google Flights results without logging in and collects no personal data. You are responsible for how you use the data and for complying with Google's terms.

**Can I cap what a run costs?** Yes – set *Maximum cost per run* in the run options. The run stops cleanly when the next result would go over it, and you are never charged more.

# Actor input Schema

## `routes` (type: `array`):

One route per line as two airport or city codes: JFK-LAX, NYC-LON, SFO-NRT, PAR-BCN.

## `multiCityTrips` (type: `array`):

One trip per line, 2-6 legs with dates: JFK-LHR 2026-11-20, LHR-CDG 2026-11-24, CDG-JFK 2026-11-28. Returns the first-leg flight options, each with the price of the whole trip, like Google Flights shows them.

## `departureDate` (type: `string`):

YYYY-MM-DD. Empty = 30 days from today.

## `returnDate` (type: `string`):

Optional. Set it for round-trip prices; leave empty for one-way.

## `calendarDays` (type: `integer`):

0 = off. Otherwise also checks this many consecutive departure dates starting at the departure date (same trip length for round trips) and returns the cheapest price per day – find the cheapest day to fly.

## `adults` (type: `integer`):

Prices are for all passengers together.

## `cabin` (type: `string`):

Travel class.

## `maxStops` (type: `string`):

Limit the number of stops.

## `currency` (type: `string`):

Three-letter currency code (USD, EUR, GBP, JPY…).

## `maxFlightsPerSearch` (type: `integer`):

Google's best flights come first, then the other options.

## `bookingOptionsForTop` (type: `integer`):

One-way searches: for the first N flights, also list where to book them – the airline and travel sites, with price, fare name (e.g. Basic, Main, Flex) and checked-bag fees. No extra charge; each adds a few seconds. 0 = off.

## `includePriceInsights` (type: `boolean`):

One row per route with the lowest price, whether it is low/typical/high for this route, Google's typical price range and about 60 days of price history.

## `maxConcurrency` (type: `integer`):

Used for the price calendar.

## Actor input object example

```json
{
  "routes": [
    "JFK-LAX"
  ],
  "multiCityTrips": [],
  "calendarDays": 0,
  "adults": 1,
  "cabin": "economy",
  "maxStops": "any",
  "currency": "USD",
  "maxFlightsPerSearch": 30,
  "bookingOptionsForTop": 0,
  "includePriceInsights": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "routes": [
        "JFK-LAX"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tubetext/google-flights-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "routes": ["JFK-LAX"] }

# Run the Actor and wait for it to finish
run = client.actor("tubetext/google-flights-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "routes": [
    "JFK-LAX"
  ]
}' |
apify call tubetext/google-flights-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tubetext/google-flights-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1z9yt2WbIU5RnY0GE/builds/N6jQbq1EvQwkOMTi6/openapi.json
