item_search-按关键字搜索商品 API测试工具
onebound.jd.item_search
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
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版本 |
请求参数
请求参数:q=抱枕&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&seller_info=no&nick=&seller_info=&nick=&ppath=&imgid=&filter=
参数说明:q:搜索关键字,支持url
cat:分类ID
start_price:开始价格
end_price:结束价格
sort:排序[bid,_bid,_sale,_review,_new]
(bid:总价,sale:销量,review评论数,new新品,加_前缀为从大到小排序)<
page:
响应参数
名称 | 类型 | 是否隐私 | 示例值 | 描述 |
---|---|---|---|---|
items | items[] | 按关键字搜索商品 | ||
num_iid | Bigint | 宝贝ID | ||
detail_url | String | 商品详情页 | ||
title | String | 商品标题 | ||
pic_url | String | 宝贝图片 | ||
price | Float | 价格 | ||
promotion_price | Float | 优惠价 | ||
sales | Int | 销量 | ||
sample_id | Bigint | 商品风格标识ID | ||
post_fee | Float | 物流费用 | ||
area | String | 店铺所在地 | ||
seller | String | 卖家昵称 |
请求示例
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/jd/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=抱枕&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&seller_info=no&nick=&seller_info=&nick=&ppath=&imgid=&filter="
响应示例
"items": {
"url": "https://search.jd.com/Search?keyword=抱枕&enc=utf-8&wq=抱枕&pvid=33dbb420d9fa4ca483a869f2e4c5625c",
"keyword": "抱枕",
"page": "",
"real_total_results": 4400,
"total_results": 4400,
"pagecount": 74,
"products_total": "",
"list_count": "",
"page_size": "60",
"item": [
{
"num_iid": "100018490106",
"detail_url": "https://item.jd.com/100018490106.html",
"title": "La Torretta抱枕靠垫 办公室腰枕靠枕床头简约可拆洗纯色天鹅绒沙发垫 蓝",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/56110/21/22388/82681/63bcfd93F7bbae6ce/cedbc7d89b84954a.jpg",
"price": 39,
"promotion_price": 39,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "La Torretta家纺京东自营旗舰店"
},
{
"num_iid": "100007507034",
"detail_url": "https://item.jd.com/100007507034.html",
"title": "foojo纯色抱枕靠垫简约腰靠靠枕可拆洗抱枕45*45cm 烟灰色",
"pic_url": "//img14.360buyimg.com/n7/jfs/t1/62773/30/21050/123648/62f0a433Ed906d727/f102bcf6bfec93c3.jpg",
"price": 26,
"promotion_price": 26,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "富居京东自营旗舰店"
},
{
"num_iid": "2457023",
"detail_url": "https://item.jd.com/2457023.html",
"title": "九洲鹿 率真小鹿亚麻风格办公室午睡沙发床头卡通抱枕靠垫 45X45cm",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/111493/5/21508/379855/6160061fEf4331af8/7fa7876eeb9570bd.jpg",
"price": 18,
"promotion_price": 18,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "九洲鹿家纺京东自营旗舰店"
},
{
"num_iid": "100045804161",
"detail_url": "https://item.jd.com/100045804161.html",
"title": "思莱宜抱枕兔年2023新年春节吉祥物卡通年会活动员工福利礼品抽奖靠垫",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/113473/18/30745/147406/63749b87Ef914bb8d/fa6799627dccfa88.jpg",
"price": 29,
"promotion_price": 29,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "思莱宜京东自营旗舰店"
},
{
"num_iid": "100015130050",
"detail_url": "https://item.jd.com/100015130050.html",
"title": "熊猫熊抱枕公仔毛绒玩具玩偶大号夹腿睡觉抱枕长条陪睡布娃娃布偶儿童男孩女孩女生新年情人节生日礼物送男朋友1m",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/175572/13/14789/121178/60c845cbE941e2a99/ef0730e7bbeb275e.jpg",
"price": 79,
"promotion_price": 79,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "熊猫熊京东自营旗舰店"
},
{
"num_iid": "19267779290",
"detail_url": "https://item.jd.com/19267779290.html",
"title": "LIV HEART柴犬睡觉抱枕公仔毛绒玩具抱睡娃娃狗狗陪伴玩偶新年礼物送女生 冰丝夏威夷凉感-柴犬抱枕单只L号(尺寸见详情)",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/69085/38/20809/82192/63b7d504Ff1593861/3b04964e209b944b.jpg",
"price": 228,
"promotion_price": 228,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "LIVHEART旗舰店"
},
{
"num_iid": "100018490100",
"detail_url": "https://item.jd.com/100018490100.html",
"title": "La Torretta抱枕靠垫 办公室腰枕靠枕床头汽车靠背北欧简约可拆洗纯色天鹅绒腰靠沙发垫 雾灰色 42*42cm",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/122510/20/26439/270119/62a93f5bEfef12e60/f729d7b883259089.jpg",
"price": 39,
"promotion_price": 39,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "La Torretta家纺京东自营旗舰店"
},
{
"num_iid": "10038057863166",
"detail_url": "https://item.jd.com/10038057863166.html",
"title": "捉趣(ZHUOQU)猫咪抱枕公仔毛绒玩具女孩生睡觉长条布娃娃玩偶陪睡夹腿新年礼物 灰色【独立内胆】 70cm",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/14302/24/19875/77158/6387221eE791cd8ef/471fcf19135c4e17.jpg",
"price": 59,
"promotion_price": 59,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "捉趣旗舰店"
},
{
"num_iid": "4465968",
"detail_url": "https://item.jd.com/4465968.html",
"title": "北极绒抱枕沙发靠垫靠背床头上靠枕腰枕车载腰垫办公室午睡枕 团子-love",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/53354/35/23451/231985/63b63b8aF3f6d7e30/8e4df39a732ae1a8.jpg",
"price": 25,
"promotion_price": 25,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "北极绒家居家纺京东自营旗舰店"
},
{
"num_iid": "100033680068",
"detail_url": "https://item.jd.com/100033680068.html",
"title": "网易严选 日式蓬软太鼓抱枕靠垫沙发床头靠枕居家枕办公室腰靠多色 直径40CM*海军蓝",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/104708/8/23875/137109/620f5136Ea7665d9c/4975316a42f0fb97.jpg",
"price": 24,
"promotion_price": 24,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "网易严选京东自营旗舰店"
},
{
"num_iid": "10046814912583",
"detail_url": "https://item.jd.com/10046814912583.html",
"title": "璇卉熊 大白鹅玩偶公仔抱枕毛绒玩具女孩生日礼物女生布娃娃大号儿童男孩玩具长条睡觉抱枕儿童毕业礼物 白色 1.3米",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/195151/23/25764/117554/62b7cf68E36be42e8/fb2aff8100e0a9ae.jpg",
"price": 28,
"promotion_price": 28,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "小笨熊旗舰店"
},
{
"num_iid": "10061980958868",
"detail_url": "https://item.jd.com/10061980958868.html",
"title": "粤盟(YUEMENG)汽车抱枕被子两用汽车车标抱枕被子两用办公车载午睡抱枕被二合一抱枕被子 大众 【枕被两用】 40*40打开105*150单只装",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/179595/13/28356/134889/6339576aEeadf01cb/efef7f19072ad842.jpg",
"price": 78,
"promotion_price": 78,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "粤盟汽车装饰旗舰店"
},
{
"num_iid": "100029129655",
"detail_url": "https://item.jd.com/100029129655.html",
"title": "OlarHike大白鹅陪睡觉抱枕毛绒玩具公仔可爱玩偶娃娃长条大号儿童生日礼物女生送女友老婆实用圣诞礼物圣诞节",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/41242/30/21646/402928/62f8e008E3ab1a53c/835169aa9f546343.jpg",
"price": 169,
"promotion_price": 169,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "OlarHike京东自营旗舰店"
},
{
"num_iid": "100035267128",
"detail_url": "https://item.jd.com/100035267128.html",
"title": "艾薇沙发抱枕靠垫床头靠枕办公室午睡枕椅靠午休枕头腰靠腰枕含抱枕芯40*40cm好伙伴",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/177469/7/31794/143019/63b63694F69456992/fc28cb4b66bb0426.jpg",
"price": 19,
"promotion_price": 19,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "艾薇京东自营旗舰店"
},
{
"num_iid": "4593638",
"detail_url": "https://item.jd.com/4593638.html",
"title": "北极绒抱枕沙发靠垫床上靠背床头靠枕腰枕车载腰垫办公室午睡枕 举手喵",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/32492/26/19527/261936/63b63b4dF2ed60372/7508deab74324b50.jpg",
"price": 28,
"promotion_price": 28,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "北极绒家居家纺京东自营旗舰店"
},
{
"num_iid": "100039772141",
"detail_url": "https://item.jd.com/100039772141.html",
"title": "La Torretta抱枕靠垫 办公室腰枕靠枕床头欧简约可拆洗纯色亚麻沙发垫 灰",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/72280/3/20810/179250/63bcfe16F11e5bcd1/faf6b17d23cad87a.jpg",
"price": 45,
"promotion_price": 45,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "La Torretta家纺京东自营旗舰店"
},
{
"num_iid": "100006120121",
"detail_url": "https://item.jd.com/100006120121.html",
"title": "熊猫熊大白鹅玩偶公仔抱枕毛绒玩具女孩生日礼物女生送女朋友布娃娃大号儿童男孩男生夹腿睡觉抱枕长条布偶跨新年情人节礼物",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/40093/2/18469/96599/62fc792bEb5717d78/4359e6e0eeb37e76.jpg",
"price": 49,
"promotion_price": 49,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "熊猫熊京东自营旗舰店"
},
{
"num_iid": "10035312380075",
"detail_url": "https://item.jd.com/10035312380075.html",
"title": "羊贵妃(YANGGUIFEI) 羊贵妃科技布纯色抱枕家用沙发靠背腰枕腰靠枕头办公室靠垫含芯 科技布-宝蓝 55*55CM(枕芯+枕套)",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/196972/24/2787/336400/6113d6c6E8a86e8a8/77e7c3421ca6c0a4.jpg",
"price": 64,
"promotion_price": 64,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "羊贵妃家纺旗舰店"
},
{
"num_iid": "4593624",
"detail_url": "https://item.jd.com/4593624.html",
"title": "北极绒抱枕沙发靠垫床头靠背靠枕腰垫办公室午睡枕 北欧双鹿 45*45cm",
"pic_url": "//img14.360buyimg.com/n7/jfs/t1/137298/29/8750/89130/5f4c9a24E20a914a2/598710c7fe71296e.jpg",
"price": 29,
"promotion_price": 29,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "北极绒家居家纺京东自营旗舰店"
},
{
"num_iid": "6863979",
"detail_url": "https://item.jd.com/6863979.html",
"title": "布拉塔(Brata)抱枕轻奢沙发靠枕靠垫床上靠背天鹅绒双线刺绣枕头 天空蓝45*45cm",
"pic_url": "//img14.360buyimg.com/n7/jfs/t1/51475/35/18177/143030/63a9a327F67e4513c/f48b43f63eb845a5.jpg",
"price": 39,
"promotion_price": 39,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "布拉塔京东自营旗舰店"
},
{
"num_iid": "100007265483",
"detail_url": "https://item.jd.com/100007265483.html",
"title": "quatrefoil抱枕卡通沙发靠垫办公室靠枕床头靠背汽车腰靠腰枕45*45cm小鹿",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/127866/19/5924/253591/5efae890E6213b278/142ddf29f0cf986a.jpg",
"price": 25,
"promotion_price": 25,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "quatrefoil京东自营旗舰店"
},
{
"num_iid": "100033810084",
"detail_url": "https://item.jd.com/100033810084.html",
"title": "伊贝曼曼抱枕长条夹腿睡觉枕头双人床上长条睡觉陪睡抱枕新年礼物",
"pic_url": "//img14.360buyimg.com/n7/jfs/t1/115809/37/20252/472213/6214457fE10bc0480/342099318d85c343.jpg",
"price": 68,
"promotion_price": 68,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "伊贝曼曼京东自营旗舰店"
},
{
"num_iid": "100036220251",
"detail_url": "https://item.jd.com/100036220251.html",
"title": "铂芬沙发抱枕靠垫套【不含芯】靠枕套腰靠背套 棕树叶卡其色 45*45cm",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/133998/1/33662/243644/63bd2a4cF5643c4b0/ef04644adb8db154.jpg",
"price": 13,
"promotion_price": 13,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "铂佳芬京东自营专区"
},
{
"num_iid": "11597589015",
"detail_url": "https://item.jd.com/11597589015.html",
"title": "【当次日达】陪睡毛绒玩具女孩抱枕公仔趴狗抱抱熊大号床上睡觉长条抱枕儿童送女友生日布娃娃情人圣诞节礼物 1.2米【送女友|用我的芯|温暖你的心】 你表达爱意超棒的选择",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/186765/32/1367/202719/6090ddd8E2b6822ee/28127fe5ccd80d07.jpg",
"price": 128,
"promotion_price": 128,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "卡洛布布玩具专营店"
},
{
"num_iid": "10037849828501",
"detail_url": "https://item.jd.com/10037849828501.html",
"title": "捉趣(ZHUOQU)猫咪抱枕公仔毛绒玩具女孩生睡觉长条布娃娃玩偶陪睡夹腿新年礼物 灰色【独立内胆】 130cm",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/14302/24/19875/77158/6387221eE791cd8ef/471fcf19135c4e17.jpg",
"price": 129,
"promotion_price": 129,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "捉趣旗舰店"
},
{
"num_iid": "10021619683101",
"detail_url": "https://item.jd.com/10021619683101.html",
"title": "南方生活抱枕靠垫含芯 亚麻手感靠枕沙发床头靠垫腰枕可定制礼品可拆洗 气质灰45*45cm450g抱枕含芯",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/172627/6/16639/216117/60d5e9e0E2aa3ec39/f9250dbdb73ac2ff.jpg",
"price": 19,
"promotion_price": 19,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "南方生活集网专卖店"
},
{
"num_iid": "6855770",
"detail_url": "https://item.jd.com/6855770.html",
"title": "北极绒抱枕套沙发抱枕靠垫套靠背办公室腰枕套 小三角 45*45cm不含芯",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/138289/31/6538/153305/5f44b498E1d687969/41ca66ddee24032c.jpg",
"price": 19,
"promotion_price": 19,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "北极绒家居家纺京东自营旗舰店"
},
{
"num_iid": "100026098734",
"detail_url": "https://item.jd.com/100026098734.html",
"title": "名创优品(MINISO)咱们裸熊系列白熊抱枕趴姿公仔毛绒玩具抱觉卧室办公室生日礼物",
"pic_url": "//img14.360buyimg.com/n7/jfs/t1/157641/12/33679/107227/63ad6339Fe9d8f7e6/db81a035353338cc.jpg",
"price": 29,
"promotion_price": 29,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "名创优品京东自营旗舰店"
},
{
"num_iid": "100005684867",
"detail_url": "https://item.jd.com/100005684867.html",
"title": "爱尚熊毛绒玩具公仔抱枕长条布娃娃玩偶男孩女孩睡觉抱枕咱们三只裸熊新年女生生日礼物送女友28cm",
"pic_url": "//img12.360buyimg.com/n7/jfs/t1/96378/20/28140/36550/62f5ad97E63e388eb/dfea2081571997db.jpg",
"price": 23,
"promotion_price": 23,
"sales": null,
"sample_id": "",
"post_fee": "",
"area": "",
"seller": "爱尚熊京东自营旗舰店"
}
],
"nav_catcamp": null,
"nav_filter": null,
"from": "pc"
},
"error_code": "0000",
"reason": "ok",
"secache": "886a3c998fbbaa9edb52d92555e19301",
"secache_time": 1673417309,
"secache_date": "2023-01-11 14:08:29",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"cache": 0,
"api_info": "today:300 max:10100 all[460=300+131+29];expires:2030-12-31",
"execution_time": "5.555",
"server_time": "Beijing/2023-01-11 14:08:29",
"client_ip": "106.6.32.188",
"call_args": {
"q": "抱枕",
"start_price": "0",
"end_price": "0",
"page": "1",
"cat": "0"
},
"api_type": "jd",
"translate_language": "zh-CN",
"translate_engine": "baidu",
"server_memory": "0.83MB",
"request_id": "gw-4.63be525776ec0",
"last_id": "1469780915"
}