C/2/place/nearby/pois/biz-en
place/nearby/pois/biz
Return POI nearby.
URL
https://c.api.weibo.com/2/place/nearby/pois/biz.json
Supported Formats
JSON
HTTP Request Method
GET
Requires Login
true
See the Login and Authorization Mechanism Statement for login and authorization details.
Requests Count Limitation
Request all APIs:
- 50000/hour/IP;
- 50000/hour/IP;
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth.The value of this parameter is the AppKey. |
access_token | false | string | This parameter is required when using OAuth.You will get the access_token after oauth authorization. |
lat | true | float | Latitude, range from -90.0 to +90.0, in which '+' means North, default as 0.0. |
long | true | float | Longitude, range from -180.0 to +180.0, in which '+' means East, default as 0.0. |
range | false | int | Range of search, with unit of meter, maximum 10000, default as 2000. |
q | false | string | Keyword for search, must be URL encoded. |
category | false | string | Category code to search, refer to Category Code Table for value range. |
count | false | int | Records returned within one page, maximum 50, default as 20. |
page | false | int | The page number of returned results, defaults as 1. |
sort | false | int | Sort method. 0 for weighted value, 1 for distance, 3 for number of checked-in users, default as 0. |
offset | false | int | Whether lat and long numbers are calibrated, 0 for false, 1 for true, default as 0. |
Notes
none
Response
JSON Example
//成功返回 { "pois": [ { "poiid": "B2094654D069A6F4419C", "title": "三个贵州人(中关村店)", "address": "北四环西路58号理想国际大厦202-205", "lon": "116.30999", "lat": "39.98435", "category": "83", "city": "0010", "province": null, "country": null, "url": "", "phone": "010-82607678", "postcode": "100000", "weibo_id": "0", "categorys": "64 69 83", "category_name": "云贵菜", "icon": "http://u1.sinaimg.cn/upload/2012/03/23/1/xysh.png", "checkin_num": 0, "checkin_user_num": "0", "tip_num": 0, "photo_num": 0, "todo_num": 0, "distance": 70 }, ... ], "total_number": 200 } //失败返回 { "request": "/place/nearby/pois/biz.json", "error_code": XXXXX, "error": "error message." }
See the Error Code Description for the error information details.
Field Description
none
Others
none
文档更新时间: 2015-07-23