MCP + API · kestrel/hotel-price-tracker
Hotel Price Tracker — Google Hotels Price History & Alerts
Track hotel prices on Google Hotels by name or URL across up to 60 dates. Each hotel/date row has lowest nightly rate, total, cheapest source and link, cancellation and cheapest date. Price calendar and rate monitoring; scheduled runs build price history. maxPrice filters rows for price-drop alerts.
Open Actor Download MCP config
Connect this tool
Add this URL as a remote MCP server in your client, then sign in to Apify. For a client-specific setup, use Apify's configurator.
https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/hotel-price-tracker
Generic MCP client configuration
{
"mcpServers": {
"kestrel-hotel-price-tracker": {
"url": "https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/hotel-price-tracker"
}
}
}
Understand the output before you run
Two row types share one dataset: rate (one property and check-in date with the lowest rate across every booking source, the cheapest source and the date's rank in the window; charged) and status (one per property; never charged).
Declared dataset fields and row types · Output locations and dataset links
Use the declared dataset schema for item fields; the output schema describes where results are stored. Optional fields may be null or absent. If an integration shows a sampled schema without an optional field, check this declaration, the Actor instructions and actual returned rows before concluding that the field is unsupported.
Inspect 36 declared output fields
| Field | Type | Meaning |
|---|---|---|
type | string | Row type: rate (charged) or status (free). |
query | string | The input this row came from: the Google Hotels URL, entity token or property name as given. |
hotel_name | string / null | Property name as Google Hotels shows it. |
entity_id | string / null | Google Hotels entity token; reuse it in the hotels input. |
hotel_id | string / null | Google's numeric property id (name lookups only). |
hotel_url | string | The property's Google Hotels page. |
stars | integer / null | Star class (name lookups only). |
rating | number / null | Google review rating (name lookups only). |
reviews | integer / null | Google review count (name lookups only). |
check_in | string | Check-in date (YYYY-MM-DD). On status rows: the first date of the window. |
check_out | string | Check-out date (YYYY-MM-DD). |
nights | integer | Length of stay. |
adults | integer | Adults the rate was priced for. |
children | integer | Children the rate was priced for. |
currency | string | Currency of every price in the row. |
price | number | The lowest nightly rate across every source that day. |
price_display | string / null | That rate as Google displays it. |
total | number | Stay total at the cheapest source (nightly × nights when the source shows only a nightly rate). |
source | string | The cheapest source: an OTA or the property's official site. |
official | boolean | Whether the cheapest source is the property's official site. |
source_url | string / null | Booking link at the cheapest source with the dates filled in. |
free_cancellation | boolean / null | Whether the cheapest rate is refundable, when Google says. |
official_price | number / null | The official site's lowest nightly rate that day, null when Google lists no official site. |
n_sources | integer | How many sources priced the stay that day. |
cheapest_in_window | boolean | True on the cheapest check-in date of the property's window. |
rank_in_window | integer | 1 = cheapest check-in date of the window, 2 = next, … (the earlier date wins a tie). |
days | integer | Status rows: check-in dates in the window. |
rates | integer | Status rows: rate rows delivered (and billed) for the property. |
filtered | integer | Status rows: dates dropped by maxPrice (free). |
no_rates | integer | Status rows: dates with no priced source (free). |
errors | integer | Status rows: dates whose offers call failed after retries (free). |
cheapest | number / null | Status rows: the lowest nightly rate seen in the window, filtered dates included. |
cheapest_date | string / null | Status rows: the check-in date of that rate. |
status | string | Status rows: what happened to the property. |
error | string / null | Status rows: the first error message, if any. |
fetched_at | string | When the row was fetched (UTC, ISO 8601). |
Start with a small sample
Use call-actor with the JSON below. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Change the target to match your request. This input validates against build 1.0.7; it is not a promise that the source has matching rows today.
{
"actor": "kestrel/hotel-price-tracker",
"input": {
"hotels": [
"https://www.google.com/travel/hotels/entity/ChkIhLCQwvjO2IYWGg0vZy8xMXE0bTZieDkyEAE"
],
"checkIn": "30 days",
"days": 1,
"nights": 1,
"currency": "USD"
},
"callOptions": {
"maxTotalChargeUsd": 0.25,
"timeout": 300
},
"waitSecs": 30
}
After completion, use get-dataset-items with storages.datasets.default.id. If still running, poll get-actor-run using the returned runId. Check status rows and errors before treating an empty dataset as no matches.
Call from Python, JavaScript or REST
Python SDK 3 example · JavaScript SDK 2 example · curl + jq example. Each uses this same small input, reads APIFY_TOKEN from your environment, sets a five-minute run timeout and exports all dataset row types as JSON Lines. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Inspect the run and source status before treating results as complete. Installation and usage.
Pricing and limits
Current listed event prices in USD. Some Actors charge for successful source checks even when no output rows match. The event descriptions below define those differences.
| Event | USD each | What is charged |
|---|---|---|
rate | $0.004 | One hotel and check-in date: the lowest nightly rate across every booking site Google Hotels lists, stay total, cheapest source with booking link, official-site rate, free-cancellation flag and the date's rank in the window (row keys hotel_name, entity_id, check_in, check_out, currency, price, total, source, source_url, official_price, free_cancellation, rank_in_window): $4 per 1,000 rows. At most one row per hotel per check-in date (days, up to 60): 2 hotels × 30 dates = 60 rows = $0.24. Not charged: dates with no rate (sold out), dates over maxPrice, names that match nothing, duplicates, status rows. No start fee; proxy and compute are included in the event price. The run stops at the maximum cost per run you set when starting it (Apify run option maxTotalChargeUsd), never above it. |
Contracts for agents
- Input schema and sample input
- Prepared MCP call and pricing events
- Full Actor instructions and limits
- REST API
Public contract checked 2026-11-11. Active build: 1.0.7. Refresh live details before a large or recurring run.