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: scavio-booking
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
---
# 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=clawhub&utm_medium=skill&utm_campaign=scavio-booking) (50 free credits to get started, no card required):
```bash
export SCAVIO_API_KEY=sk_live_your_key
```
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 prices off the proxy exit and two identical requests 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 https://scavio.dev/docs/rate-limits.
- `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 if-else branches (unpaired dates, missing destination, 404 on bare slug, rate limits, empty results), documented env var and scavio API as external connection with auth and rate limit detail, added edge cases like default date ranges and currency omission, clarified the per-night vs stay-total price distinction, and reorganized into implexa's 6-component structure while preserving all original procedure steps and examples.
search booking.com for a destination and 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.
use this skill when you need live hotel pricing, availability, and guest reviews for a specific destination and date range. the workflow is search a destination, pull one property in full, then read its reviews. each step chains data from the previous step to avoid wasting credits on bad URLs or wrong country codes. all responses are structured JSON with live pricing data, review scores by category, and facilities/policies/images. trigger when the user asks to find hotels, compare prices, filter by star rating or review score, see full property details, or read guest feedback breakdowns.
external connection: scavio booking API
https://api.scavio.devAuthorization headerSCAVIO_API_KEY (required, get free at https://scavio.dev/?utm_source=clawhub&utm_medium=skill&utm_campaign=scavio-booking, 50 free credits to start)required parameters (search)
destination (string, 1-200 chars) or dest_id (numeric, Booking's internal ID). one of these is mandatory. sending neither returns Booking's homepage and wastes a credit.checkin / checkout (string, YYYY-MM-DD format). must be sent together, in order, and paired. a lone checkin causes Booking to price its own default range, which is a wasted credit. omitting both entirely on /hotel or /reviews triggers a Booking default (usually 2 nights), which the response echoes back in checkin, checkout, nights fields.currency (string, ISO 4217 3-letter code, defaults to USD). always send explicitly. omitting it causes the API to price off the proxy's exit node, and two identical requests may disagree.optional parameters (search)
page (integer, 1-based, default 1): 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 threshold in currencystars (integer array): 1-5, up to 5 items, OR'd togethermin_review_score (string enum): 6, 7, 8, or 9 only. arbitrary thresholds like 8.4 are silently dropped upstream. round the user's ask to one of these and tell them.property_type (string or integer): apartments, hostels, hotels, motels, resorts, bed_and_breakfasts, villas, campgrounds, vacation_homes, lodges, homestays, or raw numeric type IDfree_cancellation (boolean): free-cancellation rates onlyno_prepayment (boolean): no-prepayment rates onlybreakfast_included (boolean): breakfast-included rates onlyadults (integer, default 2)children_ages (integer array): ages 0-17, max 10 entries. this is ages, not a headcount.rooms (integer, default 1)dest_type (string): city, region, country, district, landmark, airport, hotel. requires dest_id. ignored without it; API rejects dest_type alone.parameters (hotel detail and reviews)
hotel (string, required): full Booking.com property URL or bare page slug (1-500 chars). query params are discarded. chaining the url from a search result is safest and cheapest; a bare slug needs country_code guessed, and a wrong guess is a real billed 404.country_code (string, default us): 2-letter ISO code, only used for bare slug resolutioncheckin / checkout (string, YYYY-MM-DD): same pairing rules as searchadults (integer, default 2)children_ages (integer array): ages, max 10rooms (integer, default 1)currency (string): same as search, always send itcall /booking/search with destination or dest_id, both checkin and checkout, currency, and any filters (min_price, max_price, stars, min_review_score, property_type, free_cancellation, no_prepayment, breakfast_included). read the response's data.properties array. each row has url, name, star_rating, review_score, price_per_night, free_cancellation, deal_badges, and other fields. if count is 0 (no results), the filters are too tight. widen max_price, drop min_review_score, or loosen stars and retry.
properties[] array (25 per page), total_results, page, checkin, checkout, nights, currencycall /booking/hotel with the url field from a search result row, the same checkin and checkout, and currency. do not guess country_code for a bare slug. the response echoes back checkin, checkout, nights (always verify these match what the user asked for before quoting a price). read rooms[] array (each room has name, beds, bedrooms, bathrooms, facilities, rate_plans[] with nightly prices and cancellation policies). read facilities[], checkin_from/checkin_until, checkout_from/checkout_until, images[], description, address, postal_code.
rooms[], facilities[], images[], checkin/checkout/nights echoed back, price_from (the minimum nightly rate across all rooms)call /booking/reviews with the same hotel URL, checkin, checkout, and currency. read score (overall guest rating), subscores[] (breakdown by category like cleanliness, comfort, location, etc., each with name, score, review_count), summary (Booking's own pros and cons bullets based on review text), reviews[] array (individual guest reviews with title, positive, negative, score, reviewed_at, guest_name, guest_country, customer_type, trip_purpose, room_name). total_count is all reviews ever; count is what this response holds.
score, subscores[], summary, reviews[], total_countif checkin without checkout, or vice versa: reject the request. ask the user for both dates or propose a specific range and confirm before calling the API.
if checkin > checkout or dates are out of order: the API rejects it with a 400. tell the user and ask for the correct range.
if no destination and no dest_id: the API rejects it. ask the user for a city, region, or property name.
if dest_type is provided without dest_id: the API ignores dest_type alone and may still search if destination is present. if only dest_type is sent, the API rejects it. send dest_id or drop dest_type.
if search returns 0 properties: filters are too restrictive. suggest widening max_price, removing min_review_score, or reducing stars, then retry.
if /hotel or /reviews called without checkin/checkout: Booking prices a default 2-night stay. the response echoes which dates it actually used in checkin, checkout, nights. read these back and tell the user, never present the defaulted dates as what they asked for.
if min_review_score is a decimal like 8.4: Booking only accepts 6, 7, 8, or 9. round down (8.4 becomes 8), tell the user, and retry.
if min_price > max_price: reject before calling. ask the user to fix the range.
if 400 error returned: an invalid or missing parameter (no destination/dest_id, dest_type alone, unpaired dates, out-of-order dates, min_price > max_price). read the error message, fix the parameter, and retry.
if 401 error returned: SCAVIO_API_KEY is invalid or missing. check that the env var is set and the key is correct.
if 404 on /hotel or /reviews: usually a bare slug was resolved with the wrong country_code. this is a real, billed 404. do not brute-force country codes. run a search instead and chain the url it returns.
if 429 error returned: rate limit or usage limit exceeded. wait (see https://scavio.dev/docs/rate-limits) before retrying. do not hammer the API.
if 502 or 503 error returned: upstream Booking.com or Scavio is temporarily down. wait a few seconds, then retry up to 3 times total. if it persists, tell the user to try again in a few minutes.
if SCAVIO_API_KEY env var is not set: prompt the user to export it and provide the setup link (https://scavio.dev).
if user asks for a price without a currency: always specify which currency the price is in. if the user did not specify, default to USD and tell them. never quote a price without a currency.
if user quotes a price from search and wants to know the stay total: multiply price_per_night by nights, or read the price field from the response. clarify which figure you are giving (per-night vs stay total).
if response is missing or empty reviews (total_count is 0): tell the user the property has no guest reviews yet.
each endpoint returns a JSON envelope with keys data, response_time, credits_used, credits_remaining.
search response:
data.destination (string): the destination searcheddata.dest_type (string): type (city, region, etc.)data.checkin, data.checkout, data.nights (string, int): dates and duration useddata.currency (string): currency of pricesdata.total_results (integer): total properties matching filters across all pagesdata.page (integer): page number returned (1-based)data.count (integer): number of properties in this page (max 25)data.properties[] (array): each row has hotel_id, name, url, star_rating, review_score, review_count, price_per_night, price (stay total), free_cancellation, free_cancellation_until, no_prepayment, meal_plan, deal_badges, image, address, city, latitude, longitude, accommodation_type_id, is_sold_out, rooms_left_messagedata.sort (string): current sort orderdata.applied_filters (object): filters actually applieddata.available_filters (object): filters available for this destinationhotel response:
data.hotel_id, data.name, data.url (string): property identitydata.star_rating (number): 0-5 starsdata.review_score (number): 0-10 Booking scoredata.review_count (integer): total reviewsdata.review_subscores[] (array): each has name (category), score, review_countdata.description (string): property descriptiondata.address, data.postal_code, data.city, data.region, data.country_code (string)data.latitude, data.longitude (number)data.checkin, data.checkout, data.nights (string, int): dates and duration priceddata.price_from (number): minimum nightly rate across all roomsdata.currency (string)data.rooms_requested (integer)data.rooms[] (array): each has name, beds, bedrooms, bathrooms, unit_area, facilities[], rate_plans[] with name, price_per_night, price (stay total), free_cancellation, free_cancellation_until, no_prepayment, meal_plandata.facilities[] (array): amenities (wifi, pool, parking, etc.)data.checkin_from, data.checkin_until, data.checkout_from, data.checkout_until (string, HH:MM format)data.images[] (array): property photo URLsdata.languages_spoken[] (array): languages at front deskreviews response:
data.hotel_id, data.name, data.url (string): property identitydata.score (number): overall guest rating (0-10)data.total_count (integer): total reviews ever posted for this propertydata.count (integer): number of reviews in this responsedata.subscores[] (array): category breakdown (cleanliness, comfort, location, etc.). each has name, label, score (0-10), review_countdata.summary (object): review_count (total), pros[] and cons[] (Booking's extracted themes from review text)data.reviews[] (array): individual reviews. each has review_id, title, positive (what the guest liked), negative (complaints), score, reviewed_at, guest_name, guest_country, customer_type (business, couple, family, etc.), trip_purpose, room_name, languageall prices are floats in the stated currency. all dates are YYYY-MM-DD. all timestamps are ISO 8601.
the user knows the skill worked when:
search returns a list of properties with live nightly prices, review scores, star ratings, and property URLs. if 0 results, filters were too tight; the user is prompted to loosen them.
hotel detail returns a full property card with rooms and rate plans, facilities, check-in/check-out windows, images, and policies. the response explicitly echoes checkin, checkout, and nights to confirm the dates priced. the user can see which rates include breakfast or allow free cancellation, and which room types are available.
reviews return category scores and individual guest feedback with per-category subscores (cleanliness, comfort, location, etc.), Booking's summary of pros and cons, and 10-30 individual reviews with guest name, trip purpose, and what they liked/disliked. the response echoes total_count (all reviews ever) and count (reviews in this response).
all three endpoints return structured JSON with no fabricated data, timestamps on prices (from response_time), and property URLs for the user to verify and book directly on Booking.com.
credits are charged (1 per endpoint, even on empty results or 404s), and credits_remaining is decremented. the user tracks their free or paid quota.
failed requests are explicit: a 400 error names the bad parameter (missing destination, unpaired dates, etc.); a 401 error means the API key is wrong or missing; a 404 on /hotel means the URL is bad or country_code is wrong; a 429 means rate limit hit.