配件OE信息查询

配件OE信息查询

  • 211
  • 211
查询一个配件OE信息,以及对应的销售车型、EPC车型、替换件、品牌件等信息。
1.00/10次
https://api.jisuepc.com/parts/search
JSON
GET POST
https://api.jisuepc.com/parts/search?number=L8WD%20807%20065%20K%20GRU&appkey=yourappkey

请求参数:

API在线测试
参数名称类型必填说明
number string 零件号

返回参数:

参数名称类型说明
number2 string 零件号 格式化
number string 零件号
stdname string 标准名
brand string 品牌
hascar string 是否有适配车型
name string 原厂零件名称
remark string 零件备注
isreplace string 是否有替换号
marketprice string 厂商参考价
marketpricedb string 东北市场价
marketpricehd string 华东市场价
marketpricehb string 华北市场价
marketpricexb string 西北市场价
marketpricehn string 华南市场价
brandid string 品牌ID
partsid int 零件ID

请求代码:

<?php

require_once 'curl.func.php';

$appkey = 'your_appkey_here';//你的appkey
$url = "https://api.jisuepc.com/parts/search?number=L8WD%20807%20065%20K%20GRU&appkey=$appkey";
$result = curlOpen($url, ['ssl'=>true]);

$jsonarr = json_decode($result, true);
//exit(var_dump($jsonarr));

if($jsonarr['status'] != 0)
{
    echo $jsonarr['msg'];
    exit();
}

$result = $jsonarr['result'];
echo $result['number2'].' '.$result['number'];
foreach($result['list'] as $key=>$val)
{
	echo $val['stdname'].' '.$val['brand'].' '.$val['number2'].' '.$val['hascar'].' '.$val['name'].' '.$val['remark'].' '.$val['isreplace'].' '.$val['marketprice'].' '.$val['marketpricedb'].' '.$val['marketpricehd'].' '.$val['marketpricehb'].' '.$val['marketpricexb'].' '.$val['marketpricehn'].' '.$val['number'].' '.$val['brandid'].' '.$val['partsid'].'
'; }

JSON返回示例 :

{
	"status":0,
	"msg":"ok",
	"result":{
		"number2":"L8WD 807 065 K GRU",
		"number":"L8WD807065KGRU",
		"list":[
			{
				"stdname":"前保险杠皮",
				"brand":"一汽奥迪",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"1",
				"name":"保险杠盖板",
				"remark":"19/12,塑料,",
				"isreplace":"1",
				"marketprice":"5320.0",
				"marketpricedb":"3600.0",
				"marketpricehd":"3700.0",
				"marketpricehb":"3600.0",
				"marketpricexb":"3700.0",
				"marketpricehn":"3100.0",
				"number":"L8WD807065KGRU",
				"brandid":219,
				"partsid":23064200
			},
			{
				"stdname":"保险杠面罩",
				"brand":"斯柯达(进口)",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"0",
				"name":"保险杠面罩",
				"isreplace":"0",
				"marketprice":"5320.0",
				"marketpricedb":"0.0",
				"marketpricehd":"0.0",
				"marketpricehb":"0.0",
				"marketpricexb":"0.0",
				"marketpricehn":"0.0",
				"number":"L8WD807065KGRU",
				"brandid":2053,
				"partsid":23064201
			},
			{
				"stdname":"保险杠面罩",
				"brand":"一汽-大众",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"0",
				"name":"保险杠面罩",
				"isreplace":"0",
				"marketprice":"5320.0",
				"marketpricedb":"0.0",
				"marketpricehd":"0.0",
				"marketpricehb":"0.0",
				"marketpricexb":"0.0",
				"marketpricehn":"0.0",
				"number":"L8WD807065KGRU",
				"brandid":739,
				"partsid":23064202
			},
			{
				"stdname":"保险杠面罩",
				"brand":"大众(进口)",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"0",
				"name":"保险杠面罩",
				"isreplace":"0",
				"marketprice":"5320.0",
				"marketpricedb":"0.0",
				"marketpricehd":"0.0",
				"marketpricehb":"0.0",
				"marketpricexb":"0.0",
				"marketpricehn":"0.0",
				"number":"L8WD807065KGRU",
				"brandid":750,
				"partsid":23064203
			},
			{
				"stdname":"保险杠面罩",
				"brand":"上汽大众",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"0",
				"name":"保险杠面罩",
				"isreplace":"0",
				"marketprice":"5320.0",
				"marketpricedb":"0.0",
				"marketpricehd":"0.0",
				"marketpricehb":"0.0",
				"marketpricexb":"0.0",
				"marketpricehn":"0.0",
				"number":"L8WD807065KGRU",
				"brandid":718,
				"partsid":23064204
			},
			{
				"stdname":"保险杠面罩",
				"brand":"上汽奥迪",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"0",
				"name":"保险杠面罩",
				"isreplace":"1",
				"marketprice":"5320.0",
				"marketpricedb":"4256.0",
				"marketpricehd":"4256.0",
				"marketpricehb":"4256.0",
				"marketpricexb":"4256.0",
				"marketpricehn":"4256.0",
				"number":"L8WD807065KGRU",
				"brandid":142958,
				"partsid":23064205
			},
			{
				"stdname":"保险杠面罩",
				"brand":"奥迪(进口)",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"1",
				"name":"保险杠面罩",
				"isreplace":"1",
				"marketprice":"5320.0",
				"marketpricedb":"4256.0",
				"marketpricehd":"4256.0",
				"marketpricehb":"4256.0",
				"marketpricexb":"4256.0",
				"marketpricehn":"4256.0",
				"number":"L8WD807065KGRU",
				"brandid":228,
				"partsid":23064206
			},
			{
				"stdname":"保险杠面罩",
				"brand":"一汽大众捷达",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"0",
				"name":"保险杠面罩",
				"isreplace":"0",
				"marketprice":"5320.0",
				"marketpricedb":"0.0",
				"marketpricehd":"0.0",
				"marketpricehb":"0.0",
				"marketpricexb":"0.0",
				"marketpricehn":"0.0",
				"number":"L8WD807065KGRU",
				"brandid":47720,
				"partsid":23064209
			},
			{
				"stdname":"保险杠面罩",
				"brand":"上汽大众斯柯达",
				"number2":"L8WD 807 065 K GRU",
				"hascar":"0",
				"name":"保险杠面罩",
				"isreplace":"0",
				"marketprice":"5320.0",
				"marketpricedb":"0.0",
				"marketpricehd":"0.0",
				"marketpricehb":"0.0",
				"marketpricexb":"0.0",
				"marketpricehn":"0.0",
				"number":"L8WD807065KGRU",
				"brandid":2044,
				"partsid":23064208
			}
		]
	}
}
                                

API错误码:

代号说明
201 零件ID和零件号不能都为空
202 配件ID错误
220 没有信息

系统错误码:

代号说明
101 APPKEY为空或不存在
102 APPKEY已过期
103 APPKEY无请求此数据权限
104 请求超过次数限制
105 IP被禁止
106 IP请求超过限制
107 接口维护中
108 接口已停用
计次套餐套餐规格价格
试用套餐 10次 1.00元 ≈0.1元/次
Level1 10000次 1500.00元 ≈0.15元/次
Level2 20000次 2600.00元 ≈0.13元/次
Level3 50000次 6000.00元 ≈0.12元/次
Level4 100000次 10000.00元 ≈0.1元/次