Hotels.com API

API ID 15895

酒店预订数据:包含所有筛选条件的酒店搜索、酒店详情、包含所有价格方案的客房、评论和评论摘要,支持40个国家网站的语言和货币

API 文档

端点

请求
返回“site”参数可选的每个 Hotels.com 网站及其代码、国家/地区、域名、语言和货币。每个网站都会使用自己的语言和货币显示自己的价格,因此请选择旅行者所在国家/地区对应的网站
Endpoint ID: 43980
GET https://zylalabs.com/api/15895/hotels+com+api/43980/sites
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "site": "US",
        "name": "United States",
        "domain": "www.hotels.com",
        "locale": "en_US",
        "currency": "USD"
    },
    {
        "site": "GB",
        "name": "United Kingdom",
        "domain": "uk.hotels.com",
        "locale": "en_GB",
        "currency": "GBP"
    },
    {
        "site": "CA",
        "name": "Canada",
        "domain": "ca.hotels.com",
        "locale": "en_CA",
        "currency": "CAD"
    },
    {
        "site": "AU",
        "name": "Australia",
        "domain": "au.hotels.com",
        "locale": "en_AU",
        "currency": "AUD"
    },
    {
        "site": "NZ",
        "name": "New Zealand",
        "domain": "nz.hotels.com",
        "locale": "en_NZ",
        "currency": "NZD"
    },
    {
        "site": "IE",
        "name": "Ireland",
        "domain": "ie.hotels.com",
        "locale": "en_IE",
        "currency": "EUR"
    },
    {
        "site": "IN",
        "name": "India",
        "domain": "in.hotels.com",
        "locale": "en_IN",
        "currency": "INR"
    },
    {
        "site": "SG",
        "name": "Singapore",
        "domain": "sg.hotels.com",
        "locale": "en_SG",
        "currency": "SGD"
    },
    {
        "site": "PH",
        "name": "Philippines",
        "domain": "ph.hotels.com",
        "locale": "en_PH",
        "currency": "PHP"
    },
    {
        "site": "ZA",
        "name": "South Africa",
        "domain": "za.hotels.com",
        "locale": "en_ZA",
        "currency": "ZAR"
    },
    {
        "site": "MY",
        "name": "Malaysia",
        "domain": "ms.hotels.com",
        "locale": "ms_MY",
        "currency": "MYR"
    },
    {
        "site": "DE",
        "name": "Germany",
        "domain": "de.hotels.com",
        "locale": "de_DE",
        "currency": "EUR"
    },
    {
        "site": "AT",
        "name": "Austria",
        "domain": "at.hotels.com",
        "locale": "de_AT",
        "currency": "EUR"
    },
    {
        "site": "CH",
        "name": "Switzerland",
        "domain": "ch.hotels.com",
        "locale": "de_CH",
        "currency": "CHF"
    },
    {
        "site": "FR",
        "name": "France",
        "domain": "fr.hotels.com",
        "locale": "fr_FR",
        "currency": "EUR"
    },
    {
        "site": "BE",
        "name": "Belgium",
        "domain": "be.hotels.com",
        "locale": "nl_BE",
        "currency": "EUR"
    },
    {
        "site": "NL",
        "name": "Netherlands",
        "domain": "nl.hotels.com",
        "locale": "nl_NL",
        "currency": "EUR"
    },
    {
        "site": "IT",
        "name": "Italy",
        "domain": "it.hotels.com",
        "locale": "it_IT",
        "currency": "EUR"
    },
    {
        "site": "ES",
        "name": "Spain",
        "domain": "es.hoteles.com",
        "locale": "es_ES",
        "currency": "EUR"
    },
    {
        "site": "PT",
        "name": "Portugal",
        "domain": "pt.hoteis.com",
        "locale": "pt_PT",
        "currency": "EUR"
    },
    {
        "site": "GR",
        "name": "Greece",
        "domain": "el.hotels.com",
        "locale": "el_GR",
        "currency": "EUR"
    },
    {
        "site": "FI",
        "name": "Finland",
        "domain": "fi.hotels.com",
        "locale": "fi_FI",
        "currency": "EUR"
    },
    {
        "site": "SE",
        "name": "Sweden",
        "domain": "sv.hotels.com",
        "locale": "sv_SE",
        "currency": "SEK"
    },
    {
        "site": "NO",
        "name": "Norway",
        "domain": "no.hotels.com",
        "locale": "nb_NO",
        "currency": "NOK"
    },
    {
        "site": "DK",
        "name": "Denmark",
        "domain": "da.hotels.com",
        "locale": "da_DK",
        "currency": "DKK"
    },
    {
        "site": "IS",
        "name": "Iceland",
        "domain": "is.hotels.com",
        "locale": "is_IS",
        "currency": "ISK"
    },
    {
        "site": "HU",
        "name": "Hungary",
        "domain": "hu.hotels.com",
        "locale": "hu_HU",
        "currency": "HUF"
    },
    {
        "site": "TR",
        "name": "Turkey",
        "domain": "tr.hotels.com",
        "locale": "tr_TR",
        "currency": "TRY"
    },
    {
        "site": "MX",
        "name": "Mexico and Latin America",
        "domain": "www.hoteles.com",
        "locale": "es_MX",
        "currency": "USD"
    },
    {
        "site": "AR",
        "name": "Argentina",
        "domain": "ar.hoteles.com",
        "locale": "es_AR",
        "currency": "ARS"
    },
    {
        "site": "CO",
        "name": "Colombia",
        "domain": "co.hoteles.com",
        "locale": "es_CO",
        "currency": "COP"
    },
    {
        "site": "BR",
        "name": "Brazil",
        "domain": "www.hoteis.com",
        "locale": "pt_BR",
        "currency": "BRL"
    },
    {
        "site": "JP",
        "name": "Japan",
        "domain": "jp.hotels.com",
        "locale": "ja_JP",
        "currency": "JPY"
    },
    {
        "site": "KR",
        "name": "South Korea",
        "domain": "kr.hotels.com",
        "locale": "ko_KR",
        "currency": "KRW"
    },
    {
        "site": "CN",
        "name": "China",
        "domain": "www.hotels.cn",
        "locale": "zh_CN",
        "currency": "CNY"
    },
    {
        "site": "HK",
        "name": "Hong Kong",
        "domain": "zh.hotels.com",
        "locale": "zh_HK",
        "currency": "HKD"
    },
    {
        "site": "TW",
        "name": "Taiwan",
        "domain": "tw.hotels.com",
        "locale": "zh_TW",
        "currency": "TWD"
    },
    {
        "site": "TH",
        "name": "Thailand",
        "domain": "th.hotels.com",
        "locale": "th_TH",
        "currency": "THB"
    },
    {
        "site": "ID",
        "name": "Indonesia",
        "domain": "id.hotels.com",
        "locale": "id_ID",
        "currency": "IDR"
    },
    {
        "site": "VN",
        "name": "Vietnam",
        "domain": "vi.hotels.com",
        "locale": "vi_VN",
        "currency": "VND"
    }
]
网站 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43980/sites' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回各端点中“sort”参数所取的值:酒店搜索和酒店评价
Endpoint ID: 43981
GET https://zylalabs.com/api/15895/hotels+com+api/43981/sort+options
输入参数

排序选项 — 端点功能

对象 描述
type 必需 Which sort options to list: "hotels" or "hotel_reviews".

剩余免费测试请求:3 / 3。


输入参数

type
API 示例响应
JSON
[
    {
        "value": "recommended",
        "label": "Recommended"
    },
    {
        "value": "price_low",
        "label": "Price: low to high"
    },
    {
        "value": "price_high",
        "label": "Price: high to low"
    },
    {
        "value": "distance",
        "label": "Distance from downtown"
    },
    {
        "value": "guest_rating",
        "label": "Guest rating"
    },
    {
        "value": "star_rating",
        "label": "Property class"
    }
]
排序选项 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43981/sort+options?type=hotels' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回酒店或其他住宿地点的信息:名称、标语、星级、地址、坐标、区域、热门设施以及按类别列出的所有设施(停车、餐饮、互联网、无障碍设施……)、描述、政策(入住和退房时间、宠物、儿童和加床、付款方式)、重要信息、强制性和可选费用、每张照片及其说明、类别(客房、浴室、外观、餐饮……)和链接
Endpoint ID: 43982
GET https://zylalabs.com/api/15895/hotels+com+api/43982/hotel+details
输入参数

酒店详情 — 端点功能

对象 描述
hotel_id 必需 Hotel id (e.g. "5951861") or a hotel link holding it ("expediaPropertyId=5951861" or "/h5951861.Hotel-Information"). Use the /search/hotels or /search/autocomplete endpoint to list valid values.
site 可选 Optional Hotels.com site, which sets the language (e.g. "GB"; defaults to "US"). Use the /general/sites endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

hotel_id
site
API 示例响应
JSON
{
    "id": "5951861",
    "name": "Grand Hotel Leveque",
    "tagline": "Art Deco hotel with bar/lounge, near Eiffel Tower",
    "star_rating": 3,
    "address": {
        "full": "29 rue Cler, Paris, Paris, 75007",
        "street": "29 rue Cler",
        "city": "Paris",
        "province": "Paris",
        "postal_code": "75007",
        "country_code": "FRA"
    },
    "latitude": 48.857416,
    "longitude": 2.306071,
    "region": "Paris",
    "region_id": "179898",
    "popular_amenities": [
        "Airport transfer",
        "Free WiFi",
        "Air conditioning",
        "Bar",
        "Laundry facilities",
        "24/7 front desk",
        "Non-smoking"
    ],
    "amenities": [
        {
            "group": "Food and drink",
            "items": [
                "Buffet breakfast (surcharge) each morning 7 AM–11:00 AM",
                "Bar/lounge",
                "Snack bar/deli"
            ]
        },
        {
            "group": "Working away",
            "items": [
                "24-hour business center",
                "Computer station"
            ]
        },
        {
            "group": "Services",
            "items": [
                "24-hour front desk",
                "Concierge services",
                "Tour/ticket assistance",
                "Dry cleaning/laundry services",
                "Free newspapers in lobby",
                "Luggage storage",
                "Multilingual staff"
            ]
        },
        {
            "group": "Facilities",
            "items": [
                "1 building/tower",
                "Safe-deposit box at front desk",
                "Lockers available",
                "Art Deco architecture"
            ]
        },
        {
            "group": "Accessibility",
            "items": [
                "Elevator",
                "Accessible airport shuttle"
            ]
        }
    ],
    "description": [
        {
            "title": "Grand Hotel Leveque",
            "items": [
                "Grand Hotel Leveque offers a great location, putting you within just a 10-minute walk of Rue Cler and Les Invalides. You can unwind with a drink at the bar/lounge, and buffet breakfast is available daily. This Art Deco hotel is also within a 15-minute walk of Eiffel Tower and Champ de Mars. Fellow travelers love the helpful staff and location. Public transportation is just a short walk: La Tour-Maubourg Station is 4 minutes and Ecole Militaire Station is 4 minutes."
            ]
        }
    ],
    "policies": [
        {
            "title": "Mandatory fees",
            "items": [
                "You'll be asked to pay the following charges by the property at check-in or check-out. Fees may include applicable taxes:",
                "A tax is imposed by the city: EUR 5.53 per person, per night. This tax does not apply to children under 18 years of age."
            ]
        },
        {
            "title": "Optional extras",
            "items": [
                "Buffet breakfast is offered for an extra charge of approximately EUR 15 for adults and EUR 10 for children",
                "Airport shuttle service is offered for an extra charge of EUR 70 per vehicle. Maximum occupancy 9"
            ]
        },
        {
            "title": "Children & extra beds",
            "items": [
                "Cribs/infant beds are available for EUR 15.0 per stay"
            ]
        },
        {
            "title": "Policies",
            "items": [
                "Extra-person charges may apply and vary depending on property policy.",
                "This property has outdoor spaces, such as balconies, patios, terraces which may not be suitable for children. If you have concerns, we recommend contacting the property prior to your arrival to confirm they can accommodate you in a suitable room.",
                "Guests can rest easy knowing there's a carbon monoxide detector, a fire extinguisher, a smoke detector, a security system, and a first aid kit on site.",
                "This property accepts credit cards and cash.",
                "Credit cards accepted: Visa, Mastercard, American Express",
                "Cash transactions at this property cannot exceed EUR 1000, due to national regulations. For further details, please contact the property using information in the booking confirmation."
            ]
        },
        {
            "title": "Property class",
            "items": [
                "This property has received its official star rating from the French Tourism Development Agency, ATOUT France."
            ]
        }
    ],
    "important_information": [],
    "fees": {
        "mandatory": [],
        "optional": []
    },
    "photos": [
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/ebf81ef1.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Common areas"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/2014ba60.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Rooms"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/dc725c8b.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Rooms"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/597caa79.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Dining"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/d98ad575.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Amenities"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/0fe8c538.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Rooms"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/ae426631.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Bathroom"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/ab95d6f4.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Dining"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/5e1c467a.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Rooms"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/2b16b6af.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Common areas"
        },
        {
            "url": "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/ceab08c2.jpg?impolicy=resizecrop&rw=1200&ra=fit",
            "caption": null,
            "category": "Rooms"
        }
    ],
    "link": "https://www.hotels.com/h5951861.Hotel-Information"
}
酒店详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43982/hotel+details?hotel_id=5951861&site=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回酒店在指定日期和入住人数下可订的客房:名称、面积、床位、可入住人数、特色、按类别列出的客房设施和照片,以及每间客房的所有价格方案:取消政策(不可退款或截至某日期可全额退款)、是否包含早餐或其他额外服务、付款方式(立即付款、稍后付款、支付定金)、是否无需信用卡、剩余房间数、网站显示的住宿价格及其金额、折扣前价格、价格说明和优惠翻译文本仅返回不要添加句号或逗号若翻译出错则只返回“error”
Endpoint ID: 43983
GET https://zylalabs.com/api/15895/hotels+com+api/43983/hotel+rooms
输入参数

酒店房间 — 端点功能

对象 描述
hotel_id 必需 Hotel id (e.g. "5951861") or a hotel link holding it ("expediaPropertyId=5951861" or "/h5951861.Hotel-Information"). Use the /search/hotels endpoint to list valid values.
check_in 必需 Check-in date, YYYY-MM-DD, from today up to 500 days ahead (e.g. "2027-03-10").
check_out 必需 Check-out date, YYYY-MM-DD, 1 to 28 nights after check-in (e.g. "2027-03-12").
adults 可选 Optional number of adults, from 1 to 14 (defaults to 2).
child_ages 可选 Optional comma-separated age of every child, each from 0 to 17, at most 6 children (e.g. "4,9").
rooms 可选 Optional number of rooms, from 1 to 8 and no more than adults (defaults to 1).
site 可选 Optional Hotels.com site, which sets the language and currency (e.g. "GB"; defaults to "US"). Use the /general/sites endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

hotel_id
check_in
check_out
adults
child_ages
rooms
site
API 示例响应
JSON
{
    "hotel_id": "5951861",
    "check_in": "2027-03-10",
    "check_out": "2027-03-12",
    "nights": 2,
    "currency": "USD",
    "rooms": [
        {
            "id": "200803619",
            "name": "Classic Double Room",
            "description": null,
            "features": [
                "108 sq ft",
                "1 bedroom",
                "Sleeps 2",
                "1 Double Bed",
                "Free WiFi"
            ],
            "amenities": [
                {
                    "group": "Bathroom",
                    "items": [
                        "Free toiletries",
                        "Hair dryer",
                        "Private bathroom",
                        "Shower",
                        "Slippers",
                        "Towels"
                    ]
                },
                {
                    "group": "Bedroom",
                    "items": [
                        "1 bedroom",
                        "Air conditioning (climate-controlled)",
                        "Bed sheets"
                    ]
                },
                {
                    "group": "Entertainment",
                    "items": [
                        "TV with satellite channels"
                    ]
                },
                {
                    "group": "Internet",
                    "items": [
                        "Free WiFi"
                    ]
                },
                {
                    "group": "More",
                    "items": [
                        "Cribs not available",
                        "Desk",
                        "Housekeeping (daily)",
                        "Iron/ironing board (on request)",
                        "Phone",
                        "Safe",
                        "Soundproofed rooms"
                    ]
                },
                {
                    "group": "Safety",
                    "items": [
                        "Carbon monoxide detector",
                        "Smoke detector",
                        "Fire extinguisher",
                        "First aid kit",
                        "Security system"
                    ]
                }
            ],
            "photos": [
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/f3949518.jpg?impolicy=fcrop&w=1200&h=800",
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/e70fc21d.jpg?impolicy=fcrop&w=1200&h=800",
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/5e1c467a.jpg?impolicy=fcrop&w=1200&h=800",
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/6f96364a.jpg?impolicy=fcrop&w=1200&h=800",
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/0fe8c538.jpg?impolicy=fcrop&w=1200&h=800",
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/0a7e8a62.jpg?impolicy=fcrop&w=1200&h=800"
            ],
            "rate_plans": [
                {
                    "id": "204014062",
                    "cancellation": "Non-Refundable",
                    "refundable": false,
                    "payment_note": null,
                    "extras": "No extras",
                    "breakfast_included": false,
                    "payment_model": "pay_now",
                    "no_credit_card": false,
                    "available": true,
                    "rooms_left": null,
                    "price": "$488 total",
                    "price_amount": 488,
                    "strikeout_price": "$686",
                    "price_messages": [
                        "$211 nightly",
                        "Total with taxes and fees"
                    ],
                    "deal": "Black Friday $199 off"
                },
                {
                    "id": "248086522",
                    "cancellation": "Non-Refundable",
                    "refundable": false,
                    "payment_note": null,
                    "extras": "Breakfast buffet",
                    "breakfast_included": true,
                    "payment_model": "pay_now",
                    "no_credit_card": false,
                    "available": true,
                    "rooms_left": null,
                    "price": "$518 total",
                    "price_amount": 518,
                    "strikeout_price": "$730",
                    "price_messages": [
                        "$225 nightly",
                        "Total with taxes and fees"
                    ],
                    "deal": "Black Friday $212 off"
                },
                {
                    "id": "204014060",
                    "cancellation": "Fully refundable before Mar 7",
                    "refundable": true,
                    "payment_note": "Reserve now, pay deposit",
                    "extras": "No extras",
                    "breakfast_included": false,
                    "payment_model": "pay_now",
                    "no_credit_card": false,
                    "available": true,
                    "rooms_left": null,
                    "price": "$533 total",
                    "price_amount": 533,
                    "strikeout_price": "$751",
                    "price_messages": [
                        "$231 nightly",
                        "Total with taxes and fees"
                    ],
                    "deal": "Black Friday $218 off"
                },
                {
                    "id": "204014064",
                    "cancellation": "Fully refundable before Mar 7",
                    "refundable": true,
                    "payment_note": "Reserve now, pay deposit",
                    "extras": "Breakfast buffet",
                    "breakfast_included": true,
                    "payment_model": "pay_now",
                    "no_credit_card": false,
                    "available": true,
                    "rooms_left": null,
                    "price": "$564 total",
                    "price_amount": 564,
                    "strikeout_price": "$795",
                    "price_messages": [
                        "$245 nightly",
                        "Total with taxes and fees"
                    ],
                    "deal": "Black Friday $231 off"
                }
            ]
        }
    ]
}
酒店房间 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43983/hotel+rooms?hotel_id=5951861&check_in=2027-03-10&check_out=2027-03-12&adults=2&rooms=1&site=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回酒店的住客评价,每页 25 条:标题、正文、语言、10 分制评分、日期、入住时长和月份、作者、住客喜欢的内容、照片以及酒店的回复。可按最新时间或评分排序,也可查找提及某个词的评价(仅限第一页)
Endpoint ID: 43984
GET https://zylalabs.com/api/15895/hotels+com+api/43984/hotel+reviews
输入参数

酒店点评 — 端点功能

对象 描述
hotel_id 必需 Hotel id (e.g. "5951861") or a hotel link holding it ("expediaPropertyId=5951861" or "/h5951861.Hotel-Information").
sort 可选 Optional sort order: "newest", "highest_rated" or "lowest_rated" (defaults to "newest").
search_term 可选 Optional word the reviews must mention (e.g. "breakfast"); gives the first page only.
site 可选 Optional Hotels.com site, which sets the language (e.g. "GB"; defaults to "US"). Use the /general/sites endpoint to list valid values.
page 可选 Optional page number, from 1 to 40 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

hotel_id
sort
search_term
site
page
API 示例响应
JSON
{
    "hotel_id": "5951861",
    "total": 1022,
    "page": 1,
    "total_pages": 40,
    "reviews": [
        {
            "id": "6af04e609dfef844e12a9844",
            "title": null,
            "text": null,
            "language": "sv_SE",
            "rating": 6,
            "rating_text": "6/10 Good",
            "date": "Nov 28, 2026",
            "stay": "Johan, 2-night trip",
            "author": "Johan",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6b052df7502e7021e2678e82",
            "title": null,
            "text": "The breakfast was very good, staff were friendly and our overall stay was very good.",
            "language": "en_CA",
            "rating": 10,
            "rating_text": "10/10 Exceptional",
            "date": "Nov 27, 2026",
            "stay": "Gary, 2-night trip",
            "author": "Gary",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6b002c849288b30ae8787145",
            "title": null,
            "text": "荷物を預けに行ったら9時にチェックインさせてくれた\nパソコンで翻訳画面を見せてくれてとても親切\n\n部屋とエレベーターは狭いが、清潔感はある\n部屋もスーツケース2台ギリギリ同時に広げられる",
            "language": "ja_JP",
            "rating": 10,
            "rating_text": "10/10 Exceptional",
            "date": "Nov 20, 2026",
            "stay": "ITAGAKI, 4-night trip",
            "author": "ITAGAKI",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6ae5910c421a646c1d8e67f4",
            "title": null,
            "text": null,
            "language": "en_US",
            "rating": 4,
            "rating_text": "4/10 Fair",
            "date": "Nov 20, 2026",
            "stay": "Jessica, 2-night trip",
            "author": "Jessica",
            "liked": [],
            "photos": [],
            "management_responses": [
                {
                    "header": "Response from Front Desk Manager on Nov 20, 2026",
                    "text": "Thank you for your feedback. However, we respectfully believe that your review is unfair and does not accurately reflect the quality of our service or the efforts made by our team to resolve the situation.\n\nYou experienced some noise during the night but did not contact reception at that time to report the issue. The following morning, you informed our reception team before leaving the hotel. We then contacted you via WhatsApp and offered you several solutions, including an upgrade to a larger room with a balcony, in an attempt to make your stay more comfortable.\n\nUnfortunately, you informed us that you were unable to return to the hotel and instead requested a refund.\n\nWe always take our guests' concerns seriously and do our best to find suitable solutions whenever a problem arises. We believe it is important to give hotels the opportunity to resolve any issues before leaving a negative review, especially when genuine efforts and alternative solutions have been offered.\n\nWe are sorry that your experience did not meet your expectations, but we feel that your rating does not fairly reflect the efforts made by our team or the quality of the service we strive to provide to all our guests."
                }
            ]
        },
        {
            "id": "6afe15a51c36155c75001ff1",
            "title": null,
            "text": "Equipe maravilhosa! Hotel excelente. Tivemos berço pra nossa bebê sem custos. Único problema foi na primeira noite que alguém fumou no banheiro e disparou o alarme de incêndio e as pessoas evacuaram do hotel, mas isso não foi um erro do hotel e sim de algum hospede. Recomendo fortemente a hospedagem, amamos o hotel e com certeza voltaremos",
            "language": "pt_BR",
            "rating": 10,
            "rating_text": "10/10 Exceptional",
            "date": "Nov 18, 2026",
            "stay": "Lorena, 3-night trip",
            "author": "Lorena",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6ad93162a3d70f67705279e5",
            "title": null,
            "text": null,
            "language": "es_MX",
            "rating": 10,
            "rating_text": "10/10 Exceptional",
            "date": "Nov 10, 2026",
            "stay": "Olaf, 1-night trip",
            "author": "Olaf",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6af2dab5f609e229daabe8b8",
            "title": null,
            "text": "Unser Aufenthalt im Grand Hôtel Lévêque war sehr angenehm. Alles war sauber, und wir haben uns als Familie wohl und willkommen gefühlt. Das sind die vor der Tür ist wie in Paris im kleinen - wunderbar. \n\nEin besonderer Dank geht an Frau Sahel und Herrn Nicolas. Beide waren sehr freundlich und haben uns wunderbar geholfen. Wir kommen gerne wieder!",
            "language": "de_DE",
            "rating": 10,
            "rating_text": "10/10 Exceptional",
            "date": "Nov 10, 2026",
            "stay": "Daniel and Rima, 4-night trip",
            "author": "Daniel and Rima",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6aebb4e4b85f5d10770d8111",
            "title": null,
            "text": "Great Location and Comfortable, Spacious Room\n\nThe best feature of this hotel is its convenient location. Restaurants and grocery stores are just steps away, and the Eiffel Tower is within walking distance, making it easy to explore Paris.\n\nThe room was more spacious than our previous hotel, with plenty of cabinets and drawers to organize our belongings, which we really appreciated.\n\nNothing else particularly stood out, but the excellent location and comfortable room made our stay pleasant and convenient.",
            "language": "en_US",
            "rating": 8,
            "rating_text": "8/10 Very good",
            "date": "Nov 4, 2026",
            "stay": "Jeaneth, 4-night trip",
            "author": "Jeaneth",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6ae8e0094a87d6084960a155",
            "title": null,
            "text": "Hotel muito confortável com uma excelente localização em uma rua muito charmosa de PARIS, com restaurantes, mercado, mercearias muito perto da torre Eifel, Trocadero, etc. equipe muito atenciosa, prestativa e um café da manhã muito bom.",
            "language": "pt_BR",
            "rating": 10,
            "rating_text": "10/10 Exceptional",
            "date": "Nov 2, 2026",
            "stay": "Alex, 1-night trip",
            "author": "Alex",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6ae71ab4421a646c1dac33a6",
            "title": null,
            "text": "A perfect stay in Paris! Thankful for the street wiev we asked for.",
            "language": "sv_SE",
            "rating": 8,
            "rating_text": "8/10 Very good",
            "date": "Nov 1, 2026",
            "stay": "Anneli, 3-night trip",
            "author": "Anneli",
            "liked": [],
            "photos": [
                "https://a.travel-assets.com/ugc/hotel-reviews/10ff5dfd-41a5-4eee-9e24-2e547154e6d7-1793530954666.jpg?impolicy=resizecrop&rw=204&ra=fit&q=high"
            ],
            "management_responses": []
        },
        {
            "id": "6ac299fb00c5b4289f6c34c1",
            "title": null,
            "text": null,
            "language": "sv_SE",
            "rating": 8,
            "rating_text": "8/10 Very good",
            "date": "Oct 24, 2026",
            "stay": "Magnus, 3-night trip",
            "author": "Magnus",
            "liked": [],
            "photos": [],
            "management_responses": []
        },
        {
            "id": "6abd13582da5d4127b4d825b",
            "title": null,
            "text": null,
            "language": "fr_FR",
            "rating": 10,
            "rating_text": "10/10 Exceptional",
            "date": "Oct 20, 2026",
            "stay": "SIMON, 2-night trip",
            "author": "SIMON",
            "liked": [],
            "photos": [],
            "management_responses": []
        }
    ]
}
酒店点评 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43984/hotel+reviews?hotel_id=5951861&sort=newest&site=US&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回酒店的评价摘要:满分10分的宾客平均评分及其标签、评价数量、清洁度、设施、员工与服务以及酒店状况的评分,以及宾客最喜欢的内容及提及该内容的评价数量
Endpoint ID: 43985
GET https://zylalabs.com/api/15895/hotels+com+api/43985/hotel+review+summary
输入参数

酒店评论摘要 — 端点功能

对象 描述
hotel_id 必需 Hotel id (e.g. "5951861") or a hotel link holding it ("expediaPropertyId=5951861" or "/h5951861.Hotel-Information").
site 可选 Optional Hotels.com site, which sets the language (e.g. "GB"; defaults to "US"). Use the /general/sites endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

hotel_id
site
API 示例响应
JSON
{
    "hotel_id": "5951861",
    "name": "Grand Hotel Leveque",
    "rating": 9.4,
    "rating_text": "9.4/10 Exceptional",
    "total": 1022,
    "categories": [
        {
            "name": "Cleanliness",
            "rating": 9.6,
            "percentage": 96
        },
        {
            "name": "Amenities",
            "rating": 9,
            "percentage": 90
        },
        {
            "name": "Staff & service",
            "rating": 9.6,
            "percentage": 96
        },
        {
            "name": "Property conditions & facilities",
            "rating": 9.4,
            "percentage": 94
        }
    ],
    "highlights": [
        {
            "title": "What guests liked",
            "items": [
                {
                    "text": "The hotel's location offers a wide variety of restaurants and dining options right outside the property.",
                    "reviews": 74
                },
                {
                    "text": "Breakfast was excellent with good food and great value at a reasonable price.",
                    "reviews": 72
                },
                {
                    "text": "The hotel staff was very helpful in arranging airport transportation and resolving any issues that arose.",
                    "reviews": 7
                }
            ]
        }
    ]
}
酒店评论摘要 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43985/hotel+review+summary?hotel_id=5951861&site=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回与输入文本匹配的地点和酒店:城市、街区、地标、机场、火车站和酒店,每项均包含其类型、ID、名称、全名、国家、最近的机场、酒店地址和坐标。地点的 ID 是 /search/hotels 和 /search/hotel-filters 端点中的“region_id”,酒店的 ID 是 /hotels 端点中的“hotel_id”
Endpoint ID: 43986
GET https://zylalabs.com/api/15895/hotels+com+api/43986/autocomplete
输入参数

自动补全 — 端点功能

对象 描述
query 必需 Text to complete (e.g. "paris", "eiffel tower", "hilton london").
site 可选 Optional Hotels.com site, which sets the language (e.g. "GB"; defaults to "US"). Use the /general/sites endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

query
site
API 示例响应
JSON
[
    {
        "type": "city",
        "id": "2734",
        "name": "Paris",
        "full_name": "Paris, France",
        "secondary_name": "France",
        "country": "France",
        "country_code": "FR",
        "airport_code": null,
        "nearest_airport_code": "PAR",
        "city_id": null,
        "address": null,
        "latitude": 48.853564,
        "longitude": 2.348095
    },
    {
        "type": "neighborhood",
        "id": "6200422",
        "name": "Paris City Center",
        "full_name": "Paris City Center, Paris, France",
        "secondary_name": "Paris, France",
        "country": "France",
        "country_code": "FR",
        "airport_code": null,
        "nearest_airport_code": "PAR",
        "city_id": null,
        "address": null,
        "latitude": 48.862383,
        "longitude": 2.339074
    },
    {
        "type": "city",
        "id": "9474",
        "name": "Paris",
        "full_name": "Paris, Texas, United States of America",
        "secondary_name": "Texas, United States",
        "country": "United States",
        "country_code": "US",
        "airport_code": null,
        "nearest_airport_code": "DFW",
        "city_id": null,
        "address": null,
        "latitude": 33.660938,
        "longitude": -95.555511
    },
    {
        "type": "airport",
        "id": "4670531",
        "name": "Paris (CDG-Roissy-Charles de Gaulle)",
        "full_name": "Paris, France (CDG-Roissy-Charles de Gaulle)",
        "secondary_name": "France",
        "country": "France",
        "country_code": "FR",
        "airport_code": "CDG",
        "nearest_airport_code": "CDG",
        "city_id": null,
        "address": null,
        "latitude": 49.004061,
        "longitude": 2.571006
    },
    {
        "type": "poi",
        "id": "502251",
        "name": "Eiffel Tower",
        "full_name": "Eiffel Tower, Paris, France",
        "secondary_name": "Paris, France",
        "country": "France",
        "country_code": "FR",
        "airport_code": null,
        "nearest_airport_code": "PAR",
        "city_id": null,
        "address": null,
        "latitude": 48.858262,
        "longitude": 2.294496
    },
    {
        "type": "neighborhood",
        "id": "178677",
        "name": "Marais",
        "full_name": "Marais, Paris, France",
        "secondary_name": "Paris, France",
        "country": "France",
        "country_code": "FR",
        "airport_code": null,
        "nearest_airport_code": "PAR",
        "city_id": null,
        "address": null,
        "latitude": 48.85860459669464,
        "longitude": 2.360825059224867
    },
    {
        "type": "trainstation",
        "id": "6147276",
        "name": "Gare du Nord",
        "full_name": "Gare du Nord, Paris, France",
        "secondary_name": "Paris, France",
        "country": "France",
        "country_code": "FR",
        "airport_code": null,
        "nearest_airport_code": "PAR",
        "city_id": null,
        "address": null,
        "latitude": 48.880945,
        "longitude": 2.355338
    },
    {
        "type": "trainstation",
        "id": "6015424",
        "name": "Gare de Lyon",
        "full_name": "Gare de Lyon, Paris, France",
        "secondary_name": "Paris, France",
        "country": "France",
        "country_code": "FR",
        "airport_code": null,
        "nearest_airport_code": "PAR",
        "city_id": null,
        "address": null,
        "latitude": 48.844942,
        "longitude": 2.37331
    },
    {
        "type": "airport",
        "id": "5853775",
        "name": "Paris (ORY-Orly)",
        "full_name": "Paris, France (ORY-Orly)",
        "secondary_name": "France",
        "country": "France",
        "country_code": "FR",
        "airport_code": "ORY",
        "nearest_airport_code": "ORY",
        "city_id": null,
        "address": null,
        "latitude": 48.728526,
        "longitude": 2.368405
    },
    {
        "type": "poi",
        "id": "6035062",
        "name": "Disneyland® Paris",
        "full_name": "Disneyland® Paris, Chessy, Seine-et-Marne, France",
        "secondary_name": "Chessy, Seine-et-Marne, France",
        "country": "France",
        "country_code": "FR",
        "airport_code": null,
        "nearest_airport_code": "PAR",
        "city_id": null,
        "address": null,
        "latitude": 48.872234,
        "longitude": 2.775808
    }
]
自动补全 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43986/autocomplete?query=paris&site=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回指定日期和入住人数下,某个城市、街区或地标附近可入住的酒店、度假屋和其他住宿,每页 50 条:名称、区域、坐标、住客评分和评价数量、网站显示的住宿价格(含金额)、折扣前价格、价格说明(每晚、税费)、优惠和 VIP 徽章、免费取消、赞助房源、主要设施、照片和链接。可按星级、住客评分、住宿类型、设施、餐食计划、免费取消、付款方式、无障碍设施、街区、品牌以及 /search/hotel-filters 端点的所有其他筛选条件、每晚价格和住宿名称进行筛选
Endpoint ID: 43987
GET https://zylalabs.com/api/15895/hotels+com+api/43987/search+hotels
输入参数

搜索酒店 — 端点功能

对象 描述
region_id 必需 Id of the city, neighborhood or landmark (e.g. "2734" for Paris). Use the /search/autocomplete endpoint to list valid values.
check_in 必需 Check-in date, YYYY-MM-DD, from today up to 500 days ahead (e.g. "2027-03-10").
check_out 必需 Check-out date, YYYY-MM-DD, 1 to 28 nights after check-in (e.g. "2027-03-12").
adults 可选 Optional number of adults, from 1 to 14 (defaults to 2).
child_ages 可选 Optional comma-separated age of every child, each from 0 to 17, at most 6 children (e.g. "4,9").
rooms 可选 Optional number of rooms, from 1 to 8 and no more than adults (defaults to 1); the adults are spread evenly over the rooms.
sort 可选 Optional sort order: "recommended", "price_low", "price_high", "distance", "guest_rating" or "star_rating" (defaults to "recommended"). Use the /general/sort-options endpoint to list valid values.
filters 可选 Optional comma-separated "id:value" filters; values of one id match any of them (e.g. "star:40,star:50,amenities:POOL" for four and five stars with a pool). Use the /search/hotel-filters endpoint to list valid values.
min_price 可选 Optional lowest price per night in the currency of the site (e.g. "50").
max_price 可选 Optional highest price per night in the currency of the site (e.g. "250").
hotel_name 可选 Optional text the property name must contain (e.g. "Hilton").
site 可选 Optional Hotels.com site, which sets the language and currency (e.g. "GB"; defaults to "US"). Use the /general/sites endpoint to list valid values.
page 可选 Optional page number, from 1 to 20 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

region_id
check_in
check_out
adults
child_ages
rooms
sort
filters
min_price
max_price
hotel_name
site
page
API 示例响应
JSON
{
    "region": {
        "id": "2734",
        "name": "Paris, France",
        "latitude": 48.853564,
        "longitude": 2.348095
    },
    "check_in": "2027-03-10",
    "check_out": "2027-03-12",
    "nights": 2,
    "currency": "USD",
    "total": 486,
    "page": 1,
    "total_pages": 10,
    "hotels": [
        {
            "id": "565298",
            "name": "Hotel Des Arts Paris Montmartre",
            "location": "Montmartre",
            "latitude": 48.886208,
            "longitude": 2.335296,
            "rating": 9.8,
            "rating_text": "Loved by guests",
            "reviews": 1035,
            "price": "$516 total",
            "price_amount": 516,
            "strikeout_price": "$628",
            "price_messages": [
                "$218 nightly",
                "Total with taxes and fees"
            ],
            "currency": "USD",
            "deal": "$112 off",
            "badge": null,
            "free_cancellation": true,
            "sponsored": false,
            "amenities": [
                "Bar and lounge",
                "Fitness center",
                "Breakfast for a fee"
            ],
            "photos": [
                "https://images.trvl-media.com/lodging/1000000/570000/565300/565298/bffb8f88.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/1000000/570000/565300/565298/a5f20703.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/1000000/570000/565300/565298/e14eef30.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455"
            ],
            "link": "https://www.hotels.com/ho207815/hotel-des-arts-paris-montmartre-paris-france/"
        },
        {
            "id": "9619719",
            "name": "Hotel de Roubaix",
            "location": "Paris",
            "latitude": 48.865413,
            "longitude": 2.352822,
            "rating": 9.4,
            "rating_text": "Exceptional",
            "reviews": 1606,
            "price": "$446 total",
            "price_amount": 446,
            "strikeout_price": "$590",
            "price_messages": [
                "$196 nightly",
                "Total with taxes and fees"
            ],
            "currency": "USD",
            "deal": "$143 off",
            "badge": null,
            "free_cancellation": false,
            "sponsored": false,
            "amenities": [
                "Breakfast for a fee",
                "AC",
                "Housekeeping"
            ],
            "photos": [
                "https://images.trvl-media.com/lodging/10000000/9620000/9619800/9619719/7f5c6c38.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/10000000/9620000/9619800/9619719/13014fcb.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/10000000/9620000/9619800/9619719/f8898972.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455"
            ],
            "link": "https://www.hotels.com/ho484495/hotel-de-roubaix-paris-france/"
        },
        {
            "id": "5951861",
            "name": "Grand Hotel Leveque",
            "location": "Paris",
            "latitude": 48.857416,
            "longitude": 2.306071,
            "rating": 9.4,
            "rating_text": "Exceptional",
            "reviews": 1022,
            "price": "$488 total",
            "price_amount": 488,
            "strikeout_price": "$686",
            "price_messages": [
                "$211 nightly",
                "Total with taxes and fees"
            ],
            "currency": "USD",
            "deal": "Black Friday $199 off",
            "badge": "VIP Access",
            "free_cancellation": false,
            "sponsored": false,
            "amenities": [
                "Bar and lounge",
                "Breakfast for a fee",
                "AC"
            ],
            "photos": [
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/ebf81ef1.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/2014ba60.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/6000000/5960000/5951900/5951861/dc725c8b.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455"
            ],
            "link": "https://www.hotels.com/ho429281/grand-hotel-leveque-paris-france/"
        },
        {
            "id": "868",
            "name": "Terrass'' Hotel",
            "location": "Montmartre",
            "latitude": 48.886483,
            "longitude": 2.333119,
            "rating": 9.6,
            "rating_text": "Loved by guests",
            "reviews": 1013,
            "price": "$452 total",
            "price_amount": 452,
            "strikeout_price": "$531",
            "price_messages": [
                "$189 nightly",
                "Total with taxes and fees"
            ],
            "currency": "USD",
            "deal": "Member Price $79 off",
            "badge": null,
            "free_cancellation": false,
            "sponsored": false,
            "amenities": [
                "Spa services",
                "French restaurant",
                "Rooftop terrace"
            ],
            "photos": [
                "https://images.trvl-media.com/lodging/1000000/10000/900/868/f5b1b008.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/1000000/10000/900/868/b8112239.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/1000000/10000/900/868/765650ef.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455"
            ],
            "link": "https://www.hotels.com/ho132393/terrass-hotel-paris-france/"
        },
        {
            "id": "16015733",
            "name": "The Hoxton, Paris",
            "location": "Paris",
            "latitude": 48.870178,
            "longitude": 2.346606,
            "rating": 9,
            "rating_text": "Wonderful",
            "reviews": 794,
            "price": "$741 total",
            "price_amount": 741,
            "strikeout_price": "$1,043",
            "price_messages": [
                "$320 nightly",
                "Total with taxes and fees"
            ],
            "currency": "USD",
            "deal": "Black Friday $302 off",
            "badge": null,
            "free_cancellation": true,
            "sponsored": false,
            "amenities": [
                "Restaurant",
                "Bar and lounge",
                "Room service"
            ],
            "photos": [
                "https://images.trvl-media.com/lodging/17000000/16020000/16015800/16015733/10ff09f7.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/17000000/16020000/16015800/16015733/68b5f6d5.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/17000000/16020000/16015800/16015733/e8f26d92.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455"
            ],
            "link": "https://www.hotels.com/ho513503456/the-hoxton-paris-paris-france/"
        },
        {
            "id": "1637283",
            "name": "L'Empire Paris",
            "location": "Paris",
            "latitude": 48.860752,
            "longitude": 2.342557,
            "rating": 9.2,
            "rating_text": "Wonderful",
            "reviews": 1001,
            "price": "$632 total",
            "price_amount": 632,
            "strikeout_price": null,
            "price_messages": [
                "$271 nightly",
                "Total with taxes and fees"
            ],
            "currency": "USD",
            "deal": null,
            "badge": "VIP Access",
            "free_cancellation": false,
            "sponsored": false,
            "amenities": [
                "Spa",
                "Restaurant",
                "Bar and lounge"
            ],
            "photos": [
                "https://images.trvl-media.com/lodging/2000000/1640000/1637300/1637283/5921651d.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/2000000/1640000/1637300/1637283/8c4aae18.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455",
                "https://images.trvl-media.com/lodging/2000000/1640000/1637300/1637283/3dbf9632.jpg?impolicy=resizecrop&ra=fit&rw=455&rh=455"
            ],
            "link": "https://www.hotels.com/ho253061/l-empire-paris-paris-france/"
        }
    ]
}
搜索酒店 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43987/search+hotels?region_id=2734&check_in=2027-03-10&check_out=2027-03-12&adults=2&rooms=1&sort=recommended&site=US&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回指定日期某个地点的酒店搜索中的所有筛选条件:星级、住客评分、旅客体验、地点类型、住宿设施、住宿类型、餐饮方案、取消和付款选项、奖励、无障碍设施、客房景观、卧室、客房设施、海滩通道、附近的活动、街区和品牌,每个选项均包含 /search/hotels 端点的“filters”参数所接受的“id:value”,以及每晚价格范围和网站的排序方式
Endpoint ID: 43988
GET https://zylalabs.com/api/15895/hotels+com+api/43988/hotel+search+filters
输入参数

酒店搜索筛选条件 — 端点功能

对象 描述
region_id 必需 Id of the city, neighborhood or landmark (e.g. "2734" for Paris). Use the /search/autocomplete endpoint to list valid values.
check_in 必需 Check-in date, YYYY-MM-DD, from today up to 500 days ahead (e.g. "2027-03-10").
check_out 必需 Check-out date, YYYY-MM-DD, 1 to 28 nights after check-in (e.g. "2027-03-12").
adults 可选 Optional number of adults, from 1 to 14 (defaults to 2).
child_ages 可选 Optional comma-separated age of every child, each from 0 to 17, at most 6 children (e.g. "4,9").
rooms 可选 Optional number of rooms, from 1 to 8 and no more than adults (defaults to 1).
site 可选 Optional Hotels.com site, which sets the language and currency (e.g. "GB"; defaults to "US"). Use the /general/sites endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

region_id
check_in
check_out
adults
child_ages
rooms
site
API 示例响应
JSON
{
    "region_id": "2734",
    "total": 486,
    "currency": "USD",
    "filters": [
        {
            "name": "Property class",
            "type": "multiple",
            "id": "star",
            "options": [
                {
                    "filter": "star:10",
                    "label": "Property class: 1",
                    "description": null
                },
                {
                    "filter": "star:20",
                    "label": "Property class: 2",
                    "description": null
                },
                {
                    "filter": "star:30",
                    "label": "Property class: 3",
                    "description": null
                },
                {
                    "filter": "star:40",
                    "label": "Property class: 4",
                    "description": null
                },
                {
                    "filter": "star:50",
                    "label": "Property class: 5",
                    "description": null
                }
            ]
        },
        {
            "name": "Guest rating",
            "type": "single",
            "id": "guestRating",
            "options": [
                {
                    "filter": "guestRating:ANY",
                    "label": "Any",
                    "description": null
                },
                {
                    "filter": "guestRating:35",
                    "label": "Good 7+",
                    "description": null
                },
                {
                    "filter": "guestRating:40",
                    "label": "Very good 8+",
                    "description": null
                },
                {
                    "filter": "guestRating:45",
                    "label": "Wonderful 9+",
                    "description": null
                },
                {
                    "filter": "guestRating:loved_by_guests",
                    "label": "Loved by Guests",
                    "description": null
                }
            ]
        },
        {
            "name": "Traveler experience",
            "type": "multiple",
            "id": "travelerType",
            "options": [
                {
                    "filter": "travelerType:eco_certified",
                    "label": "Sustainability certification",
                    "description": null
                },
                {
                    "filter": "travelerType:lgbtq_welcoming",
                    "label": "LGBTQ welcoming",
                    "description": null
                },
                {
                    "filter": "travelerType:business_friendly",
                    "label": "Business friendly",
                    "description": null
                },
                {
                    "filter": "travelerType:family_friendly",
                    "label": "Family friendly",
                    "description": null
                },
                {
                    "filter": "travelerType:adults_only",
                    "label": "Adults only",
                    "description": null
                },
                {
                    "filter": "travelerType:luxury_property",
                    "label": "Luxury",
                    "description": null
                },
                {
                    "filter": "travelerType:wedding",
                    "label": "Wedding",
                    "description": null
                },
                {
                    "filter": "travelerType:romantic",
                    "label": "Romantic",
                    "description": null
                },
                {
                    "filter": "travelerType:budget_property",
                    "label": "Budget",
                    "description": null
                }
            ]
        },
        {
            "name": "Stay options",
            "type": "single",
            "id": "stay_options_group",
            "options": [
                {
                    "filter": "stay_options_group:any_option",
                    "label": "Any",
                    "description": null
                },
                {
                    "filter": "stay_options_group:hotels_option",
                    "label": "Hotels",
                    "description": null
                },
                {
                    "filter": "stay_options_group:vacation_rentals_option",
                    "label": "Homes",
                    "description": null
                }
            ]
        },
        {
            "name": "Property amenities",
            "type": "multiple",
            "id": "amenities",
            "options": [
                {
                    "filter": "amenities:POOL",
                    "label": "Pool",
                    "description": null
                },
                {
                    "filter": "amenities:PETS",
                    "label": "Pet friendly",
                    "description": null
                },
                {
                    "filter": "amenities:WIFI",
                    "label": "Wifi Included",
                    "description": null
                },
                {
                    "filter": "amenities:AIR_CONDITIONING",
                    "label": "Air conditioned",
                    "description": null
                },
                {
                    "filter": "amenities:FREE_AIRPORT_TRANSPORTATION",
                    "label": "Airport shuttle included",
                    "description": null
                },
                {
                    "filter": "amenities:HOT_TUB",
                    "label": "Hot tub",
                    "description": null
                },
                {
                    "filter": "amenities:WATER_PARK",
                    "label": "Water park",
                    "description": null
                },
                {
                    "filter": "amenities:SPA_ON_SITE",
                    "label": "Spa",
                    "description": null
                },
                {
                    "filter": "amenities:CASINO",
                    "label": "Casino",
                    "description": null
                },
                {
                    "filter": "amenities:WASHER_DRYER",
                    "label": "Washer and dryer",
                    "description": null
                },
                {
                    "filter": "amenities:KITCHEN_KITCHENETTE",
                    "label": "Kitchen",
                    "description": null
                },
                {
                    "filter": "amenities:ELECTRIC_CAR",
                    "label": "Electric car charging station",
                    "description": null
                },
                {
                    "filter": "amenities:GYM",
                    "label": "Gym",
                    "description": null
                },
                {
                    "filter": "amenities:CRIB",
                    "label": "Cribs",
                    "description": null
                },
                {
                    "filter": "amenities:FREE_PARKING",
                    "label": "Parking",
                    "description": null
                },
                {
                    "filter": "amenities:BALCONY_OR_TERRACE",
                    "label": "Outdoor space",
                    "description": null
                },
                {
                    "filter": "amenities:RESTAURANT_IN_HOTEL",
                    "label": "Restaurant",
                    "description": null
                },
                {
                    "filter": "amenities:BAR",
                    "label": "Bar",
                    "description": null
                },
                {
                    "filter": "amenities:GOLF_COURSE",
                    "label": "Golf course",
                    "description": null
                },
                {
                    "filter": "amenities_facilities_group:indoor_pool",
                    "label": "Indoor pool",
                    "description": null
                }
            ]
        }
    ],
    "source_sort_options": [
        {
            "value": "RECOMMENDED",
            "label": "Recommended for you"
        },
        {
            "value": "PRICE_LOW_TO_HIGH",
            "label": "Price: low to high"
        },
        {
            "value": "PRICE_HIGH_TO_LOW",
            "label": "Price: high to low"
        },
        {
            "value": "BEST_DEAL",
            "label": "Top deal recommendations"
        },
        {
            "value": "DISTANCE",
            "label": "Distance from downtown"
        },
        {
            "value": "REVIEW",
            "label": "Guest rating"
        },
        {
            "value": "PROPERTY_CLASS",
            "label": "Property class"
        }
    ]
}
酒店搜索筛选条件 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15895/hotels+com+api/43988/hotel+search+filters?region_id=2734&check_in=2027-03-10&check_out=2027-03-12&adults=2&rooms=1&site=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Hotels.com API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

酒店预订数据:包含所有筛选条件的酒店搜索、酒店详情、包含所有房价方案的客房、评论和评论摘要,涵盖 40 个国家/地区网站的语言和货币

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API