## 车辆违章次数查询(停售) ![](https://img.kancloud.cn/18/90/18907b2ddcf04206bed12d231263e7ea_714x350.png =x120) ## 接口费用( [点击购买](https://market.topthink.com/product/112)) > 最低 0.035元/次 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/luoz/times ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | carNumber| 是 | string | 车牌号 | | carEngineCode| 是 | string | 发动机号 一般为4/6位的发动机号(尾数),具体位数请查看"查询规则"接口 | | carType| 否 | string | 车牌类型:01 大型车辆,02小型车辆,51 新能源大型车辆, 52 新能源小型车辆,默认为02 | ### 返回`data`参数 | 名称 | 类型 | 示例值 | 描述 | | --- | --- | --- | --- | | totalWz | Number | 2 | 总违章次数 | | otherProWz | Number | 0 | 省外违章次数 | | proWz | Number | 0 | 车辆所在地区外,本省内的违章次数 | | cityWz | Number | 2 | 本地区的违章次数 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->luozTimes() ->withCarNumber('车牌号') ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":{ "totalWz": "2", "otherProWz": "0", "proWz": "0", "cityWz": "2" } ```