Skip to main content
Glama

google-flights-scraper

Search and extract Google Flights fares, itinerary lists, price calendars, and booking links for round-trip, multi-city, and batch route searches.

Instructions

Google Flights Scraper πŸ’°$1/1K β€” Fares, Calendar & Booking. [$1/1K rows] Google Flights scraper: fares, the full 100-150 itinerary list, price calendar up to a year, Explore destinations, layovers, CO2, booking options with seller links. Round trip, multi-city, batch routes. 50,000 flights = $50, no run or search fee.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "google-flights-scraper"
  }
}

Input Schema

NameRequiredDescriptionDefault
adultsNoπŸ‘€ Adults β€” Passengers aged 12 and over (1–9). Prices are the total for all passengers.
marketNo🌐 Market (country of sale) β€” Two-letter country code of the point of sale, e.g. US, ID, GB, DE, AU. Google returns the fares, sellers and booking links available to buyers in that country β€” prices differ by market. Leave empty for Google's default.
originNoπŸ›« Origin airport (IATA) β€” Required unless you fill `routes` or `multiCityLegs`. Departure airport code, e.g. DPS (Bali), CGK (Jakarta), SIN (Singapore), LHR (London)
routesNoπŸ—ΊοΈ More routes (batch) β€” Search many routes in one run. Each item: {"origin": "DPS", "destination": "BKK", "departureDate": "2026-10-15", "returnDate": "2026-10-22"} (returnDate optional). Passengers, cabin and filters below apply to every route.
sortByNo↕️ Sort by β€” Google's own ranking (best), or by price, duration or departure timebest
airlinesNoOnly these airlines β€” IATA airline codes to keep, e.g. SQ, GA, QZ. Leave empty for all.
childrenNoChildren (2–11) β€” Passengers aged 2 to 11. Google applies child fares where the airline offers them.
currencyNoπŸ’± Currency β€” ISO code for prices: USD, IDR, EUR, SGD, AUD…USD
languageNoLanguage β€” Language of airport and airline names, e.g. en, id, deen
maxPriceNoMax price β€” Drop flights above this price (in the selected currency)
maxStopsNoπŸ”€ Max stops β€” any, 0 nonstop only, 1 up to one stop, 2 up to two stopsany
cabinClassNoπŸ’Ί Cabin class β€” Economy, premium economy, business or firsteconomy
dataSourceNoData source β€” Auto: Google's results API (full list of 100–150 itineraries, needs a residential proxy) with automatic fallback to the results page (first ~40 itineraries, works from any IP). Results API only: more retries on fresh IPs; if Google still refuses, the route falls back to the results pagauto
maxResultsNoπŸ’― Max flights per route β€” Google returns up to ~150 itineraries per search
returnDateNoReturn date (optional) β€” Leave empty for one-way. Format YYYY-MM-DD. Round-trip prices are the total for both directions.
destinationNoπŸ›¬ Destination airport (IATA) β€” Arrival airport code, e.g. SIN (Singapore), BKK (Bangkok), SYD (Sydney). Ignored when Explore is on.
calendarDaysNoπŸ“† Price calendar (days) β€” Lowest fare for each departure date over this many days starting at the departure date β€” Google's date grid as data. 0 = off, 60 = two months, up to 365. One request per 90 days. Adds calendar_day items and a calendar.cheapestDates summary to the search item. For round tri
calendarOnlyNoCalendar only (skip the flight list) β€” Return just the price calendar and the search summary β€” the cheapest way to sweep dates or routes.
infantsOnLapNoInfants on lap β€” Under 2 years old, travelling on an adult's lap (usually ~10% of the adult fare).
arrivalTimeToNoArrive before (HH:MM) β€” Latest arrival time, local, e.g. 22:00
departureDateNoπŸ“… Departure date β€” Format YYYY-MM-DD Leave the whole route empty and the Actor runs a demo search so a first run always returns rows.
infantsInSeatNoInfants in seat β€” Under 2 years old, with their own seat (charged as a child fare on most airlines).
multiCityLegsNo🧭 Multi-city legs β€” A multi-city trip as a list of legs: {"origin": "SIN", "destination": "BKK", "date": "2026-10-15"}, {"origin": "BKK", "destination": "HKT", "date": "2026-10-19"}, {"origin": "HKT", "destination": "SIN", "date": "2026-10-23"}. Google prices the trip leg by leg; the Actor resolves
arrivalTimeFromNoArrive after (HH:MM) β€” Earliest arrival time, local, e.g. 08:00
departureTimeToNoDepart before (HH:MM) β€” Latest departure time, local, e.g. 12:00
excludeAirlinesNoExclude airlines β€” IATA airline codes to drop, e.g. TR (Scoot)
exploreAnywhereNo🌍 Explore: cheapest destinations from the origin β€” Instead of a fixed route, list the cheapest destinations Google suggests from Origin β€” city, country, price, airline, stops, duration and suggested dates. Uses Departure/Return date when set, otherwise Google's flexible one-week trips over the comi
maxDestinationsNoMax destinations (explore) β€” How many destinations to return in Explore mode, cheapest first.
maxReturnOptionsNoReturn flights to keep per outbound β€” How many return flights to keep for each outbound itinerary, cheapest first.
departureTimeFromNoDepart after (HH:MM) β€” Earliest departure time, local, e.g. 06:00
includeRunSummaryNo🧾 Add a free summary row at the end of the run β€” One extra free row with the run's totals: rows delivered, free rows, what was charged and how much in US dollars. It carries type "notice", so a filter on your data rows skips it.
maxLayoverMinutesNoMax layover (minutes) β€” Drop itineraries with any layover longer than this, e.g. 180
maxDurationMinutesNoMax total duration (minutes) β€” Drop itineraries longer than this, e.g. 720 for 12 hours
proxyConfigurationNoProxy configuration β€” Google serves the full results API only to residential IPs β€” keep Residential proxies for complete results (a search transfers ~250 KB, a fraction of a cent). Datacenter proxies still work through the page fallback with the first ~15 itineraries.
includePriceInsightsNoPrice insights β€” Add Google's price level (low / typical / high), typical price range and 60-day price history to the search summary and to every flight
includeSearchSummaryNo🧾 Add the search summary row β€” Adds one type: "search" row per search with how many itineraries Google had, its own lowest price, the price level and the price history. It is not a flight, so it is off by default and the table stays flights only β€” the same summary is always saved as the run's SEARC
maxReturnResolutionsNoOutbound itineraries to resolve returns for β€” Per round-trip search, counted from the top of the sorted list
resolveReturnFlightsNoπŸ” Return flights for round trips β€” For the top outbound itineraries of a round trip, fetch Google's list of return flights β€” each with the total price for both directions β€” so you get complete outbound + return combinations. One extra request per outbound itinerary.
maxBookingResolutionsNoFlights to resolve booking options for β€” Per search, counted from the top of the sorted list
resolveBookingOptionsNo🎫 Booking options (who sells it, at what price, with a link) β€” For the top flights of each search, fetch Google's booking options: airline and travel agencies (Trip.com, Expedia, Kiwi…), their prices, fees, and a deep link to book. Round trips need Return flights on β€” options are fetched for the ou
maxMultiCityResolutionsNoMulti-city itineraries to resolve β€” How many first-leg options to follow through all legs (one request per leg each)
fillMissingPricesFromKayakNoπŸ’Έ Fill missing prices from KAYAK β€” Some airlines keep fares off Google Flights (e.g. Saudia on Saudi domestic routes), so those flights come with no price. Tick this to run our KAYAK Flights Scraper for the same search and copy KAYAK's price onto the same flight. Filled rows carry priceSource: "kay

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the whole burden. It does disclose the billing model ($1/1K rows, no run or search fee, 50,000 flights = $50) and the coverage difference between the results API and the page fallback, which is genuinely useful. It says nothing about failure modes, retry behavior, or proxy/IP prerequisites at the description level β€” those are only buried in individual parameter text.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the resource and feature list, but the pricing is restated three times ('πŸ’°$1/1K', '[$1/1K rows]', '50,000 flights = $50, no run or search fee'), which reads as promotional filler rather than agent-relevant information. The core content is one dense run-on sentence, and nothing is said about return structure or how to interpret the extra notice/search/calendar rows.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 42-parameter, no-output-schema tool, the description conveys the shape of the results reasonably well: itinerary lists, price calendar items with a cheapest-dates summary, Explore destination rows, and booking options with seller links. Given the schema carries full parameter documentation, remaining gaps (pagination, cost estimation beyond the stated rate, per-mode output differences) are modest rather than disqualifying.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% across all 42 parameters, with enum values and per-parameter examples already present, so the schema does the heavy lifting. The description adds no additional meaning about specific parameters (e.g. how calendarDays interacts with calendarOnly or how the resolution parameters gate booking data); its feature list only loosely maps to parameter groups. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (Google Flights scraper) and enumerates the concrete outputs: fares, the 100–150 itinerary list, a price calendar up to a year, Explore destinations, layovers, CO2 and booking options. It also names supported trip shapes (round trip, multi-city, batch routes), so an agent can tell what it returns. It stops short of positioning itself against the sibling kayak-flights-scraper, which is only referenced deep inside a parameter description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the mention of 'Round trip, multi-city, batch routes' and 'Explore destinations' tells an agent which modes exist, and the schema shows one-way/round-trip/Explore/multi-city/calendar-only switches. There is no explicit when-to-use, when-not-to-use, or guidance on choosing this tool over kayak-flights-scraper even though a KAYAK fill-in parameter exists.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.