Export Flight Price Data to CSV by Route
John
Google Flights API
Build a live flight price dataset for any route: current fares, airlines, stops, duration and travel class, exported to CSV or JSON for analysis.
Input
Output fields
Sign up on Apify or log in
The Google Flights API Actor is ready to run with the inputs already set for "Export Flight Price Data to CSV by Route". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Export Flight Price Data to CSV by Route" task
The Google Flights API Actor will start running based on the input automatically. You can also change all the input fields, like departure airport code(s), arrival airport code(s), and more, to match your specific use case.
Receive the "Export Flight Price Data to CSV by Route" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as all flights (flat).
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Export Flight Price Data to CSV by Route" task via API.

The Flights view gives one row per itinerary from all_flights: departure_airport, arrival_airport, price, airlines, stops and duration for the LAX to JFK search. Download that view as CSV, JSON or Excel straight from the run.
Three fields for a one-way route: departure_id LAX, arrival_id JFK and outbound_date 2026-10-16. Add return_date for a round trip, raise max_pages to pull more than the first page, or set currency to EUR or GBP to price the export another way.
Run the task from its endpoint on the Apify API or with apify-client, then download the dataset as CSV or JSON; the Flights view flattens all_flights to one row per itinerary. Change departure_id and arrival_id per call for one file per route.
Open the task in the Apify Console, choose Actions, then Schedule, and set 0 6 1 * * for the first of each month at 6 AM. Each run writes a fresh dataset, and the n8n node or a webhook can drop the rows into a Google Sheet or a Postgres table.
Point Claude or any other MCP client at https://mcp.apify.com/?tools=actors,docs,johnvc/google-flights-data-scraper-flight-and-price-search and the agent runs the route export and reads the all_flights rows back, or hands you the dataset link.
Every Apify account comes with a free plan, and the Google Flights API bills pay per event: one charge for each page of results retrieved plus a setup event per run, with no subscription. The rate for each plan is listed on the Actor page.
Export Flight Price Data to CSV by Route is a snapshot: one route, one date, every itinerary as a flat row for a spreadsheet. Track NYC to London flight prices by API repeats a fixed round trip on a schedule to build a fare history over weeks.