全部
在线测试
京东商品详情
接口地址: http://api.vv-tool.com/tool/accounts/jditeminfo
请求方式: GET
接口介绍: 提供的数据:skuID、sku 名称、店铺名称、标题、主图 点击查看详情
返回格式: JSON
接口收费: 查询 1 次,计 1 次调用(参数不要乱传,商品不存在也会扣次数)
频率限制: 10 次/秒
请求头参数
参数 | 类型 | 必选 | 值 | 示例 |
---|---|---|---|---|
Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx |
请求参数
参数 | 类型 | 必选 | 描述 |
---|---|---|---|
itemId | string | 是 | 商品 id |
请求示例
itemId:10093493194978
请求代码示例
cURL请求代码示例
curl --location --request GET 'http://api.vv-tool.com/tool/accounts/jditeminfo?itemId=10093493194978' \
--header 'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx' \
--header 'Cookie: PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D'
PHP请求代码示例
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/jditeminfo?itemId=10093493194978',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx',
'Cookie: PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
JAVA请求代码示例
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
Request request = new Request.Builder()
.url("http://api.vv-tool.com/tool/accounts/jditeminfo?itemId=10093493194978")
.method("GET", null)
.addHeader("Authorization", "Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx")
.addHeader("Cookie", "PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D")
.build();
Response response = client.newCall(request).execute();
响应参数
参数 | 类型 | 描述 |
---|---|---|
code | int | 返回状态码 |
msg | string | 返回码描述 |
msec | int | 接口执行时间 |
time | int | 接口返回时间 |
data | object | 返回数据信息 |
name | string | 商品标题 |
shopId | string | 店铺 id |
storeName | string | 店铺名称 |
shopUrl | string | 店铺地址 |
product | object | product |
--cat | array | 类目 id |
--skus | array | sku 信息 |
--imageList | array | 主图集合 |
images | array | 详情图集合 |
props | object | 属性 |
--groupProps | array | groupProps |
skuBase | object | skuBase |
--pid | string | pid |
--name | string | name |
--values | array | values |
videoUrl | string | 视频路径(部分商品返回为空) |
返回数据
{
"name": "棉致森马集团假两件连帽加厚棉服男士冬季新款棉袄羽面包绒服棉衣外套 杏色【高品质】 XL 115-135斤",
"shopId": "12699640",
"storeName": "棉致欧智专卖店",
"shopUrl": "https://mall.jd.com/index-12699640.html",
"product": {
"cat": [
9724
],
"skus": [
{
"skuId": "10093493194978",
"propPath": "90169:91373;90136:91349",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "杏色【高品质】,XL 115-135斤"
},
{
"skuId": "10093493194979",
"propPath": "90169:91373;90136:37916",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "杏色【高品质】,S 70-85斤"
},
{
"skuId": "10093493194980",
"propPath": "90169:91373;90136:40052",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "杏色【高品质】,L 110-115斤"
},
{
"skuId": "10093493194981",
"propPath": "90169:91373;90136:40249",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "杏色【高品质】,2XL 135-160斤"
},
{
"skuId": "10093493194982",
"propPath": "90169:91373;90136:40326",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "杏色【高品质】,XXS 35斤"
},
{
"skuId": "10094513986153",
"propPath": "90169:91373;90136:40430",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "杏色【高品质】,XXS 20斤"
},
{
"skuId": "10094696619942",
"propPath": "90169:91373;90136:40510",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "杏色【高品质】,XXS 10斤"
},
{
"skuId": "10094890052483",
"propPath": "90169:91373;90136:40580",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "杏色【高品质】,M 80-100斤"
},
{
"skuId": "10095347513357",
"propPath": "90169:91373;90136:40666",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "杏色【高品质】,XXS 15斤"
},
{
"skuId": "10095370714231",
"propPath": "90169:91373;90136:40735",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "杏色【高品质】,XXS 30斤"
},
{
"skuId": "10095431893669",
"propPath": "90169:91373;90136:40827",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "杏色【高品质】,XXS 25斤"
},
{
"skuId": "10093493194985",
"propPath": "90169:40916;90136:91349",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "黑色【高品质】,XL 115-135斤"
},
{
"skuId": "10093493194986",
"propPath": "90169:40916;90136:37916",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "黑色【高品质】,S 70-85斤"
},
{
"skuId": "10093493194987",
"propPath": "90169:40916;90136:40052",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "黑色【高品质】,L 110-115斤"
},
{
"skuId": "10093493194988",
"propPath": "90169:40916;90136:40249",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "黑色【高品质】,2XL 135-160斤"
},
{
"skuId": "10093493194989",
"propPath": "90169:40916;90136:40326",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "黑色【高品质】,XXS 35斤"
},
{
"skuId": "10094513986154",
"propPath": "90169:40916;90136:40430",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "黑色【高品质】,XXS 20斤"
},
{
"skuId": "10094696619943",
"propPath": "90169:40916;90136:40510",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "黑色【高品质】,XXS 10斤"
},
{
"skuId": "10094890052484",
"propPath": "90169:40916;90136:40580",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "黑色【高品质】,M 80-100斤"
},
{
"skuId": "10095347513358",
"propPath": "90169:40916;90136:40666",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "黑色【高品质】,XXS 15斤"
},
{
"skuId": "10095370714232",
"propPath": "90169:40916;90136:40735",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "黑色【高品质】,XXS 30斤"
},
{
"skuId": "10095431893670",
"propPath": "90169:40916;90136:40827",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "黑色【高品质】,XXS 25斤"
},
{
"skuId": "10093493194992",
"propPath": "90169:42096;90136:91349",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "卡其色【高品质】,XL 115-135斤"
},
{
"skuId": "10093493194993",
"propPath": "90169:42096;90136:37916",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "卡其色【高品质】,S 70-85斤"
},
{
"skuId": "10093493194994",
"propPath": "90169:42096;90136:40052",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "卡其色【高品质】,L 110-115斤"
},
{
"skuId": "10093493194995",
"propPath": "90169:42096;90136:40249",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "卡其色【高品质】,2XL 135-160斤"
},
{
"skuId": "10093493194996",
"propPath": "90169:42096;90136:40326",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "卡其色【高品质】,XXS 35斤"
},
{
"skuId": "10094513986155",
"propPath": "90169:42096;90136:40430",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "卡其色【高品质】,XXS 20斤"
},
{
"skuId": "10094696619944",
"propPath": "90169:42096;90136:40510",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "卡其色【高品质】,XXS 10斤"
},
{
"skuId": "10094890052485",
"propPath": "90169:42096;90136:40580",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "卡其色【高品质】,M 80-100斤"
},
{
"skuId": "10095347513359",
"propPath": "90169:42096;90136:40666",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "卡其色【高品质】,XXS 15斤"
},
{
"skuId": "10095370714233",
"propPath": "90169:42096;90136:40735",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "卡其色【高品质】,XXS 30斤"
},
{
"skuId": "10095431893671",
"propPath": "90169:42096;90136:40827",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "卡其色【高品质】,XXS 25斤"
},
{
"skuId": "10093493194999",
"propPath": "90169:43394;90136:91349",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "红色【高品质】,XL 115-135斤"
},
{
"skuId": "10093493195000",
"propPath": "90169:43394;90136:37916",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "红色【高品质】,S 70-85斤"
},
{
"skuId": "10093493195001",
"propPath": "90169:43394;90136:40052",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "红色【高品质】,L 110-115斤"
},
{
"skuId": "10093493195002",
"propPath": "90169:43394;90136:40249",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "红色【高品质】,2XL 135-160斤"
},
{
"skuId": "10093493195003",
"propPath": "90169:43394;90136:40326",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "红色【高品质】,XXS 35斤"
},
{
"skuId": "10094513986156",
"propPath": "90169:43394;90136:40430",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "红色【高品质】,XXS 20斤"
},
{
"skuId": "10094696619945",
"propPath": "90169:43394;90136:40510",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "红色【高品质】,XXS 10斤"
},
{
"skuId": "10094890052486",
"propPath": "90169:43394;90136:40580",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "红色【高品质】,M 80-100斤"
},
{
"skuId": "10095347513360",
"propPath": "90169:43394;90136:40666",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "红色【高品质】,XXS 15斤"
},
{
"skuId": "10095370714234",
"propPath": "90169:43394;90136:40735",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "红色【高品质】,XXS 30斤"
},
{
"skuId": "10095431893672",
"propPath": "90169:43394;90136:40827",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "红色【高品质】,XXS 25斤"
},
{
"skuId": "10093768234220",
"propPath": "90169:44693;90136:91349",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "绿色【高品质】,XL 115-135斤"
},
{
"skuId": "10093768234221",
"propPath": "90169:44693;90136:37916",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "绿色【高品质】,S 70-85斤"
},
{
"skuId": "10093768234222",
"propPath": "90169:44693;90136:40052",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "绿色【高品质】,L 110-115斤"
},
{
"skuId": "10093768234223",
"propPath": "90169:44693;90136:40249",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "绿色【高品质】,2XL 135-160斤"
},
{
"skuId": "10093768234224",
"propPath": "90169:44693;90136:40326",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "绿色【高品质】,XXS 35斤"
},
{
"skuId": "10094513986157",
"propPath": "90169:44693;90136:40430",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "绿色【高品质】,XXS 20斤"
},
{
"skuId": "10094696619946",
"propPath": "90169:44693;90136:40510",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "绿色【高品质】,XXS 10斤"
},
{
"skuId": "10094890052487",
"propPath": "90169:44693;90136:40580",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "绿色【高品质】,M 80-100斤"
},
{
"skuId": "10095347513361",
"propPath": "90169:44693;90136:40666",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "绿色【高品质】,XXS 15斤"
},
{
"skuId": "10095370714235",
"propPath": "90169:44693;90136:40735",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "绿色【高品质】,XXS 30斤"
},
{
"skuId": "10095431893673",
"propPath": "90169:44693;90136:40827",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "绿色【高品质】,XXS 25斤"
},
{
"skuId": "10093768234225",
"propPath": "90169:46315;90136:91349",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "紫色【高品质】,XL 115-135斤"
},
{
"skuId": "10093768234226",
"propPath": "90169:46315;90136:37916",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "紫色【高品质】,S 70-85斤"
},
{
"skuId": "10093768234227",
"propPath": "90169:46315;90136:40052",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "紫色【高品质】,L 110-115斤"
},
{
"skuId": "10093768234228",
"propPath": "90169:46315;90136:40249",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "紫色【高品质】,2XL 135-160斤"
},
{
"skuId": "10093768234229",
"propPath": "90169:46315;90136:40326",
"jprice": "145.0",
"oprice": "145.0",
"颜色,尺码": "紫色【高品质】,XXS 35斤"
},
{
"skuId": "10094513986158",
"propPath": "90169:46315;90136:40430",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "紫色【高品质】,XXS 20斤"
},
{
"skuId": "10094696619947",
"propPath": "90169:46315;90136:40510",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "紫色【高品质】,XXS 10斤"
},
{
"skuId": "10094890052488",
"propPath": "90169:46315;90136:40580",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "紫色【高品质】,M 80-100斤"
},
{
"skuId": "10095347513362",
"propPath": "90169:46315;90136:40666",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "紫色【高品质】,XXS 15斤"
},
{
"skuId": "10095370714236",
"propPath": "90169:46315;90136:40735",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "紫色【高品质】,XXS 30斤"
},
{
"skuId": "10095431893674",
"propPath": "90169:46315;90136:40827",
"jprice": "138.0",
"oprice": "138.0",
"颜色,尺码": "紫色【高品质】,XXS 25斤"
}
],
"imageList": [
"//img13.360buyimg.com/n12/jfs/t1/236741/20/7131/80170/657c6709Fb916a3a4/f84d10ba238b8fd0.jpg",
"//img13.360buyimg.com/n12/jfs/t1/229575/1/7805/97153/657c670bFa8992dfe/dd0d23ff1c468a02.jpg",
"//img13.360buyimg.com/n12/jfs/t1/231735/4/8505/120706/657c670cF17e4db46/c2320d99bcd1dcfc.jpg",
"//img13.360buyimg.com/n12/jfs/t1/227998/12/8585/111494/657c670dF67a19d69/609a2957fe685a06.jpg",
"//img13.360buyimg.com/n12/jfs/t1/226045/37/8265/73871/657c670eF9d597aa6/104f640e09816722.jpg",
"//img13.360buyimg.com/n12/jfs/t1/231960/13/8402/79724/657c6710Fc758faf8/1444f40a5b0ec85e.jpg",
"//img13.360buyimg.com/n12/jfs/t1/95435/3/34293/72113/657c6711F2df964ed/c199bdcdc3fc2a7b.jpg",
"//img13.360buyimg.com/n12/jfs/t1/229856/6/7700/121750/657c6712Fe0834146/a5f189bdb447bdcd.jpg"
]
},
"images": [
"//img30.360buyimg.com/popWareDetail/jfs/t1/229206/14/8418/74539/657c6636F59042ecf/ee3fb358d39c91b8.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/232095/16/8671/108142/657c6636F33f74063/2566040c812739ac.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/227432/34/8801/83947/657c6636F6a8136e6/6784863825d57884.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/231114/9/8468/53219/657c6636F329d0cec/f1fe771d533c1337.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/237042/27/7652/63990/657c6636F15722911/55e403609b6670fc.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/234460/22/8412/54215/657c6636F1cf7994c/da1570fcea142e5f.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/234138/13/8530/49682/657c6637Ff4b45900/1da532234ce66aba.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/228953/37/8586/60762/657c6637Fa34a13cf/e2892f4be9c061d2.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/234125/9/8421/67794/657c6637F060155c7/514963e3c4579b64.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/232488/34/7955/75025/657c6637Fc9c45904/fc1adfe7f69df119.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/226070/22/8807/116961/657c6638F62a522cc/af163f8be3c89cb6.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/225072/40/8439/135443/657c6638Fb10a43b8/86dc817ac1efe15a.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/227940/7/8744/116443/657c6638Fcbc6d6d7/a6b716a3100dc2e5.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/228314/20/8306/144004/657c6638Fd25a2395/7d535b64bb9e9c24.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/234000/7/8190/142795/657c6638Fc5843992/85fc033fc41b65eb.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/232781/31/8277/149036/657c6639F55b2f81f/6c1f242012ae3310.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/237887/39/7264/130276/657c6639F98c60031/de4e22f6ae52d5d4.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/227636/35/8901/130125/657c6639F11bb4885/8ed909b8286a5efc.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/224162/27/8795/145627/657c6639F564d18cb/18de621fba96666c.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/231041/29/8521/183450/657c6639Fe4fe280e/2153ac146398f1b9.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/227182/7/8532/137864/657c6641F6c166166/990271bc02e7173a.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/231174/36/8632/169295/657c6641F9a995cf3/9598f0f4e5390350.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/229344/28/8113/152387/657c6641F4e00f706/1bb6b406ffbdbf88.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/230381/31/8723/149446/657c6642F711bebd6/99ab8de8b2546fe5.jpg",
"//img30.360buyimg.com/popWareDetail/jfs/t1/233146/25/8216/176358/657c6642Fba2fb5dd/504511a1976bacbf.jpg"
],
"props": {
"groupProps": [
{
"商品名称": "棉致森马集团假两件连帽加厚棉服男士冬季新款棉袄羽面包绒服棉衣外套 杏色【高品质】 XL 115-135斤"
},
{
"商品编号": "10093493194978"
},
{
"店铺": " 棉致欧智专卖店"
},
{
"商品毛重": "500.00g"
},
{
"商品产地": "其他"
},
{
"货号": "JK77078P65森马胜2316"
},
{
"材质": "涤纶(聚酯纤维)95%"
},
{
"版型": "宽松型"
},
{
"适用人群": "青少年,青年"
},
{
"衣长": "常规款"
},
{
"厚度": "厚款"
},
{
"穿着方式": "开衫"
},
{
"填充物": "涤纶(聚酯纤维)"
},
{
"衣门襟": "拉链"
},
{
"风格": "百搭风"
},
{
"上市时间": "2023年冬季"
},
{
"图案": "纯色"
},
{
"领型": "连帽"
},
{
"品牌": "棉致"
}
]
},
"skuBase": [
{
"pid": "90169",
"name": "颜色",
"values": [
{
"image": "//img10.360buyimg.com/n12/jfs/t1/236741/20/7131/80170/657c6709Fb916a3a4/f84d10ba238b8fd0.jpg",
"name": "杏色【高品质】",
"vid": "91373"
},
{
"image": "//img10.360buyimg.com/n12/jfs/t1/229575/1/7805/97153/657c670bFa8992dfe/dd0d23ff1c468a02.jpg",
"name": "黑色【高品质】",
"vid": "40916"
},
{
"image": "//img10.360buyimg.com/n12/jfs/t1/227998/12/8585/111494/657c670dF67a19d69/609a2957fe685a06.jpg",
"name": "卡其色【高品质】",
"vid": "42096"
},
{
"image": "//img10.360buyimg.com/n12/jfs/t1/231960/13/8402/79724/657c6710Fc758faf8/1444f40a5b0ec85e.jpg",
"name": "红色【高品质】",
"vid": "43394"
},
{
"image": "//img10.360buyimg.com/n12/jfs/t1/231735/4/8505/120706/657c670cF17e4db46/c2320d99bcd1dcfc.jpg",
"name": "绿色【高品质】",
"vid": "44693"
},
{
"image": "//img10.360buyimg.com/n12/jfs/t1/95435/3/34293/72113/657c6711F2df964ed/c199bdcdc3fc2a7b.jpg",
"name": "紫色【高品质】",
"vid": "46315"
}
]
},
{
"pid": "90136",
"name": "尺码",
"values": [
{
"image": "",
"name": "XL 115-135斤",
"vid": "91349"
},
{
"image": "",
"name": "S 70-85斤",
"vid": "37916"
},
{
"image": "",
"name": "L 110-115斤",
"vid": "40052"
},
{
"image": "",
"name": "2XL 135-160斤",
"vid": "40249"
},
{
"image": "",
"name": "XXS 35斤",
"vid": "40326"
},
{
"image": "",
"name": "XXS 20斤",
"vid": "40430"
},
{
"image": "",
"name": "XXS 10斤",
"vid": "40510"
},
{
"image": "",
"name": "M 80-100斤",
"vid": "40580"
},
{
"image": "",
"name": "XXS 15斤",
"vid": "40666"
},
{
"image": "",
"name": "XXS 30斤",
"vid": "40735"
},
{
"image": "",
"name": "XXS 25斤",
"vid": "40827"
}
]
}
],
"videoUrl": "https://jvod.300hu.com/vod/product/ad419f11-33aa-456e-ab41-78a540c8472f/a3f33e794d754f9e8424b8737d64a014.mp4"
}
京东商品详情价格
接口地址: http://api.vv-tool.com/tool/accounts/jditeminfoprice
请求方式: GET
接口介绍: 通过 skuid 获取价格 点击查看详情
返回格式: JSON
接口收费: 查询 1 次,计 1 次调用(参数不要乱传,商品不存在也会扣次数)
频率限制: 10 次/秒
请求头参数
参数 | 类型 | 必选 | 值 | 示例 |
---|---|---|---|---|
Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx |
请求参数
参数 | 类型 | 必选 | 描述 |
---|---|---|---|
itemId | string | 是 | 商品 id |
请求示例
itemId:10093493194978
请求代码示例
cURL请求代码示例
curl --location --request GET 'http://api.vv-tool.com/tool/accounts/jditeminfoprice?itemId=10093493194978' \
--header 'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx' \
--header 'Cookie: PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D'
PHP请求代码示例
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/jditeminfoprice?itemId=10093493194978',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx',
'Cookie: PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
JAVA请求代码示例
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
Request request = new Request.Builder()
.url("http://api.vv-tool.com/tool/accounts/jditeminfoprice?itemId=10093493194978")
.method("GET", null)
.addHeader("Authorization", "Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx")
.addHeader("Cookie", "PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D")
.build();
Response response = client.newCall(request).execute();
响应参数
参数 | 类型 | 描述 |
---|---|---|
code | int | 返回状态码 |
msg | string | 返回码描述 |
msec | int | 接口执行时间 |
time | int | 接口返回时间 |
data | object | 返回数据信息 |
jprice | object | 出售价格 |
oprice | object | 原价格 |
mprice | object | 参考价 |
返回数据
{
"code": 0,
"msg": "成功",
"msec": 3755,
"time": 1670381863,
"data": {
"jprice": "119.00",
"oprice": "119.00",
"mprice": "299.00",
}
}
错误码 点击查看详情:查看