Booking.com Hotel Details
POST /api/v1/booking/hotels/details
Get a Booking.com property from its URL, including description, address, star rating, review scores and featured reviews, facilities, house rules, photos, room types and, for given dates, the available offers with prices.
Overview
Get a Booking.com property from its URL, including description, address, star rating, review scores and featured reviews, facilities, house rules, photos, room types and, for given dates, the available offers with prices.
POST /api/v1/booking/hotels/details
Method: POST Path: /api/v1/booking/hotels/details Category: Travel
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| adults | integer | Optional | Number of adult guests (default 2). |
| checkin | string | Optional | Optional check-in date (YYYY-MM-DD) to get room offers and prices. |
| checkout | string | Optional | Optional checkout date (YYYY-MM-DD). Defaults to one night after check-in. |
| currency | string | Optional | Three-letter currency code for prices (default USD). |
| hotel_url | string | Required | Full Booking.com hotel URL (e.g. https://www.booking.com/hotel/sg/marina-bay-sands.html). |
| location | string | Optional | Two-letter country code to fetch the page from (default US). |
| rooms | integer | Optional | Number of rooms (default 1). |
Request Example
Booking.com Hotel Details Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/booking/hotels/details" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"adults": "2", "checkin": "example", "checkout": "example", "currency": "USD", "hotel_url": "example", "location": "US", "rooms": "1"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "hotel_id": "1234567890", "name": "string", "url": "https://example.com/...", "property_type": "string", "star_rating": 0.0, "brands": [ "string" ], "description": "string", "address": { "full": "string", "short": "string", "city": "string", "postal_code": "string", "country": "string", "country_code": "string" }, "latitude": 0.0, "longitude": 0.0, "reviews": { "score": 0.0, "score_word": "string", "count": 0, "subscores": [ { "name": "string", "key": "string", "score": 0.0, "count": 0 } ], "featured_reviews": [ { "review_id": "1234567890", "guest_name": "string", "guest_country": "string", "score": 0.0, "title": "string", "positive": "string", "negative": "string", "date": "2026-01-01T12:00:00Z", "traveller_type": "string", "room_type": "string" } ] }, "popular_facilities": [ "string" ], "highlights": [ { "name": "string", "details": [ "string" ] } ], "photos": [ "string" ], "house_rules": { "checkin_from": "string", "checkin_until": "string", "checkout_from": "string", "checkout_until": "string", "min_checkin_age": 0, "pets": "string", "children_allowed": false, "cribs_allowed": false, "extra_beds_allowed": false, "accepted_cards": [ "string" ] }, "fine_print": [ "string" ], "languages_spoken": [ "string" ], "meals": [ { "type": "string", "price": "string", "style": [ "string" ], "cuisine": [ "string" ], "score": 0.0 } ], "hotel_currency": "string", "rooms": [ { "room_id": "1234567890", "name": "string", "description": "string", "size_m2": 0.0, "bed_options": [ "string" ], "photos": [ "string" ], "amenities": [ "string" ] } ], "stay": { "checkin": "string", "checkout": "string", "nights": 0, "sold_out": false }, "offers": [ { "block_id": "1234567890", "room_id": "1234567890", "room_name": "string", "max_guests": 0, "price": { "total": 0.0, "total_formatted": "string", "currency": "USD", "original_total": 0.0, "original_total_formatted": "string", "per_night": 0.0 }, "conditions": [ "string" ], "free_cancellation": false, "breakfast_included": false, "no_prepayment": false, "rooms_available": 0 } ], "lowest_price": 0.0, "time_taken": 0.0, "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Booking.com Hotel Details", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| hotel_id | string | Yes | Booking.com property id. |
| name | string | Yes | Property name. |
| url | string | Yes | Booking.com property page URL. |
| property_type | string | No | Property type, e.g. Hotel, Apartment, Hostel. |
| star_rating | number | null | No | Official star rating. |
| brands | array<string> | No | Hotel brand or chain. |
| description | string | No | Property description. |
| address | object | Yes | |
| address.full | string | No | |
| address.short | string | No | |
| address.city | string | No | |
| address.postal_code | string | No | |
| address.country | string | No | |
| address.country_code | string | No | |
| latitude | number | null | No | |
| longitude | number | null | No | |
| reviews | object | Yes | |
| reviews.score | number | null | No | Overall guest score out of 10. |
| reviews.score_word | string | No | Score label, e.g. 'Wonderful'. |
| reviews.count | integer | No | Number of guest reviews. |
| reviews.subscores | array<object> | No | Category scores (staff, cleanliness, location, ...). |
| reviews.subscores[].name | string | No | |
| reviews.subscores[].key | string | No | |
| reviews.subscores[].score | number | null | No | |
| reviews.subscores[].count | integer | null | No | |
| reviews.featured_reviews | array<object> | No | |
| reviews.featured_reviews[].review_id | string | No | |
| reviews.featured_reviews[].guest_name | string | No | |
| reviews.featured_reviews[].guest_country | string | No | |
| reviews.featured_reviews[].score | number | null | No | |
| reviews.featured_reviews[].title | string | No | |
| reviews.featured_reviews[].positive | string | No | |
| reviews.featured_reviews[].negative | string | No | |
| reviews.featured_reviews[].date | string | No | |
| reviews.featured_reviews[].traveller_type | string | No | |
| reviews.featured_reviews[].room_type | string | No | |
| popular_facilities | array<string> | No | Most popular amenities. |
| highlights | array<object> | No | Property highlight categories with their details. |
| highlights[].name | string | No | |
| highlights[].details | array<string> | No | |
| photos | array<string> | No | Property photo URLs. |
| house_rules | object | No | |
| house_rules.checkin_from | string | No | |
| house_rules.checkin_until | string | No | |
| house_rules.checkout_from | string | No | |
| house_rules.checkout_until | string | No | |
| house_rules.min_checkin_age | integer | null | No | |
| house_rules.pets | string | No | Pet policy, e.g. 'no', 'yes', 'upon_request'. |
| house_rules.children_allowed | boolean | null | No | |
| house_rules.cribs_allowed | boolean | null | No | |
| house_rules.extra_beds_allowed | boolean | null | No | |
| house_rules.accepted_cards | array<string> | No | |
| fine_print | array<string> | No | |
| languages_spoken | array<string> | No | Language codes spoken at the property. |
| meals | array<object> | No | |
| meals[].type | string | No | |
| meals[].price | string | No | |
| meals[].style | array<string> | No | |
| meals[].cuisine | array<string> | No | |
| meals[].score | number | null | No | |
| hotel_currency | string | No | The property's own currency. |
| rooms | array<object> | No | Room types offered by the property. |
| rooms[].room_id | string | Yes | |
| rooms[].name | string | Yes | |
| rooms[].description | string | No | |
| rooms[].size_m2 | number | null | No | |
| rooms[].bed_options | array<string> | No | |
| rooms[].photos | array<string> | No | |
| rooms[].amenities | array<string> | No | |
| stay | object | No | Present when stay dates were given. |
| stay.checkin | string | No | |
| stay.checkout | string | No | |
| stay.nights | integer | No | |
| stay.sold_out | boolean | No | |
| offers | array<object> | No | Bookable offers for the stay dates (present when dates were given). |
| offers[].block_id | string | Yes | |
| offers[].room_id | string | Yes | |
| offers[].room_name | string | No | |
| offers[].max_guests | integer | null | No | |
| offers[].price | object | Yes | |
| offers[].price.total | number | null | No | Total price for the stay. |
| offers[].price.total_formatted | string | No | |
| offers[].price.currency | string | No | |
| offers[].price.original_total | number | null | No | |
| offers[].price.original_total_formatted | string | No | |
| offers[].price.per_night | number | null | No | Total divided by the number of nights. |
| offers[].conditions | array<string> | No | Cancellation, payment and meal conditions. |
| offers[].free_cancellation | boolean | No | |
| offers[].breakfast_included | boolean | No | |
| offers[].no_prepayment | boolean | No | |
| offers[].rooms_available | integer | null | No | Maximum rooms selectable for this offer. |
| lowest_price | number | null | No | Lowest offer total for the stay dates. |
| time_taken | number | No |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/booking/hotels/details?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
hotel_url,adults,checkin,checkout,currency,location,rooms example,2,example,example,USD,US,1
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |