{
"data": {
"query": "Rome",
"checkin": null,
"checkout": null,
"adults": 2,
"children": 0,
"rooms": 1,
"page": 1,
"details": true,
"total": 19211,
"count": 25,
"results": [
{
"name": "Hotel Le Petit",
"hotel_id": "it/hotellepetitroma",
"country": "it",
"hotel_slug": "hotellepetitroma",
"url": "https://www.booking.com/hotel/it/hotellepetitroma.html",
"price": null,
"price_amount": null,
"currency": null,
"stars": 3,
"review_score": 8.7,
"review_label": "Excellent",
"review_count": 3642,
"distance": "1.2 km from downtown",
"image": "https://cf.bstatic.com/xdata/images/hotel/square240/352548449.webp",
"detail": {
"name": "Hotel Le Petit",
"hotel_id": "it/hotellepetitroma",
"url": "https://www.booking.com/hotel/it/hotellepetitroma.html",
"description": "Total New Renovation, Le Petit is set in an elegant 19th-century building just off Via Nazionale, 164 ft from Repubblica Metro Station, on Rome's line A.",
"address": {
"full": "Via Torino 122, Central Station, 00184 Rome, Italy",
"street": "Via Torino 122",
"locality": "Via Torino 122",
"region": "Lazio",
"postal_code": "00184",
"country": "Italy"
},
"review_score": 8.7,
"review_count": 3640,
"rating_best": 10,
"image": "https://cf.bstatic.com/xdata/images/hotel/max500/352548449.jpg",
"price": null,
"price_amount": null,
"currency": null
}
},
{
"name": "Gh Trevi Fountain",
"hotel_id": "it/trevi-fountain-guesthouse",
"country": "it",
"hotel_slug": "trevi-fountain-guesthouse",
"url": "https://www.booking.com/hotel/it/trevi-fountain-guesthouse.html",
"price": null,
"price_amount": null,
"currency": null,
"stars": null,
"review_score": 9.1,
"review_label": "Wonderful",
"review_count": 592,
"distance": "0.9 km from downtown",
"image": "https://cf.bstatic.com/xdata/images/hotel/square240/627425078.webp",
"detail": {
"name": "Gh Trevi Fountain",
"hotel_id": "it/trevi-fountain-guesthouse",
"url": "https://www.booking.com/hotel/it/trevi-fountain-guesthouse.html",
"description": "Trevi Fountain Guest house is a 5-minute walk from Rome's most beautiful fountain. The colorful rooms offer free Wi-Fi, an LCD TV and air conditioning.",
"address": {
"full": "Via Delle Quattro Fontane 159, Trevi, 00184 Rome, Italy",
"street": "Via Delle Quattro Fontane 159",
"locality": "Via Delle Quattro Fontane 159",
"region": "Lazio",
"postal_code": "00184",
"country": "Italy"
},
"review_score": 9.1,
"review_count": 592,
"rating_best": 10,
"image": "https://cf.bstatic.com/xdata/images/hotel/max500/627425078.jpg",
"price": null,
"price_amount": null,
"currency": null
}
}
]
},
"cached": false,
"source": "booking:combo",
"pagination": {
"total": 25,
"limit": 50,
"offset": 0,
"count": 25,
"has_more": false
}
}
curl --location --request GET 'https://zylalabs.com/api/15224/booking+unofficial+data+api/40726/explore+search+details?q=Rome&checkin=2027-01-14&checkout=2027-01-16&adults=2&children=Optionalrooms=1&page=1&details=true&detail_count=3&limit=3&offset=Optionalrefresh=false' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"name": "MAX Hotel Amsterdam",
"hotel_id": "nl/hotelmaxadam",
"url": "https://www.booking.com/hotel/nl/hotelmaxadam.html",
"description": "MAX Hotel Amsterdam Next Building is located only 984 feet from the Heineken Experience and the Albert Cuyp market.",
"address": {
"full": "Hemonystraat 7S, 1074 BK Amsterdam, Netherlands",
"street": "Hemonystraat 7S",
"locality": "Hemonystraat 7S",
"region": "Noord-Holland",
"postal_code": "1074 BK",
"country": "Netherlands"
},
"review_score": 6.7,
"review_count": 1481,
"rating_best": 10,
"image": "https://cf.bstatic.com/xdata/images/hotel/max500/864090609.jpg",
"price": null,
"price_amount": null,
"currency": null
},
"cached": false,
"source": "https://www.booking.com/hotel/nl/hotelmaxadam.html?group_adults=2&no_rooms=1&group_children=0&lang=en-us&selected_currency=EUR"
}
curl --location --request GET 'https://zylalabs.com/api/15224/booking+unofficial+data+api/40727/property+details?checkin=2027-01-14&checkout=2027-01-16&adults=2&rooms=1&refresh=false&country=Required&/=Required&slug=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": "Amsterdam",
"checkin": null,
"checkout": null,
"adults": 2,
"children": 0,
"rooms": 1,
"page": 1,
"total": 1116,
"count": 25,
"results": [
{
"name": "The Social Hub Amsterdam City",
"hotel_id": "nl/the-social-hub-amsterdam-city",
"country": "nl",
"hotel_slug": "the-social-hub-amsterdam-city",
"url": "https://www.booking.com/hotel/nl/the-social-hub-amsterdam-city.html",
"price": null,
"price_amount": null,
"currency": null,
"stars": 4,
"review_score": 8.6,
"review_label": "Excellent",
"review_count": 10131,
"distance": "2.4 km from downtown",
"image": "https://cf.bstatic.com/xdata/images/hotel/square240/842602876.webp"
},
{
"name": "Room Mate Aitana, Amsterdam",
"hotel_id": "nl/room-mate-aitana",
"country": "nl",
"hotel_slug": "room-mate-aitana",
"url": "https://www.booking.com/hotel/nl/room-mate-aitana.html",
"price": null,
"price_amount": null,
"currency": null,
"stars": 4,
"review_score": 8.8,
"review_label": "Excellent",
"review_count": 10029,
"distance": "1.3 km from downtown",
"image": "https://cf.bstatic.com/xdata/images/hotel/square240/619774727.webp"
}
]
},
"cached": false,
"source": "https://www.booking.com/searchresults.html",
"pagination": {
"total": 25,
"limit": 50,
"offset": 0,
"count": 25,
"has_more": false
}
}
curl --location --request GET 'https://zylalabs.com/api/15224/booking+unofficial+data+api/40728/search+accommodations?location=Amsterdam&checkin=2027-01-14&checkout=2027-01-16&adults=2&children=Optionalrooms=1&page=1&limit=5&offset=Optionalrefresh=false' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 预订非官方数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
按地点和入住日期搜索 Booking.com 住宿,查看住宿详情、价格和评价分数
不是。这是一个非官方 API,与 Booking.com 无关联,也未获得其认可或赞助。它返回 Booking.com 上公开可见的数据。
每个端点都返回 JSON。无法处理的请求会返回一个包含错误代码和消息的 JSON 请求体】【。