fast-flights
The fast, robust, strongly-typed Google Flights scraper (API) implemented in Python.
Decision gist · record as of 2026-08-14
Yes. The package solves a real problem (fast, programmatic Google Flights access) with low install friction, active maintenance, no security issues, and permissive licensing. The main caveat is that scraping Google Flights carries legal and operational risk—Google may block or change the underlying Protobuf format without notice, and terms of service compliance is the user's responsibility. If you accept that risk and need fast flight data lookup, this is a solid choice.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction installation with a pure-Python wheel.
- Actively maintained with recent commits and no known vulnerabilities.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2026-06-17 (58 days) · last repo commit 2026-08-02 · 1,886 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 159,314 downloads/mo, #10,699 on PyPI
Alternatives
Verify before relying
pip install fast-flights
from fast_flights import FlightQuery, Passengers, create_query, get_flights
query = create_query(
flights=[FlightQuery(date="YYYY-MM-DD", from_airport="MYJ", to_airport="TPE")],
seat="economy",
trip="one-way",
passengers=Passengers(adults=1)
)
res = get_flights(query)- Whether Google's terms of service permit this scraping approach or if blocking is likely.
- Stability of the Protobuf schema as Google Flights evolves its internal API.
- Whether the SearchApi integration requires a paid account or API key.
- Performance characteristics under high-volume or concurrent query scenarios.
What it is and what it does
fast-flights is a Python scraper that queries Google Flights by reverse-engineering the Base64-encoded Protobuf format Google uses internally for flight search parameters. Rather than using browser automation, it constructs and decodes Protobuf messages directly, making it significantly faster for programmatic flight lookups. The package provides a strongly-typed API to specify departure/arrival airports, dates, seat class, trip type, and passenger counts, then returns structured flight results.
The library ships with optional integrations for BrightData (IP rotation) and SearchApi (richer data). It requires three runtime dependencies: primp, protobuf, and selectolax. The package is actively maintained with no known security vulnerabilities and supports current Python versions.
Use it for
- Build a travel recommendation chatbot that queries live flight availability and pricing without browser overhead.
- Aggregate flight prices across multiple date/route combinations for price-monitoring or deal-finding applications.
- Integrate flight search into a booking or trip-planning platform where speed and structured data matter.
- Scrape flight data for research or analysis, using BrightData integration to avoid IP blocking.
- Compare fares across seat classes and trip types programmatically for a travel comparison tool.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package solves a real problem (fast, programmatic Google Flights access) with low install friction, active maintenance, no security issues, and permissive licensing. The main caveat is that scraping Google Flights carries legal and operational risk—Google may block or change the underlying Protobuf format without notice, and terms of service compliance is the user's responsibility. If you accept that risk and need fast flight data lookup, this is a solid choice.
Install
fast-flights on PyPI
Before you install
Low friction installation with a pure-Python wheel. Actively maintained with recent commits and no known vulnerabilities. Requires Python 3.10 or later.
Requires Python 3.10 or later.
License in practice
Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install fast-flights
from fast_flights import FlightQuery, Passengers, create_query, get_flights
query = create_query(
flights=[FlightQuery(date="YYYY-MM-DD", from_airport="MYJ", to_airport="TPE")],
seat="economy",
trip="one-way",
passengers=Passengers(adults=1)
)
res = get_flights(query)
Verify before relying
- Whether Google's terms of service permit this scraping approach or if blocking is likely.
- Stability of the Protobuf schema as Google Flights evolves its internal API.
- Whether the SearchApi integration requires a paid account or API key.
- Performance characteristics under high-volume or concurrent query scenarios.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesprimpprotobufselectolax |
| Maintenance | Actively maintained 58 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 159,314 / month, #10,699 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: fast_flights-3.0.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google flights scraper”
- fast-flightsScrapes flight data from Google Flights by decoding Base64-encoded…
- flightsProgrammatic access to Google Flights search results through…
- google-play-scraperScrapes application metadata, ratings, reviews, and store details…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also flights · FlightRadarAPI · fr24 · airportsdata · TikTokApi · flyteidl2 · proto-plus · pure-protobuf · envoy_data_plane · googlenewsdecoder