How to track Google Hotels prices with Python (no browser, no API key)
I built this actor; it's a paid tool on Apify with a free trial credit. Google Hotels shows you a price for every hotel in a city, but there's no official API for it. If you want to watch how prices move over a few weeks, compare a hotel against its neighbours, or feed prices into a trip planner, you end up copying numbers by hand. I'm an 18-year-old engineering student, and I wrote a scraper for…
I developed a Python script that fetches hotel prices from Google Hotels without using a browser or requiring an API key. Google Hotels displays a price for each hotel in a city, but there is no official API for tracking price changes over time or comparing hotels to their neighbors. To overcome this limitation, I created a scraper called Google Hotels Scraper.
This post demonstrates how to call the scraper from Python and Node, what the data returned looks like, and provides an example of how to use it to log hotel prices to a Google Sheet on a daily basis.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.