Google Flights Scraper API — Fares & Multi-City
Pricing
from $10.00 / 1,000 google flights fares
Google Flights Scraper API — Fares & Multi-City
Extract Google Flights fare cards with prices, airlines, schedules, stops, durations, and multi-city itinerary legs for travel research and AI agents.
Pricing
from $10.00 / 1,000 google flights fares
Rating
0.0
(0)
Developer
Muhammad Afzal
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Query Google Flights from an Apify Actor or AI agent and receive structured visible fare cards for one-way, round-trip, and multi-city itineraries. It is designed for travel-price monitoring, itinerary comparison, metasearch prototypes, and agent workflows that need current fare snapshots.
What it returns
Each dataset item includes the requested itinerary, visible price and currency, airline text, flight numbers when detected, departure/arrival times, duration, stops, cabin class, the search URL, and extraction warnings. Google Flights is interactive, so a direct booking URL is returned only when Google exposes one; it is otherwise null.
Input examples
Standard round trip:
{ "origin": "JFK", "destination": "LAX", "departureDate": "2026-08-15", "returnDate": "2026-08-22", "tripType": "roundTrip", "maxResults": 20 }
Multi-city:
{ "tripType": "multiCity", "multiCityLegs": [{ "origin": "JFK", "destination": "LHR", "date": "2026-08-15" },{ "origin": "LHR", "destination": "CDG", "date": "2026-08-20" },{ "origin": "CDG", "destination": "JFK", "date": "2026-08-27" }] }
Pricing
| Event | Price |
|---|---|
| Actor start | $0.00005 |
| Fare record | $0.01 |
The actor stops emitting after maxResults. Residential proxy traffic is enabled by default and is billed separately by Apify according to the account’s proxy rates.
Reliability and limitations
Google may show regional availability, consent screens, rate limits, or bot-detection pages. The actor preserves a diagnostic OUTPUT object and returns a successful warning state instead of pretending that an empty challenge page is a no-results search. Visible fare cards are snapshots and can change before booking; validate final availability, baggage rules, taxes, and booking terms with the airline or travel provider.
Legal note
Use this actor responsibly and comply with Google’s terms, applicable law, and any relevant airline or travel-provider terms. Do not use it to misrepresent prices or bypass access controls.
Use cases
- Compare public travel inventory, routes, locations, availability, or prices.
- Schedule repeatable collection and export results to downstream workflows.
- Run a one-off research job and export the structured result as JSON, CSV, Excel, XML, or RSS from Apify.
- Schedule the same input to monitor changes over time and send completed datasets to a webhook or integration.
- Feed schema-shaped records into a database, spreadsheet, BI tool, or AI workflow with the source URL retained for verification.
Output example
{"searchUrl": "https://www.google.com/travel/flights?q=Flights%20from%20JFK%20to%20LAX","tripType": "roundTrip","origin": "JFK","destination": "LAX","departureDate": "2026-08-15","returnDate": "2026-08-22","itinerary": [{"origin": "JFK","destination": "LHR","date": "2026-08-15"}],"price": 642,"currency": "USD","airline": "Delta","flightNumbers": ["DL 421"],"departureTime": "8:10 AM"}
The exact fields depend on the selected input and what the public source exposes. Use the dataset schema as the machine-readable contract and retain source URLs for verification.
Run Google Flights Scraper API — Fares & Multi-City with the Apify API
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('muhammadafzal/google-flights-scraper-api').call({"origin": "JFK","destination": "LAX","departureDate": "2026-08-15","returnDate": "2026-08-22","tripType": "roundTrip","adults": 1,"children": 0,"cabinClass": "economy"});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
You can also run the Actor from Apify Console, schedules, webhooks, the REST API, Make, Zapier, n8n, or the hosted Apify MCP server.
Support
When reporting a problem, include the Actor run ID, a redacted input, the expected result, and a small public example URL when applicable. Do not post API tokens, cookies, credentials, or personal data in an issue.
Frequently asked questions
Can I schedule Google Flights Scraper API — Fares & Multi-City?
Yes. Use an Apify schedule to run the same saved input at a chosen interval, then connect a webhook or integration to process the dataset when the run finishes.
How should I test a new input?
Begin with the prefilled example or a small limit. Confirm that the output fields, source coverage, runtime, and live charges match your workflow before increasing the scope.
How do I export the results?
Open the run's default dataset in Apify Console and export JSON, CSV, Excel, XML, or RSS. Applications can retrieve the same records through the Apify API client or REST dataset endpoint.
Can an AI agent call this Actor?
Yes. Add muhammadafzal/google-flights-scraper-api through the hosted Apify MCP server or call it through the API. The Actor's input and dataset schemas help agents construct valid requests and interpret returned records.