Contact Us
Back top
Current Location : APIs > 通用酒店数据接口
通用酒店数据接口 Transactions( 4112 )

通用酒店数据接口

Intro. : Multiple Hotel platform data collection, detailed hotel data

Tag : 酒店 On Shelves Time : 2017-12-21

Type :

Tutorials

Total invocations(updated per hour)

通用酒店数据接口 Free 辅助工具

API Mark

  • Method :

    HTTP HTTPS GET

  • Endpoint :

    http://api01.idataapi.cn:8000/hotel/idataapi?apikey=您的apikey&lon=%E7%BB%8F%E5%BA%A6&lat=%E7%BA%AC%E5%BA%A6&distance=%E8%B7%9D%E7%A6%BB&kw=%E5%85%B3%E9%94%AE%E5%AD%97

  • API transfer :

    View your own API KEY (API call credentials)

Example

Error Code
-- 请求示例 url 默认请求参数已经做URL编码 curl -i "http://api01.idataapi.cn:8000/hotel/idataapi?apikey=您的apikey&lon=%E7%BB%8F%E5%BA%A6&lat=%E7%BA%AC%E5%BA%A6&distance=%E8%B7%9D%E7%A6%BB&kw=%E5%85%B3%E9%94%AE%E5%AD%97"
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.net.URL; import java.nio.charset.Charset; import org.json.JSONException; import org.json.JSONObject; import java.io.PrintWriter; import java.net.URLConnection; public class Example { private static String readAll(Reader rd) throws IOException { StringBuilder sb = new StringBuilder(); int cp; while ((cp = rd.read()) != -1) { sb.append((char) cp); } return sb.toString(); } public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException { URL realUrl = new URL(url); URLConnection conn = realUrl.openConnection(); conn.setDoOutput(true); conn.setDoInput(true); PrintWriter out = new PrintWriter(conn.getOutputStream()); out.print(body); out.flush(); InputStream instream = conn.getInputStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8"))); String jsonText = readAll(rd); JSONObject json = new JSONObject(jsonText); return json; } finally { instream.close(); } } public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException { URL realUrl = new URL(url); URLConnection conn = realUrl.openConnection(); InputStream instream = conn.getInputStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8"))); String jsonText = readAll(rd); JSONObject json = new JSONObject(jsonText); return json; } finally { instream.close(); } } public static void main(String[] args) throws IOException, JSONException { // 请求示例 url 默认请求参数已经做URL编码 String url = "http://api01.idataapi.cn:8000/hotel/idataapi?apikey=您的apikey&lon=%E7%BB%8F%E5%BA%A6&lat=%E7%BA%AC%E5%BA%A6&distance=%E8%B7%9D%E7%A6%BB&kw=%E5%85%B3%E9%94%AE%E5%AD%97"; JSONObject json = getRequestFromUrl(url);; System.out.println(json.toString()); } }
//using System.Net.Security; //using System.Security.Cryptography.X509Certificates; private const String method = "GET"; static void Main(string[] args) { String bodys = ""; // 请求示例 url 默认请求参数已经做URL编码 String url = "http://api01.idataapi.cn:8000/hotel/idataapi?apikey=您的apikey&lon=%E7%BB%8F%E5%BA%A6&lat=%E7%BA%AC%E5%BA%A6&distance=%E8%B7%9D%E7%A6%BB&kw=%E5%85%B3%E9%94%AE%E5%AD%97"; HttpWebRequest httpRequest = null; HttpWebResponse httpResponse = null; if (url.Contains("https://")) { ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url)); } else { httpRequest = (HttpWebRequest)WebRequest.Create(url); } httpRequest.Method = method; if (0 < bodys.Length) { byte[] data = Encoding.UTF8.GetBytes(bodys); using (Stream stream = httpRequest.GetRequestStream()) { stream.Write(data, 0, data.Length); } } try { httpResponse = (HttpWebResponse)httpRequest.GetResponse(); } catch (WebException ex) { httpResponse = (HttpWebResponse)ex.Response; } Console.WriteLine(httpResponse.StatusCode); Console.WriteLine(httpResponse.Method); Console.WriteLine(httpResponse.Headers); Stream st = httpResponse.GetResponseStream(); StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8")); Console.WriteLine(reader.ReadToEnd()); Console.WriteLine("\n"); } public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) { return true; }
<?php $method = "GET"; // 请求示例 url 默认请求参数已经做URL编码 $url = "http://api01.idataapi.cn:8000/hotel/idataapi?apikey=您的apikey&lon=%E7%BB%8F%E5%BA%A6&lat=%E7%BA%AC%E5%BA%A6&distance=%E8%B7%9D%E7%A6%BB&kw=%E5%85%B3%E9%94%AE%E5%AD%97"; $curl = curl_init(); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_FAILONERROR, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HEADER, true); curl_setopt($curl, CURLOPT_ENCODING, "gzip"); var_dump(curl_exec($curl)); ?>
# coding:utf-8 """ Compatible for python2.x and python3.x requirement: pip install requests """ from __future__ import print_function import requests # 请求示例 url 默认请求参数已经做URL编码 url = "http://api01.idataapi.cn:8000/hotel/idataapi?apikey=您的apikey&lon=%E7%BB%8F%E5%BA%A6&lat=%E7%BA%AC%E5%BA%A6&distance=%E8%B7%9D%E7%A6%BB&kw=%E5%85%B3%E9%94%AE%E5%AD%97" headers = { "Accept-Encoding": "gzip", "Connection": "close" } if __name__ == "__main__": r = requests.get(url, headers=headers) json_obj = r.json() print(json_obj)

Request Field( Params marked* means users should choose one from the each marked items to fill in.)

Property Name Type Mandatory Example Description
lon number 113.829 根据经纬度+距离搜索酒店
lat number 23.333 根据经纬度+距离搜索酒店
distance string 5km 根据经纬度+距离搜索酒店
kw string 广州
pageToken string 翻页需要的值
city string
level string
brandName string
address string
businessDistrict string
sortByField string relevant
appCode string feizhu

Response Fields

Property Name Type Example Description
  • dataType string hotel 数据类型
  • hasNext boolean true 是否有下一页
  • -
    data array [...] 返回数据列表
    • rating number 4.3 评分
    • catPathKey string 酒店 分类路径
    • dislikeCount number 0 不喜欢数、踩数
    • ratingCount number 0 评分数
    • avgPrice number null 平均价格
    • commentCount number 56 评论数
    • facilities array [...] 室内设施
    • +
      flatOptions array [...] 房型对象列表
      • marketPrice number 188 市场价
      • taxValue number 0 税收
      • commentCount number 2 房型评论数
      • assistServices array [...] 酒店辅助服务
      • id string 44787789 房型ID
      • floor string 1-2层 第几层
      • checkinDate string 2017-12-28 入住时间
      • tags array [...] 标签列表
      • saleStatus string 在售 销售状态
      • builtupArea number 15 房型面积
      • description string 大床 大床房(无窗) 不含早餐 房型描述
      • baseId string 26129418 基本房型 ID
      • unitName string 大床房(无窗) 特惠价(由飞腾旅行社提供) 单元名称
      • cancelInfo string 预计在8小时内回复预订结果。此为向酒店或代理商申请的特殊价格,价格可能变动且不保 取消信息
      • price number 178 价格
      • priceUnit string RMB 价格单位
      • capacityInfo string 可住2人 容纳人数信息
      • imageUrls array [...] 图片列表
      • promotions array [...] 优惠、促销信息
      • url string http://m.ctrip.com/webapp/hotel/hoteldetail/1397155.html?days=1 酒店url
      • isLowestPrice boolean true 是否最低价格的房间
      • cashBack number 10 返现
    • businessDistrict string 李沧 商圈名
    • nearbyHotels array null 附近酒店
    • id string 1397155 酒店ID
    • goodRatingRatio number 0.5 好评率,0到1
    • honorCommentCount number 3 荣誉、优质评论数
    • roomCount number 108 客房数
    • city string 青岛 城市
    • minPrice number 60 最低价格
    • district string 武昌区 地区
    • title string 青岛品家快捷酒店 经济型 酒店名称
    • openDate string 2012年05月15日 开业时间
    • +
      goodTagDist array [...] 正面标签分布
      • value number 464 标签数量
      • key string 干净卫生 标签名称
    • pros array null 优点(列表)
    • floorCount number null 总共层数
    • +
      keyValues array [...] 额外属性列表
      • value string 入住时间:14:00以后 离店时间:12:00以前 额外属性的值
      • key string 儿童与加床 额外属性的名称
    • state string 山东 省份
    • discountInfo string null 折扣信息
    • location string null 模糊地址
    • favoriteCount number 2415 收藏数
    • hasWifi boolean true 是否提供wifi
    • regionId string -1 区域id
    • star string null 星级
    • description string {0}客房整洁,宽敞明亮,环境卫生,性价比较高。{1}{2} 酒店描述
    • catName1 string 酒店 分类一名称
    • price number 93 价格
    • +
      geoPoint object {...} 经纬度对象
      • lat number 36.1495666503906 纬度
      • lon number 120.421340942383 经度
    • brandId string null 品牌id
    • cityId string 7 城市id
    • appCode string ctrip 数据来源平台
    • address string 山东青岛浮山路街道九水路184-6号东北(近滨河路) 酒店地址
    • likeCount string null 喜欢数、赞数
    • infrastructures array [...] 酒店设施
    • peculiarity string null 特色
    • level string null 酒店类型
    • url string http://m.ctrip.com/webapp/hotel/hoteldetail/1397155.html?days=1 房型URL
    • lowPrice number 37 价格区间(低)
    • stateId string 10 省id
    • decorationDate string 2012年05月15日 装修时间
    • brandName string null 品牌名称
    • +
      services array [...] 房间类型服务
      • saleCount string null 销售数
      • id string 19 服务对象ID
      • name string 24小时热水 服务名称
    • telephones array [...] 联系电话列表
    • country string 中国 国家
    • openingHours string null 营业时间
    • titleAliases string null 标题其他别名
    • catId1 string 20 分类一ID
  • retcode string 000000 状态码
  • pageToken string WzI3NDkuMTAyNDE0MTYwNywiLUluZmluaXR5Iiwt 翻页值

Returns The Sample

{
    "dataType": "hotel",
    "hasNext": true,
    "data": [
        {
            "rating": 4.3,
            "catPathKey": "酒店",
            "dislikeCount": 0,
            "ratingCount": 0,
            "avgPrice": null,
            "commentCount": 56,
            "facilities": [
                "空调",
                "24小时热水",
                "吹风机"
            ],
            "flatOptions": [
                {
                    "marketPrice": 188,
                    "taxValue": 0,
                    "commentCount": 2,
                    "assistServices": [
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子",
                        "24小时热水"
                    ],
                    "id": "44787789",
                    "floor": "1-2层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "免费取消",
                        "8小时内确认",
                        "返现"
                    ],
                    "saleStatus": "在售",
                    "builtupArea": 15,
                    "description": "大床 大床房(无窗) 不含早餐",
                    "baseId": "26129418",
                    "unitName": "大床房(无窗) 特惠价(由飞腾旅行社提供)",
                    "cancelInfo": "预计在8小时内回复预订结果。此为向酒店或代理商申请的特殊价格,价格可能变动且不保证预订成功;提交订单后会先操作扣款。特殊需求皆不能保证满足。",
                    "price": 178,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        "http:\/\/dimg04.c-ctrip.com\/images\/200k0j000000ajak5455D_C_130_130_Q50.jpg_.webp?v=1"
                    ],
                    "promotions": [
                        "188返10",
                        "入住离店后返现¥10.0至"
                    ],
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": true,
                    "cashBack": 10
                },
                {
                    "marketPrice": 188,
                    "taxValue": 0,
                    "commentCount": 2,
                    "assistServices": [
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子",
                        "24小时热水"
                    ],
                    "id": "44787789",
                    "floor": "1-2层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "免费取消",
                        "8小时内确认"
                    ],
                    "saleStatus": "在售",
                    "builtupArea": 15,
                    "description": "大床 大床房(无窗) 不含早餐",
                    "baseId": "26129418",
                    "unitName": "大床房(无窗) 标准价",
                    "cancelInfo": "预计在8小时内回复预订结果。此为向酒店或代理商申请的特殊价格,价格可能变动且不保证预订成功;提交订单后会先操作扣款。特殊需求皆不能保证满足。",
                    "price": 188,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        "http:\/\/dimg04.c-ctrip.com\/images\/200k0j000000ajak5455D_C_130_130_Q50.jpg_.webp?v=1"
                    ],
                    "promotions": [
                        "入住离店后返现¥10.0至"
                    ],
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": false,
                    "cashBack": null
                },
                {
                    "marketPrice": 88,
                    "taxValue": 0,
                    "commentCount": 4,
                    "assistServices": [
                        "24小时热水",
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子"
                    ],
                    "id": "69013933",
                    "floor": "2层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "限时取消"
                    ],
                    "saleStatus": "售完",
                    "builtupArea": 12,
                    "description": "大床 特惠大床房 不含早餐",
                    "baseId": "38016609",
                    "unitName": "特惠大床房 (8天内预订)(内宾)",
                    "cancelInfo": "【2017-12-27 23:00】前可免费取消修改,若未入住或过时取消修改将收取您全额房费RMB 88。携程会根据您的付款方式进行预授权或扣除房费,如订单不确认将解除预授权或全额退款至您的付款账户。",
                    "price": 88,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        ""
                    ],
                    "promotions": null,
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": false,
                    "cashBack": null
                },
                {
                    "marketPrice": 108,
                    "taxValue": 0,
                    "commentCount": 2,
                    "assistServices": [
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子",
                        "24小时热水"
                    ],
                    "id": "101059297",
                    "floor": "1-2层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "限时取消"
                    ],
                    "saleStatus": "售完",
                    "builtupArea": 15,
                    "description": "大床 大床房(无窗) 不含早餐",
                    "baseId": "26129418",
                    "unitName": "大床房(无窗) (8天内预订)(内宾)(无窗)",
                    "cancelInfo": "【2017-12-27 23:00】前可免费取消修改,若未入住或过时取消修改将收取您全额房费RMB 108。携程会根据您的付款方式进行预授权或扣除房费,如订单不确认将解除预授权或全额退款至您的付款账户。",
                    "price": 108,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        "http:\/\/dimg04.c-ctrip.com\/images\/200k0j000000ajak5455D_C_130_130_Q50.jpg_.webp?v=1"
                    ],
                    "promotions": null,
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": false,
                    "cashBack": null
                },
                {
                    "marketPrice": 108,
                    "taxValue": 0,
                    "commentCount": 0,
                    "assistServices": [
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子",
                        "24小时热水"
                    ],
                    "id": "49083145",
                    "floor": "2层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "限时取消"
                    ],
                    "saleStatus": "售完",
                    "builtupArea": 15,
                    "description": "大床 商务大床房 不含早餐",
                    "baseId": "28457006",
                    "unitName": "商务大床房 (8天内预订)(内宾)",
                    "cancelInfo": "【2017-12-27 23:00】前可免费取消修改,若未入住或过时取消修改将收取您全额房费RMB 108。携程会根据您的付款方式进行预授权或扣除房费,如订单不确认将解除预授权或全额退款至您的付款账户。",
                    "price": 108,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        "http:\/\/dimg04.c-ctrip.com\/images\/200n0b0000005voy85183_C_130_130_Q50.jpg_.webp?v=1"
                    ],
                    "promotions": null,
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": false,
                    "cashBack": null
                },
                {
                    "marketPrice": 108,
                    "taxValue": 0,
                    "commentCount": 0,
                    "assistServices": [
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子",
                        "24小时热水"
                    ],
                    "id": "82173724",
                    "floor": "2层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "限时取消"
                    ],
                    "saleStatus": "售完",
                    "builtupArea": 15,
                    "description": "双床 商务标准间 不含早餐",
                    "baseId": "28457005",
                    "unitName": "商务标准间 (8天内预订)(内宾)",
                    "cancelInfo": "【2017-12-27 23:00】前可免费取消修改,若未入住或过时取消修改将收取您全额房费RMB 108。携程会根据您的付款方式进行预授权或扣除房费,如订单不确认将解除预授权或全额退款至您的付款账户。",
                    "price": 108,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        ""
                    ],
                    "promotions": null,
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": false,
                    "cashBack": null
                },
                {
                    "marketPrice": 188,
                    "taxValue": 0,
                    "commentCount": 2,
                    "assistServices": [
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子",
                        "24小时热水"
                    ],
                    "id": "44473550",
                    "floor": "1层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "不可取消"
                    ],
                    "saleStatus": "售完",
                    "builtupArea": 20,
                    "description": "双床 标准房 不含早餐",
                    "baseId": "26075784",
                    "unitName": "标准房 (8天内预订)(内宾)",
                    "cancelInfo": "该订单确认后不可被取消修改,若未入住担保费用将不予退还。携程会根据您的担保方式,预授权或暂扣RMB 188用于担保。",
                    "price": 188,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        "http:\/\/dimg04.c-ctrip.com\/images\/2002090000003vdb9D9FF_C_130_130_Q50.jpg_.webp?v=1"
                    ],
                    "promotions": null,
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": false,
                    "cashBack": null
                },
                {
                    "marketPrice": 188,
                    "taxValue": 0,
                    "commentCount": 1,
                    "assistServices": [
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子",
                        "24小时热水"
                    ],
                    "id": "64847108",
                    "floor": "2层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "限时取消"
                    ],
                    "saleStatus": "售完",
                    "builtupArea": 11,
                    "description": "大床 大床房 不含早餐",
                    "baseId": "3897261",
                    "unitName": "大床房 (8天内预订)(内宾)",
                    "cancelInfo": "【2017-12-27 23:00】前可免费取消修改,若未入住或过时取消修改将收取您全额房费RMB 188。携程会根据您的付款方式进行预授权或扣除房费,如订单不确认将解除预授权或全额退款至您的付款账户。",
                    "price": 188,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        "http:\/\/dimg04.c-ctrip.com\/images\/200h0i0000009g87d3E31_C_130_130_Q50.jpg_.webp?v=1"
                    ],
                    "promotions": null,
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": false,
                    "cashBack": null
                },
                {
                    "marketPrice": 288,
                    "taxValue": 0,
                    "commentCount": 0,
                    "assistServices": [
                        "电视机",
                        "手动窗帘",
                        "床具:毯子或被子",
                        "24小时热水"
                    ],
                    "id": "101059280",
                    "floor": "2层",
                    "checkinDate": "2017-12-28",
                    "tags": [
                        "不可取消"
                    ],
                    "saleStatus": "售完",
                    "builtupArea": 15,
                    "description": "大床 家庭房(无窗) 不含早餐",
                    "baseId": "26075785",
                    "unitName": "家庭房(无窗) (8天内预订)(内宾)(无窗)",
                    "cancelInfo": "该订单确认后不可被取消修改,若未入住担保费用将不予退还。携程会根据您的担保方式,预授权或暂扣RMB 288用于担保。",
                    "price": 288,
                    "priceUnit": "RMB",
                    "capacityInfo": "可住2人",
                    "imageUrls": [
                        ""
                    ],
                    "promotions": null,
                    "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171228",
                    "isLowestPrice": false,
                    "cashBack": null
                }
            ],
            "assistServices": [
                "无线上网",
                "有线上网",
                "停车场",
                "行李寄存",
                "热水洗浴",
                "电吹风",
                "洗漱用具",
                "叫醒服务",
                "茶室",
                "送餐服务",
                "刷卡消费"
            ],
            "businessDistrict": "李沧",
            "nearbyHotels": null,
            "id": "1397155",
            "goodRatingRatio": 0.5,
            "honorCommentCount": 3,
            "roomCount": 108,
            "city": "青岛",
            "minPrice": 60,
            "district": "武昌区",
            "title": "青岛品家快捷酒店 经济型",
            "openDate": "2012年05月15日",
            "goodTagDist": [
                {
                    "value": 464,
                    "key": "干净卫生"
                },
                {
                    "value": 105,
                    "key": "早餐赞"
                },
                {
                    "value": 105,
                    "key": "高大上"
                },
                {
                    "value": 125,
                    "key": "交通便利"
                },
                {
                    "value": 155,
                    "key": "房间大"
                },
                {
                    "value": 370,
                    "key": "位置好"
                },
                {
                    "value": 169,
                    "key": "停车方便"
                },
                {
                    "value": 358,
                    "key": "环境优雅"
                },
                {
                    "value": 585,
                    "key": "服务热情"
                },
                {
                    "value": 227,
                    "key": "价格实惠"
                },
                {
                    "value": 304,
                    "key": "性价比高"
                },
                {
                    "value": 101,
                    "key": "床舒服"
                },
                {
                    "value": 67,
                    "key": "体验很棒"
                },
                {
                    "value": 52,
                    "key": "设施齐全"
                },
                {
                    "value": 46,
                    "key": "隔音好"
                }
            ],
            "pros": null,
            "floorCount": null,
            "keyValues": [
                {
                    "key": null,
                    "value": "入住时间:14:00以后 离店时间:12:00以前"
                },
                {
                    "key": "儿童与加床",
                    "value": "不接受18岁以下客人单独入住。"
                },
                {
                    "key": "膳食安排",
                    "value": "酒店不提供早餐"
                },
                {
                    "key": "宠物",
                    "value": "不可携带宠物。"
                }
            ],
            "state": "山东",
            "discountInfo": null,
            "location": null,
            "favoriteCount": 2415,
            "hasWifi": true,
            "regionId": "-1",
            "star": null,
            "description": "{0}客房整洁,宽敞明亮,环境卫生,性价比较高。{1}{2}",
            "catName1": "酒店",
            "tags": [
                "",
                "很好"
            ],
            "price": 93,
            "geoPoint": {
                "lat": 36.149566650391,
                "lon": 120.42134094238
            },
            "brandId": null,
            "cityId": 7,
            "appCode": "ctrip",
            "address": "山东青岛浮山路街道九水路184-6号东北(近滨河路)",
            "likeCount": null,
            "infrastructures": [
                "商务中心"
            ],
            "imageUrls": [
                "https:\/\/dimg04.c-ctrip.com\/images\/200l070000002oosd82E5_C_550_412_Q50.jpg_.webp",
                "https:\/\/dimg04.c-ctrip.com\/images\/200f070000002oooi5980_C_550_412_Q50.jpg_.webp",
                "https:\/\/dimg04.c-ctrip.com\/images\/t1\/hotel\/1480000\/1479791\/36622ad25f664d67b1b4c3ae0b681a9f_C_550_412_Q50.jpg_.webp"
            ],
            "promotions": null,
            "peculiarity": null,
            "level": null,
            "url": "http:\/\/m.ctrip.com\/webapp\/hotel\/hoteldetail\/1397155.html?days=1&atime=20171212",
            "lowPrice": 37,
            "stateId": 10,
            "decorationDate": "2012年05月15日",
            "brandName": null,
            "services": [
                {
                    "price": null,
                    "saleCount": null,
                    "marketPrice": null,
                    "id": "19",
                    "name": "24小时热水"
                },
                {
                    "price": null,
                    "saleCount": null,
                    "marketPrice": null,
                    "id": "5",
                    "name": "有线上网"
                },
                {
                    "price": null,
                    "saleCount": null,
                    "marketPrice": null,
                    "id": "46",
                    "name": "免费wifi"
                },
                {
                    "price": null,
                    "saleCount": null,
                    "marketPrice": null,
                    "id": "36",
                    "name": "行李寄存"
                }
            ],
            "telephones": [
                "0532-83770688"
            ],
            "country": "中国",
            "openingHours": null,
            "titleAliases": null,
            "catId1": "20"
        }
    ],
    "retcode": "000000",
    "pageToken": "WzI3NDkuMTAyNDE0MTYwNywiLUluZmluaXR5IiwtOS4yMjMzNzIwMzY4NTQ4ZSsxOCwiZ3Vhbmd6aG91XzI2NzUzIl0="
}

Detailed Data

No Details

状态码

Status Code Return Value Format : JSON

{

message:"API rate limit exceeded",

retcode:100703

}

The API in our platform is only paid on number of calls. For the detail, please refer to the below table.

Status Code Code Meaning Detailed Description Need paid or not?
000000 invoke successfully(data is not null) 成功调用并返回数据
100002 Search no result 目标参数搜索没结果
100301 Account not found 用户帐号不存在
100000 Server internal error 服务器内部错误
100001 Network error 网络错误
100004 Target server error 目标服务器错误
100005 Param error 用户输入参数错误
100700 Invalid authentication credentials 授权失败
100701 API stopped 您的当前API已停用
100702 Account stopped 您的账户已停用
100703 API rate limit exceeded 并发已达上限
100704 API maintenance API维护中
100705 API not found with these values API不存在
100706 Please add api first 请先添加api
100707 Number of calls exceeded 调用次数超限
100802 Missing url param 'time' or uri path is not equal to 2 请求路径错误或者缺少"time"参数
100803 Wrong pageToken 参数pageToken有误

Often With The Purchase Of Data