3320

381

尾号限行 支持HTTPS 实名企业专用

目前支持北京、天津、兰州、杭州、长春、南昌、成都、贵阳、哈尔滨、重庆

对接方式: API H5
¥ 0 (约0元/次), 首次申请送10次
首次申请送10次 8333次 1000000次 4444444次
联系客服

接口地址:https://openapi.docloud.vip/car_restriction/

返回格式:json

请求方式:POST

请求示例:https://openapi.docloud.vip/car_restriction/

请求参数说明:

名称
类型
必填
说明
module
string
Y
模块,固定 restriction_query
key
string
Y
申请接口时,生成的key
city
string
Y
城市代码,在城市列表接口获取
type
int
N
类型,1:今日 2:明天 3:后天 4:第4天 5:第5天 6:第6天 默认1

返回参数说明:

名称
类型
说明
resultcode
string
状态码
reason
string
状态说明
result
json
返回结果
date
string
日期
week
string
星期
city
string
城市代码
cityname
string
城市名称
des
string
限行描述
time
string
限行时间
place
string
限行区域
info
string
其他说明
fine
string
处罚事项
remarks
string
限行标记
isxianxing
string
今日是否限行,1是0否
xxweihao
string
限行尾号
holiday
string
节假日信息

JSON返回示例:

{
    "resultcode": "200",
    "reason": "查询成功",
    "result": {
        "date": "2018-07-26",
        "week": "星期四",
        "city": "beijing",
        "cityname": "北京",
        "des": [{
            "time": "私家车:限行时间段为周一至五的早7时至晚20时(法定节假日和公休日不限行)",
            "place": "限行范围为五环路以内(不包括五环路主路)",
            "info": ""
        }, {
            "time": "公务车:停驶时间为0时至24时",
            "place": "停驶范围为本市行政区域内所有道路",
            "info": ""
        }],
        "fine": "京牌罚100块,不扣分。非京牌罚100块,扣3分。",
        "remarks": "临时号牌按号牌尾号数字限行。机动车车尾号为英文字母的按0号管理",
        "isxianxing": 1,
        "xxweihao": [1, 6],
        "holiday": ""
    }
}

服务级错误码参照(error_code):

错误码
说明
204301
暂不支持此城市

系统级错误码参照:

错误码
说明
旧版本(resultcode)
10001
错误的请求KEY
101
10005
接口未认证
10005
10008
非白名单IP,禁止访问
10008
10009
您的可用次数不足,请充值
10009
10014
系统内部异常,请稍后重试
10014
10002
账户未企业认证
10002

错误码格式说明(示例:2):

2
1
1
服务级错误代码(1 系统级错误代码)
接口ID
具体错误代码

接口地址:https://openapi.docloud.vip/car_restriction/

返回格式:json

请求方式:POST

请求示例:https://openapi.docloud.vip/car_restriction/

请求参数说明:

名称
类型
必填
说明
module
string
Y
模块,固定 support_citys
key
string
Y
申请接口时生成的key

返回参数说明:

名称
类型
说明
resultcode
string
状态码
reason
string
状态说明
result
json
返回结果
city
string
城市代码
cityname
string
城市名称

JSON返回示例:

{
    "resultcode": "200",
    "reason": "查询成功",
    "result": [{
        "city": "beijing",
        "cityname": "北京"
    }, {
        "city": "guiyang",
        "cityname": "贵阳"
    }, {
        "city": "hangzhou",
        "cityname": "杭州"
    }, {
        "city": "lanzhou",
        "cityname": "兰州"
    }, {
        "city": "tianjin",
        "cityname": "天津"
    }, {
        "city": "chengdu",
        "cityname": "成都"
    }, {
        "city": "nanchang",
        "cityname": "南昌"
    }, {
        "city": "changchun",
        "cityname": "长春"
    }]
}

服务级错误码参照(error_code):

错误码
说明
204301
暂不支持此城市

系统级错误码参照:

错误码
说明
旧版本(resultcode)
10001
错误的请求KEY
101
10005
接口未认证
10005
10008
非白名单IP,禁止访问
10008
10009
您的可用次数不足,请充值
10009
10014
系统内部异常,请稍后重试
10014
10002
账户未企业认证
10002

错误码格式说明(示例:200101):

2
1
1
服务级错误代码(1 系统级错误代码)
接口ID
具体错误代码