Developers building airfare deal monitors, corporate travel sustainability calculators, or hotel revenue-management rate shoppers face a fragmented API landscape in 2026:
- Legacy GDS & Post-Amadeus Self-Service Friction: Traditional Global Distribution Systems (Sabre, Travelport, and enterprise Amadeus tiers) are designed around accredited travel agencies issuing tickets—not agile analytics, metasearch comparison, or hospitality rate-parity teams. Self-serve developers face strict quota ceilings, missing low-cost carriers (LCCs), and zero visibility into side-by-side Online Travel Agency (OTA) retail hotel pricing (
Booking.comvs.Expediavs.Hotels.comvs.Official Site). - Open-Source
fast-flightsProtobuf & Consent Breakage: Lightweight Python wrappers likefast-flightsare convenient for hobby scripts, but rely on hardcoded Base64/Protobuf offsets and local datacenter IPs that break whenever Google rotates field indices or serves regional EU/US consent walls. - High Per-Search SERP API Costs (
$15–$50 / 1,000): Commercial SERP APIs charge per request rather than per extracted itinerary, meaning a 20-route x 7-day airfare calendar sweep (140calls) burns credits rapidly even when routes return sparse results.
To make travel pricing analytics accessible at true Pay-Per-Event scale, UnitBytes provides two cloud APIs on Apify:
- Google Flights Scraper & API (
unitbytes/google-flights-scraper— $0.50 / 1,000 flights on Gold+, $0.90 / 1,000 on Free tier) - Google Hotels Scraper & API (
unitbytes/google-hotels-scraper— $2.50 / 1,000 hotels on Gold+, $5.00 / 1,000 on Free tier) - Plus Google Shopping Scraper & API (
unitbytes/google-shopping-scraper— $2.00 / 1,000 products on Gold+) for travel gear & multi-merchant retail price parity.
1. Travel Data API Comparison (2026)#
| Feature | Legacy GDS APIs | fast-flights (Open Source) | Travel SERP APIs ($15–$50/1K) | UnitBytes Google Travel Suite |
|---|---|---|---|---|
| Flights Cost | Per-search contract + minimums | $0 + proxy/maintenance | $15 – $50 / 1K searches | $0.50 / 1K flights Gold+ ($0.90/1K Free) |
| Hotels Cost | Limited GDS rate codes | Not supported | $15 – $50 / 1K searches | $2.50 / 1K hotels Gold+ ($5.00/1K Free) |
| Free Monthly Allowance | Sandbox test data only | Self-hosted | 100–250 searches | ~5,550 flights OR 1,000 hotels/mo free ($5 Apify credit) |
| Multi-OTA Hotel Rate Parity | No (GDS rates only) | No | Partial | otaOffers[] (Official Site, Booking.com, Expedia, Agoda) |
| Historical Fare Context & $\text{CO}_2$ | Rare | Partial | Partial | priceLevel (low/typical/high), typicalPriceRange & co2Grams |
| Multi-Origin $\times$ Destination Matrix | 1 route per call | 1 route per call | 1 route per call | Native origins[] $\times$ destinations[] expansion |
2. Google Flights API ($0.50/1K): Route Matrices, Mistake Fares & Scope 3 $\text{CO}_2$#
Exact Verified Input Keys (unitbytes/google-flights-scraper)
origins(array) /from(string): Origin IATA airport or metro codes (e.g.,["JFK", "EWR"]).destinations(array) /to(string): Destination IATA codes (e.g.,["LHR", "CDG", "NRT"]).departureDate(string) &returnDate(string):YYYY-MM-DDdates.tripType(string):"one_way"or"round_trip".cabinClass(string):"economy","premium_economy","business", or"first".adults(integer, default1) &children(integer, default0).maxStops(string):"any","nonstop","1_stop_or_fewer", or"2_stops_or_fewer".sortBy(string):"best","cheapest","departure_time","arrival_time","duration", or"emissions".currency(string, 150+ ISO codes, e.g."USD","EUR","GBP"),country,language.urls(array, optional): Direct Google Flights search URLs.maxFlights(integer): Maximum flight itineraries returned per route.
Python Example: Multi-Route Nonstop Fare & $\text{CO}_2$ Sweep
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_API_TOKEN"])
flights_input = {
"origins": ["JFK", "BOS"],
"destinations": ["LHR", "DUB"],
"departureDate": "2026-12-10",
"returnDate": "2026-12-17",
"tripType": "round_trip",
"cabinClass": "economy",
"adults": 1,
"maxStops": "nonstop",
"sortBy": "cheapest",
"currency": "USD",
"country": "us",
"language": "en",
"maxFlights": 10,
}
run = client.actor("unitbytes/google-flights-scraper").call(run_input=flights_input)
for flight in client.dataset(run["defaultDatasetId"]).iterate_items():
dep = flight.get("departureAirportCode") or (flight.get("departureAirport") or {}).get("code")
arr = flight.get("arrivalAirportCode") or (flight.get("arrivalAirport") or {}).get("code")
print(
f"{flight.get('airline')} ({', '.join(flight.get('flightNumbers') or [])}) "
f"{dep} -> {arr} | ${flight.get('price')} {flight.get('currency')} "
f"[Level: {flight.get('priceLevel')}, Typical: {flight.get('typicalPriceRange')}] | "
f"CO2: {flight.get('co2Grams')}g ({flight.get('emissionsDiffPct')}%)"
)
3. Google Hotels API ($2.50/1K): Auditing Booking.com & Expedia Rate Parity#
For hotel revenue managers and hospitality SaaS tools, an unauthorized $18/night OTA undercut on Booking.com, Expedia, or Agoda cannibalizes direct website bookings while still costing 15–25% in OTA commissions.
Exact Verified Input Keys (unitbytes/google-hotels-scraper)
locations(array) orqueries(array): Target cities, neighborhoods, or specific hotel names (e.g.,["Midtown Manhattan, New York"]).urls(array, optional): Direct Google Hotels URLs.checkInDate&checkOutDate(strings):YYYY-MM-DDstay window.adults(integer, default2) &children(integer, default0).propertyType(string):"hotels"or"vacation_rentals".minRating(string):"any","3.5","4.0", or"4.5".hotelStars(array): Star class filter (e.g.,[4, 5]).minPrice&maxPrice(integers, optional): Nightly price bounds.sortBy(string):"relevance","lowest_price", or"highest_rating".currency,country,language, andmaxHotels(integer).
Python Example: Automated Hotel Compset OTA Undercut Detector
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_API_TOKEN"])
hotels_input = {
"locations": ["Miami Beach, FL"],
"checkInDate": "2026-12-14",
"checkOutDate": "2026-12-17",
"adults": 2,
"children": 0,
"propertyType": "hotels",
"minRating": "4.0",
"hotelStars": [4, 5],
"sortBy": "lowest_price",
"currency": "USD",
"country": "us",
"language": "en",
"maxHotels": 15,
}
run = client.actor("unitbytes/google-hotels-scraper").call(run_input=hotels_input)
for hotel in client.dataset(run["defaultDatasetId"]).iterate_items():
offers = hotel.get("otaOffers") or []
direct = next(
(o for o in offers if "official" in (o.get("provider") or "").lower()),
None,
)
cheapest_ota = min(
(o for o in offers if o.get("price") is not None),
key=lambda o: o["price"],
default=None,
)
direct_rate = direct["price"] if direct else hotel.get("pricePerNight")
if cheapest_ota and direct_rate and cheapest_ota["price"] < direct_rate:
diff = direct_rate - cheapest_ota["price"]
print(
f"[OTA UNDERCUT -${diff}/nt] {hotel.get('name')}: "
f"{cheapest_ota['provider']}=${cheapest_ota['price']} vs Direct=${direct_rate}"
)
else:
print(f"[PARITY OK] {hotel.get('name')}: ${hotel.get('pricePerNight')}/nt ({len(offers)} OTAs)")
4. Realistic Limitations: Metasearch Intelligence vs. Ticketing GDS#
To pick the right tool for your architecture, separate pricing & rate-parity intelligence from live PNR ticketing:
- What Google Flights & Hotels Scrapers Excel At: High-speed, ultra-low-cost (
$0.50–$2.50/1K) route fare monitoring, LCC + legacy carrier coverage, Scope 3 $\text{CO}_2$ benchmarking, hotel compset tracking, multi-OTA rate-parity auditing, and deep-linking users directly to Google Flights (googleFlightsUrl) or OTA checkout URLs (otaOffers[].url). - What Still Requires a Ticketing API (Duffel / Enterprise GDS): Issuing airline e-tickets (PNRs), live seat-map selection, baggage ancillaries checkout, or holding refundable hotel room inventory programmatically inside your own payment flow.
5. Automate Route Fare Drops & OTA Parity Alerts in n8n#
- 18-Node Travel & Hospitality n8n Workflows: Copy our ready-to-import Google Flights Fare Drop (
Slack + Telegram + Sheets) and Google Hotels OTA Rate Parity (Slack + Gmail + Sheets) templates from the UnitBytes n8n Workflow Hub. - 1-Click Travel Presets: Test transatlantic business-class sweeps, nonstop domestic fare monitors, and 4–5 star hotel OTA parity checks directly from unitbytes.com/tasks.
Frequently Asked Questions (FAQ)
Do I need accounts, cookies, or my own proxies to run these scrapers?
No. All UnitBytes cloud extraction engines on Apify operate zero-login with built-in proxy management and anti-bot handling included out of the box.
Can I export the extracted data directly to Excel, CSV, Google Sheets, or n8n?
Yes. Every dataset item is normalized into flat root-level fields that export cleanly to CSV, Excel (.xlsx), JSON, Parquet, Google Sheets, BigQuery, or automated n8n workflows.
How does Pay-Per-Event pricing work on Apify?
You only pay per successfully extracted record with volume discounts on higher tiers, and every Apify account includes $5.00 in free monthly platform usage to test our cloud extraction engines at zero cost.
Extract Google Flights ($0.50/1K) & Google Hotels ($2.50/1K) — Across 150+ Currencies
Extract route fares, layovers, aircraft models, CO2 emissions, and multi-OTA hotel rate comparisons (Booking.com, Expedia, Hotels.com, direct hotel rates) with $5.00 in free monthly Apify credits.
Related Technical Guides & Teardowns
How to Scrape Google Flights & Google Hotels in 2026: Airfare Matrices & Multi-OTA Rate Parity API ($2.50/1K)
Complete 2026 travel tech and hospitality revenue management guide to scraping Google Flights route fares, layovers, aircraft, CO2 emissions, and typical price ranges alongside Google Hotels nightly rates across Booking.com, Expedia, Hotels.com, and direct hotel websites starting at $2.50 per 1,000 items.
Scraping Google Jobs with Direct ATS Apply Links ($2.50/1K): The Python JobSpy & TheirStack Alternative
Technical comparison and Python implementation guide for extracting Google Jobs with resolved Greenhouse, Lever, Workday, and Ashby direct apply URLs, normalized salaries, and B2B hiring signals at $2.50/1K—without python-jobspy HTTP 429 blocks or $20/1K enterprise job APIs.
Google AI Mode & AI Overviews Brand Citation Audit in Python ($3–$4/1K vs. $495/mo GEO SaaS)
Developer playbook for building an automated Generative Engine Optimization (GEO) and Answer Engine Optimization (AEO) brand citation tracker across Google AI Overviews ($3.00/1K Gold+, $2.50/1K Free) and Google AI Mode ($4.00/1K Gold+) in Python—replacing $495/month SaaS seats.