全国车辆违章查询

  • 数据类型: 位置服务
  • 接口状态: 正常
  • 已连接App的数量: 23531
  • 描述: 支持全国300多个城市的车辆违章查询
  • API
  • 错误码
  • 价格与请求限制
  • 相关信息

接口地址: http://apis.haoservice.com/weizhang/citys

支持格式: json/xml

请求方式: GET/POST

请求示例: http://apis.haoservice.com/weizhang/citys?key=您申请的APPKEY

请求参数:

名称 类型 必填 说明
key string API KEY

返回字段:

名称 类型 说明
province_codeString省份简码
provinceString省份名称
citysList城市集合
      city_nameString城市名称
      city_codeString城市简码
      abbrString省份简称
      engineInt是否需要发动机号0,不需要 1,需要
      enginenoInt需要几位发动机号0,全部 1-9 ,需要发动机号后N位
      classaInt是否需要车架号0,不需要 1,需要
      classnoInt需要几位车架号0,全部 1-9 需要车架号后N位
      registInt 是否需要登记证书号0,不需要 1,需要
      registnoInt需要几位登记证书0,全部 1-9 需要登记证书后N位

JSON返回示例:

{ "error_code": "0", "reason": "成功返回", "result": [ { "province_code": "BJ", "province": "北京", "citys": [ { "city_name": "北京", "city_code": "BJ", "abbr": "京", "engine": 1, "engineno": 0, "classa": 0, "classno": 0, "regist": 0, "registno": 0 } ] }, { "province_code": "AH", "province": "安徽", "citys": [ { "city_name": "合肥", "city_code": "AH_HeFei", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "芜湖", "city_code": "AH_WuHu", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "蚌埠", "city_code": "AH_BangBu", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "淮南", "city_code": "AH_HuaiNan", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "马鞍山", "city_code": "AH_MaAnShan", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "淮北", "city_code": "AH_HuaiBei", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "铜陵", "city_code": "AH_TongLing", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "安庆", "city_code": "AH_AnQing", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "黄山", "city_code": "AH_HuangShan", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "滁州", "city_code": "AH_ChuZhou", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "阜阳", "city_code": "AH_FuYang", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "宿州", "city_code": "AH_SuZhou", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "巢湖", "city_code": "AH_ChaoHu", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "六安", "city_code": "AH_LiuAn", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "亳州", "city_code": "AH_BoZhou", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "池州", "city_code": "AH_ChiZhou", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 }, { "city_name": "宣城", "city_code": "AH_XuanCheng", "abbr": "皖", "engine": 0, "engineno": 0, "classa": 1, "classno": 6, "regist": 0, "registno": 0 } ] } ] }

备注:支持全国300多个城市的车辆违章查询