item_get-获得dangdang商品详情 获取商品详情
item_search-按关键字搜索dangdang商品 获取商品列表
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(必须以GET方式拼接在URL中) |
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版本 |
item_search请求参数
请求参数:q=鞋子&start_price=&end_price=&page=&cat=&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=
参数说明:q:搜索关键字
cat:分类ID
start_price:开始价格
end_price:结束价格
sort:排序[bid,_bid,bid2,_bid2,_sale,_credit]
(bid:总价,bid2:商品价格,sale:销量,credit信用,加_前缀为从大到小排序)
page:
item_get请求参数
请求参数:num_iid=25122027
参数说明:num_iid:EBAY商品ID
响应示例
"item": {
"_ddf": "curry",
"brandId": "",
"cid": "",
"desc": "",
"desc_img": [],
"desc_short": "",
"detail_url": "http://product.m.dangdang.com/11301328174.html",
"freight": "",
"item_imgs": null,
"location": "",
"min_num": "",
"nick": "361度旗舰店",
"num": "",
"num_iid": "11301328174",
"orginal_price": "430.00",
"pic_url": "https://img3m4.ddimg.cn/4/0/11301328174-1_h_1.jpg",
"post_fee": "",
"price": "430.00",
"prop_imgs": {
"prop_img": ""
},
"props": "",
"props_list": {
"0:0": "颜色:羽毛白/北极蓝",
"0:1": "颜色:羽毛白/胡桃木色",
"0:2": "颜色:羽毛白/生态绿",
"0:3": "颜色:羽毛白/棕黄色",
"1:0": "鞋码:39",
"1:1": "鞋码:40",
"1:2": "鞋码:41",
"1:3": "鞋码:42",
"1:4": "鞋码:43",
"1:5": "鞋码:44"
},
"props_name": "0:0:颜色:羽毛白/北极蓝;1:0:鞋码:390:0:颜色:羽毛白/北极蓝;1:1:鞋码:400:0:颜色:羽毛白/北极蓝;1:2:鞋码:410:0:颜色:羽毛白/北极蓝;1:3:鞋码:420:0:颜色:羽毛白/北极蓝;1:4:鞋码:430:0:颜色:羽毛白/北极蓝;1:5:鞋码:440:1:颜色:羽毛白/胡桃木色;1:0:鞋码:390:1:颜色:羽毛白/胡桃木色;1:1:鞋码:400:1:颜色:羽毛白/胡桃木色;1:2:鞋码:410:1:颜色:羽毛白/胡桃木色;1:3:鞋码:420:1:颜色:羽毛白/胡桃木色;1:4:鞋码:430:1:颜色:羽毛白/胡桃木色;1:5:鞋码:440:2:颜色:羽毛白/生态绿;1:0:鞋码:390:2:颜色:羽毛白/生态绿;1:1:鞋码:400:2:颜色:羽毛白/生态绿;1:2:鞋码:410:2:颜色:羽毛白/生态绿;1:3:鞋码:420:2:颜色:羽毛白/生态绿;1:4:鞋码:430:2:颜色:羽毛白/生态绿;1:5:鞋码:440:3:颜色:羽毛白/棕黄色;1:0:鞋码:390:3:颜色:羽毛白/棕黄色;1:1:鞋码:400:3:颜色:羽毛白/棕黄色;1:2:鞋码:410:3:颜色:羽毛白/棕黄色;1:3:鞋码:420:3:颜色:羽毛白/棕黄色;1:4:鞋码:430:3:颜色:羽毛白/棕黄色;1:5:鞋码:44",
"rootCatId": "",
"sales": 0,
"seller_info": {
"sid": "8064",
"title": "361度旗舰店",
"zhuy": ""
},
"shop_id": "8064",
"skus": {
"sku": [
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:0;1:0",
"properties_name": "0:0:颜色:羽毛白/北极蓝;1:0:鞋码:39",
"sku_id": "11301328184"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:0;1:1",
"properties_name": "0:0:颜色:羽毛白/北极蓝;1:1:鞋码:40",
"sku_id": "11301328194"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:0;1:2",
"properties_name": "0:0:颜色:羽毛白/北极蓝;1:2:鞋码:41",
"sku_id": "11301328204"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:0;1:3",
"properties_name": "0:0:颜色:羽毛白/北极蓝;1:3:鞋码:42",
"sku_id": "11301328214"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:0;1:4",
"properties_name": "0:0:颜色:羽毛白/北极蓝;1:4:鞋码:43",
"sku_id": "11301328224"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:0;1:5",
"properties_name": "0:0:颜色:羽毛白/北极蓝;1:5:鞋码:44",
"sku_id": "11301328234"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:1;1:0",
"properties_name": "0:1:颜色:羽毛白/胡桃木色;1:0:鞋码:39",
"sku_id": "11301328244"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:1;1:1",
"properties_name": "0:1:颜色:羽毛白/胡桃木色;1:1:鞋码:40",
"sku_id": "11301328254"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:1;1:2",
"properties_name": "0:1:颜色:羽毛白/胡桃木色;1:2:鞋码:41",
"sku_id": "11301328264"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:1;1:3",
"properties_name": "0:1:颜色:羽毛白/胡桃木色;1:3:鞋码:42",
"sku_id": "11301328274"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:1;1:4",
"properties_name": "0:1:颜色:羽毛白/胡桃木色;1:4:鞋码:43",
"sku_id": "11301328284"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:1;1:5",
"properties_name": "0:1:颜色:羽毛白/胡桃木色;1:5:鞋码:44",
"sku_id": "11301328294"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:2;1:0",
"properties_name": "0:2:颜色:羽毛白/生态绿;1:0:鞋码:39",
"sku_id": "11301328304"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:2;1:1",
"properties_name": "0:2:颜色:羽毛白/生态绿;1:1:鞋码:40",
"sku_id": "11301328314"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:2;1:2",
"properties_name": "0:2:颜色:羽毛白/生态绿;1:2:鞋码:41",
"sku_id": "11301328324"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:2;1:3",
"properties_name": "0:2:颜色:羽毛白/生态绿;1:3:鞋码:42",
"sku_id": "11301328334"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:2;1:4",
"properties_name": "0:2:颜色:羽毛白/生态绿;1:4:鞋码:43",
"sku_id": "11301328344"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:2;1:5",
"properties_name": "0:2:颜色:羽毛白/生态绿;1:5:鞋码:44",
"sku_id": "11301328354"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:3;1:0",
"properties_name": "0:3:颜色:羽毛白/棕黄色;1:0:鞋码:39",
"sku_id": "11301328364"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:3;1:1",
"properties_name": "0:3:颜色:羽毛白/棕黄色;1:1:鞋码:40",
"sku_id": "11301328374"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:3;1:2",
"properties_name": "0:3:颜色:羽毛白/棕黄色;1:2:鞋码:41",
"sku_id": "11301328384"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:3;1:3",
"properties_name": "0:3:颜色:羽毛白/棕黄色;1:3:鞋码:42",
"sku_id": "11301328394"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:3;1:4",
"properties_name": "0:3:颜色:羽毛白/棕黄色;1:4:鞋码:43",
"sku_id": "11301328404"
},
{
"orginal_price": "430.00",
"price": "430.00",
"properties": "0:3;1:5",
"properties_name": "0:3:颜色:羽毛白/棕黄色;1:5:鞋码:44",
"sku_id": "11301328414"
}
]
},
"suggestive_price": "",
"title": "【超品预估价:80】361男鞋运动鞋2022新款秋冬棉鞋增高休闲鞋加绒鞋高帮鞋子板鞋男",
"total_sold": "",
"props_img": [],
"format_check": "ok",
"shop_item": [],
"relate_items": []
},
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
num_iid | Bigint | 0 | 25122027 | 宝贝ID |
title | String | 0 | 朗读者(1-3辑)(荣获2017年度大众喜爱的50种图书) | 宝贝标题 |
desc_short | String | 0 | 商品简介 | |
promotion_price | Float | 0 | 156.00 | 优惠价 |
price | Float | 0 | 156.00 | 价格 |
total_price | Float | 0 | 0 | |
suggestive_price | Float | 0 | 0 | |
orginal_price | Float | 0 | 156.00 | 原价 |
nick | String | 0 | 当当自营 | 掌柜昵称 |
num | Int | 0 | ||
min_num | Int | 0 | 0 | |
detail_url | String | 0 | http://product.dangdang.com/25122027.html | 宝贝链接 |
pic_url | String | 0 | http://img3m7.ddimg.cn/84/26/25122027-1_w_7.jpg | 宝贝图片 |
brand | String | 0 | 品牌名称 | |
brandId | Int | 0 | 品牌ID | |
rootCatId | Int | 0 | 顶级分类ID | |
cid | Int | 0 | ||
favcount | Int | 0 | 0 | |
fanscount | Int | 0 | 0 | |
crumbs | Mix | 0 | ||
created_time | String | 0 | ||
modified_time | String | 0 | ||
delist_time | String | 0 | ||
desc | String | 0 | ||
item_imgs | Mix | 0 | [{ "url": "http://img3m7.ddimg.cn/84/26/25122027-1_w_7.jpg"}] | 商品图片 |
item_weight | String | 0 | ||
item_size | String | 0 | ||
location | String | 0 | 发货地 | |
express_fee | Float | 0 | 6.00 | 快递费用 |
ems_fee | Float | 0 | 6.00 | EMS费用 |
post_fee | Float | 0 | 6.00 | 物流费用 |
shipping_to | String | 0 | 发货至 | |
has_discount | Boolean | 0 | false | |
video | Mix | 0 | [{}] | 商品视频 |
is_virtual | String | 0 | ||
sample_id | String | 0 | 商品风格标识ID | |
is_promotion | Boolean | 0 | false | |
props_name | String | 0 | 1627207:1347647754:颜色分类:长方形带开瓶器+送工具刀卡+链子;1627207:1347647753:颜色分类:椭圆形带开瓶器+送工具刀卡+链子; | 商品属性名 |
prop_imgs | Mix | 0 | {"prop_img": [ {"properties": "1627207:1347647754", "url": "//gd2.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg"}]} | 商品属性图片列表 |
property_alias | String | 0 | 20509:9974422:36;1627207:28326:红色;20509:9975710:38;1627207:28326:红色;20509:9981357:40;1627207:28326:红色 | 商品属性别名 |
props | Mix | 0 | [{ "name": "产地","value": "中国" }] | 商品详情 |
total_sold | Int | 0 | ||
skus | Mix | 0 | {"sku": [{"price": "39", "total_price": null, "orginal_price": "39.00", "properties": "1627207:1347647754", "properties_name": "1627207:1347647754:颜色分类:长方形带开瓶器+送工具刀卡+链子", "quantity": "305", "sku_id": "3166598625985"}] | 商品规格信息 |
seller_id | Int | 0 | 2844096782 | 卖家ID |
sales | Int | 0 | 138 | 销量 |
shop_id | Bigint | 0 | 151372205 | 店铺ID |
props_list | Mix | 0 | {20509:9974422: 尺码:36} | 商品属性 |
seller_info | Mix | 0 | {"nick": "欢乐购客栈", "city": null, "level": 12, "bail": "2000", "rate": 96, "score": "4.8", "delivery_score": "4.8", "item_score": "4.8", "shop_type": null, "user_num_id": "2596264565", "sid": "127203758", "title": "欢乐购客栈", "zhuy": "//shop127203758.taobao.com", "company_name": null, "menu": [] } | 卖家信息 |
tmall | Boolean | 0 | false | 是否天猫 |
error | String | 0 | 错误信息 | |
warning | String | 0 | price_json error;skus miss; | 警告信息 |
url_log | Mix | 0 | [] | |
method | String | 0 | item_tmall:pget_item | |
promo_type | String | 0 | ||
props_img | Mix | 0 | 1627207:28326": "//img.alicdn.com/imgextra/i2/2844096782/O1CN01VrjpXt1zyCc9DvERE_!!2844096782.jpg | 属性图片 |
shop_item | Mix | 0 | [] | |
relate_items | Mix | 0 | [] |