参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
lsplate | string | 是 | 车牌号 车牌号和车架号任选其一 |
lstype | string | 是 | 车辆类型 默认小车02 参考违章查询车辆类型 |
frameno | string | 是 | 车架号 |
engineno | string | 否 | 发动机号 |
参数名称 | 类型 | 说明 |
---|---|---|
carinfo | string | 车辆信息 |
lsplate | string | 车牌号 |
lstype | string | 车辆类型 |
frameno | string | 车架号 |
engineno | string | 发动机号 |
price | string | 厂商指导价 |
usetype | string | 使用性质 |
brand | string | 品牌 |
regdate | string | 车辆注册日期 |
fueltype | string | 燃油类型 |
seatnum | string | 座位数 |
displacement | string | 排量 |
lsplatecolor | string | 车牌颜色 |
insurance | string | 保险信息 |
nextcompustartdate | string | 下年的交强险起保日期 |
nextcommestartdate | string | 下年的商业险起保日期 |
commeenddate | string | 商业险到期时间 |
compuenddate | string | 交强险到期时间 |
idcardtype | string | 证件类型 |
area | string | 行驶区域 |
ownertype | string | 所有人类型 |
clausetype | string | 条款种类 |
clausecate | string | 条款分类 |
compuno | string | 交强险保单号 |
commeno | string | 商业险保单号 |
nocompenfactor | string | 无赔款费率系数 |
selfchannelfactor | string | 自主渠道费率系数 |
selfcheckfactor | string | 自主核保费率系数 |
trafficfloatfactor | string | 交通违法浮动费率系数 |
damagemoney | string | 车损险保额 |
thirdmoney | string | 第三方责任险保额 |
losemoney | string | 全车盗抢险保额 |
drivermoney | string | 车上人员责任险(司机)保额 |
passengermoney | string | 车上人员责任险(乘客)保额 |
glassmoney | string | 玻璃单独破碎险保额 |
scratchmoney | string | 车身划痕损失险保额 |
wademoney | string | 涉水行驶损失险保额 |
selfignitionmoney | string | 自燃损失险保额 |
addequipmentmoney | string | 新增设备损失险保额 |
dailycompensationmoney | string | 修理期间费用补偿险 |
repairshopmoney | string | 指定修理厂险 |
exlosemoney | string | 不计免赔险(盗抢)保额 |
exthirdmoney | string | 不计免赔险(三者)保额 |
exscratchmoney | string | 不计免赔险划痕保额 |
exdrivermoney | string | 不计免赔险司机保额 |
expassengermoney | string | 不计免赔险乘客保额 |
exdamagemoney | string | 不计免赔险(车损)保额 |
exwademoney | string | 不计免赔险涉水保额 |
exselfignitionmoney | string | 不计免赔险自燃保额 |
exmentaldamagemoney | string | 不计免赔险精神损失保额 |
exaddequipmentmoney | string | 不计免赔设备损失险保额 |
ismentaldamage | string | 是否投保精神损失险 |
isnotfound | string | 机动车无法找到三方特约险保额 |
lastcompany | string | 上年保险公司 |
factorytype | string | 指定专修厂类型 |
repairday | string | 修理天数 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $frameno = 'LH17CKKF16H017537'; $lsplate = '浙A12345'; //车架号、车牌号 二选其一填写 $engineno = '120970416'; $lstype = '02'; //车辆类型 默认02 小车 $url = "https://api.jisuapi.com/carinsurance2/query?appkey=$appkey&frameno=$frameno&lsplate=$lsplate&lstype=$lstype&engineno=$engineno"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $result = $jsonarr['result']; $carinfo = $result['carinfo']; $insurance = $result['insurance']; echo $carinfo['lsplate'].' '.$carinfo['lstype'].' '.$carinfo['frameno'].' '.$carinfo['engineno'].' '.$carinfo['price'].' '.$carinfo['usetype'].' '.$carinfo['realname'].' '.$carinfo['brand'].' '.$carinfo['regdate'].' '.$carinfo['fueltype'].'
'; echo $carinfo['seatnum'].' '.$carinfo['displacement'].' '.$carinfo['lsplatecolor'].'
'; echo $insurance['nextcompustartdate'].' '.$insurance['nextcommestartdate'].' '.$insurance['commeenddate'].'
'; echo $insurance['compuenddate'].' '.$insurance['idcardtype'].' '.$insurance['area'].' '.$insurance['ownertype'].' '.$insurance['clausetype'].' '.$insurance['clausecate'].' '.$insurance['compuno'].' '.$insurance['commeno'].'
'; echo $insurance['nocompenfactor'].' '.$insurance['selfchannelfactor'].' '.$insurance['selfcheckfactor'].' '.$insurance['trafficfloatfactor'].'
'; echo $insurance['damagemoney'].' '.$insurance['thirdmoney'].' '.$insurance['losemoney'].' '.$insurance['drivermoney'].' '.$insurance['passengermoney'].' '.$insurance['glassmoney'].' '.$insurance['scratchmoney'].'
'; echo $insurance['wademoney'].' '.$insurance['selfignitionmoney'].' '.$insurance['addequipmentmoney'].' '.$insurance['dailycompensationmoney'].' '.$insurance['repairshopmoney'].' '.$insurance['exlosemoney'].' '.$insurance['exthirdmoney'].'
'; echo $insurance['exscratchmoney'].' '.$insurance['exdrivermoney'].' '.$insurance['expassengermoney'].' '.$insurance['exdamagemoney'].' '.$insurance['exwademoney'].' '.$insurance['exselfignitionmoney'].' '.$insurance['exmentaldamagemoney'].'
'; echo $insurance['exaddequipmentmoney'].' '.$insurance['mentaldamagemoney'].' '.$insurance['isnotfound'].' '.$insurance['lastcompany'].' '.$insurance['factorytype'].' '.$insurance['repairday'].'
';
{ "status": 0, "msg": "ok", "result": { "carinfo": { "lsplate": "豫A11111", "lstype": "02", "frameno": "LH17CKKF16H017537", "engineno": "111111", "price": "100000", "usetype": "家庭自用车", "realname": "张先生", "brand": "帝豪", "regdate": "2012-11-30", "fueltype": "汽油", "seatnum": "5", "displacement": "1.8L", "lsplatecolor": "蓝" }, "insurance": { "nextcompustartdate": "2018-05-30", "nextcommestartdate": "2018-05-30", "commeenddate": "2017-05-30", "compuenddate": "2017-05-30", "idcardtype": "身份证", "area": "境内", "ownertype": "私车", "clausetype": "非营业用汽车用品", "clausecate": "销售发票", "compuno": "PDAA201033011111111111", "commeno": "PDAA201033011111111111", "nocompenfactor": "0", "selfchannelfactor": "0", "selfcheckfactor": "0", "trafficfloatfactor": "0", "damagemoney": "10000", "thirdmoney": "10000", "losemoney": "10000", "drivermoney": "10000", "passengermoney": "10000", "glassmoney": "10000", "scratchmoney": "10000", "wademoney": "10000", "selfignitionmoney": "10000", "addequipmentmoney": "10000", "dailycompensationmoney": "10000", "repairshopmoney": "10000", "exlosemoney": "10000", "exthirdmoney": "10000", "exscratchmoney": "10000", "exdrivermoney": "10000", "expassengermoney": "10000", "exdamagemoney": "10000", "exwademoney": "10000", "exselfignitionmoney": "10000", "exmentaldamagemoney": "10000", "exaddequipmentmoney": "10000", "ismentaldamage": "1", "isnotfound": "1", "lastcompany": "太平洋", "factorytype": "没有", "repairday": "30" } } }
代号 | 说明 |
---|---|
201 | 车架号和车牌号为空 |
202 | 车架号不正确 |
203 | 车牌号不正确 |
204 | 发动机号不正确 |
210 | 未知错误 |
代号 | 说明 |
---|---|
101 | APPKEY为空或不存在 |
102 | APPKEY已过期 |
103 | APPKEY无请求此数据权限 |
104 | 请求超过次数限制 |
105 | IP被禁止 |
106 | IP请求超过限制 |
107 | 接口维护中 |
108 | 接口已停用 |
计次套餐 | 套餐规格 | 价格 | ||
---|---|---|---|---|
试用套餐 | 3次 | 3 元 | ≈1元/次 | |
Level1 | 100次 | 210 元 | ≈2.1元/次 | |
Level2 | 1000次 | 1800 元 | ≈1.8元/次 | |
Level3 | 5000次 | 7500 元 | ≈1.5元/次 | |
Level4 | 10000次 | 13000 元 | ≈1.3元/次 |
© 2015-2025 杭州极速互联科技有限公司 版权所有 浙ICP备17047587号-4 浙公网安备33010502005096 增值电信业务经营许可证:浙B2-20190875