---
title: "Hotel Price Tracker: Compare Hotel Prices by Site"
description: "A hotel price tracker your AI agent runs: compare hotel prices across booking sites, per night against stay totals. Six jobs, one real run for $0.1373."
canonical: "https://dev.monid.ai/tutorial/how-to-monid-travel-price-compare"
---

# Which site is actually cheapest for this hotel?

> A hotel price tracker your AI agent runs: compare hotel prices across booking sites, per night against stay totals. Six jobs, one real run for $0.1373.

- Web page: https://dev.monid.ai/tutorial/how-to-monid-travel-price-compare
- Tools for this job: [Hotels](https://dev.monid.ai/tools/hotels.md)

## Set up

Paste this to your agent once. It installs the Monid skill and asks for an API key from app.monid.ai.

```text
set up https://monid.ai/SKILL.md
```

## Jobs

Each job is a sentence to paste into your agent. Replace the parts in angle brackets.

### 1. Per night or the whole stay

Ask your agent:

```text
before you compare any two hotel prices, work out the basis of each one by asking each site TWICE, once for one night and once for the full stay, and dividing each site's own two answers. a per-night quote returns the same number both times and a whole-stay quote doubles. do not compare the two sites to each other to find this: the price gap between them contaminates the ratio and hides it
```

Listed price: $0.107 a second pass over the three.

Endpoints for this job:

- [`mrscraper /agoda/rates`](https://dev.monid.ai/tools/mrscraper.md), $0.046 (the one this guide ran)
- [`mrscraper /booking/rates`](https://dev.monid.ai/tools/mrscraper.md), $0.041 (the one this guide ran)
- [`mrscraper /trip/hotel`](https://dev.monid.ai/tools/mrscraper.md), $0.02 (the one this guide ran)

What a real run returned:

- **what gives it away**: asked for one night and then for two, a whole-stay endpoint returned 478 and then 956, exactly 2.000, while a per-night one returned 534 both times, exactly 1.000; each site is compared only against itself, so no price gap can contaminate it
- **why the cross-site ratio does not work**: an earlier version of this page told readers to divide one site's number by the other's and look for the night count. On a second city those ratios came out at 1.79 and 1.40, because the sites also differ about 10% on price and the two effects multiply; an agent following that sentence concludes the bases match and ships the error
- **what does not give it away**: both payloads report the currency as USD, both report a length of stay of two, and both put the money in a field with the same name
- **the description is wrong**: the per-night endpoint's own summary calls that field the total price. It is not a total
- **how wrong you get**: it does not just inflate the gap, it inverts the ranking: on a second city one site looked 44% cheaper at face value and was actually 11.7% dearer once both were on the same basis, so the naive read recommends the wrong booking
- **and within one record too**: on one provider the final price is the whole stay while the fare beside it is per night, in the same object, so the basis can change between two fields rather than between two sites

### 2. One identical room, every site that sells it

Ask your agent:

```text
price <hotel> for <dates>, two adults one room, on trip, booking and agoda through monid, passing a JSON body where the endpoint asks for one, then normalise everything to the whole stay. match the rate plans on the room's size and bed count rather than its name, because most sites reword the name, and read the refundable field as a value rather than a type: it is a string on one site and a boolean on another, so a strict match silently drops everything
```

Listed price: $0.107 three sites, normalised.

Endpoints for this job:

- [`mrscraper /trip/hotel`](https://dev.monid.ai/tools/mrscraper.md), $0.02 (the one this guide ran)
- [`mrscraper /agoda/rates`](https://dev.monid.ai/tools/mrscraper.md), $0.046 (the one this guide ran)
- [`mrscraper /booking/rates`](https://dev.monid.ai/tools/mrscraper.md), $0.041 (the one this guide ran)
- [`mrscraper /expedia/rates`](https://dev.monid.ai/tools/mrscraper.md), $0.031 (the one this guide ran)

What a real run returned:

- **matching on the name drops most of the inventory**: on a second city only 2 of about 21 rooms were named character for character across sites; the rest were reworded, so a name match throws away roughly 90% of what you paid for
- **and the refundable field changes type between sites**: it came back as a string on one and a boolean on another, so matching on it as instructed silently drops every row rather than failing loudly
- **the spread is not a fixed number**: the first city came out at 6.75% of the cheapest once normalised; a second city came out at 40.65%, against 83% at face value. Quote the method, not the percentage
- **and on the non-refundable plan**: $12.00, or 1.03%, which is the same $12 the ratio test surfaced
- **who is missing and why**: a seller returned 500 twice on both cities we tried, though not the same seller each time, so expect one of the three to be down rather than expecting a particular one
- **and the occupancy is not always honoured**: one provider returned 68 of 186 plans with a maximum occupancy of one on a request for two adults, so filter on that field rather than trusting the request

### 3. Who else is selling the same room

Ask your agent:

```text
if you try the google hotels seller list through monid, treat it as optional and check what came back before you build anything on it: on a second city it named a single seller rather than a list, three calls returned three different payloads, and one response carried a checkout date a month BEFORE its own checkin. the language parameter is honoured; the currency and the dates are not
```

Listed price: $0.01 many sellers, wrong dates.

Endpoints for this job:

- [`mrscraper /google/hotel`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`litescrape /tripadvisor/search`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`litescrape /tripadvisor/place`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`mrscraper /agoda/hotel`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)

What a real run returned:

- **the shape is right when it answers**: on the first city it named thirteen booking sites with prices in a single $0.01 call, which is the shape the whole job wants
- **but it may not answer at all**: on a second city the same call named exactly one seller, three times running, so the sentence's whole payoff can simply be absent. Do not build a comparison that requires it
- **partly aimable, not unaimable**: the language parameter IS honoured and returned the property's name in the local script; the currency and the dates are not. An earlier version of this page said it could not be aimed at all, which is too broad
- **and the dates it invents are not merely wrong**: two calls came back with a checkout a month before their own checkin, and one returned the literal string Invalid date, so a date check has to test the range and the type, not just whether it matches what you asked
- **three calls, three payloads**: it is not deterministic either: the earlier run got thirteen sellers and then eleven, and the second city got three different responses in a row
- **what the cheap lookup does**: finds the property for a seventh of a cent, alongside two hotels in the wrong cities; the companion detail call promises ranking, contacts, amenities and prices and returns none of the four

### 4. The flights for the same trip

Ask your agent:

```text
get the fare for <route> on <date> through monid, then tell me how many passengers and which legs it actually priced. do not assume it read your return date or your party size: check what came back rather than what you asked for
```

Listed price: $0.01 116 itineraries, one leg.

Endpoints for this job:

- [`mrscraper /google/flights`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`mrscraper /china-southern/flights`](https://dev.monid.ai/tools/mrscraper.md), $0.002 (the one this guide ran)

What a real run returned:

- **what it priced**: 116 outbound itineraries and no return leg, while echoing the return date and a round-trip flag straight back at you
- **the passenger count**: there is no passenger parameter on the endpoint at all, confirmed from its JSON schema: six properties and additional properties refused, so it silently prices one adult
- **the currency**: it ignored the country we set and ran a different national edition, pricing in a currency we had not asked for
- **the other one does work, and takes what this one will not**: the single-airline endpoint returned nine real itineraries for two tenths of a cent on a second route, and it DOES take adult, child and infant counts and does honour the currency; an earlier version of this page wrote it off as empty
- **so the party-size hole is narrower than it looks**: the general endpoint cannot price a family fare, but a route that airline flies can be priced for one

### 5. The cheapest answer you can actually use

Ask your agent:

```text
price <hotel> on monid with more than one of the hotel endpoints and rank them on what came back, not on what this page found: on a second city the cheaper agoda endpoint cost half the trip one, echoed every input just as exactly, and returned 37 full rate plans. three of these endpoints require a login parameter that is documented but unexplained, so read the schema before the first call
```

Listed price: $0.01 the cheapest that honours its inputs.

Endpoints for this job:

- [`mrscraper /trip/hotel`](https://dev.monid.ai/tools/mrscraper.md), $0.02 (the one this guide ran)
- [`litescrape /tripadvisor/place`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`mrscraper /google/hotel`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`mrscraper /agoda/hotel`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)
- [`mrscraper /agoda/rates`](https://dev.monid.ai/tools/mrscraper.md), $0.046 (the one this guide ran)

What a real run returned:

- **it answers well, but it is not the only one**: it returned 56 rate plans across 14 room types on the first city and 186 across 26 on a second, echoing the dates, occupancy and currency back exactly as sent
- **and it is not the cheapest that does**: an earlier version of this page said the two cheaper hotel endpoints both bill and neither answers. On a second city one of them cost HALF this one, echoed every input just as exactly and returned 37 rate plans, while the other billed nothing at all when it failed. Both halves of that claim were wrong
- **dearer is not better either**: the most expensive one is 2.3x this and its numbers will silently halve your comparison unless you normalise them
- **a documented field nobody explains**: three of these endpoints require a login parameter. It is documented, in the sense that it appears in the schema; what is missing is any statement of what it means, and the vendor's examples simply pass one

### 6. What this aisle cannot price

Ask your agent:

```text
tell me what you could not check for this trip before i rely on it: car hire, the return leg, a fare for more than one passenger, and live prices for a whole city on my dates
```

Listed price: $0.00 know the holes first.

Endpoints for this job:

- [`mrscraper /expedia/search`](https://dev.monid.ai/tools/mrscraper.md), $0.026 (the one this guide ran)
- [`litescrape /tripadvisor/search`](https://dev.monid.ai/tools/litescrape.md), $0.00015 (the one this guide ran)
- [`mrscraper /google/flights`](https://dev.monid.ai/tools/mrscraper.md), $0.01 (the one this guide ran)

What a real run returned:

- **no car hire at all**: there is not one endpoint for it, and a search for one confidently returns used cars, dealer listings, lease deals and home rentals; five results, every one wrong
- **the city search EXISTS and is broken, which is not the same thing**: an earlier version of this page said there is no city search on your dates. There is: a destination-and-dates search endpoint, priced at about two and a half cents and flagged degraded in the catalog with a p50 above two minutes. It timed out on both cities we tried and billed nothing, so plan a fallback, but do not tell a reader the capability is absent
- **and the timeout looks like absence from the CLI**: that 504 came back as an HTML error page, which aborts the client with a parse error and writes no output file at all; that is exactly how a working-but-degraded endpoint gets written down as a missing one
- **no return fare, no party size on the general one**: both are absent from the general flight endpoint's schema, so a two-person return trip cannot be priced there; the single-airline endpoint does take a party size, on the routes it flies
- **the id problem**: one building has six different ids across six sites and no endpoint in the aisle returns any of them; every one had to come off the open web

## More

- [Every how-to guide](https://dev.monid.ai/tutorial.md)
- [Connect an agent to Monid](https://dev.monid.ai/index.md)
