如何获取JD商品详情原数据API,点击更多API调试请移步注册API账号
点击获取测试key和secret
公共参数
请求地址: https://api-gw.onebound.cn/jd/item_get_app
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| key | String | 是 | 调用key(点击获取测试key和secret) |
| secret | String | 是 | 调用密钥 |
| api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
| cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
| result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
| lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
| version | String | 否 | API版本 |
请求参数
请求参数:num_iid=10335871600
参数说明:item_id:商品ID
响应参数
| 名称 | 类型 | 是否隐私 | 示例值 | 描述 |
|---|---|---|---|---|
| items | item[] | 获得京东app商品详情原数据 |
请求示例
-- 请求示例 url 默认请求参数已经URL编码处理 curl -i "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"
响应示例
{
"item": {
"AdvertCount": {
"ad": "",
"id": ""
},
"CommentsCount": [
{
"AfterCount": 0,
"AfterCountStr": "1600+",
"AverageScore": 5,
"CommentCount": 0,
"CommentCountStr": "20万+",
"DefaultGoodCount": 0,
"DefaultGoodCountStr": "20万+",
"GeneralCount": 0,
"GeneralCountStr": "2300+",
"GeneralRate": 0.017,
"GeneralRateShow": 2,
"GeneralRateStyle": 3,
"GoodCount": 0,
"GoodCountStr": "15万+",
"GoodRate": 0.97,
"GoodRateShow": 97,
"GoodRateStyle": 145,
"OneYear": 0,
"PoorCount": 0,
"PoorCountStr": "2100+",
"PoorRate": 0.013,
"PoorRateShow": 1,
"PoorRateStyle": 2,
"ProductId": 10335871600,
"SensitiveBook": 0,
"ShowCount": 0,
"ShowCountStr": "9800+",
"SkuId": 10335871600,
"VideoCount": 0,
"VideoCountStr": "400+"
}
],
"activeTypeInfo": {
"cannotbuy": {
"cannotBuyMsg": "",
"cannotSingleBuy": "",
"cannotTuanBuy": ""
}
},
"allOverImg": "",
"areaId": "",
"bigouinfo": "",
"bizMsg": "",
"bizRetCode": "0",
"butie": {
"appSecondOrder": "",
"bannerRightTips1": "",
"bannerRightTips2": "",
"h5ArouseText": "",
"icon": "",
"joinTuanIconTips": "",
"layerTips1": "",
"layerTips2": "",
"limitEnv": "",
"pgOriginPrice": "",
"raiseTuanIconTips": "",
"subsidyAmount": "",
"subsidyAmountText": "",
"subsidyCode": "",
"tips": "",
"type": "",
"wxappArouseText": ""
},