{
  "id": 4102181,
  "title": "Hotel price tracking with Google Hotels data: an API in 10 minutes (Python + n8n)",
  "url": "https://urgent.news/2026/08/29/hotel-price-tracking-with-google-hotels-data-an-api-in-10-minutes",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-29T03:57:54.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/tedj_meabiou_542473606184/hotel-price-tracking-with-google-hotels-data-an-api-in-10-minutes-python-n8n-418o"
  },
  "original_language": "en",
  "account": "Google Hotels provides a Prices Scraper that compares rates from various booking sites like Booking.com, Expedia, Agoda, and Hotels.com, along with the hotel's own site. This tool allows users to track prices, check for rate parity, and create price history charts. To obtain Google Hotels prices for specific dates as JSON without requiring a Google API key, follow these steps:\n\n1. Utilize the Google Hotels Prices Scraper on Apify, supplying a place search or a list of hotels, the check-in and check-out dates, number of adults, currency, and maximum number of hotels.\n2. The scraper returns three types of rows: hotel (lowest nightly rate plus stay total), offer (each source's rate, free-cancellation flag, and deep link), and status. Paid hotels and empty searches are free of charge.\n3. Utilize Python to generate daily price history in CSV format. Import the csv and os modules, along with the date and timedelta classes from the datetime module. Authenticate with the Apify client using the APIFY_TOKEN environment variable.\n4. Set the check-in date to 30 days from today and calculate the check-out date accordingly. Execute the actor using the supplied run_input parameters, requesting hotel data in Lisbon for 30 days.\n5. Iterate through the dataset items and extract hotel rows with a non-empty nightly rate. Write these rows to a CSV file named \"hotel_price_history.csv\", including the current date, check-in date, hotel name, entity ID, and nightly rate.",
  "summary": "Google Hotels already compares every booking site for a hotel and a stay — Booking.com, Expedia, Agoda, Hotels.com and the hotel's own site. It has a \"track prices\" button too, but it emails you on its own terms, picks the sources, and keeps the history. If you want the numbers — for a trip, a rate parity check, or a price history chart — you need them as rows. This is how to get Google Hotels…",
  "key_points": [
    "Google Hotels Prices Scraper compares rates from various booking sites",
    "Python script generates daily price history in CSV format",
    "Hotel price history CSV includes date, check-in, hotel name, ID, and rate"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}