Search Booking.com for a destination and stay with live nightly prices, pull one property in full with rooms and rate plans, and read guest reviews with the category breakdown. 3 endpoints, 1 credit each, structured JSON.
---
name: booking-com-hotel-data
description: Search Booking.com for a destination and stay with live nightly prices, pull one property in full with rooms and rate plans, and read guest reviews with the category breakdown. 3 endpoints, 1 credit each, structured JSON.
version: 1.0.0
tags: booking, booking-com, hotels, travel, hotel-prices, accommodation, hospitality, rate-shopping, revenue-management, guest-reviews, otas, travel-data, price-comparison, agents, structured-data, json, ai-agents, scraping-api
metadata:
openclaw:
requires:
env:
- SCAVIO_API_KEY
primaryEnv: SCAVIO_API_KEY
timeout: 120
throttle: 1
emoji: "\U0001F3E8"
homepage: https://scavio.dev/docs/booking-search?utm_source=agent-skills&utm_medium=skill&utm_campaign=booking-com-hotel-data
---
# Booking.com via Scavio
Search Booking.com for a destination and a stay, read one property in full with its rooms and rate plans, and pull guest reviews with the score breakdown. All endpoints return structured JSON.
## When to trigger
Use this skill when the user asks to:
- Find hotels, apartments or hostels in a city for specific dates
- Compare live nightly prices, review scores and star ratings across properties
- Filter by price per night, star rating, review score, property type, free cancellation, no prepayment or breakfast
- Pull one property in full - rooms and rate plans, facilities, house rules, check-in windows, policies, images
- Read guest reviews with the per-category subscores and Booking's own praise and complaint summary
- Build rate-shopping, competitive-set or travel-research pipelines
## Setup
Get a free API key at [scavio.dev](https://scavio.dev/?utm_source=agent-skills&utm_medium=skill&utm_campaign=booking-com-hotel-data) (50 free credits to get started, no card required):
```bash
export SCAVIO_API_KEY=sk_live_your_key
```
### If you do not have a key yet
An agent running this skill without `SCAVIO_API_KEY` set will get `401` on every
call below. The whole path from nothing to a working key is self-serve:
1. Sign up at [dashboard.scavio.dev](https://dashboard.scavio.dev/sign-up?utm_source=agent-skills&utm_medium=skill&utm_campaign=booking-com-hotel-data) - email or Google, no card required.
2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
3. A new account starts with 50 credits. Endpoints in this skill cost 1 credit each unless the table below says otherwise.
When the balance runs out the API answers `402` with a JSON body carrying
`billing_url`. Topping up needs no code change - the same key keeps working.
The smallest purchase is 2,500 credits for $25, and monthly plans work out
cheaper per credit if the usage is steady rather than one-off.
Every request is a `POST` with a JSON body and:
```
Authorization: Bearer $SCAVIO_API_KEY
```
## Endpoints
Base URL: `https://api.scavio.dev`. Every Booking.com endpoint costs **1 credit**.
| Endpoint | Credits | What it returns |
|---|---|---|
| `POST /api/v1/booking/search` | 1 | Properties for a destination and stay: live nightly price, review score, star rating, location, room type, deal badges |
| `POST /api/v1/booking/hotel` | 1 | One property in full: rooms and rate plans, facilities, house rules, check-in windows, policies, images, location, review scores |
| `POST /api/v1/booking/reviews` | 1 | Guest reviews with the score breakdown by category and Booking's own praise/complaint summary |
## Workflow
1. **Search:** call `/booking/search` with `destination` (or a numeric `dest_id`) **and both `checkin` and `checkout`**. Read `properties[].url`.
2. **One property:** call `/booking/hotel` with that `url` as `hotel`. Chaining the URL a search row already returned is always the cheapest and safest path - a bare page slug needs the right `country_code`, and a wrong one is a real, **billed** 404.
3. **Reviews:** call `/booking/reviews` with the same `hotel` value.
Booking prices a **stay**, not a property, so all three endpoints take dates.
### Dates, currency and the two ways to waste a credit
- **`checkin` and `checkout` must be sent together.** Booking ignores a lone `checkin` and prices its own default range, so you get real prices for dates nobody asked for. The API rejects an unpaired or out-of-order date.
- **Omitting dates entirely on `/hotel` or `/reviews`** returns prices for a two-night range Booking chose. The response echoes whichever dates were actually used - read `checkin`, `checkout` and `nights` back before quoting a price.
- **A search with neither `destination` nor `dest_id` would return Booking's homepage** - a credit spent for nothing - so the API rejects it up front.
- **Always send `currency`.** It defaults to `USD` in the transport; without one Booking picks the currency itself and two identical requests can disagree.
### Pagination
Only `/search` pages, with a 1-based `page` — **25 properties per page**. `count` is what this page returned and `total_results` is Booking's headline count. `/hotel` and `/reviews` return a single response and take **no page parameter**; on reviews, `total_count` is the whole history and `count` is what this response holds.
## Parameters
### Search (`/search`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `destination` | string | one of | Free-text destination (1-200 chars) |
| `dest_id` | string | one of | Numeric Booking destination id |
| `dest_type` | string | -- | `city`, `region`, `country`, `district`, `landmark`, `airport`, `hotel`. **Requires `dest_id`** |
| `page` | integer | -- | 1-based, 25 properties per page |
| `sort_by` | string | `popularity` | `popularity`, `price_low`, `price_high`, `stars_high`, `stars_low`, `stars_and_price`, `distance`, `review_score` |
| `min_price` / `max_price` | number | -- | **Per night**, in `currency` |
| `stars` | integer[] | -- | 1-5 stars, 1-5 items, OR'd |
| `min_review_score` | string | -- | `6`, `7`, `8`, `9` only |
| `property_type` | string or integer | -- | `apartments`, `hostels`, `hotels`, `motels`, `resorts`, `bed_and_breakfasts`, `villas`, `campgrounds`, `vacation_homes`, `lodges`, `homestays`, or a raw numeric Booking accommodation-type id |
| `free_cancellation` | boolean | -- | Free-cancellation rates only |
| `no_prepayment` | boolean | -- | No-prepayment rates only |
| `breakfast_included` | boolean | -- | Breakfast-included rates only |
| `checkin` / `checkout` | string | -- | `YYYY-MM-DD`, sent together and in order |
| `adults` | integer | `2` | Adult guests |
| `children_ages` | integer[] | -- | **Ages** (0-17, max 10 entries), not a count |
| `rooms` | integer | `1` | Rooms requested |
| `currency` | string | `USD` | ISO 4217, 3 letters |
`destination` or `dest_id` is required. `min_review_score` is an enum - an arbitrary threshold such as `8.4` is silently dropped upstream and the results come back unfiltered. `dest_type` on its own is ignored by Booking, so the API rejects it without `dest_id`.
### Hotel (`/hotel`) and reviews (`/reviews`)
| Parameter | Type | Default | Description |
|---|---|---|---|
| `hotel` | string | required | Booking.com property URL or the bare page slug (1-500 chars); query params are discarded |
| `country_code` | string | `us` | 2 letters. Only consulted for a **bare slug** |
| `checkin` / `checkout` | string | -- | `YYYY-MM-DD`, sent together and in order |
| `adults` | integer | `2` | Adult guests |
| `children_ages` | integer[] | -- | Ages, max 10 |
| `rooms` | integer | `1` | Rooms requested |
| `currency` | string | `USD` | ISO 4217 |
## Examples
```python
import requests
BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
STAY = {"checkin": "2026-09-08", "checkout": "2026-09-10", "currency": "USD"}
# 1. Search a destination for a real stay - dates always in pairs
found = requests.post(f"{BASE}/api/v1/booking/search", headers=HEADERS,
json={"destination": "Austin", "adults": 2, "rooms": 1,
"sort_by": "review_score", "min_review_score": "8",
"max_price": 300, **STAY}).json()
row = found["data"]["properties"][0]
# 2. Chain the URL the row already gave you - no country_code guessing
hotel = requests.post(f"{BASE}/api/v1/booking/hotel", headers=HEADERS,
json={"hotel": row["url"], **STAY}).json()
# The response echoes the dates it actually priced
print(hotel["data"]["checkin"], hotel["data"]["checkout"], hotel["data"]["nights"])
# 3. Guest reviews for the same property
reviews = requests.post(f"{BASE}/api/v1/booking/reviews", headers=HEADERS,
json={"hotel": row["url"], **STAY}).json()
# 4. A family stay: children_ages are AGES, not a headcount
family = requests.post(f"{BASE}/api/v1/booking/search", headers=HEADERS,
json={"destination": "Lisbon", "adults": 2, "children_ages": [4, 9],
"rooms": 1, **STAY}).json()
```
## Response shapes
Every response uses the envelope `{ data, response_time, credits_used, credits_remaining }`. Key `data` fields:
- **search** — `destination`, `url`, `page`, `checkin`, `checkout`, `nights`, `adults`, `children_ages`, `rooms`, `currency`, `dest_id`, `dest_type`, `destination_name`, `destination_country`, `total_results`, `count`, `properties[]`, `bounding_box`, `sort`, `sort_options`, `applied_filters`, `available_filters`, `breadcrumbs`.
A property row: `pos`, `hotel_id`, `name`, `page_name`, `url`, `country_code`, `city`, `address`, `latitude`, `longitude`, `display_location`, `district`, `distance_from_center`, `accommodation_type_id`, `star_rating`, `review_score`, `review_score_word`, `review_count`, `image`, `price`, `price_formatted`, `currency`, `price_per_night`, `original_price`, `charges_info`, `discounts`, `deal_badges`, `room_name`, `beds`, `bedrooms`, `bathrooms`, `unit_area`, `free_cancellation`, `free_cancellation_until`, `no_prepayment`, `meal_plan`, `rooms_left_message`, `is_sold_out`, `sponsored`, `preferred`, `genius_rate_available`, `is_sustainable`, `badges`.
- **hotel** — `hotel_id`, `name`, `page_name`, `url`, `description`, `country_code`, `city`, `address`, `postal_code`, `region`, `latitude`, `longitude`, `dest_id`, `accommodation_type`, `star_rating`, `chain_ids`, `brand`, `review_score`, `review_count`, `review_subscores[]`, `languages_spoken`, `currency`, `checkin`, `checkout`, `nights`, `adults`, `children_ages`, `rooms_requested`, `price_from`, `is_sold_out`, `image`, `images`, `facilities[]`, `highlights`, `meals`, `checkin_from`, `checkin_until`, `checkout_from`, `checkout_until`, `min_checkin_age`.
- **reviews** — `hotel_id`, `name`, `page_name`, `url`, `score`, `total_count`, `count`, `subscores[]` (`name`, `label`, `score`, `review_count`), `summary` (`review_count`, `pros`, `cons`), `topics[]`, `reviews[]` (`review_id`, `title`, `positive`, `negative`, `score`, `reviewed_at`, `guest_name`, `guest_country`, `guest_review_count`, `is_anonymous`, `customer_type`, `trip_purpose`, `room_name`, `language`).
```json
{
"data": {
"destination": "Austin",
"dest_type": "CITY",
"checkin": "2026-09-08",
"checkout": "2026-09-10",
"nights": 2,
"currency": "USD",
"total_results": 955,
"page": 1,
"count": 25,
"properties": [
{
"pos": 1,
"hotel_id": 1234567,
"name": "Hotel Example Austin",
"url": "https://www.booking.com/hotel/us/example-austin.html",
"star_rating": 4,
"review_score": 8.5,
"review_count": 2122,
"price": 405.76,
"price_per_night": 202.88,
"currency": "USD",
"free_cancellation": true
}
]
},
"credits_used": 1,
"credits_remaining": 999
}
```
## Guardrails
- Every call is **1 credit**, including one that comes back empty.
- Never send `checkin` without `checkout`. If the user gives one date, ask for the other or pick an explicit range and say which one you used.
- If you did not send dates, read `checkin` / `checkout` / `nights` off the response and tell the user which stay the prices refer to. Never present a defaulted range as the dates they asked for.
- Always pass `currency`. A price with no stated currency is not a usable answer.
- `min_price` / `max_price` are **per night**, while a property row also carries the stay total in `price`. Say which figure you are quoting.
- `min_review_score` accepts only `6`, `7`, `8` or `9`. Round the user's threshold to one of those and tell them, rather than sending a value Booking will drop.
- Prices and availability are live and move. Timestamp any quote and always include the property `url` so the user can verify and book.
- Never fabricate property names, prices, review scores or review text. Only return what the API returned.
## Failure handling
- `400` means an invalid or missing parameter - no `destination` and no `dest_id`, `dest_type` without `dest_id`, an unpaired or out-of-order date, or `min_price` above `max_price`. Fix and retry.
- `401` means the API key is invalid or missing. Check `SCAVIO_API_KEY`.
- `404` on `/hotel` or `/reviews` usually means a bare slug was resolved against the wrong `country_code`. It is a real, **billed** 404 - do not brute-force country codes. Run a search and chain the `url` it returns instead.
- `429` means rate or usage limit exceeded. Wait before retrying. See [rate limits](https://scavio.dev/docs/rate-limits?utm_source=agent-skills&utm_medium=skill&utm_campaign=booking-com-hotel-data).
- `502` / `503` mean upstream is temporarily unavailable - wait a few seconds and retry, up to a few times.
- A search that returns no properties is usually a filter problem: widen `max_price`, drop `min_review_score`, or loosen `stars`.
- If `SCAVIO_API_KEY` is not set, prompt the user to export it before continuing.
## SDKs
```bash
pip install scavio==0.15.0
```
```python
from scavio import ScavioClient
client = ScavioClient() # reads SCAVIO_API_KEY
found = client.booking.search(destination="Austin", checkin="2026-09-08",
checkout="2026-09-10", adults=2, currency="USD")
url = found["data"]["properties"][0]["url"]
hotel = client.booking.hotel(url, checkin="2026-09-08", checkout="2026-09-10", currency="USD")
reviews = client.booking.reviews(url, checkin="2026-09-08", checkout="2026-09-10")
```
```bash
npm install scavio@0.15.0
```
```javascript
import { Scavio } from "scavio";
const client = new Scavio(); // reads SCAVIO_API_KEY
const found = await client.booking.search({
destination: "Austin", checkin: "2026-09-08", checkout: "2026-09-10", currency: "USD",
});
const hotel = await client.booking.hotel({ hotel: found.data.properties[0].url, currency: "USD" });
```
don't have the plugin yet? install it then click "run inline in claude" again.
extracted implicit decision logic into explicit decision points section, added edge cases (auth expiry, rate limits, empty results, network timeouts, 404 from wrong country code), documented rate limit and auth failure handling, clarified per-night vs. stay-total pricing, added guardrails on date defaulting and currency omission, separated inputs into external connection metadata and per-endpoint parameters, added outcome signal detail on guardrails and verification.
Search Booking.com for a destination and stay, pull one property in full with rooms and rate plans, and read guest reviews with category breakdowns. All endpoints return structured JSON. Each call costs 1 credit.
Use this skill when you need to search Booking.com properties for a destination and date range, fetch live nightly prices and availability, pull one property's full details including room inventory and rate plans, or read guest reviews with per-category scores. Triggers on requests to find accommodations, compare prices, filter by rating or cancellation terms, build rate-shopping pipelines, or research competitive sets. Every call hits Booking's live data via the Scavio API and costs 1 credit.
External connection: Scavio API
Authorization headerexport SCAVIO_API_KEY=sk_live_your_key (get free key at https://scavio.dev, 50 free credits, no card required)https://api.scavio.devRequired parameters (all endpoints)
checkin (string, YYYY-MM-DD format): check-in date, must be paired with checkoutcheckout (string, YYYY-MM-DD format): check-out date, must be paired with checkin and after checkincurrency (string, ISO 4217, default USD): always explicitly pass this to avoid Booking's auto-selectionSearch endpoint (POST /api/v1/booking/search) parameters
destination (string, 1-200 chars) OR dest_id (numeric string): at least one required, not bothdest_type (string, enum): only with dest_id; values city, region, country, district, landmark, airport, hotelpage (integer, 1-based, default 1): pagination, 25 properties per pagesort_by (string, default popularity): popularity, price_low, price_high, stars_high, stars_low, stars_and_price, distance, review_scoremin_price, max_price (number): per night in stated currencystars (integer array): 1-5, up to 5 items, OR'd togethermin_review_score (string, enum only): 6, 7, 8, or 9 (arbitrary thresholds silently ignored upstream)property_type (string or integer): apartments, hostels, hotels, motels, resorts, bed_and_breakfasts, villas, campgrounds, vacation_homes, lodges, homestays, or numeric Booking type idfree_cancellation (boolean): filter to free-cancellation rates onlyno_prepayment (boolean): filter to no-prepayment rates onlybreakfast_included (boolean): filter to breakfast-included rates onlyadults (integer, default 2): adult guest countchildren_ages (integer array, max 10 entries): ages 0-17, not headcountrooms (integer, default 1): number of roomsHotel and reviews endpoint parameters (POST /api/v1/booking/hotel, POST /api/v1/booking/reviews)
hotel (string, required): full Booking.com URL or bare page slug (1-500 chars); query params strippedcountry_code (string, default us, 2 letters): only used for bare slugs; wrong code yields 404 and charges a creditcheckin, checkout, adults, children_ages, rooms, currency: same as search, dates optional but Booking defaults to 2-night range if omittedValidate user input. User must provide destination name or ID. If user gives only checkin date, ask for checkout or propose explicit range and confirm. If no currency stated, use USD and declare it.
Call /api/v1/booking/search with destination or dest_id, both checkin and checkout, and all user filters. Include currency, adults, children_ages, rooms, sort_by, price range, stars, review score, property type, and cancellation / prepayment / breakfast flags as provided. Omit parameters not supplied by user.
Parse search response. Extract properties array. Each row carries url, name, star_rating, review_score, review_count, price_per_night, price (stay total), currency, free_cancellation, no_prepayment, meal_plan, is_sold_out, and other fields. If count is 0 (empty results), advise user to widen filters: drop min_review_score, raise max_price, lower stars, or broaden property_type.
If user requests one property's full details, call /api/v1/booking/hotel with the url from the search result and same checkin, checkout, currency, adults, children_ages, rooms. Do not guess a bare slug or guess country_code - always chain the URL from step 3.
Parse hotel response. Extract name, star_rating, review_score, review_count, review_subscores[] (category-level scores), rooms_requested, price_from, checkin, checkout, nights (echo actual dates priced), facilities[], images, description, address, latitude, longitude, checkin_from, checkin_until, checkout_from, checkout_until.
If user asks for guest reviews, call /api/v1/booking/reviews with the same hotel URL and checkin, checkout, currency, adults, children_ages, rooms. Response carries score (overall), subscores[] (per-category with name, score, review_count), summary (aggregated pros and cons), and reviews[] array with individual review text.
Parse reviews response and present subscores and summary. Each subscore carries category name (e.g., "Cleanliness", "Value for Money") and numeric score. summary.pros and summary.cons are Booking's own aggregation. If user wants sample reviews, read reviews[].title, reviews[].positive, reviews[].negative, reviews[].score, reviews[].reviewed_at, reviews[].guest_country, reviews[].customer_type (e.g., "Couple", "Family").
If user provides only checkin or only checkout: Ask for the missing date or propose an explicit range. Never send unpaired dates; the API rejects them.
If user does not state a currency: Default to USD and tell the user which currency the prices are in. Always include currency in output.
If search returns 0 results: Do not charge blame to the API. Advise: widen max_price, drop or lower min_review_score (round to 6, 7, 8, or 9 if user said 8.4), drop stars filter, or broaden property_type. Retry with relaxed filters.
If user says "round my review score threshold": If user asks for 8.4, tell them you are rounding to 8 and retry. min_review_score only accepts 6, 7, 8, 9; other values are silently ignored upstream, wasting the credit.
If call returns 400 (bad request): Check for missing destination and dest_id, dest_type without dest_id, unpaired or reversed dates, min_price above max_price, or invalid min_review_score. Fix and retry.
If call returns 401 (auth failure): Prompt user to check SCAVIO_API_KEY environment variable. If not set, ask user to sign up at https://scavio.dev and export the key.
If /hotel or /reviews returns 404: Most common cause is bare slug + wrong country_code. Advise: run a search first and chain the full url it returns. Do not brute-force country codes; each 404 is a billed call.
If call returns 429 (rate limit): Back off and retry after a few seconds. See https://scavio.dev/docs/rate-limits for your account's limits.
If call returns 502 or 503 (upstream unavailable): Wait 3-5 seconds and retry up to 3 times. If persistent, report that Scavio or Booking is temporarily down.
If user did not provide dates on /hotel or /reviews: The response echoes checkin, checkout, nights for the range Booking priced (default 2 nights). Read and tell the user which dates the prices correspond to. Never quote a price without stating the dates.
If credits_remaining is 0 or very low: Warn user their account balance is depleted. Direct them to https://dashboard.scavio.dev to top up.
Search response carries data object with fields:
destination, destination_name, destination_country, dest_id, dest_type, urlcheckin, checkout, nights (dates actually priced)currency, total_results, page, count (results on this page)properties array (max 25 per page):pos (position), hotel_id, name, url (full Booking URL)star_rating, review_score, review_count, review_score_wordprice (stay total), price_per_night, currency, original_price, discountsfree_cancellation, no_prepayment, meal_plan, room_name, beds, bedroomscountry_code, city, address, latitude, longitude, distance_from_centeris_sold_out, deal_badges, imagebounding_box, sort, sort_options, applied_filters, available_filters, breadcrumbsHotel response carries data object with:
hotel_id, name, url, page_name, descriptionstar_rating, review_score, review_count, review_subscores[] (category scores)country_code, city, address, postal_code, region, latitude, longitudeaccommodation_type, chain_ids, brandcheckin, checkout, nights (dates actually priced), adults, children_ages, rooms_requestedprice_from, currency, is_sold_outimage, images[] arrayfacilities[], highlights, meals, languages_spokencheckin_from, checkin_until, checkout_from, checkout_until, min_checkin_ageReviews response carries data object with:
hotel_id, name, url, page_namescore (overall numeric), total_count (all reviews ever), count (reviews in this response)subscores[] array: each has name (category), label, score, review_countsummary: review_count, pros (aggregated positives), cons (aggregated negatives)topics[] arrayreviews[] array (individual reviews):review_id, title, positive (review text), negative (review text)score, reviewed_at (ISO date), guest_name, guest_country, guest_review_countis_anonymous, customer_type (Couple, Family, Solo, etc.), trip_purpose, room_name, languageAll responses wrapped in envelope: { data, response_time, credits_used, credits_remaining }. Every call, including errors, costs 1 credit and returns credits_remaining.
User sees search results with live prices, property names, star ratings, review scores, deal badges, and check-in/check-out dates. If user requests a property detail, they receive full room inventory, rate plans, amenities, policies, and images. If user requests reviews, they see per-category subscores (e.g., Cleanliness 8.2, Value for Money 7.9), Booking's own summary of pros and cons, and sample guest reviews with dates and customer types.
Prices are always timestamped (via the response envelope's response_time) and include full Booking URL so user can verify and book directly. Currency is always stated. If dates were defaulted by Booking (user omitted them), the response echoes which dates were used.
Guardrail: never present a price without the property URL, the dates it covers, per-night vs. stay-total clarity, and currency. Always tell user if you rounded their review threshold from (e.g., 8.4 to 8). If results are empty, surface the filters that were applied so user can adjust them.