Booking API endpoint
Returns the details of one Booking.com attraction by `slug`, taken from `products[].slug` in a `booking-attractions-search` result: `name`, `short_description`, `description`, `duration`, `price` with `currency`, `review_score`, `review_count` and `city`. The returned `id` is the `product_id` for `booking-attractions-reviews`.
/booking-attractions/detailslug (required): attraction slug, from a prior booking-attractions-search call's products[].slug, for example pre4ksvwxdrd-seine-river-sightseeing-cruise.| Field | In the sample | Value in the sample |
|---|---|---|
| id | Has a value | |
| name | Has a value | “Seine River Sightseeing Cruise” |
| short_description | Has a value | “A one-hour boat tour through central Paris” |
| description | Has a value | 377 characters |
| duration | Has a value | “Duration: 1 hour - 1 hour 20 minutes” |
| price | Has a value | 18 |
| currency | Has a value | “EUR” |
| review_score | Has a value | 4.3 |
| review_count | Has a value | 5,796 |
| city | Has a value | “Paris” |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| slug | string | Yes | Attraction slug, from a prior attraction search result | pre4ksvwxdrd-seine-river-sightseeing-cruise | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/booking-attractions/detail?slug=pre4ksvwxdrd-seine-river-sightseeing-cruise" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"id": "PRe4kSVWXdrD",
"name": "Seine River Sightseeing Cruise",
"short_description": "A one-hour boat tour through central Paris",
"duration": "Duration: 1 hour",
"price": 18,
"currency": "EUR",
"review_score": 8.6,
"review_count": 4842,
"city": "Paris"
}
}Request schema
No body schema
Response schema
#/definitions/booking.bookingAttractionDetailResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | booking.AttractionDetailResponse | No | ||||
| data.city | string | No | ||||
| data.currency | string | No | ||||
| data.description | string | No | ||||
| data.duration | string | No | ||||
| data.id | string | No | ||||
| data.name | string | No | ||||
| data.price | number | No | ||||
| data.review_count | integer | No | ||||
| data.review_score | number | No | ||||
| data.short_description | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/booking-attractions/detail?slug=pre4ksvwxdrd-seine-river-sightseeing-cruise" \
-H "x-api-key: $CRAWLORA_API_KEY"