>" />
參數名稱 | 類型 | 必填 | 說明 |
---|---|---|---|
vin | string | 是 | 車架號 |
參數名稱 | 類型 | 說明 |
---|---|---|
ratedloadweight | string | 額定載質量(kg) |
seatnum | string | 座位數 |
price | string | 指導價格 |
axlenum | string | 軸數 |
reartrack | string | 后輪距 |
bodytype | string | 車體結構 |
brand | string | 品牌 |
displacement | string | 排量 |
drivemode | string | 驅動方式 |
environmentalstandards | string | 排放標準 |
enginemodel | string | 發動機型號 |
fronttrack | string | 前輪距 |
fueltype | string | 燃料種類 |
height | string | 外形尺寸(mm)高 |
len | string | 外形尺寸(mm) 長 |
yeartype | string | 年款 |
comfuelconsumption | string | 油耗 |
maxpower | string | 最大功率(kW) |
tirenum | string | 輪胎數 |
tiresize | string | 輪胎規格 |
weight | string | 整備質量(kg) |
name | string | 車系名稱 |
wheelbase | string | 軸距 |
width | string | 外形尺寸(mm)寬 |
vin | string | 車架號 |
model | string | 車輛型號 |
engineno | string | 發動機號 |
groupname | string | 車組 |
color | string | 車身顏色 |
productiondate | string | 出廠日期 |
displacementml | string | 排量(ml) |
boxlen | string | 貨箱欄板內尺寸(mm) 長 |
boxwidth | string | 貨箱欄板內尺寸寬 |
boxheight | string | 貨箱欄板內尺寸高 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $vin = 'LSVAL41Z882104202'; $url = "http://api.jisuapi.com/vin2/query?appkey=$appkey&vin=$vin"; $result = curlOpen($url); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $result = $jsonarr['result']; echo $result['ratedloadweight'].' '.$result['brand'].' '.$result['seatnum'].'
'; echo $result['price'].' '.$result['yeartype'].' '.$result['axlenum'].'
'; echo $result['reartrack'].' '.$result['environmentalstandards'].' '.$result['enginemodel'].'
'; echo $result['name'].' '.$result['maxpower'].' '.$result['fronttrack'].' '.$result['fueltype'].' '.$result['vin'].'
';
{ "status":0, "msg":"ok", "result":{ "name":"奔馳E級 2020款 E 260 L 運動型", "yeartype":"2020", "ratedloadweight":"", "seatnum":"5", "price":"42.98", "axlenum":"2", "reartrack":"1580", "bodytype":"4門5座三廂車", "brand":"北京奔馳", "displacement":"1.5T", "drivemode":"前置后驅", "environmentalstandards":"GB18352.6-2016國Ⅵ", "enginemodel":"8AR", "fronttrack":"1596", "fueltype":"汽油", "height":"1484", "len":"5065", "comfuelconsumption":"6.8", "maxpower":"135", "tirenum":"4", "tiresize":"245/45R18", "weight":"1800", "wheelbase":"3079", "width":"1860", "vin":"LE4ZG7HB8LL437622", "engineno":"4227213", "color":"墨晶黑", "productiondate":"2019-12-31" } }
代號 | 說明 |
---|---|
201 | VIN為空 |
202 | VIN不正確 |
210 | 沒有信息 |
代號 | 說明 |
---|---|
101 | APPKEY為空或不存在 |
102 | APPKEY已過期 |
103 | APPKEY無請求此數據權限 |
104 | 請求超過次數限制 |
105 | IP被禁止 |
106 | IP請求超過限制 |
107 | 接口維護中 |
108 | 接口已停用 |
計次套餐 | 套餐規格 | 價格 | ||
---|---|---|---|---|
試用套餐 | 8次 | 10.00元 | ≈1.25元/次 | |
Level1 | 1000次 | 1500.00元 | ≈1.5元/次 | |
Level2 | 5000次 | 7000.00元 | ≈1.4元/次 | |
Level3 | 10000次 | 13000.00元 | ≈1.3元/次 | |
Level4 | 100000次 | 115000.00元 | ≈1.15元/次 |