JD.com Product Details v1
Retrieve JD.com product details for a known item ID. Use it to inspect an individual product after finding its identifier.
/v1/jd/get_item_detail_v1
$0.04
- Price
- $0.04 per successful call, Failed calls are free
- Endpoint ID
jd.get_item_detail_v1
Parameters
-
item_idstring RequiredA unique product identifier on JD.com (item ID).
Example
10164640878768
Code samples
curl -G "https://api.mofa-ai.com/v1/jd/get_item_detail_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'item_id=10164640878768'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/jd/get_item_detail_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"item_id": "10164640878768",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/jd/get_item_detail_v1");
url.search = new URLSearchParams({
item_id: "10164640878768",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Example response
Request parameters {"item_id": "10164640878768"}
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "jd.get_item_detail_v1",
"cost_usd": 0.04,
"data": {
"code": 0,
"data": {
"msg": "",
"…": "+41",
"ptqq": "",
"sence": "5",
"stock": {
"D": {
"po": true,
"url": "https://shop.m.jd.com/shop/home?shopld=19510217",
"type": 0,
"shopId": 19510217,
"vender": "G7咖啡官方旗舰店",
"colType": 0,
"hotLine": "",
"shopName": "G7咖啡官方旗舰店",
"venderId": 21909657,
"shopWebsite": "https://shop.m.jd.com/shop/home?shopld=19510217"
},
"ir": [
{
"picUrl": "\\",
"iconSrc": "7天无理由退货(一次性包装破损不支持)",
"iconTip": "支持7天无理由退货(一次性包装破损不支持)",
"helpLink": "http://help.jd.com/user/issue/289-3781.html",
"iconCode": "service_qitiantuihuo",
"iconType": "0",
"showName": "7天无理由退货(一次性包装破损不支持)",
"resultCode": "1",
"positionCode": "0",
"iconServiceType": "3"
},
"… +5"
],
"rn": 784,
"sid": -1,
"…": "+2",
"code": 1,
"skuId": "10164640878768",
"self_D": {
"po": true,
"url": "https://shop.m.jd.com/shop/home?shopld=19510217",
"type": 0,
"shopId": 19510217,
"vender": "G7咖啡官方旗舰店",
"colType": 0,
"hotLine": "",
"shopName": "G7咖啡官方旗舰店",
"venderId": 21909657,
"shopWebsite": "https://shop.m.jd.com/shop/home?shopld=19510217"
},
"afsCode": 1,
"fxgCode": "0",
"sidDely": -1,
"freeFlag": 1,
"preStore": -1,
"dcashDesc": "包邮",
"promiseYX": {
"picUrl": "\\",
"iconSrc": "7天无理由退货(一次性包装破损不支持)",
"iconTip": "支持7天无理由退货(一次性包装破损不支持)",
"helpLink": "http://help.jd.com/user/issue/289-3781.html",
"iconCode": "service_qitiantuihuo",
"iconType": 0,
"showName": "7天无理由退货(一次性包装破损不支持)",
"resultCode": 1,
"iconServiceType": 3
},
"realSkuId": "10164640878768",
"StockState": 33,
"popFxgCode": "0",
"ArrivalDate": "",
"isJDexpress": false,
"promiseResult": "预计今天发货,11月11日(周三)送达"
},
"areaId": "1_72_55674_0",
"bizMsg": "",
"pingou": "",
"errCode": "0",
"product": {
"…": "+40",
"book": "false",
"cat1": "36720",
"cat2": "37056",
"cat3": "37061",
"size": "",
"spec": "",
"color": "三合一800g2袋【100杯】赠黑咖啡1盒 28年5月到期",
"skuId": "10164640878768",
"allnum": "0",
"erpPid": "10164640878768",
"popPid": "10030400184076",
"skuName": "中原(TRUNG NGUYEN) 越南进口原味三合一速溶咖啡粉800g50包 官方正品 提神冲饮 三合一800g2袋【1…",
"category": "36720,37056,37061",
"imageurl": "jfs/t1/555238/31/4611/88466/6ae1c79dFe899d6db/00833203205370…",
"specName": "",
"salesAttr": "",
"skuStatus": "1",
"sizeSequence": "0",
"specSequence": "1",
"colorSequence": "1"
},
"retCode": "",
"apiForbid": [
"/urlM",
"… +12"
],
"newBanner": {
"fId": "fJdBanner",
"fData": {
"ext": {
"tagId": "10007825"
},
"logo": "https://img13.360buyimg.com/imagetools/jfs/t1/532648/21/1291…",
"bgImg": "https://img12.360buyimg.com/imagetools/jfs/t1/545789/11/3839…",
"slogan": "又好又便宜",
"countDown": {
"text": "晚8开抢",
"endTime": 1794225600000,
"startTime": 1794153600000,
"serverTime": 1794095976826
},
"bannerName": "整图腰带",
"bannerType": 120
},
"enable": false,
"floorName": "腰带楼层"
},
"shopFloor": {},
"bizRetCode": "",
"commonInfo": {
"avpJd": false,
"pyby3": false,
"jdMini": false,
"brandUrl": "https://pro.m.jd.com/mall/active/2QhXdFjy7eHoC9fFRyq8FAzK3ZU…",
"koSwitch": false,
"urgeLogin": true,
"dataReport": false,
"businessIcon": {
"beautyGiftIcon": "https://img14.360buyimg.com/img/jfs/t1/452078/17/10874/13194…"
},
"businessText": {
"baitiao": {
"limitTip": "仅限与主品(限1件)搭配下单",
"floorTitle": "搭配分期购",
"serviceIntro": "服务介绍",
"orderButtonText": "搭配分期购下单",
"mainNumLimitToast": "搭配分期购商品仅限与主品(限1件)搭配下单",
"cancelAccessoryDialog": "已选服务/配件商品已取消,搭配分期购商品仅限与主品(限1件)搭配下单",
"cancelInstallmentDialog": "搭配分期购商品已取消,仅限与主品(限1件)搭配下单"
},
"promoText": {
"enterpriseText": "享受%s折",
"enterpriseTagText": "内购补贴"
},
"stateSubsidiesText": {
"rebate": "最高可享受%s优惠",
"discount": "最多可享受%s元优惠",
"toAppText": "前往APP享国家补贴"
},
"cartSwitchButtonText": "加入购物车",
"outOfStockButtonText": "无货",
"presaleCouponPriceText": "券促信息发生变化或被使用时,付尾款时价格会跟随变化",
"similarButtonBackgroundColor": "#FF0F23",
"memberStrengtheningAgreementText": "勾选即代表同意开通会员"
},
"yhfgPrePrice": false,
"baitiaoSwitch": false,
"wqAddrDefault": "0|1_72_55674_0|北京_朝阳区_麦子店街道_|北京市朝阳区麦子店街道朝阳公园|116.482276,39.9…",
"businessConfig": {
"sourceType": [
"jd_read_app",
"… +1"
],
"isPassJDprice": true,
"limitCartNumDefault": "200",
"dailySalesTemplateId": "10265"
},
"businessSwitch": {
"…": "+4",
"dcjxText": true,
"jxSiteId": false,
"guessLike": true,
"yuyueInter": true,
"adjustGoods": true,
"yx3cnDemote": true,
"hotAccessory": true,
"isEntrancejs": false,
"activeOneJump": true,
"carFreeSwitch": true,
…
Truncated for display; the full response is longer.
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
More JD.com endpoints
-
Product Details v3
$0.08Retrieves JD.com product details for a known item ID. Use it to review a known listing during product research or offer comparison.
/v1/jd/get_item_detail_v3
-
Product Search
$0.03Search JD.com products by keyword with page-based pagination. Use it to discover products and collect item IDs for follow-up lookups.
/v1/jd/search_item_list_v1
-
Product Comments
$0.04Retrieve paginated customer comments for a JD.com product identified by item ID. Use it to review buyer feedback for a known product.
/v1/jd/get_item_comments_v1
-
Shop Product List
$0.04Retrieve a page of products from a JD.com shop identified by shop ID. Use it to browse a seller's catalog and collect item IDs for follow-up lookups.
/v1/jd/get_shop_item_list_v1