Ever since Google shut down the public QPX Express Airfare API and restricted the Google Travel Partner API to approved enterprise metasearch partners, travel startups, hospitality revenue managers, and travel-arbitrage developers have faced a steep barrier to entry. Legacy GDS providers (Amadeus, Sabre, Travelport) require complex certification and high per-search feesβand they rarely include low-cost carriers or side-by-side Online Travel Agency (OTA) hotel rate comparisons (Booking.com, Expedia, Hotels.com, Agoda, Priceline, and direct hotel rates) in a single lightweight response.
To make real-time travel pricing accessible without contracts or monthly minimums, UnitBytes built two dedicated Pay-Per-Event cloud engines on Apify ($2.50 / 1,000 items on Gold+ plans, $0.005 base per item):
- Google Flights Scraper & API (
unitbytes/google-flights-scraper): Extracts one-way and round-trip airfares, airline codes, flight numbers, layover durations, aircraft models, legroom, $\text{CO}_2$ emissions (co2Grams&emissionsDiffPct), and historical price benchmarks (priceLevel:"low","typical","high"+typicalPriceRange). - Google Hotels Scraper & API (
unitbytes/google-hotels-scraper): Extracts hotel and vacation rental nightly rates (pricePerNight,totalPrice), star classes, guest review counts, GPS coordinates, amenities, and multi-providerotaOffersarrays comparing direct property rates against major OTAs across 150+ currencies.
1. UnitBytes Travel Suite vs. Legacy GDS & Travel SERP APIs#
| Capability | Google Flights Scraper ($2.50β$5.00/1K) | Google Hotels Scraper ($2.50β$5.00/1K) | Legacy GDS / Travel SERP APIs |
|---|---|---|---|
| Target Coverage | Global commercial + low-cost airlines (IATA airport/city codes) | Global hotels, resorts & vacation rentals | Often misses LCCs or requires separate OTA scrapers |
| Price Context & Deals | price, priceLevel (low/typical/high) & typicalPriceRange | pricePerNight, totalPrice, dealBadge ("18% less than usual") | Raw fare only (no historical price benchmark) |
| Multi-OTA Rate Parity | Direct googleFlightsUrl booking deep-link | otaOffers[] (Official Site, Booking.com, Expedia, Hotels.com, etc.) | Single channel only |
| Rich Operational Fields | flightNumbers, durationMinutes, stops, layovers, aircraft, legroom, co2Grams | hotelClass, rating, reviewsCount, latitude/longitude, amenities, phone, website | Partial metadata |
| Pay-Per-Event Pricing | $0.0025β$0.005 / flight ($2.50β$5.00 / 1,000) | $0.0025β$0.005 / property ($2.50β$5.00 / 1,000) | $15.00β$50.00 / 1,000 or enterprise contract |
With Apify's $5.00 free monthly platform credit, you can extract 1,000β2,000 flights or hotel rate comparisons every month at $0.00 cost.
2. Google Flights Scraper: Output Schema & Price Benchmarks#
When you query Google Flights Scraper with one or more origins (e.g., ["JFK", "EWR"]) and destinations (e.g., ["LAX", "LHR"]), the engine automatically expands your route pairs and normalizes every itinerary into a 24-field JSON object:
{
"airline": "American",
"airlineCode": "AA",
"airlineLogo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"flightNumbers": ["AA 341"],
"departureAirport": {
"code": "JFK",
"name": "John F. Kennedy International Airport"
},
"arrivalAirport": {
"code": "LAX",
"name": "Los Angeles International Airport"
},
"departureTime": "2026-12-10T14:59:00-05:00",
"arrivalTime": "2026-12-10T18:16:00-08:00",
"durationMinutes": 377,
"stops": 0,
"layovers": [],
"aircraft": "Boeing 787",
"cabinClass": "economy",
"legroom": "31 inches",
"co2Grams": 281000,
"emissionsDiffPct": -18,
"price": 164,
"currency": "USD",
"priceLevel": "typical",
"typicalPriceRange": [115, 325],
"isBestFlight": true,
"tripType": "one_way",
"returnDate": null,
"googleFlightsUrl": "https://www.google.com/travel/flights/booking?tfs=EAEa...&curr=USD&hl=en&gl=us"
}
Key Input Controls for Flight Arbitrage & Corporate ESG Reporting
- Cabin & Stop Filters: Filter by
cabinClass("economy","premium_economy","business","first") andmaxStops(0for nonstop only,1,2, or"any"). - Historical Fare Intelligence (
priceLevel&typicalPriceRange): Immediately detect mistake fares or deep seasonal discounts whenprice < typicalPriceRange[0]andpriceLevel == "low". - Scope 3 Corporate Travel Emissions (
co2Grams&emissionsDiffPct): Sustainability and travel procurement teams useco2Grams,emissionsDiffPct(e.g.,-18meaning 18% below route average), andaircrafttype to benchmark lower-emission flight options across corporate travel corridors.
3. Google Hotels Scraper: Multi-OTA Rate Parity & Compset Schema#
For hotel revenue managers, vacation rental operators, and travel portals, Google Hotels Scraper (unitbytes/google-hotels-scraper) extracts both property-level intelligence and the otaOffers comparison table in a single pass:
{
"name": "Grand Midtown Plaza Hotel",
"propertyId": "ChUIksaK9_ij5_kYGgkvbS8wNjJ3YzIQAQ",
"propertyType": "Hotel",
"hotelClass": 5,
"rating": 4.4,
"reviewsCount": 16419,
"pricePerNight": 394,
"totalPrice": 1182,
"currency": "USD",
"dealBadge": "18% less than usual",
"otaOffers": [
{
"provider": "Official Site",
"price": 394,
"totalPrice": 1182,
"url": "https://grand-midtown-hotel-example.com/booking"
},
{
"provider": "Booking.com",
"price": 412,
"totalPrice": 1236,
"url": "https://www.booking.com/hotel/us/example-property.html"
}
],
"address": "1500 Broadway, New York, NY 10036, United States",
"neighborhood": "Midtown Manhattan",
"phone": "+1 212-555-0199",
"latitude": 40.7586927,
"longitude": -73.9861993,
"checkInDate": "2026-12-10",
"checkOutDate": "2026-12-13",
"checkInTime": "4:00 PM",
"checkOutTime": "11:00 AM",
"amenities": [
"Free Wi-Fi",
"Air conditioning",
"Fitness center"
],
"website": "https://grand-midtown-hotel-example.com",
"googleHotelsUrl": "https://www.google.com/travel/hotels/entity/ChUIksaK9_ij5_kYGgkvbS8wNjJ3YzIQAQ?curr=USD&hl=en&gl=us&ts=2026-12-10_2026-12-13"
}
4. Python Quickstart: Automated Hotel OTA Rate Parity Audit#
Install apify-client and pandas (pip install apify-client pandas) to audit whether third-party OTAs (Booking.com, Expedia, Priceline) are undercutting direct hotel rates across your destination compset:
import os
import pandas as pd
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("unitbytes/google-hotels-scraper").call(
run_input={
"locations": ["Miami Beach, FL"],
"checkInDate": "2026-12-15",
"checkOutDate": "2026-12-18",
"adults": 2,
"currency": "USD",
"country": "us",
"language": "en",
"maxResults": 40,
}
)
hotels = client.dataset(run["defaultDatasetId"]).list_items().items
rows = []
for h in hotels:
offers = h.get("otaOffers") or []
cheapest_ota = min(offers, key=lambda o: o.get("price") or 999999, default={})
rows.append({
"name": h.get("name"),
"hotelClass": h.get("hotelClass"),
"rating": h.get("rating"),
"reviewsCount": h.get("reviewsCount"),
"leadPricePerNight": h.get("pricePerNight"),
"totalStayPrice": h.get("totalPrice"),
"dealBadge": h.get("dealBadge"),
"cheapestProvider": cheapest_ota.get("provider"),
"cheapestProviderPrice": cheapest_ota.get("price"),
"otaOffersCount": len(offers),
})
df = pd.DataFrame(rows)
print(df.head(10).to_string(index=False))
df.to_csv("hotel_compset_rate_parity.csv", index=False)
5. Frequently Asked Questions (FAQ)#
What happens if I omit departureDate or checkInDate / checkOutDate?
Both scrapers are designed so 1-click test runs never fail on expired hard-coded dates: if departureDate (on Google Flights) or checkInDate/checkOutDate (on Google Hotels) are omitted or lie in the past, the engines automatically default to a valid future travel window (for example, 14 days ahead) and return live fares and nightly rates immediately.
Can I combine Google Hotels rate data with full guest review sentiment?
Yes! Once you identify target properties and their addresses/names via Google Hotels Scraper ($2.50/1K), pass those hotel names or Google Maps URLs into Google Maps Reviews Scraper ($0.25/1K) to extract up to 10,000 full-text guest reviews, trip types, and room/service/location sub-ratings per property.
π Start Tracking Google Flights & Google Hotels Today#
Deploy both travel engines on Apify with $5.00 in free monthly platform credits (1,000β2,000 free records/month):
- βοΈ Google Flights Scraper & API ($2.50/1K β One-Way/Round-Trip Fares, Layovers, CO2 & Price Ranges)
- π¨ Google Hotels Scraper & API ($2.50/1K β Nightly Rates, Multi-OTA Offers, Amenities & GPS)
- β Google Maps 10K Reviews Scraper ($0.25/1K β Full Hotel Guest Reviews & Sub-Ratings)
Need a custom daily airline route matrix or 10,000-property OTA rate-parity feed delivered to Snowflake, BigQuery, S3, or Excel? Request a quote via the Done-For-You Dataset Form below or email contact@unitbytes.com.
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
Google Flights ($0.50/1K) & Google Hotels API in Python: The Post-Amadeus & fast-flights Alternative
Developer guide to querying real-time Google Flights airfare matrices ($0.50/1K Gold+, $0.90/1K Free) and Google Hotels multi-OTA rate parity across Booking.com, Expedia, and direct hotel sites ($2.50/1K Gold+) in Pythonβreplacing restricted GDS APIs and brittle HTML scrapers.
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.