Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Hotel data scraping

Hotel data scraping collects nightly rates, room types, availability, taxes and review scores from OTAs, metasearch and hotel brand sites. Zenrows prices each hotel for your check-in dates and market, through protected booking sites, and returns rates as JSON for rate shopping, parity checks and revenue management.

Updated

Sample output: one hotel, one stay date
{
  "hotel": "Example Harbour Hotel",
  "channel": "ota",
  "source_url": "https://www.example-ota.com/hotel/example-harbour.html",
  "checkin": "2026-11-14",
  "checkout": "2026-11-15",
  "guests": 2,
  "point_of_sale": "us",
  "currency": "USD",
  "rooms": [
    { "room_type": "Standard Double", "rate_plan": "Non-refundable", "price": 189.0, "taxes_fees": 31.2, "rooms_left": 3 },
    { "room_type": "Standard Double", "rate_plan": "Free cancellation", "price": 214.0, "taxes_fees": 35.3, "rooms_left": 3 },
    { "room_type": "Junior Suite", "rate_plan": "Breakfast included", "price": 302.0, "taxes_fees": 49.8, "rooms_left": 1 }
  ],
  "lowest_price": 189.0,
  "review_score": 8.6,
  "review_count": 2140,
  "brand_site_price": 199.0,
  "parity_gap": -10.0,
  "scraped_at": "2026-10-17T05:00:00Z"
}
One hotel, one night, two guests, US visitor. The parity gap compares the OTA's lowest rate with the brand site's for the same room and date.

What hotel data scraping covers

A matrix: hotel, check-in, nights, guests, room and rate plan, per channel and market.

Revenue managers, OTAs and travel startups each take a slice.

JobData you collectTypical sources
Competitor rate shopping Lowest rate per competitor for the next 90 to 365 check-in dates Booking.com, Expedia, Hotels.com, Agoda
Rate parity monitoring Your rate per OTA versus your brand site, by room and plan Booking.com, Expedia, Google Hotels, brand.com
Metasearch price checks Which channel is lowest, and its position Google Hotels, Kayak, Trivago
Availability and demand signals Sold-out dates, rooms left, minimum stays OTA calendars and room tables
Hotel content and amenities Room types, beds, amenities, photo count, policies OTA property pages, IHG, Accor, Marriott, Four Seasons
Guest review tracking Score, count, text, date, management replies Booking.com reviews, Tripadvisor, Google, HolidayCheck

Why hotel price scraping breaks

No dates, no rate.

Add dates, guests and a market, and the page is built from background calls behind bot protection.

What it looks like

An empty room table or a spinner in the raw HTML

How Zenrows handles it

Adaptive Stealth Mode renders when needed and returns once rates load

How to scrape hotel prices with Zenrows

  1. Build the rate matrix: channel URLs, check-in dates, nights and guests per hotel, usually as query parameters.
  2. Fetch each hotel and date with Adaptive Stealth Mode, geotargeted to the guest's country.
  3. Name the fields (room, plan, price, taxes) with CSS selectors, or extract automatically and normalise later.
  4. Refresh and compare in Batch on a schedule, checking each channel's lowest rate against your brand site.
# pip install requests
import json
import requests

# A hotel page with dates and guests in the query string, e.g.
# ...?checkin=2026-11-14&checkout=2026-11-15&group_adults=2
params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": HOTEL_URL,
    "mode": "auto",  # Adaptive Stealth Mode
    "proxy_country": "us",
    "css_extractor": json.dumps({
        "room_type": ".room-table .room-name",
        "rate_plan": ".room-table .rate-conditions",
        "price": ".room-table .price-display",
    }),
}
response = requests.get("https://api.zenrows.com/v1/", params=params)
print(response.json())

What success looks like

MeasureWhat good looks likeHow to check it
Rate accuracy Stored rates match what a guest sees for the same stay and market Hand spot-check after each pipeline release
Matrix completeness Every cell has a rate or a sold-out flag Empty cells per channel, per run
Like-for-like parity Gaps compare the same room, plan and tax treatment Review gaps over threshold; check room mapping
Refresh lead time The matrix lands before the daily pricing meeting Job completion against meeting time
Retries per run Few retries, no cell empty after one Failed tasks per job; cells still empty after retry

Hotel data scraping FAQ

  • Put check-in, check-out and guests in the URL and send it to Fetch with Adaptive Stealth Mode and geotargeting. Read room, plan and price by CSS selector or automatic extraction; many dates go to Batch.

  • Daily collection of competitors' public rates to set your own. Typically five to fifteen hotels, every check-in date for a few months, on one or two OTAs, lowest rate per date.

  • Price your hotel on each OTA and your brand site for the same stay and market, and compare. A gap means an OTA undercuts your direct rate, often via a wholesaler or member discount; geotargeting several countries reveals market-only gaps.

  • Yes. Adaptive Stealth Mode renders the prices; geotargeting uses the guest's country. It lists each hotel's channels and prices for your dates: a fast first parity check before pricing each OTA.

  • Reviews have their own URLs. Take score and count with each price run, fetch review pages weekly for text, date, traveller type and replies, and key both by hotel.

  • OTA partner APIs cover their own inventory, often need a contract, and may not show the guest's price. Zenrows works across channels: send the URL with dates, get rates or JSON.

  • Daily for the next 30 to 90 days, weekly beyond, several times a day for near-term dates around events or competitor moves. With Batch, faster means resubmitting the job more often.

Turn the live web into usable data.