汽车违章多发路段api,可根据百度地图坐标,检索周边违章高发地信息。
接口名称:违章多发路段api
接口平台:api接口
接口地址:http://v.juhe.cn/wzpoints/query
支持格式:json
请求方式:http get/post
请求示例:http://v.juhe.cn/wzpoints/query?key=您申请的APPKEY&lat=31.335005&lon=120.617183&r=1000
请求参数说明:
名称 |
类型 |
必填 |
说明 |
lat |
string |
是 |
纬度,如:31.335005 |
lon |
string |
是 |
经度,如:120.617183 |
page |
int |
否 |
页数,默认:1 |
pagesize |
int |
否 |
每次返回条数,默认20,最大50 |
r |
int |
否 |
检索半径,默认:500,最大2000 |
key |
string |
是 |
应用APPKEY(应用详细页查询) |
返回参数说明:
名称 |
类型 |
说明 |
error_code |
int |
返回码 |
reason |
string |
返回说明 |
违章多发路段api调用JSON返回示例:
{
"reason": "成功",
"result": {
"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": "低"
}
]
},
"error_code": 0
}