Metadata-Version: 2.4
Name: apify-google-flights-scraper
Version: 1.0.0
Summary: Google Flights Scraper - Flight Prices & Fares — free API client for the Apify platform. No API key setup, thousands of structured results, export to JSON, CSV or Excel.
Author: logiover
License: MIT
Project-URL: Homepage, https://apify.com/logiover/google-flights-scraper
Project-URL: Repository, https://github.com/logiover/google-flights-scraper
Project-URL: Bug Tracker, https://github.com/logiover/google-flights-scraper/issues
Keywords: google,flights,scraper,flight,prices,fares,apify,web scraping,data export,crawler,json,csv,no api key,unofficial api,dataset,data extraction
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: apify-client>=1.6
Dynamic: license-file

# Google Flights Scraper - Flight Prices & Fares

[![Run on Apify](https://img.shields.io/badge/Apify-Run%20Actor-97D700?logo=apify)](https://apify.com/logiover/google-flights-scraper) [![Python client](https://img.shields.io/badge/client-py-blue)](https://github.com/logiover/google-flights-scraper)

**Google Flights Scraper - Flight Prices & Fares** — a Python client for the [Apify Actor](https://apify.com/logiover/google-flights-scraper). Pull **Google Flights** data at scale with no API-key hassle: thousands of clean, structured results you can export to JSON, CSV or Excel.

▶️ **Run it on Apify:** https://apify.com/logiover/google-flights-scraper

## Install
```bash
pip install apify-google-flights-scraper
```

## Usage
```python
from google_flights_scraper import scrape

items = scrape({}, token="YOUR_APIFY_TOKEN")
print(len(items), "results")
print(items[0])
```

Get your free Apify token at <https://console.apify.com/account/integrations>.

## Input
| Field | Type | Description |
|---|---|---|
| `origin` | string | Origin airport |
| `destination` | string | Destination airport |
| `departureDate` | string | Departure date |
| `departureDateEnd` | string | Departure date — range end (optional) |
| `returnDate` | string | Return date (round-trip) |
| `tripType` | string | Trip type |
| `seatClass` | string | Cabin class |
| `adults` | integer | Adults |
| `children` | integer | Children |
| `maxStops` | string | Max stops |
| `currency` | string | Currency |
| `language` | string | Language / region |
| `maxResults` | integer | Max results |
| `proxyConfiguration` | object | Proxy configuration |

*All fields optional — run with empty input `{}` for a broad default result set.*

## Output
Each result item includes fields such as: `price`, `currency`, `airlines`, `stops`, `fromCode`, `toCode`, `departureDate`, `departureTime`, `arrivalTime`, `totalDurationMin`, `airlineCode`, `searchOrigin`, `searchDestination`, `searchDepartDate`, `searchReturnDate`, `tripType`, `arrivalDate`, `segments`, `bookingToken`, `scrapedAt`.

## Why use this
- ⚡ Thousands of results per run, auto-paginated
- 🔑 No Google Flights login or reverse-engineering — just call the Actor
- 📦 Export to JSON, CSV, Excel, JSONL, XML
- ☁️ Runs on Apify cloud — schedule it, add webhooks, wire into Make / Zapier / n8n

## FAQ
### Do I need an API key?
Only a free Apify token (grab one at https://console.apify.com/account/integrations). No Google Flights login and no scraping setup on your side.

### How many results can I get?
Thousands per run. Raise the limit in the input to pull more — the Actor paginates for you.

### What export formats are supported?
Results are plain JSON in code; from the Apify dataset you can export CSV, Excel, JSON, JSONL or XML.

### Is this an official Google Flights API?
No. It is an unofficial Google Flights data client on the Apify platform — a maintained alternative when there is no official or affordable API.

## Links
- ▶️ Run the Actor: https://apify.com/logiover/google-flights-scraper
- 📚 Docs & examples: https://github.com/logiover/google-flights-scraper
- 🧰 More scrapers by logiover: https://apify.com/logiover

---
MIT © 2026 logiover · Client library for the hosted Apify Actor. Not affiliated with Google Flights.
