DEV Community

Russell Yapp
Russell Yapp

Posted on

Price-drop alerts for hotels with an Apify Actor and a schedule

You have fixed dates for a trip and a short list of hotels. You want to know when one of them gets cheaper. Google Hotels shows you today's price. It does not tell you what the price was the last time you looked.

The Actor I publish, Google Hotels Scraper: Prices, Vendor Rates, History, has a watch option for this. It keeps the last nightly price it saw for each hotel and stay, and adds the change on the next run. Put it on a schedule and you have a daily check.

The Actor: https://apify.com/yappman/google-hotels-prices

These are lead prices Google shows for the searched dates. This is not a booking tool and not advice.

The input

Use hotel mode, a list of Google hotel ids (or Google Travel hotel URLs), fixed dates and watch: true:

{
  "mode": "hotel",
  "hotels": ["<hotel id 1>", "<hotel id 2>", "<hotel id 3>"],
  "dates": { "checkIn": "2027-03-10", "checkOut": "2027-03-12" },
  "watch": true
}
Enter fullscreen mode Exit fullscreen mode

watch works in hotel mode only. It is rejected in other modes and on the Standby endpoint.

Use fixed dates

This matters for a schedule. Without dates, each run checks a stay 14 days after the run. A daily schedule would then check a new date every day, and nothing would ever be compared. For a scheduled watch, give a fixed checkIn and checkOut.

What you get back

Each row gains three fields:

  • previousPerNight: the stored per-night price from the previous watch run for this hotel, dates, currency and country.
  • changePerNight: the change in leadPrice.perNight since then, rounded to the currency's minor unit.
  • changePct: that change as a percentage, to one decimal place, half-up.

All three are null when watch is off, on the first watch run for that hotel, dates, currency and country, or when either price is missing or the previous price is 0.

Where the last price is kept

In short, with watch on, the Actor keeps the last price it saw for each hotel, dates, currency and country in a key-value store named google-hotels-watch in your own Apify account, so the next run can compare. It holds hotel ids, dates, currency, country, that price and when it was read, nothing else, and stays in your account until you delete it.

What I saw

I tested this on the Apify platform. The first run created the store and saved one price. The second run, a minute later, reopened it and reported the previous price with a change of 0, because the price had not moved.

Then, on one of our own test runs of the example Task on 6 November 2026, I got a drop. The watch reported one Lisbon hotel's nightly price for a March 2027 stay down $23.15 (8.3%) since the previous run. The previous run was about 17 minutes earlier. The three fields were:

{
  "previousPerNight": 278.17,
  "changePerNight": -23.15,
  "changePct": -8.3
}
Enter fullscreen mode Exit fullscreen mode

That is one observation, not a trend. I am not saying hotel prices are falling, and I am not naming the hotel.

What it costs

Every watched hotel is a normal hotel row: $0.003 on the Free plan. Bronze, Silver and Gold plans and above pay less on the hotel event (not on the start fee), as the README's tier table shows. Each run also has the $0.005 start fee. The watch adds no event and no extra request, and an unchanged hotel is charged like any other row.

For three hotels that is 3 x $0.003 + $0.005 = $0.014 a run on the Free plan. A daily schedule for 30 days is about $0.42. Use Apify's maximum cost per run setting if you want a hard ceiling. Check the current README prices before you rely on these.

Getting an alert

The Actor writes data. It does not send email or push notifications. If you want a message when a price drops, you connect a webhook or an integration yourself, for example to act on a negative changePct.

Limits

  • The watch only compares runs that share the same hotel, dates, currency and country.
  • A past date fails the run (the start fee still applies), so update the dates before the stay date passes.
  • bookingUrl is always null: the Actor never follows or passes on Google's click links.
  • Prices in your own browser can differ, for example if you are signed in.

This Actor is not affiliated with, endorsed by or sponsored by Google.

Top comments (0)