参数名称 | 类型 | 必填 | 说明 |
---|
参数名称 | 类型 | 说明 |
---|---|---|
id | int | ID |
name | string | 名称 |
initial | string | 首字母 |
parentid | int | 上级ID |
logo | string | LOGO |
depth | int | 深度 1品牌 2子公司 3车型 4具体车型 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $url = "https://api.jisuepc.com/car/brand?appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $data = $jsonarr['result']; print_r($data);
#!/usr/bin/python # encoding:utf-8 import urllib2, json, urllib # 1、获取所有品牌 data = {} data["appkey"] = "your_appkey_here" url_values = urllib.urlencode(data) url = "https://api.jisuepc.com/car/brand" + "?" + url_values request = urllib2.Request(url) result = urllib2.urlopen(request) jsonarr = json.loads(result.read()) if jsonarr["status"] != u"0": print jsonarr["msg"] exit() result = jsonarr["result"] for val in result: print val["id"],val["name"],val["initial"],val["parentid"],val["logo"],val["depth"]
// 1. 安装 axios(如果未安装) // 在终端执行: npm install axios const axios = require('axios'); // 2. 直接配置参数 const url = 'https://api.jisuepc.com/car/brand'; const params = { appkey: 'your_appkey_here', // 替换成你的真实appkey }; // 3. 立即发送请求 axios.get(url, { params }) .then(response => { // 检查API业务状态码 if (response.data.status !== 0) { console.error('API返回错误:', response.data.status+"-"+response.data.msg); return; } // 输出结果 for (const [key, value] of Object.entries(response.data.result)) { console.log(`ID: ${value.id}`); console.log(`名称: ${value.name}`); console.log(`首字母: ${value.initial}`); console.log(`上级ID: ${value.parentid}`); console.log(`LOGO: ${value.logo}`); console.log(`层级: ${value.depth}`); console.log('----------------------------------'); } }) .catch(error => { // 统一错误处理 console.error('请求失败!'); });
{ "status": 0, "msg": "ok", "result": [ { "id": 1, "name": "奥迪", "initial": "A", "parentid": 0, "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/1.png", "depth": 1 }, { "id": 158090, "name": "阿维塔", "initial": "A", "parentid": 0, "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/158090.png", "depth": 1 }, { "id": 186080, "name": "埃安", "initial": "A", "parentid": 0, "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/186080.png", "depth": 1 }, { "id": 185631, "name": "奥迪AUDI", "initial": "A", "parentid": 0, "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/185631.png", "depth": 1 } ] }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
parentid | string | 是 | 上级ID |
参数名称 | 类型 | 说明 |
---|---|---|
id | string | ID |
name | string | 名称 |
fullname | string | 全称 |
initial | string | 首字母 |
logo | string | LOGO |
salestate | string | 销售状态 |
depth | string | 层级 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $parentid = 1;//品牌ID $url = "https://api.jisuepc.com/car/type?parentid=$parentid&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $data = $jsonarr['result']; print_r($data);
// 1. 安装 axios(如果未安装) // 在终端执行: npm install axios const axios = require('axios'); // 2. 直接配置参数 const url = 'https://api.jisuepc.com/car/type'; const params = { appkey: 'your_appkey_here', // 替换成你的真实appkey parentid: 1 }; // 3. 立即发送请求 axios.get(url, { params }) .then(response => { // 检查API业务状态码 if (response.data.status !== 0) { console.error('API返回错误:', response.data.status+"-"+response.data.msg); return; } // 输出结果 for (const [key, value] of Object.entries(response.data.result)) { console.log(`ID: ${value.id}`); console.log(`名称: ${value.name}`); console.log(`首字母: ${value.initial}`); if(typeof value === 'object') { for (const [k, v] of Object.entries(value.list)) { console.log(`ID: ${v.id}`); console.log(`名称: ${v.name}`); console.log(`全称: ${v.fullname}`); console.log(`首字母: ${v.initial}`); console.log(`销售状态: ${v.salestate}`); console.log(`LOGO: ${v.logo}`); console.log(`层级: ${v.depth}`); } } console.log('----------------------------------'); } }) .catch(error => { // 统一错误处理 console.error('请求失败!'); });
{ "status": 0, "msg": "ok", "result": [ { "id": 219, "name": "一汽奥迪", "fullname": null, "initial": "A", "list": [ { "id": 220, "name": "奥迪A3", "fullname": "奥迪A3", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/220.jpg", "salestate": "在销", "depth": 3 }, { "id": 221, "name": "奥迪A4L", "fullname": "奥迪A4L", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/221.jpg", "salestate": "在销", "depth": 3 }, { "id": 222, "name": "奥迪A6L", "fullname": "奥迪A6L", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/222.jpg", "salestate": "在销", "depth": 3 } ] }, { "id": 142958, "name": "上汽奥迪", "fullname": null, "initial": "A", "list": [ { "id": 142959, "name": "奥迪A7L", "fullname": "奥迪A7L", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/142959.jpg", "salestate": "在销", "depth": 3 }, { "id": 144926, "name": "奥迪Q5 e-tron", "fullname": "奥迪Q5 e-tron", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/144926.png", "salestate": "在销", "depth": 3 }, { "id": 158099, "name": "奥迪Q6", "fullname": "奥迪Q6", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/158099.png", "salestate": "在销", "depth": 3 }, { "id": 184211, "name": "上汽奥迪A5L", "fullname": "上汽奥迪A5L", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/184211.png", "salestate": "在销", "depth": 3 }, { "id": 186558, "name": "奥迪Concept Shanghai", "fullname": null, "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/186558.jpg", "salestate": "待销", "depth": 3 } ] }, { "id": 255, "name": "Audi Sport", "fullname": null, "initial": "A", "list": [ { "id": 243, "name": "奥迪R8", "fullname": "奥迪R8", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/243.jpg", "salestate": "待销", "depth": 3 }, { "id": 256, "name": "奥迪RS 5", "fullname": "奥迪RS 5", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/256.jpg", "salestate": "在销", "depth": 3 }, { "id": 257, "name": "奥迪RS 7", "fullname": "奥迪RS 7", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/257.jpg", "salestate": "在销", "depth": 3 }, { "id": 258, "name": "奥迪RS 6", "fullname": "奥迪RS 6", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/258.jpg", "salestate": "在销", "depth": 3 }, { "id": 40006, "name": "奥迪RS 3", "fullname": "奥迪RS 3", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/40006.gif", "salestate": "待销", "depth": 3 } ] }, { "id": 40002, "name": "进口奥迪·新能源(进口)", "fullname": null, "initial": "A", "list": [ { "id": 144927, "name": "奥迪A6 e-tron(进口)", "fullname": "奥迪A6 e-tron(进口)", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/144927.png", "salestate": "未上市", "depth": 3 }, { "id": 184212, "name": "奥迪Q6 e-tron Sportback", "fullname": "奥迪Q6 e-tron Sportback", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/184212.png", "salestate": "未上市", "depth": 3 } ] }, { "id": 143350, "name": "进口Audi Sport·新能源", "fullname": null, "initial": "A", "list": [ { "id": 169996, "name": "奥迪F1概念车", "fullname": "奥迪F1概念车", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/169996.png", "salestate": "未上市", "depth": 3 }, { "id": 181822, "name": "奥迪S e-tron GT", "fullname": "奥迪S e-tron GT", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/181822.png", "salestate": "未上市", "depth": 3 } ] }, { "id": 173789, "name": "平行进口奥迪", "fullname": "平行进口奥迪", "initial": "A", "list": [ { "id": 173790, "name": "奥迪Q7欧版", "fullname": "奥迪Q7欧版", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/173790.jpg", "salestate": "在销", "depth": 3 }, { "id": 173808, "name": "奥迪Q7加版", "fullname": "奥迪Q7加版", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/173808.jpg", "salestate": "在销", "depth": 3 }, { "id": 173824, "name": "奥迪Q8加版", "fullname": "奥迪Q8加版", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/173824.jpg", "salestate": "在销", "depth": 3 }, { "id": 173829, "name": "奥迪Q8欧版", "fullname": "奥迪Q8欧版", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/173829.jpg", "salestate": "在销", "depth": 3 }, { "id": 184050, "name": "奥迪RS Q8加版", "fullname": "奥迪RS Q8加版", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/184050.jpg", "salestate": "", "depth": 3 } ] } ] }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
parentid | string | 是 | 上级ID |
sort | string | 是 | 排序 默认不排序 year按年份 yearr按年份逆序 productionstate按生产状态 productionstater按生产状态逆序 |
参数名称 | 类型 | 说明 |
---|---|---|
id | string | ID |
name | string | 名称 |
initial | string | 首字母 |
fullname | string | 全称 |
depth | string | 层级 |
logo | string | LOGO |
price | string | 价格 |
yeartype | string | 年款 |
productionstate | string | 生产状态 |
salestate | string | 销售状态 |
sizetype | string | 车辆等级 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $parentid = 220;//品牌ID $url = "https://api.jisuepc.com/car/car?parentid=$parentid&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $data = $jsonarr['result']; print_r($data);
// 1. 安装 axios(如果未安装) // 在终端执行: npm install axios const axios = require('axios'); // 2. 直接配置参数 const url = 'https://api.jisuepc.com/car/car'; const params = { appkey: 'your_appkey_here', // 替换成你的真实appkey parentid: 220 }; // 3. 立即发送请求 axios.get(url, { params }) .then(response => { // 检查API业务状态码 if (response.data.status !== 0) { console.error('API返回错误:', response.data.status+"-"+response.data.msg); return; } // 输出结果 //车系信息 console.log(`ID: ${response.data.result.id}`); console.log(`名称: ${response.data.result.name}`); console.log(`全称: ${response.data.result.fullname}`); console.log(`首字母: ${response.data.result.initial}`); console.log(`销售状态: ${response.data.result.salestate}`); console.log(`销售状态: ${response.data.result.depth}`); //车型信息 for (const [key, value] of Object.entries(response.data.result.list)) { console.log(`ID: ${value.id}`); console.log(`名称: ${value.name}`); console.log(`价格: ${value.price}`); console.log(`年款: ${value.yeartype}`); console.log(`销售状态: ${value.salestate}`); console.log(`LOGO: ${value.logo}`); console.log(`sizetype: ${value.sizetype}`); console.log('----------------------------------'); } }) .catch(error => { // 统一错误处理 console.error('请求失败!'); });
{ "status": 0, "msg": "ok", "result": { "id": 220, "name": "奥迪A3", "initial": "A", "fullname": "奥迪A3", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/220.jpg", "salestate": "在销", "depth": 3, "list": [ { "id": 2571, "name": "2016款 Sportback 35 TFSI 进取型", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/2571.jpg", "price": "18.49万", "yeartype": "2016", "listdate": "2016-04", "productionstate": "停产", "salestate": "停销", "sizetype": "紧凑型车", "displacement": "1.4T", "displacement2": "1.4", "geartype": "干式双离合变速箱(DCT)", "geartype2": 1, "groupid": "2762", "groupname": "A3 1.4T 两厢(2014.09-)" }, { "id": 2577, "name": "2015款 Sportback 35 TFSI 手动进取型", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/2577.jpg", "price": "18.49万", "yeartype": "2015", "listdate": "2015-01", "productionstate": "停产", "salestate": "停销", "sizetype": "紧凑型车", "displacement": "1.4T", "displacement2": "1.4", "geartype": "手动变速箱(MT)", "geartype2": 2, "groupid": "2762", "groupname": "A3 1.4T 两厢(2014.09-)" }, { "id": 2585, "name": "2014款 Sportback 35 TFSI 自动进取型", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/2585.JPG", "price": "19.99万", "yeartype": "2014", "listdate": "2014-03", "productionstate": "停产", "salestate": "停销", "sizetype": "紧凑型车", "displacement": "1.4T", "displacement2": "1.4", "geartype": "干式双离合变速箱(DCT)", "geartype2": 1, "groupid": "2762", "groupname": "A3 1.4T 两厢(2014.09-)" }, { "id": 2593, "name": "2016款 Sportback 40 TFSI 风尚型", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/2593.jpg", "price": "24.99万", "yeartype": "2016", "listdate": "2016-04", "productionstate": "停产", "salestate": "停销", "sizetype": "紧凑型车", "displacement": "1.8T", "displacement2": "1.8", "geartype": "湿式双离合变速箱(DCT)", "geartype2": 1, "groupid": "2761", "groupname": "A3 1.8T 两厢(2015.01-)" } ] } }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
carid | int | 是 | 车ID 对应其他API中的ID |
参数名称 | 类型 | 说明 |
---|---|---|
id | int | ID |
name | string | 名称 |
initial | string | 首字母 |
parentid | int | 上级ID |
logo | string | LOGO |
price | string | 官方指导价 |
yeartype | string | 年款 |
productionstate | string | 生产状态 |
salestate | string | 销售状态 |
sizetype | string | 尺寸类型 |
depth | int | 深度 1品牌 2子公司 3车型 4具体车型 |
basic | string | 基本信息 |
price | string | 厂家指导价 |
saleprice | string | 商家报价 |
warrantypolicy | string | 保修政策 |
vechiletax | string | 车船税减免 |
displacement | string | 排量(L) |
gearbox | string | 变速箱 |
comfuelconsumption | string | 综合工况油耗(L/100km) |
userfuelconsumption | string | 网友油耗(L/100km) |
officialaccelerationtime100 | string | 官方0-100公里加速时间(s) |
testaccelerationtime100 | string | 实测0-100公里加速时间(s) |
maxspeed | string | 最高车速(km/h) |
seatnum | string | 乘员人数(区间)(个) |
body | string | 车体 |
color | string | 车身颜色 |
len | string | 车长(mm) |
width | string | 车宽(mm) |
height | string | 车高(mm) |
wheelbase | string | 轴距(mm) |
fronttrack | string | 前轮距(mm) |
reartrack | string | 后轮距(mm) |
weight | string | 整备质量(kg) |
fullweight | string | 满载质量(kg) |
mingroundclearance | string | 最小离地间隙(mm) |
approachangle | string | 接近角(°) |
departureangle | string | 离去角(°) |
luggagevolume | string | 行李厢容积(L) |
luggagemode | string | 行李厢盖开合方式 |
luggageopenmode | string | 行李厢打开方式 |
inductionluggage | string | 感应行李厢 |
doornum | string | 车门数(个) |
tooftype | string | 车顶型式 |
hoodtype | string | 车篷型式 |
roofluggagerack | string | 车顶行李箱架 |
sportpackage | string | 运动外观套件 |
engine | string | 发动机 |
position | string | 发动机位置 |
model | string | 发动机型号 |
displacement | string | 排量(L) |
displacementml | string | 排量(mL) |
intakeform | string | 进气形式 |
cylinderarrangetype | string | 气缸排列型式 |
cylindernum | string | 气缸数(个) |
valvetrain | string | 每缸气门数(个) |
valvestructure | string | 气门结构 |
compressionratio | string | 压缩比 |
bore | string | 缸径(mm) |
stroke | string | 行程(mm) |
maxhorsepower | string | 最大马力(Ps) |
maxpower | string | 最大功率(kW) |
maxpowerspeed | string | 最大功率转速(rpm) |
maxtorque | string | 最大扭矩(Nm) |
maxtorquespeed | string | 最大扭矩转速(rpm) |
fueltype | string | 燃料类型 |
fuelgrade | string | 燃油标号 |
fuelmethod | string | 供油方式 |
fueltankcapacity | string | 燃油箱容积(L) |
cylinderheadmaterial | string | 缸盖材料 |
cylinderbodymaterial | string | 缸体材料 |
environmentalstandards | string | 环保标准 |
startstopsystem | string | 启停系统 |
gearbox | string | 变速箱 |
gearbox | string | 变速箱 |
shiftpaddles | string | 换挡拨片 |
chassisbrake | string | 底盘制动 |
bodystructure | string | 车体结构 |
powersteering | string | 转向助力 |
frontbraketype | string | 前制动类型 |
rearbraketype | string | 后制动类型 |
parkingbraketype | string | 驻车制动类型 |
drivemode | string | 驱动方式 |
airsuspension | string | 空气悬挂 |
adjustablesuspension | string | 可调悬挂 |
frontsuspensiontype | string | 前悬挂类型 |
rearsuspensiontype | string | 后悬挂类型 |
centerdifferentiallock | string | 中央差速器锁 |
safe | string | 安全配置 |
airbagdrivingposition | string | 驾驶位安全气囊 |
airbagfrontpassenger | string | 副驾驶位安全气囊 |
airbagfrontside | string | 前排侧安全气囊 |
airbagfronthead | string | 前排头部气囊(气帘) |
airbagknee | string | 膝部气囊 |
airbagrearside | string | 后排侧安全气囊 |
airbagrearhead | string | 后排头部气囊(气帘) |
safetybeltprompt | string | 安全带未系提示 |
safetybeltlimiting | string | 安全带限力功能 |
safetybeltpretightening | string | 安全带预收紧功能 |
frontsafetybeltadjustment | string | 前安全带调节 |
rearsafetybelt | string | 后排安全带 |
tirepressuremonitoring | string | 胎压监测装置 |
zeropressurecontinued | string | 零压续行(零胎压继续行驶) |
centrallocking | string | 中控门锁 |
childlock | string | 儿童锁 |
remotekey | string | 遥控钥匙 |
keylessentry | string | 无钥匙进入系统 |
keylessstart | string | 无钥匙启动系统 |
engineantitheft | string | 发动机电子防盗 |
wheel | string | 车轮 |
fronttiresize | string | 前轮胎规格 |
reartiresize | string | 后轮胎规格 |
sparetiretype | string | 备胎类型 |
hubmaterial | string | 轮毂材料 |
drivingauxiliary | string | 行车辅助 |
abs | string | 刹车防抱死(ABS) |
ebd | string | 电子制动力分配系统(EBD) |
brakeassist | string | 刹车辅助(EBA/BAS/BA/EVA等) |
tractioncontrol | string | 牵引力控制(ASR/TCS/TRC/ATC等) |
esp | string | 动态稳定控制系统(ESP) |
eps | string | 随速助力转向调节(EPS) |
automaticparking | string | 自动驻车 |
hillstartassist | string | 上坡辅助 |
hilldescent | string | 陡坡缓降 |
frontparkingradar | string | 泊车雷达(车前) |
reversingradar | string | 倒车雷达(车后) |
reverseimage | string | 倒车影像 |
panoramiccamera | string | 全景摄像头 |
cruisecontrol | string | 定速巡航 |
adaptivecruise | string | 自适应巡航 |
gps | string | GPS导航系统 |
automaticparkingintoplace | string | 自动泊车入位 |
ldws | string | 车道偏离预警系统 |
activebraking | string | 主动刹车/主动安全系统 |
integralactivesteering | string | 整体主动转向系统 |
nightvisionsystem | string | 夜视系统 |
blindspotdetection | string | 盲点检测 |
doormirror | string | 门窗/后视镜 |
openstyle | string | 开门方式 |
electricwindow | string | 电动车窗 |
uvinterceptingglass | string | 防紫外线/隔热玻璃 |
privacyglass | string | 隐私玻璃 |
antipinchwindow | string | 电动窗防夹功能 |
skylightopeningmode | string | 天窗开合方式 |
skylightstype | string | 天窗型式 |
rearwindowsunshade | string | 后窗遮阳帘 |
rearsidesunshade | string | 后排侧遮阳帘 |
rearwiper | string | 后雨刷器 |
sensingwiper | string | 感应雨刷 |
electricpulldoor | string | 电动吸合门 |
rearmirrorwithturnlamp | string | 后视镜带侧转向灯 |
externalmirrormemory | string | 外后视镜记忆功能 |
externalmirrorheating | string | 外后视镜加热功能 |
externalmirrorfolding | string | 外后视镜电动折叠功能 |
externalmirroradjustment | string | 外后视镜电动调节 |
rearviewmirrorantiglare | string | 内后视镜防眩目功能 |
sunvisormirror | string | 遮阳板化妆镜 |
light | string | 灯光 |
headlighttype | string | 前大灯类型 |
optionalheadlighttype | string | 选配前大灯类型 |
headlightautomaticopen | string | 前大灯自动开闭 |
headlightautomaticclean | string | 前大灯自动清洗功能 |
headlightdelayoff | string | 前大灯延时关闭 |
headlightdynamicsteering | string | 前大灯随动转向 |
headlightilluminationadjustment | string | 前大灯照射范围调整 |
headlightdimming | string | 会车前灯防眩目功能 |
frontfoglight | string | 前雾灯 |
readinglight | string | 阅读灯 |
interiorairlight | string | 车内氛围灯 |
daytimerunninglight | string | 日间行车灯 |
ledtaillight | string | LED尾灯 |
lightsteeringassist | string | 转向辅助灯 |
internalconfig | string | 内部配置 |
steeringwheelbeforeadjustment | string | 方向盘前后调节 |
steeringwheelupadjustment | string | 方向盘上下调节 |
steeringwheeladjustmentmode | string | 方向盘调节方式 |
steeringwheelmemory | string | 方向盘记忆设置 |
steeringwheelmaterial | string | 方向盘表面材料 |
steeringwheelmultifunction | string | 多功能方向盘 |
steeringwheelheating | string | 方向盘加热 |
computerscreen | string | 行车电脑显示屏 |
huddisplay | string | HUD抬头数字显示 |
interiorcolor | string | 内饰颜色 |
rearcupholder | string | 后排杯架 |
supplyvoltage | string | 车内电源电压 |
seat | string | 座椅 |
sportseat | string | 运动座椅 |
seatmaterial | string | 座椅材料 |
seatheightadjustment | string | 座椅高低调节 |
driverseatadjustmentmode | string | 驾驶座座椅调节方式 |
auxiliaryseatadjustmentmode | string | 副驾驶座椅调节方式 |
driverseatlumbarsupportadjustment | string | 驾驶座腰部支撑调节 |
driverseatshouldersupportadjustment | string | 驾驶座肩部支撑调节 |
frontseatheadrestadjustment | string | 前座椅头枕调节 |
rearseatadjustmentmode | string | 后排座椅调节方式 |
rearseatreclineproportion | string | 后排座位放倒比例 |
rearseatangleadjustment | string | 后排座椅角度调节 |
frontseatcenterarmrest | string | 前座中央扶手 |
rearseatcenterarmrest | string | 后座中央扶手 |
seatventilation | string | 座椅通风 |
seatheating | string | 座椅加热 |
seatmassage | string | 座椅按摩功能 |
electricseatmemory | string | 电动座椅记忆 |
childseatfixdevice | string | 儿童安全座椅固定装置 |
thirdrowseat | string | 第三排座椅 |
entcom | string | 娱乐通讯 |
locationservice | string | 定位互动服务 |
bluetooth | string | 蓝牙系统 |
externalaudiointerface | string | 外接音源接口 |
builtinharddisk | string | 内置硬盘 |
cartv | string | 车载电视 |
speakernum | string | 扬声器数量 |
audiobrand | string | 音响品牌 |
dvd | string | DVD |
cd | string | CD |
consolelcdscreen | string | 中控台液晶屏 |
rearlcdscreen | string | 后排液晶屏 |
aircondrefrigerator | string | 空调/冰箱 |
airconditioningcontrolmode | string | 空调控制方式 |
tempzonecontrol | string | 温度分区控制 |
rearairconditioning | string | 后排独立空调 |
reardischargeoutlet | string | 后排出风口 |
airconditioning | string | 空气调节/花粉过滤 |
airpurifyingdevice | string | 车内空气净化装置 |
carrefrigerator | string | 车载冰箱 |
actualtest | string | 实际测试 |
accelerationtime100 | string | 加速时间(0—100km/h)(s) |
brakingdistance | string | 制动距离(100—0km/h)(m) |
listdate | string | 上市年月 |
gearnum | string | 档位数 |
geartype | string | 变速箱类型 |
frontairconditioning | string | 前排空调 |
fragrance | string | 香氛系统 |
mixfuelconsumption | string | 混合工况油耗[L/100km] |
totalweight | string | 总质量(kg) |
ratedloadweight | string | 额定载质量(kg) |
loadweightfactor | string | 载质量利用系数 |
rampangle | string | 通过角[°] |
maxwadingdepth | string | 最大涉水深度[mm] |
minturndiameter | string | 最小转弯直径[m] |
electricluggage | string | 电动行李厢 |
bodytype | string | 车身型式 |
chassisid | string | 底盘ID |
chassis | string | 底盘型号 |
chassiscompany | string | 底盘生产企业 |
chassistype | string | 底盘类别 |
axlenum | string | 轴数 |
axleload | string | 轴荷 |
leafspringnum | string | 钢板弹簧片数(前/后) |
frontsuspension | string | 前悬(mm) |
rearsuspension | string | 后悬 |
autoheadlight | string | 自动大灯 |
headlightfeature | string | 大灯功能 |
rearviewmirrormedia | string | 流媒体内后视镜 |
externalmirrormedia | string | 流媒体外后视镜 |
externalmirrorantiglare | string | 外后视镜自动防眩目 |
frontwiper | string | 前雨刷器 |
electricsuctiondoor | string | 电吸门 |
electricslidingdoor | string | 电动侧滑门 |
roofrack | string | 车顶行李架 |
rearwing | string | 尾翼/扰流板 |
frontelectricwindow | string | 前电动车窗 |
rearelectricwindow | string | 后电动车窗 |
lanekeep | string | 车道保持 |
parallelaid | string | 并线辅助 |
fatiguereminder | string | 疲劳提醒 |
remoteparking | string | 遥控泊车 |
autodriveassist | string | 自动驾驶辅助 |
variablesteering | string | 可变齿比转向 |
drivemodechoose | string | 驾驶模式选择 |
motorpower | string | 电动机总功率[kW] |
motortorque | string | 电动机总扭矩[N.m] |
integratedpower | string | 系统综合功率[kW] |
integratedtorque | string | 系统综合扭矩[N.m] |
frontmaxpower | string | 前电动机最大功率[kW] |
frontmaxtorque | string | 前电动机最大扭矩[N.m] |
rearmaxpower | string | 后电动机最大功率[kW] |
rearmaxtorque | string | 后电动机最大扭矩[N.m] |
batterycapacity | string | 电池容量[kwh] |
powerconsumption | string | 耗电量[kwh/100km] |
maxmileage | string | 最大续航里程[km] |
batterywarranty | string | 电池组质保 |
batteryfastchargetime | string | 电池快充充电时间 |
batteryslowchargetime | string | 电池慢充充电时间 |
nedcmaxmileage | string | NEDC最大续航里程[km] |
lcdscreensize | string | 液晶屏尺寸 |
fulllcddashboard | string | 全液晶仪表盘 |
roadrescue | string | 紧急道路救援 |
4g | string | 4G网络 |
carapp | string | 车载APP应用 |
voicecontrol | string | 语音控制 |
phoneconnect | string | 手机互联(Carplay&Android) |
wirelesscharge | string | 手机无线充电 |
gesturecontrol | string | 手势控制系统 |
drivingrecorder | string | 车载行车记录仪 |
interiormaterial | string | 内饰材质 |
steeringwheelshift | string | 方向盘换挡 |
activenoisereduction | string | 主动降噪 |
leddaytimerunninglight | string | LED日间行车灯 |
sideaircurtain | string | 侧安全气帘 |
seatbeltairbag | string | 安全带气囊 |
rearcentralairbag | string | 后排中央气囊 |
remotecontrol | string | 远程遥控功能 |
smartkey | string | 智能钥匙 |
driverseatelectricadjustment | string | 主座椅电动调节 |
auxiliaryseatelectricadjustment | string | 副座椅电动调节 |
secondrowseatelectricadjustment | string | 第二排座椅电动调节 |
frontseatfunction | string | 前排座椅功能 |
rearseatfunction | string | 后排座椅功能 |
secondrowseatadjustment | string | 第二排座椅调节方式 |
tirenum | string | 轮胎个数 |
parentname | string | 上级名称 |
brandname | string | 品牌 |
displacement2 | string | 排量 数字 |
gearnum | string | 档位数 数字 |
geartype2 | string | 变速箱类型 1自动 2手动 |
environmentalstandards2 | string | 排放标准 数字 |
compartnum | string | 车厢数 数字 |
drivemode2 | string | 驱动轮数 |
gearboxmodel | string | 变速箱型号 |
batterybrand | string | 电芯品牌 |
batterytype | string | 电池类型 |
motormaxhorsepower | string | 电动机总马力[Ps] |
motortype | string | 电机类型 |
motorlayout | string | 电机布局 |
motornum | string | 驱动电机数 |
groupname | string | 组名 |
groupid | string | 组ID |
lowchargefuelconsumption | string | 最低荷电状态油耗[L/100km] |
electricfuelconsumption | string | 电能当量燃料消耗量[L/100km] |
nedcfuelconsumption | string | NEDC综合油耗[L/100km] |
firstownerwarrantypolicy | string | 首任车主质保政策 |
rooftype | string | 车顶型式 |
fronttrunkvolume | string | 前备厢容积[L] |
dragcoefficient | string | 风阻系数[Cd] |
trunkpositionmemory | string | 电动后备厢位置记忆 |
electricmotor | string | 电动机 |
frontmodel | string | 前电动机型号 |
rearmodel | string | 后电动机型号 |
frontbrand | string | 前电动机品牌 |
rearbrand | string | 后电动机品牌 |
wltcmaxmileage | string | WLTC纯电续航里程[km] |
wltccomprehensivemileage | string | WLTC综合续航[km] |
cltccomprehensivemileage | string | CLTC综合续航[km] |
slowchargingpercent | string | 慢充电量[%] |
fastchargingpower | string | 快充功率[kW] |
batteryenergydensity | string | 电池能量密度[Wh/kg] |
threeelectricwarranty | string | 三电系统质保 |
highvoltagefastcharging | string | 高压快充 |
chargingpileprice | string | 充电桩价格[元] |
slowchargingportlocation | string | 慢充接口位置 |
fastchargingportlocation | string | 快充接口位置 |
externalacdischargepower | string | 对外交流放电功率[kW] |
fourwheeldrive | string | 四驱形式 |
centraldifferential | string | 中央差速器结构 |
gearshifting | string | 换挡形式 |
chassissteer | string | 底盘转向 |
wheelbrake | string | 车轮制动 |
sparetireplacement | string | 备胎放置方式 |
activesafety | string | 主动安全 |
dooropeningwarning | string | DOW开门预警 |
forwardcollisionwarning | string | 前方碰撞预警 |
rearcollisionwarning | string | 后方碰撞预警 |
sentrymode | string | 哨兵模式/千里眼 |
lowspeedwarning | string | 低速行车警告 |
passivesafety | string | 被动安全 |
airbagfrontcenter | string | 前排中间气囊 |
passivepedestrianprotection | string | 被动行人保护 |
4wdoffroad | string | 四驱/越野 |
differentiallocktype | string | 限滑差速器/差速锁 |
lowspeedfourwheeldrive | string | 低速四驱 |
creepmode | string | 蠕行模式 |
tankturn | string | 坦克转弯 |
towhook | string | 拖挂钩 |
trailerpowerport | string | 拖车取电口 |
drivingcontrol | string | 驾驶操控 |
variablesteeringratio | string | 可变转向比 |
towingmode | string | 拖挂模式 |
energyrecovery | string | 能量回收系统 |
drivinghardware | string | 驾驶硬件 |
frontperceptioncamera | string | 前方感知摄像头 |
camerasnum | string | 摄像头数量 |
camerasnumincar | string | 车内摄像头数量 |
ultrasonicradarsnum | string | 超声波雷达数量 |
millimeterwaveradarnum | string | 毫米波雷达数量 |
maxdetectiondistanceahead | string | 前方最大探测距离 |
transparentchassis | string | 透明底盘/540度影像 |
assisteddrivingchip | string | 辅助驾驶芯片 |
totalchipcomputingpower | string | 芯片总算力 |
frontperceptioncamerapixel | string | 前方感知摄像头像素 |
environmentalawarenesscamerapixel | string | 环境感知摄像头像素 |
surroundviewcamerapixel | string | 环视摄像头像素 |
lidarbrand | string | 激光雷达品牌 |
lidarmodel | string | 激光雷达型号 |
lidarnum | string | 激光雷达数量 |
lidarlinenum | string | 激光雷达线数 |
lidardetectiondistance | string | 激光雷达10%反射率探测距离 |
lidarpointcloudnum | string | 激光雷达点云数量 |
drivingfunction | string | 驾驶功能 |
driverassistancesystem | string | 辅助驾驶系统 |
driverassistancelevel | string | 辅助驾驶等级 |
reversesidewarning | string | 倒车车侧预警系统 |
satellitenavigationsystem | string | 卫星导航系统 |
navigationtrafficinfo | string | 导航路况信息显示 |
mapbrand | string | 地图品牌 |
lanecentering | string | 车道居中保持 |
roadtrafficsignrecog | string | 道路交通标识识别 |
memoryparking | string | 记忆泊车 |
trackingreverse | string | 循迹倒车 |
autolanechangeassist | string | 自动变道辅助 |
autorampentryexit | string | 匝道自动驶出/入 |
trafficlightrecog | string | 信号灯识别 |
remotesummon | string | 远程召唤 |
handsoffdetection | string | 方向盘离手检测 |
startreminder | string | 起步提醒 |
autodrivingsection | string | 自动驾驶辅助路段 |
highprecisionmap | string | 高精地图 |
appearanceantitheft | string | 外观/防盗 |
framelessdoor | string | 无框设计车门 |
trunkpositionmemory | string | 电动后备厢位置记忆 |
activeclosedgrille | string | 主动闭合式进气格栅 |
batterypreheating | string | 电池预加热 |
appearancekit | string | 外观套件 |
sidepedal | string | 车侧脚踏板 |
hiddendoorhandle | string | 隐藏电动门把手 |
exteriorlight | string | 车外灯光 |
lowbeamtype | string | 近光灯光源 |
lightingfeature | string | 灯光特色功能 |
adaptivehighandlowbeam | string | 自适应远近光 |
adjustableheadlight | string | 大灯高度可调 |
headlightrainfogmode | string | 前大灯雨雾模式 |
headlightcleaning | string | 大灯清洗装置 |
turnheadlight | string | 转向头灯 |
scenelightlanguage | string | 场景灯语 |
sunroofglass | string | 天窗/玻璃 |
onetouchwindowlifting | string | 车窗一键升降功能 |
sidewindowsoundproofglass | string | 侧窗多层隔音玻璃 |
heatedwaternozzle | string | 可加热喷水嘴 |
externalrearmirror | string | 外后视镜 |
electricfolding | string | 电动折叠 |
rearviewmirrormemory | string | 后视镜记忆 |
heatedrearviewmirror | string | 后视镜加热 |
reversingtiltdown | string | 倒车自动下翻 |
foldinglockingcar | string | 锁车自动折叠 |
screensystem | string | 屏幕/系统 |
consolelcdscreenresolution | string | 中控屏幕分辨率 |
consolelcdscreenpixeldensity | string | 中控屏幕像素密度 |
assistantwakeupword | string | 语音助手唤醒词 |
wakeupwordfree | string | 语音免唤醒词 |
wakeupregion | string | 语音分区域唤醒识别 |
continuousspeech | string | 语音连续识别 |
seeandsay | string | 可见即可说 |
voiceprintrecognition | string | 声纹识别 |
intelligentsystem | string | 车载智能系统 |
carintelligentchip | string | 车机智能芯片 |
rearlcdscreensize | string | 后排液晶屏幕尺寸 |
rearscreensnum | string | 后排多媒体屏幕数量 |
rearmultimediacontrol | string | 后排控制多媒体 |
undercenterscreensize | string | 中控下屏幕尺寸 |
carsystemmemory | string | 车机系统内存[GB] |
carsystemstorage | string | 车机系统存储[GB] |
multifingerscreen | string | 多指飞屏操控 |
entertainmentscreensize | string | 副驾娱乐屏尺寸 |
passengerscreentype | string | 副驾屏幕类型 |
facialrecognition | string | 面部识别 |
privacyshield | string | 隐私声盾 |
intelligentconfig | string | 智能化配置 |
internetofvehicle | string | 车联网 |
wifi | string | Wi-Fi热点 |
appremote | string | 手机APP远程功能 |
simulatesoundwave | string | 模拟声浪 |
ktv | string | 车载KTV |
activenoisecancellation | string | 主动降噪 |
incarcharge | string | 车内充电 |
chargingport | string | 多媒体/充电接口 |
usbnum | string | USB/Type-C接口数量 |
usbmaxchargingpower | string | USB/Type-C最大充电功率 |
phonewirelesschargingpower | string | 手机无线充电功率 |
luggagepowersocket | string | 行李厢12V电源接口 |
powersupply | string | 220V/230V电源 |
seatadjustablebutton | string | 副驾驶位后排可调节按钮 |
secondrowseatfunctions | string | 第二排座椅功能 |
seatrecliningmethod | string | 座椅放倒方式 |
soundinteriorlight | string | 音响/车内灯光 |
dolbyatmos | string | 杜比全景声 |
activeinteriorairlight | string | 主动式环境氛围灯 |
heatpumpairconditioner | string | 热泵空调 |
featuredconfig | string | 特色配置 |
configname | string | 配置选项 |
configcontent | string | 配置内容 |
optionalpackage | string | 选装包 |
packagename | string | 选装项目 |
packagecontent | string | 选装内容 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $carid = 2571;//车ID $url = "https://api.jisuepc.com/car/detail?carid=$carid&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $data = $jsonarr['result']; print_r($data);
#!/usr/bin/python # encoding:utf-8 import urllib2, json, urllib # 3、根据ID获取车型详情 data = {} data["appkey"] = "your_appkey_here" data["carid"] = 2571 #品牌ID url_values = urllib.urlencode(data) url = "https://api.jisuepc.com/car/detail" + "?" + url_values request = urllib2.Request(url) result = urllib2.urlopen(request) jsonarr = json.loads(result.read()) if jsonarr["status"] != u"0": print jsonarr["msg"] exit() result = jsonarr["result"] print result["id"],result["name"],result["initial"],result["parentid"],result["price"],result["yeartype"],result["productionstate"],result["salestate"],result["sizetype"],result["depth"] if result.has_key("logo"): print result["logo"] print "基本信息:" basic = result["basic"] print basic["price"],basic["saleprice"],basic["warrantypolicy"],basic["vechiletax"],basic["displacement"],basic["gearbox"],basic["comfuelconsumption"],basic["userfuelconsumption"],basic["officialaccelerationtime100"],basic["testaccelerationtime100"],basic["maxspeed"],basic["seatnum"] print "车体:" body = result["body"] print body["color"],body["len"],body["width"],body["height"],body["wheelbase"],body["fronttrack"],body["reartrack"],body["weight"],body["fullweight"],body["mingroundclearance"],body["approachangle"],body["departureangle"],body["luggagevolume"],body["luggagemode"],body["luggageopenmode"],body["inductionluggage"],body["doornum"],body["tooftype"],body["hoodtype"],body["roofluggagerack"],body["sportpackage"] print "发动机:" engine = result["engine"] print engine["position"],engine["model"],engine["displacement"],engine["displacementml"],engine["intakeform"],engine["cylinderarrangetype"],engine["cylindernum"],engine["valvetrain"],engine["valvestructure"],engine["compressionratio"],engine["bore"],engine["stroke"],engine["maxhorsepower"],engine["maxpower"],engine["maxpowerspeed"],engine["maxtorque"],engine["maxtorquespeed"],engine["fueltype"],engine["fuelgrade"],engine["fuelmethod"],engine["fueltankcapacity"],engine["cylinderheadmaterial"],engine["cylinderbodymaterial"],engine["environmentalstandards"],engine["startstopsystem"] print "变速箱:" gearbox = result["gearbox"] print gearbox["gearbox"],gearbox["shiftpaddles"] print "底盘制动:" chassisbrake = result["chassisbrake"] print chassisbrake["bodystructure"],chassisbrake["powersteering"],chassisbrake["frontbraketype"],chassisbrake["rearbraketype"],chassisbrake["parkingbraketype"],chassisbrake["drivemode"],chassisbrake["airsuspension"],chassisbrake["adjustablesuspension"],chassisbrake["frontsuspensiontype"],chassisbrake["rearsuspensiontype"],chassisbrake["centerdifferentiallock"] print "安全配置:" safe = result["safe"] print safe["airbagdrivingposition"],safe["airbagfrontpassenger"],safe["airbagfrontside"],safe["airbagfronthead"],safe["airbagknee"],safe["airbagrearside"],safe["airbagrearhead"],safe["safetybeltprompt"],safe["safetybeltlimiting"],safe["safetybeltpretightening"],safe["frontsafetybeltadjustment"],safe["rearsafetybelt"],safe["tirepressuremonitoring"],safe["zeropressurecontinued"],safe["centrallocking"],safe["childlock"],safe["remotekey"],safe["keylessentry"],safe["keylessstart"],safe["engineantitheft"] print "车轮:" wheel = result["wheel"] if wheel.has_key("wheel"): print wheel["wheel"] print wheel["fronttiresize"],wheel["reartiresize"],wheel["sparetiretype"],wheel["hubmaterial"] print "行车辅助:" drivingauxiliary = result["drivingauxiliary"] print drivingauxiliary["abs"],drivingauxiliary["ebd"],drivingauxiliary["brakeassist"],drivingauxiliary["tractioncontrol"],drivingauxiliary["esp"],drivingauxiliary["eps"],drivingauxiliary["automaticparking"],drivingauxiliary["hillstartassist"],drivingauxiliary["hilldescent"],drivingauxiliary["frontparkingradar"],drivingauxiliary["reversingradar"],drivingauxiliary["reverseimage"],drivingauxiliary["panoramiccamera"],drivingauxiliary["cruisecontrol"],drivingauxiliary["adaptivecruise"],drivingauxiliary["gps"],drivingauxiliary["automaticparkingintoplace"],drivingauxiliary["ldws"],drivingauxiliary["activebraking"],drivingauxiliary["integralactivesteering"],drivingauxiliary["nightvisionsystem"],drivingauxiliary["blindspotdetection"] print "门窗后视镜:" doormirror = result["doormirror"] print doormirror["openstyle"],doormirror["electricwindow"],doormirror["uvinterceptingglass"],doormirror["privacyglass"],doormirror["antipinchwindow"],doormirror["skylightopeningmode"],doormirror["skylightstype"],doormirror["rearwindowsunshade"],doormirror["rearsidesunshade"],doormirror["rearwiper"],doormirror["sensingwiper"],doormirror["electricpulldoor"],doormirror["rearmirrorwithturnlamp"],doormirror["externalmirrormemory"],doormirror["externalmirrorheating"],doormirror["externalmirrorfolding"],doormirror["externalmirroradjustment"],doormirror["rearviewmirrorantiglare"],doormirror["sunvisormirror"] print "灯光:" light = result["light"] if light.has_key("light"): print light["light"] print light["headlighttype"],light["optionalheadlighttype"],light["headlightautomaticopen"],light["headlightautomaticclean"],light["headlightdelayoff"],light["headlightdynamicsteering"],light["headlightilluminationadjustment"],light["headlightdimming"],light["frontfoglight"],light["readinglight"],light["interiorairlight"],light["daytimerunninglight"],light["ledtaillight"],light["lightsteeringassist"] print "内部配置:" internalconfig = result["internalconfig"] print internalconfig["steeringwheelbeforeadjustment"],internalconfig["steeringwheelupadjustment"],internalconfig["steeringwheeladjustmentmode"],internalconfig["steeringwheelmemory"],internalconfig["steeringwheelmaterial"],internalconfig["steeringwheelmultifunction"],internalconfig["steeringwheelheating"],internalconfig["computerscreen"],internalconfig["huddisplay"],internalconfig["interiorcolor"],internalconfig["rearcupholder"],internalconfig["supplyvoltage"] print "座椅:" seat = result["seat"] print seat["sportseat"],seat["seatmaterial"],seat["seatheightadjustment"],seat["driverseatadjustmentmode"],seat["auxiliaryseatadjustmentmode"],seat["driverseatlumbarsupportadjustment"],seat["driverseatshouldersupportadjustment"],seat["frontseatheadrestadjustment"],seat["rearseatadjustmentmode"],seat["rearseatreclineproportion"],seat["rearseatangleadjustment"],seat["frontseatcenterarmrest"],seat["rearseatcenterarmrest"],seat["seatventilation"],seat["seatheating"],seat["seatmassage"],seat["electricseatmemory"],seat["childseatfixdevice"],seat["thirdrowseat"] print "娱乐通讯:" entcom = result["entcom"] print entcom["locationservice"],entcom["bluetooth"],entcom["externalaudiointerface"],entcom["builtinharddisk"],entcom["cartv"],entcom["speakernum"],entcom["audiobrand"],entcom["dvd"],entcom["cd"],entcom["consolelcdscreen"],entcom["rearlcdscreen"] print "空调冰箱:" aircondrefrigerator = result["aircondrefrigerator"] print aircondrefrigerator["airconditioningcontrolmode"],aircondrefrigerator["tempzonecontrol"],aircondrefrigerator["rearairconditioning"],aircondrefrigerator["reardischargeoutlet"],aircondrefrigerator["airconditioning"],aircondrefrigerator["airpurifyingdevice"],aircondrefrigerator["carrefrigerator"] print "实际测试:" actualtest = result["actualtest"] print actualtest["accelerationtime100"],actualtest["brakingdistance"]
// 1. 安装 axios(如果未安装) // 在终端执行: npm install axios const axios = require('axios'); // 2. 直接配置参数 const url = 'https://api.jisuepc.com/car/detail'; const params = { appkey: 'your_appkey_here', // 替换成你的真实appkey carid: 2571 }; // 3. 立即发送请求 axios.get(url, { params }) .then(response => { // 检查API业务状态码 if (response.data.status !== 0) { console.error('API返回错误:', response.data.status+"-"+response.data.msg); return; } // 输出结果 for (const [key, value] of Object.entries(response.data.result)) { console.log(`${key.padEnd(8)}:`, value); } }) .catch(error => { // 统一错误处理 console.error('请求失败!'); });
{ "status": 0, "msg": "ok", "result": { "id": 2571, "name": "2016款 Sportback 35 TFSI 进取型", "parentname": "奥迪A3", "brandname": "奥迪", "initial": "A", "parentid": 220, "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/2571.jpg", "price": "18.49万", "yeartype": "2016", "listdate": "2016-04", "productionstate": "停产", "salestate": "停销", "sizetype": "紧凑型车", "depth": 4, "displacement": "1.4T", "displacement2": "1.4", "gearnum": "7", "geartype": "干式双离合变速箱(DCT)", "geartype2": 1, "seatnum": "5", "drivemode": "前置前驱", "drivemode2": 2, "environmentalstandards": "国IV(国V)", "environmentalstandards2": "5", "compartnum": 2, "groupid": "2762", "groupname": "A3 1.4T 两厢(2014.09-)", "basic": { "price": "18.49万", "saleprice": "暂无报价", "warrantypolicy": "● 三年或10万公里", "vechiletax": "", "displacement": "1.4T", "gearbox": "7挡干式双离合", "gearnum": "7", "geartype": "干式双离合变速箱(DCT)", "comfuelconsumption": "5.5", "userfuelconsumption": "-", "officialaccelerationtime100": "8.4", "testaccelerationtime100": "-", "maxspeed": "213", "seatnum": "5", "mixfuelconsumption": "5.5", "lowchargefuelconsumption": null, "electricfuelconsumption": null, "nedcfuelconsumption": "5.5", "firstownerwarrantypolicy": null }, "body": { "color": "#C7C8CA,水晶银|#F6F6F6,冰川白|#D37201,萨摩亚橙|#374A4A,季风灰|#D91624,米萨诺红|#482807,白鲸棕|#59222B,希纳兹红|#000000,深黑|#FFFFFF,阿玛菲白|#3F6383,海南蓝|#462807,钛金米|#5D6159,莲花灰", "len": "4319", "width": "1785", "height": "1426", "wheelbase": "2629", "fronttrack": "1539", "reartrack": "1509", "weight": "1340", "fullweight": "", "mingroundclearance": "-", "approachangle": "", "departureangle": "", "luggagevolume": "380-1220", "luggagemode": "", "luggageopenmode": "无", "inductionluggage": "", "doornum": "5", "rooftype": "", "hoodtype": "", "roofluggagerack": "-", "sportpackage": "-", "totalweight": null, "ratedloadweight": null, "loadweightfactor": null, "rampangle": null, "maxwadingdepth": null, "minturndiameter": null, "electricluggage": "无", "bodytype": "两厢车", "fronttrunkvolume": null, "dragcoefficient": null, "trunkpositionmemory": null }, "engine": { "position": "", "model": "", "enginemodel": "EA211", "modelqixiubao": "CSS", "displacement": "1.4T", "displacementml": "1395", "intakeform": "涡轮增压", "cylinderarrangetype": "L", "cylindernum": "4", "valvetrain": "4", "valvestructure": "DOHC", "compressionratio": "-", "bore": "-", "stroke": "-", "maxhorsepower": "150", "maxpower": "110", "maxpowerspeed": "5000-6000", "maxtorque": "250", "maxtorquespeed": "1750-3000", "fueltype": "汽油", "fuelgrade": "95号", "fuelmethod": "直喷", "fueltankcapacity": "50", "cylinderheadmaterial": "铝合金", "cylinderbodymaterial": "铝合金", "environmentalstandards": "国IV(国V)", "startstopsystem": "●" } } }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
keyword | string | 是 | 关键词 |
参数名称 | 类型 | 说明 |
---|---|---|
keyword | string | 关键词 |
id | string | ID |
name | string | 名称 |
logo | string | LOGO |
price | string | 价格 |
yeartype | string | 年款 |
productionstate | string | 生产状态 |
salestate | string | 销售状态 |
sizetype | string | 车辆等级 |
<?php require_once 'curl.func.php'; $appkey = 'your_appkey_here';//你的appkey $keyword = '奔驰E级2017款E200运动版';//车ID $url = "https://api.jisuepc.com/car/search?keyword=$keyword&appkey=$appkey"; $result = curlOpen($url, ['ssl'=>true]); $jsonarr = json_decode($result, true); //exit(var_dump($jsonarr)); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); } $data = $jsonarr['result']; print_r($data);
// 1. 安装 axios(如果未安装) // 在终端执行: npm install axios const axios = require('axios'); // 2. 直接配置参数 const url = 'https://api.jisuepc.com/car/search'; const params = { appkey: 'your_appkey_here', // 替换成你的真实appkey keyword: '奔驰E级2017款E200运动版' }; // 3. 立即发送请求 axios.get(url, { params }) .then(response => { // 检查API业务状态码 if (response.data.status !== 0) { console.error('API返回错误:', response.data.status+"-"+response.data.msg); return; } // 输出结果 console.log('关键词:', params.keyword); // 搜索结果 for (const [key, value] of Object.entries(response.data.result.list)) { for (const [k, v] of Object.entries(value)) { console.log(`${k}: ${v}`); } } }) .catch(error => { // 统一错误处理 console.error('请求失败!'); });
{ "status": 0, "msg": "ok", "result": { "total": 10, "keyword": "奔驰E级2017款E200运动版", "list": [ { "id": 4841, "name": "奔驰 奔驰E级(进口) 1999款 E200", "brandname": "奔驰", "parentname": "奔驰E级(进口)", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/4841.jpg", "price": "45.00万", "yeartype": "1999", "listdate": "1999-01-01", "productionstate": "停产", "salestate": "停销", "sizetype": "中大型车" }, { "id": 4839, "name": "奔驰 奔驰E级(进口) 2002款 E200", "brandname": "奔驰", "parentname": "奔驰E级(进口)", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/4839.jpg", "price": "45.00万", "yeartype": "2002", "listdate": "", "productionstate": "停产", "salestate": "停销", "sizetype": "中大型车" }, { "id": 34420, "name": "奔驰E级 2017款 E 200 运动型", "brandname": "奔驰", "parentname": "奔驰E级", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/34420.jpg", "price": "42.28万", "yeartype": "2017", "listdate": "2016-11", "productionstate": "停产", "salestate": "停销", "sizetype": "中大型车" }, { "id": 34428, "name": "奔驰E级 2017款 E 300 运动型", "brandname": "奔驰", "parentname": "奔驰E级", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/34428.jpg", "price": "48.58万", "yeartype": "2017", "listdate": "2016-11", "productionstate": "停产", "salestate": "停销", "sizetype": "中大型车" }, { "id": 34422, "name": "奔驰E级 2017款 E 200 运动型 4MATIC", "brandname": "奔驰", "parentname": "奔驰E级", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/34422.jpg", "price": "44.78万", "yeartype": "2017", "listdate": "2016-11", "productionstate": "停产", "salestate": "停销", "sizetype": "中大型车" }, { "id": 187090, "name": "奔驰E级 2017款 改款 E 300 运动型", "brandname": "奔驰", "parentname": "奔驰E级", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/187090.jpg", "price": "48.58万", "yeartype": "2017", "listdate": "2017-03", "productionstate": null, "salestate": "停销", "sizetype": "中大型车" }, { "id": 34424, "name": "奔驰E级 2017款 E 200 L 运动型 4MATIC", "brandname": "奔驰", "parentname": "奔驰E级", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/34424.jpg", "price": "45.98万", "yeartype": "2017", "listdate": "2016-11", "productionstate": "停产", "salestate": "停销", "sizetype": "中大型车" }, { "id": 34433, "name": "奔驰E级 2017款 E 320 L 运动型 4MATIC", "brandname": "奔驰", "parentname": "奔驰E级", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/34433.JPG", "price": "62.98万", "yeartype": "2017", "listdate": "2016-11", "productionstate": "停产", "salestate": "停销", "sizetype": "中大型车" }, { "id": 187089, "name": "奔驰E级 2017款 改款 E 200 运动型 4MATIC", "brandname": "奔驰", "parentname": "奔驰E级", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/187089.jpg", "price": "44.78万", "yeartype": "2017", "listdate": "2017-03", "productionstate": null, "salestate": "停销", "sizetype": "中大型车" }, { "id": 42311, "name": "奔驰E级 2017款 E 300 L 运动豪华型", "brandname": "奔驰", "parentname": "奔驰E级", "logo": "http://pic1.jisuapi.cn/car/static/images/logo/300/42311.jpg", "price": "49.98万", "yeartype": "2017", "listdate": "2017-03", "productionstate": "停产", "salestate": "停销", "sizetype": "中大型车" } ] } }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
pricetype | string | 否 | 默认为空,返回5-50万的所有热门车型。指定价格pricetype,1:5-8万;2:8-15万;3:15-20万;4:20-30万;5:30-50万。 |
参数名称 | 类型 | 说明 |
---|---|---|
sizetype | string | 车辆类型 |
name | string | 车系名称 |
carid | string | 车系ID |
// 1. 安装 axios(如果未安装) // 在终端执行: npm install axios const axios = require('axios'); // 2. 直接配置参数 const url = 'https://api.jisuepc.com/car/hot'; const params = { appkey: 'your_appkey_here', // 替换成你的真实appkey pricetype: 2 }; // 3. 立即发送请求 axios.get(url, { params }) .then(response => { // 检查API业务状态码 if (response.data.status !== 0) { console.error('API返回错误:', response.data.status+"-"+response.data.msg); return; } // 输出结果 for (const [key, value] of Object.entries(response.data.result)) { for (const [k, v] of Object.entries(value)) { if(typeof v !== 'object') console.log(v); else { for (const [kk, vv] of Object.entries(v)) { console.log(`${vv.name}: ${vv.carid}`); } } } } }) .catch(error => { // 统一错误处理 console.error('请求失败!'); });
{ "status": 0, "msg": "ok", "result": [ { "sizetype": "轿车", "list": [ { "name": "朗逸", "carid": 723 }, { "name": "星愿", "carid": 181855 }, { "name": "秦PLUS", "carid": 140712 }, { "name": "海鸥", "carid": 161964 } ] }, { "sizetype": "SUV", "list": [ { "name": "悦意03", "carid": 185041 }, { "name": "缤越", "carid": 45420 }, { "name": "瑞虎5x", "carid": 40116 }, { "name": "瑞虎7", "carid": 1953 } ] }, { "sizetype": "新能源", "list": [ { "name": "星愿", "carid": 181855 }, { "name": "秦PLUS", "carid": 140712 }, { "name": "海鸥", "carid": 161964 }, { "name": "宏光MINIEV", "carid": 129734 } ] } ] }
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
ranktype | string | 是 | 排名类型,1:车型;2:品牌 |
month | string | 否 | 年月,严格按照"xxxx-xx"的格式查询,否则返回没有信息 |
week | string | 否 | 周,必须锁定所查周的周一,严格按照"xxxx-xx-xx"的格式查询,否则返回没有信息 |
参数名称 | 类型 | 说明 |
---|---|---|
date | string | 月份 |
week | string | 周 |
ranktype | string | 排名类型(数字) |
carid | string | 车型ID |
type | string | 查询类型 |
cartype | string | 排名类型 |
num | string | 销售数量 |
price | string | 价格 |
score | string | 评分 |
// 1. 安装 axios(如果未安装) // 在终端执行: npm install axios const axios = require('axios'); // 2. 直接配置参数 const url = 'https://api.jisuepc.com/car/rank'; const params = { appkey: 'your_appkey_here', // 替换成你的真实appkey ranktype: 1, month: '2025-01', week: '' }; // 3. 立即发送请求 axios.get(url, { params }) .then(response => { // 检查API业务状态码 if (response.data.status !== 0) { console.error('API返回错误:', response.data.status+"-"+response.data.msg); return; } // 输出结果 for (const [key, value] of Object.entries(response.data.result.list)) { for (const [k, v] of Object.entries(value)) { console.log(`${k}: ${v}`); } } }) .catch(error => { // 统一错误处理 console.error('请求失败!'); });
{ "status": 0, "msg": "ok", "result": { "date": "2025-01", "week": "", "ranktype": 1, "list": [ { "carid": 141929, "name": "星越L", "num": 29434, "price": "14.77-17.97万", "score": "4.46" }, { "carid": 181855, "name": "星愿", "num": 28146, "price": "6.88-9.78万", "score": "4.55" }, { "carid": 746, "name": "速腾", "num": 25745, "price": "12.79-17.29万", "score": "4.48" }, { "carid": 127678, "name": "Model Y", "num": 25694, "price": "26.35-31.35万", "score": "4.51" }, { "carid": 726, "name": "帕萨特", "num": 25411, "price": "16.45-23.99万", "score": "4.36" }, { "carid": 129734, "name": "宏光MINIEV", "num": 24924, "price": "3.28-9.99万", "score": "4.71" }, { "carid": 1993, "name": "轩逸", "num": 23959, "price": "10.86-17.49万", "score": "4.64" }, { "carid": 723, "name": "朗逸", "num": 23863, "price": "8.00-15.19万", "score": "4.33" }, { "carid": 48299, "name": "长安CS75 PLUS", "num": 23493, "price": "11.39-14.99万", "score": "4.47" }, { "carid": 128230, "name": "星瑞", "num": 23294, "price": "9.97-14.57万", "score": "4.49" }, { "carid": 177190, "name": "小米SU7", "num": 22897, "price": "21.59-29.99万", "score": "4.38" } ] } }
代号 | 说明 |
---|---|
201 | 上级ID错误 |
202 | 车型ID错误 |
205 | 没有信息 |
代号 | 说明 |
---|---|
101 | APPKEY为空或不存在 |
102 | APPKEY已过期 |
103 | APPKEY无请求此数据权限 |
104 | 请求超过次数限制 |
105 | IP被禁止 |
106 | IP请求超过限制 |
107 | 接口维护中 |
108 | 接口已停用 |
计次套餐 | 套餐规格 | 价格 | ||
---|---|---|---|---|
免费套餐 | 100次 | 0.00元 | ≈0元/次 | |
Level2 | 20000次 | 194.00元 | ≈0.0097元/次 | |
Level3 | 50000次 | 480.00元 | ≈0.0096元/次 | |
Level4 | 100000次 | 950.00元 | ≈0.0095元/次 | |
* 包月套餐和计次套餐不可同时购买,不可叠加使用。 |
包月套餐 | 套餐规格 | 价格 | ||
---|---|---|---|---|
Level2 特惠 | 3000次/天 | 369.00元 | ≈0.00410元/次 | |
Level3 | 6000次/天 | 689.00元 | ≈0.00383元/次 | |
Level4 | 10000次/天 | 1059.00元 | ≈0.00353元/次 | |
* 套餐使用时限为订购之日起30日。 |
1、优化了图片的精度以及水印问题。
2、新增了一些数字量化参数,方便对比车型。
数据已经更新,增加gearnum、geartype字段