悦想家
首页
V1版本
数据字典
数据字典
  • 省市
  • 酒店服务设施
  • 房型服务设施
  • 酒店品牌
首页
V1版本
数据字典
数据字典
  • 省市
  • 酒店服务设施
  • 房型服务设施
  • 酒店品牌
  1. 三、价格类接口
  • Release Notes
  • 签名认证
  • 错误码
  • 一、分销商对接流程图
  • 二、酒店静态信息类接口
    • 2.0说明
    • 2.1城市code获取酒店ID
      POST
    • 2.2酒店分页查询
      POST
    • 2.3获取酒店详情
      POST
    • 2.4获取酒店房型
      POST
  • 三、价格类接口
    • 3.1按照区/县获取酒店起售价
      POST
    • 3.2获取酒店产品列表
      POST
    • 3.4获取酒店实时可订产品列表
      POST
    • 3.5可预订产品房态
      POST
    • 3.6条件搜索酒店接口
      POST
  • 四、订单类接口
    • 4.1预下单校验
      POST
    • 4.2下单接口
      POST
    • 4.3确认订单支付
      POST
    • 4.4查询订单详情
      POST
    • 4.5取消订单
      POST
    • 4.6建售后单
      POST
    • 4.7查售后单
      POST
  • 五、监测类接口
    • 5.1检测酒店房型变更
      POST
    • 5.2监测订单状态
      POST
  • 六、推送类接口
  1. 三、价格类接口

3.6条件搜索酒店接口

POST
/open/corp/hotelInfo/search
最后修改时间:2026-01-29 02:26:07
根据入离店时间、坐标及范围、酒店资源类型、最低价范围、城市搜索酒店列表

请求参数

Body 参数application/json

示例
{
    "areaCode":"222401",
    "position":"121.21519867127783,31.298244546284025",
    "distance":1,
    "keyword": "测试酒店",
    "levels": [0],
    "sources":["B2B"],
    "priceMin": 200,
    "priceMax": 400,
    "checkinDate": "2026-01-20",
    "checkoutDate": "2026-01-21",
    "page": 1,
    "size": 20
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.test.yxjtrip.com/core/open/corp/hotelInfo/search' \
--header 'Content-Type: application/json' \
--data-raw '{
    "areaCode":"222401",
    "position":"121.21519867127783,31.298244546284025",
    "distance":1,
    "keyword": "测试酒店",
    "levels": [0],
    "sources":["B2B"],
    "priceMin": 200,
    "priceMax": 400,
    "checkinDate": "2026-01-20",
    "checkoutDate": "2026-01-21",
    "page": 1,
    "size": 20
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "msg": "string",
    "data": [
        {
            "pageNum": 0,
            "total": 0,
            "pages": 0,
            "pageSize": 0,
            "records": [
                {
                    "id": "string",
                    "hotelName": "string",
                    "titleImage": "string",
                    "brandId": "string",
                    "levelNum": 0,
                    "summary": "string",
                    "areaCode": [
                        "string"
                    ],
                    "sources": "string",
                    "areaName": "string",
                    "address": "string",
                    "position": "string",
                    "telephone": "string",
                    "fixupDate": "string",
                    "priceMinList": [
                        {
                            "date": "string",
                            "salePrice": 0,
                            "minPrice": 0
                        }
                    ],
                    "status": "string"
                }
            ]
        }
    ]
}
修改于 2026-01-29 02:26:07
上一页
3.5可预订产品房态
下一页
4.1预下单校验
Built with