Google Flights Scraper API — Fares, Airlines & Stops
Pricing
from $8.00 / 1,000 google flights fares
Google Flights Scraper API — Fares, Airlines & Stops
Extract Google Flights fare cards for one-way and round-trip searches: prices, airlines, departure and arrival times, stops and durations, for travel research and AI agents.
Pricing
from $8.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
16 days ago
Last modified
Categories
Features
Share
Query Google Flights from an Apify Actor or AI agent and receive structured fare cards for one-way and round-trip itineraries: price, airline, departure and arrival times, duration, and stops. It is designed for travel-price monitoring, itinerary comparison, metasearch prototypes, and agent workflows that need current fare snapshots.
Current status (2026-10-27): one-way and round-trip searches return fares. Multi-city searches are accepted, but Google Flights currently returns no result cards for direct multi-city search links, so those runs end with a clear failure message and no fare charges.
What it returns
Each dataset item includes the requested itinerary, the fare price and currency, airline, departure and arrival times (with +1 when the flight lands the next day), duration, stops, cabin class, the search URL, and extraction notes. For round trips the price is the round-trip total and the times describe the outbound flight. Google Flights result cards do not expose booking links or flight numbers, so bookingUrl is null and flightNumbers is an empty list.
Input examples
Standard round trip. Leave departureDate empty to search 14 days from today; an empty returnDate means 7 days after departure:
{ "origin": "JFK", "destination": "LAX", "departureDate": "2026-12-01", "returnDate": "2026-12-08", "tripType": "roundTrip", "maxResults": 20 }
One way, nonstop only:
{ "origin": "JFK", "destination": "LHR", "departureDate": "2026-12-01", "tripType": "oneWay", "nonStop": true, "maxResults": 10 }
Multi-city (accepted, but currently returns no fares; see the status note above):
{ "tripType": "multiCity", "multiCityLegs": [{ "origin": "JFK", "destination": "LHR", "date": "2026-12-01" },{ "origin": "LHR", "destination": "CDG", "date": "2026-12-05" },{ "origin": "CDG", "destination": "JFK", "date": "2026-12-12" }] }
Pricing
This Actor uses pay-per-event pricing. These are the current Apify Store event prices:
| Event | Free | Bronze | Silver | Gold, Platinum, Diamond | When it is charged |
|---|---|---|---|---|---|
apify-actor-start | $0.006251 | $0.006094 | $0.005938 | $0.005 | Once per allocated GB of Actor memory, with at least one event per run. |
google-flight-fare | $0.010001 | $0.009750 | $0.009500 | $0.008 | One event for each structured Google Flights fare record returned. |
The minimum total run-charge limit is $0.016252.
Apify platform usage for this Actor run is included alongside the event prices above; no separate per-run platform-usage fee is passed to users.
This covers Apify platform usage for this Actor run. Other Apify products or usage outside this Actor run may still follow your account plan.
Reliability and limitations
Google may show regional availability, consent screens, rate limits, or bot-detection pages. Every run writes a diagnostic OUTPUT object with status (SUCCEEDED, EMPTY, BLOCKED, FAILED or INVALID_INPUT), the fare count, the charged fare events and the stop reason. A blocked or unparseable page ends the run as failed with no fare charges; it is never reported as a no-results search. Past dates are rejected before any 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/search?tfs=GhoSCjIwMjYtMTEtMTBqBRIDSkZLcgUSA0xBWBoaEgoyMDI2LTExLTE3agUSA0xBWHIFEgNKRktAAUgBmAEB&hl=en&curr=USD","tripType": "roundTrip","origin": "JFK","destination": "LAX","departureDate": "2026-11-10","returnDate": "2026-11-17","itinerary": [{ "origin": "JFK", "destination": "LAX", "date": "2026-11-10" }],"price": 412,"currency": "USD","airline": "American","flightNumbers": [],"departureTime": "9:00 AM","arrivalTime": "12:14 PM","duration": "6 hr 14 min","stops": "Nonstop","cabinClass": "economy","bookingUrl": null}
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-12-01","returnDate": "2026-12-08","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.
Last verified: 2026-10-27