Hotel Price Comparison (Booking, Expedia, Agoda) avatar

Hotel Price Comparison (Booking, Expedia, Agoda)

Pricing

from $30.00 / 1,000 price comparisons

Go to Apify Store
Hotel Price Comparison (Booking, Expedia, Agoda)

Hotel Price Comparison (Booking, Expedia, Agoda)

Compare one hotel's price across Booking.com, Hotels.com, Agoda and Expedia for the same stay in one request: per-site price, lowest site and price spread. Rate parity monitoring for revenue managers. Not charged when no site returns a price.

Pricing

from $30.00 / 1,000 price comparisons

Rating

0.0

(0)

Developer

ScraperCompany

ScraperCompany

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Hotel Price Comparison checks the same stay at the same hotel on Booking.com, Hotels.com, Agoda and Expedia in a single request and tells you which site is cheapest and by how much. Each site is fetched in parallel and reported with its own status, so one blocked site never hides the others. It is built for rate parity monitoring: revenue managers, channel managers and travel analysts who need a daily view of where a hotel is undercut.

Powered by the ScraperCompany API: requests, proxies, retries and anti-bot handling run on ScraperCompany's servers, so you don't need your own proxies or API key. Start a run, get structured JSON.

What can this scraper do?

  • Four OTAs in one request: Booking.com, Hotels.com, Agoda and Expedia.
  • Lowest price, lowest site and spread when prices are comparable.
  • Per-site status (ok, sold out, blocked) so partial answers are still useful.
  • Flags when currencies differ instead of computing a misleading spread.
  • Batch many hotels; each hotel object can carry its own dates.
  • Not charged when no site returns a price.

What data can you extract?

FieldDescription
comparison.lowest_price / lowest_sourceCheapest site and its price
comparison.spreadDifference between the most and least expensive site
comparison.prices / currenciesPrice and currency per site
comparison.comparable / status / reasonWhether the prices can be compared and why not
sources.<site>.status / price_per_nightPer-site result
meta.ok / meta.requestedSites answered out of sites requested

Every dataset item also carries input (the exact request that was sent), request_id (quote it to support), billed and scraped_at.

How to use Hotel Price Comparison (Booking, Expedia, Agoda)

  1. Open Hotel Price Comparison (Booking, Expedia, Agoda) in Apify Console and go to the Input tab.
  2. Add one object per hotel with its id on each site (Booking.com slug, Hotels.com id, Agoda id, Expedia id). Find ids with the Booking.com, Hotels.com, Agoda and Expedia scrapers' search modes.
  3. Adjust the options if needed. Dates accept an exact date (2026-12-01) or a relative one (30 days from today), so saved tasks and schedules never go stale.
  4. Click Start and wait for the run to finish.
  5. Download the results from the Output tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

Input example

This is the default input; running the Actor without changes uses it.

{
"hotels": [
{
"booking_pagename": "moxy-boston-downtown",
"booking_country": "us",
"hotels_property_id": "38766175",
"agoda_property_id": "8795952"
}
],
"check_in": "30 days",
"currency": "USD",
"includeErrors": true,
"maxConcurrency": 3,
"maxRetries": 2
}

Output example

One dataset item per request (trimmed here; real items contain every field the API returns):

{
"endpoint": "/v1/ota/compare",
"input": {
"booking_pagename": "moxy-boston-downtown",
"booking_country": "us",
"hotels_property_id": "38766175",
"agoda_property_id": "8795952",
"check_in": "2026-10-31",
"currency": "USD"
},
"comparison": {
"comparable": true,
"currencies": {
"agoda": "USD",
"booking": "USD"
},
"identifiers": {
"agoda": "8795952",
"booking": "moxy-boston-downtown"
},
"lowest_price": 285,
"lowest_source": "booking",
"price_provenance": {},
"prices": {
"agoda": 332,
"booking": 285
},
"reason": null,
"spread": 47,
"status": "comparable"
},
"meta": {
"elapsed_s": 15.89,
"ok": 2,
"requested": 2
},
"search_parameters": {
"adults": 2,
"agoda_property_id": "8795952",
"booking_pagename": "moxy-boston-downtown",
"check_in_date": "2026-09-14",
"check_out_date": "2026-09-15",
"currency": "USD",
"engine": "ota_compare"
},
"sources": {
"agoda": {
"currency": "USD",
"price_per_night": 332,
"status": "ok"
},
"booking": {
"currency": "USD",
"price_per_night": 285,
"status": "ok"
}
},
"request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
"billed": true,
"scraped_at": "2026-10-01T14:03:27.512Z"
}

A request that fails is saved with an error message instead (turn off Include failed requests to skip those). Failed requests are never charged.

How much does it cost?

This Actor uses pay-per-event pricing: you pay for successful API requests, not for compute time.

EventCharged whenPricePer 1,000
comparison-requestOne hotel compared across Booking.com, Hotels.com, Agoda and Expedia for one stay. Not charged when no site returns a price.$0.03$30.00

For example, comparing 1,000 hotel-stays costs $30.00 (each covers up to four sites).

  • Failed requests (errors, invalid input, blocked upstream after retries) are free.
  • Requests where the source returns nothing at all (no results, nothing priced) are saved but not charged.
  • Set Maximum cost per run when you start a run and the Actor stops cleanly before going over it.

FAQ

Do I need proxies or a ScraperCompany API key?

No. Proxy rotation, retries and anti-bot handling run on the ScraperCompany side, and the Actor is already connected to the API. You only pay the per-event prices above.

Why is there no spread for my hotel?

A spread is only computed when at least two sites priced the stay in the same currency. Hotels.com and Expedia price in their market's currency, so set the markets and currency to match.

What if one site is blocked?

The other sites are still returned, each with its own status. You are charged as long as at least one site returned a price.

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

What happens when a request is blocked or rate-limited?

Rate limits (HTTP 429) and temporary errors (5xx) are retried automatically with exponential backoff, respecting Retry-After. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

Why did a request return an error?

Read the error field: validation problems (for example a malformed date or an unknown id) are reported exactly as the API sees them. Fix the input and run again; failed requests cost nothing.

How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under Run options); larger batches simply take longer.

Use it from your code

Call the Actor from any language through the Apify API. With the JavaScript client (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/hotel-price-comparison').call({
"hotels": [
{
"booking_pagename": "moxy-boston-downtown",
"booking_country": "us",
"hotels_property_id": "38766175",
"agoda_property_id": "8795952"
}
],
"check_in": "30 days"
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

With Python (pip install apify-client):

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/hotel-price-comparison").call(run_input={
"hotels": [
{
"booking_pagename": "moxy-boston-downtown",
"booking_country": "us",
"hotels_property_id": "38766175",
"agoda_property_id": "8795952",
},
],
"check_in": "30 days",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

You can also schedule runs, chain them with webhooks, or connect them to Make, Zapier, n8n, Google Sheets and other integrations from the Integrations tab.

Support

Questions, a field you need, or a site that stopped working? Open an issue on the Issues tab or contact us at scrapercompany.com. Include the request_id from the dataset item so we can trace the request.