违章高发地
最后更新于:2022-04-02 08:23:24
## 违章高发地(停售)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/32/d7/32d7eb2082d7e5d918b3eb15735a4555_141x122.png)
> 根据百度地图坐标,检索周边违章高发地信息
## 接口费用( [点击购买](https://market.topthink.com/product/377))
> 最低 0.01元/次
## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086))
### 请求地址
```
GET https://api.topthink.com/luoz/nearby
```
### 请求参数
| 名称 | 必填 | 类型 | 说明 |
| --- | --- | --- | --- |
| appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) |
| lat | 是 | string | 纬度,如:31.335005 |
| lon | 是 | string | 经度,如:120.617183 |
| page | 否 | int | 页数,默认:1 |
| pagesize | 否 | int | 每次返回条数,默认20,最大50 |
| r | 否 | int | 检索半径,默认:500,最大2000 |
### 返回`data`参数
参考返回示例
## SDK调用
```
$client = new Client("YourAppCode");
$result = $client->luozNearby()
->withLon('120.617183')
->withLat('31.335005')
->withR('300')
->request();
dump($result);
```
返回结果示例:
```
{
"code": 0,
"message": "成功",
"data":{
"total": 6,
"size": 20,
"list": [
{
"title": "平泉路中监控抓拍",
"location": [
120.6067963,
31.3348484
],
"city": "苏州市",
"address": "平泉路中监控抓拍",
"province": "江苏省",
"district": "金阊区",
"detail": "100%违反禁令标志指示;",
"num": 21,/*次数*/
"level": "中"/*等级*/
},
{
"title": "平四路-桃花桥路",
"location": [
120.6203003,
31.3329315
],
"city": "苏州市",
"address": "平四路-桃花桥路",
"province": "江苏省",
"district": "平江区",
"detail": "50%信号路口不按规定行驶;33%驾驶机动车违反道路交通信号灯通行的;17%信号灯路口越停车线停车;",
"num": 13,
"level": "中"
},
{
"title": "平四路",
"location": [
120.6190948,
31.3326969
],
"city": "苏州市",
"address": "平四路",
"province": "江苏省",
"district": "平江区",
"detail": "100%机动车违反规定停放,妨碍其他车辆、行人通行的,驾驶人不在现场的;",
"num": 22,
"level": "中"
},
{
"title": "桃花坞大街",
"location": [
120.6222839,
31.3263855
],
"city": "苏州市",
"address": "桃花坞大街",
"province": "江苏省",
"district": "平江区",
"detail": "100%机动车违反规定停放,妨碍其他车辆、行人通行的,驾驶人不在现场的;",
"num": 6,
"level": "低"
},
{
"title": "桃花桥路",
"location": [
120.6156311,
31.3286514
],
"city": "苏州市",
"address": "桃花桥路",
"province": "江苏省",
"district": "平江区",
"detail": "100%机动车违反规定停放,妨碍其他车辆、行人通行的,驾驶人不在现场的;",
"num": 21,
"level": "中"
},
{
"title": "平泉路公交入口1闭路监控抓拍",
"location": [
120.6067963,
31.3348484
],
"city": "苏州市",
"address": "平泉路公交入口1闭路监控抓拍",
"province": "江苏省",
"district": "金阊区",
"detail": "100%违反禁令标志指示;",
"num": 8,
"level": "低"
}
]
}
}
```
';