当前所在位置:首页>数据接口>位置服务>百度POI

百度POI 

包含餐饮、住宿、娱乐等16大类,约共2000W条POI数据

数据ID:21

接口状态:下架

连接应用数:1000

接入服务商:haoservice

/100次 购买套餐

  • API
  • 错误码参照
  • 资费套餐
  • 版本变更
  • 代码示例
  • 其他相关
接口地址: http://apis.haoservice.com/lifeservice/baiduPoi/eventsearch
支持格式: JSON/XML
请求方式: GET/POST
明文方式请求参数:
名称 类型 必填 说明
key string API KEY
query String 检索关键字
page_size Int 范围记录数量,默认为10条记录,最大返回20条。多关键字检索时,返回的记录数为关键字个数*page_size
page_num Int 分页页码,默认为0,0代表第一页,1代表第二页,以此类推。
region String 检索区域,,如果取值为“全国”或某省份,则返回指定区域的POI。进行区域检索时,为必要参数
bounds String 检索矩形区域,进行矩形区域检索时,为必要参数
location String 周边检索中心点,不支持多个点,圆形区域检索时,为必要参数,格式举例:“lat(纬度),lng(经度)”
radius String 周边检索半径,单位为米(默认值为1000,最大值为2000),圆形区域检索时,为必要参数
密文方式请求参数:
名称 类型 必填 说明
IsEncrypt bool 是否密文传输方式
key string API KEY
params string 3des ECB模式 PKCS7填充模式 加密 3des("query=美食&page_size=10&page_num=0&region=北京&bounds=39.915,116.404,39.975,116.414&location=39.915,116.404&radius=1000","openId前24位")
调用样例及调试工具:
返回字段:
明文JSON返回示例:
{ "error_code":0, "reason":"Success", "total":18, "result":{ "uid":"810013cdcd03c8b26140a998", "name":"可可美味蛋糕(光华路店)", "latitude":"39.926996", "longitude":"116.430096", "address":"北京市东城区朝外大街仓南胡同内12号楼底商", "telephone":"4006555989", "events":[{ "cn_name":"百度糯米", "groupon_end":"2014-12-31T00:00:00", "groupon_id":69701684, "groupon_image":"http://nuomi.xnimg.cn/upload/deal/2014/8/V_L/1627332-3mq989mx9k-18136220843750079.jpg", "groupon_num":9, "groupon_price":119.0, "groupon_rebate":0.35, "groupon_site":"http://www.nuomi.com", "groupon_start":"2014-08-23T00:00:00", "groupon_title":"可可美味蛋糕12英寸蛋糕!精心制作,独具匠心,美味又漂亮!绿色健康,环境优雅,服务周到!", "groupon_type":1, "groupon_url_mobile":"http://m.nuomi.com/deal/view?tinyurl=ddydt1lj&channel_webapp=map_app_place", "groupon_url_pc":"http://tuan.baidu.com/redirect?from=bdmappc&url=http%3A%2F%2Fwww.nuomi.com%2Fdeal%2Fddydt1lj.html", "groupon_webapp_url":"http://m.nuomi.com/deal/view?tinyurl=ddydt1lj&channel_webapp=map_app_place", "regular_price":338.0, "groupon_tips":null },{ "cn_name":"百度糯米", "groupon_end":"2014-12-31T00:00:00", "groupon_id":69701682, "groupon_image":"http://nuomi.xnimg.cn/upload/deal/2014/8/V_L/1627229-bxshjx3muz-18139540059404124.jpg", "groupon_num":1, "groupon_price":249.0, "groupon_rebate":0.36, "groupon_site":"http://www.nuomi.com", "groupon_start":"2014-08-23T00:00:00", "groupon_title":"可可美味蛋糕双层蛋糕1个!精心烘培,口感细腻,丝滑浓香,方寸之间,尽享美味!", "groupon_type":1, "groupon_url_mobile":"http://m.nuomi.com/deal/view?tinyurl=extzdfrw&channel_webapp=map_app_place", "groupon_url_pc":"http://tuan.baidu.com/redirect?from=bdmappc&url=http%3A%2F%2Fwww.nuomi.com%2Fdeal%2Fextzdfrw.html", "groupon_webapp_url":"http://m.nuomi.com/deal/view?tinyurl=extzdfrw&channel_webapp=map_app_place", "regular_price":698.0, "groupon_tips":null },{ "cn_name":"百度糯米", "groupon_end":"2014-12-31T00:00:00", "groupon_id":69701676, "groupon_image":"http://nuomi.xnimg.cn/upload/deal/2014/8/V_L/1627049-cru3yw7k2b-606813408697868.jpg", "groupon_num":0, "groupon_price":399.0, "groupon_rebate":0.36, "groupon_site":"http://www.nuomi.com", "groupon_start":"2014-08-23T00:00:00", "groupon_title":"可可美味蛋糕三层蛋糕1个!口感绵密,绝佳滋味,极致甜蜜诱惑,甜而不腻,香浓美味!", "groupon_type":1, "groupon_url_mobile":"http://m.nuomi.com/deal/view?tinyurl=ip84mgqf&channel_webapp=map_app_place", "groupon_url_pc":"http://tuan.baidu.com/redirect?from=bdmappc&url=http%3A%2F%2Fwww.nuomi.com%2Fdeal%2Fip84mgqf.html", "groupon_webapp_url":"http://m.nuomi.com/deal/view?tinyurl=ip84mgqf&channel_webapp=map_app_place", "regular_price":1099.0, "groupon_tips":null },{ "cn_name":"百度糯米", "groupon_end":"2014-12-31T00:00:00", "groupon_id":69701674, "groupon_image":"http://nuomi.xnimg.cn/upload/deal/2014/8/V_L/1626899-aagwsqtzrk-612790777588252.jpg", "groupon_num":14, "groupon_price":69.0, "groupon_rebate":0.35, "groupon_site":"http://www.nuomi.com", "groupon_start":"2014-08-23T00:00:00", "groupon_title":"可可美味蛋糕8英寸蛋糕!美味齐聚,精心烘焙,口感独特,质地细腻,绿色健康,环境优雅!", "groupon_type":1, "groupon_url_mobile":"http://m.nuomi.com/deal/view?tinyurl=tvzgcewl&channel_webapp=map_app_place", "groupon_url_pc":"http://tuan.baidu.com/redirect?from=bdmappc&url=http%3A%2F%2Fwww.nuomi.com%2Fdeal%2Ftvzgcewl.html", "groupon_webapp_url":"http://m.nuomi.com/deal/view?tinyurl=tvzgcewl&channel_webapp=map_app_place", "regular_price":198.0, "groupon_tips":null }] } }
密文JSON返回示例:
hCe2pmNRFnwP3gbrGm9vnobmGI+VZPwJAFJ6xcEkeJGyOQKBipdMSDN1yb3lDI48WoqV7IJHb3tjJABrAc00igyE1dYBYQophG/6anzWjA857/YaMzKj5kfiVxyBavy4a4OudBnMncw=

推荐接口/API

联系客服

010-58436659