## 新能源车辆违章查询 ![](https://img.kancloud.cn/7b/80/7b808a9a81e805a37bda55304c7c2f83_714x350.png =x120) > 目前支持广东、上海、江苏、河南、浙江、四川等地区的新能源车牌违章查询 ## 接口费用( [点击购买](https://market.topthink.com/product/133)) > 最低 0.04元/次 ### 请求地址 ``` GET https://api.topthink.com/luoz/new_energy ``` ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | carNumber| 是 | string | 车牌号 | | carEngineCode| 否 | string | 发动机号 部分地区必须 一般为4/6位的发动机号(尾数) | | carType| 否 | string | 车辆类型 01:大型汽车 02:小型汽车 15:挂车 51:大型新能源汽车 52:小型新能源汽车 | | carCode| 否 | string | 车架号 部分地区必须 一般为4/6位的车架号(尾数) | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | |carNumber|String|车牌号| |carCode|String|车架号| |carEngineCode|String|发动机编号| |carType|String|车辆类型| |count|String|违章数量| |records|Array|违章记录| ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->luozNewEnergy() ->withCarNumber('车牌号') ->request(); dump($result); ``` 返回结果示例: ``` { "code": 0, "message": "成功", "data":{ "count": 2, "carEngineCode": "366893", "carCode": "037572", "carType": "02", "carNumber": "贵AH171R", "records": [ { "time": "2016-04-28 18:36:32", "degree": "6", "reason": "驾驶机动车违反道路交通信号灯通行的", "address": "黔灵山路(贵阳一中人行横道)", "department": "", "cityName": "", "money": "150", "code": "" }, { "time": "2016-04-25 14:13:01", "degree": "0", "reason": "机动车违反规定停放、临时停车且驾驶人不在现场或者虽在现场但驾驶人拒绝立即驶离,妨碍其它车辆、行人通行的", "address": "新添大道南段与半边街交叉口20米", "department": "", "cityName": "", "money": "150", "code": "" } ], "createDateStr": "2016-10-14 11:40:25" } ```