我是靠谱客的博主 娇气钥匙,最近开发中收集的这篇文章主要介绍简单教会按关键字搜索商品,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

 前往注册开通测试

公共参数

名称类型必须描述
keyString调用key(必须以GET方式拼接在URL中)
secretString调用密钥
api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
langString[cn,en,ru]翻译语言,默认cn简体中文
versionStringAPI版本

请求参数

请求参数:q=耳机&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=&imgid=&filter=

参数说明:q:搜索关键字
cat:分类ID
start_price:开始价格
end_price:结束价格
sort:排序[bid,_bid,bid2,_bid2,_sale,_credit]
(bid:总价,bid2:商品价格,sale:销量,credit信用,加_前缀为从大到小排序)
page:页数

响应参数

Version: Date:

名称类型必须示例值描述
titleString0商品标题
pic_urlString0宝贝图片
promotion_priceFloat0优惠价
priceFloat0价格
salesInt0销量
num_iidBigint0宝贝ID
sample_idString0商品风格标识ID
seller_nickString0掌柜昵称
post_feeFloat0物流费用
areaString0店铺所在地
detail_urlString0宝贝链接
seller_infoMix0卖家信息

请求示例

  • Curl
  • PHP
  • PHPsdk
  • JAVA
  • C#
  • Python

-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/taobao/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=耳机&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=&imgid=&filter="

响应示例

	"items": {
"page": "1",
"real_total_results": 1000,
"total_results": 1000,
"page_size": 40,
"pagecount": 50,
"data_from": "hid",
"item": [
{
"title": "守望者先锋 DVA 道具 D.va 宋哈那 手枪 耳机 cos道具现货",
"pic_url": "https://img.alicdn.com/bao/uploaded/i4/707454436/O1CN011idjQGzgfaw9hwU_!!0-item_pic.jpg",
"promotion_price": "55.00",
"price": "55.00",
"sales": 7,
"num_iid": "536902894028",
"seller_nick": "cosplay123",
"seller_id": "0",
"detail_url": "https://item.taobao.com/item.htm?id=536902894028",
"data_f": null,
"data_update": "2021-10-19 21:13:13"
},
{
"title": "一方通行电磁炮魔法禁书目录 cosplay 拐杖 电级(赠 绑腿 耳机)",
"pic_url": "https://gw.alicdn.com/imgextra/TB26OZCdJFopuFjSZFHXXbSlXXa_!!321089964.jpg",
"promotion_price": "188.00",
"price": "188.00",
"sales": 3,
"num_iid": "527539125080",
"seller_nick": "黑边韩服好",
"seller_id": "321089964",
"detail_url": "https://item.taobao.com/item.htm?id=527539125080",
"data_f": "Ha",
"data_update": "2022-08-12 02:26:21"
},
{
"title": "[SEN]BJD SD DD MDD娃娃三分比例适用拍摄道具 耳机",
"pic_url": "https://gw.alicdn.com/imgextra/TB1ehUCQXXXXXXZaFXXXXXXXXXX_!!0-item_pic.jpg",
"promotion_price": "168.00",
"price": "168.00",
"sales": 0,
"num_iid": "547473755960",
"seller_nick": "月下西桥",
"seller_id": "69023553",
"detail_url": "https://item.taobao.com/item.htm?id=547473755960",
"data_f": "Ha",
"data_update": "2022-07-30 18:20:25"
},
{
"title": "耳机 音箱放大器 前级立体声信号放大器 带音量控制双音源 无损耗",
"pic_url": "//img.alicdn.com/imgextra/i1/718908802/O1CN0102M2vq2EtMip96lta_!!718908802.jpg",
"promotion_price": "215.00",
"price": "215.00",
"sales": 640000,
"num_iid": "579740933905",
"seller_nick": "cf10089",
"seller_id": "718908802",
"detail_url": "https://item.taobao.com/item.htm?id=579740933905",
"data_f": "xdl",
"data_update": "2022-08-16 05:26:22"
},
{
"title": "索尼(SONY) PS5游戏手柄PlayStation®5 DualSense无线控制器 PC电脑steam体感震动国行座充 摄像头 耳机",
"pic_url": "https://img.alicdn.com/imgextra/i4/2212450586493/O1CN01Ua111W1xpqR6rcYs1_!!2212450586493.jpg",
"promotion_price": "198.00",
"price": "198.00",
"sales": 1030000,
"num_iid": "653593490154",
"seller_nick": "智英仕数码专营店",
"seller_id": "2212450586493",
"detail_url": "https://item.taobao.com/item.htm?id=653593490154",
"data_f": "Ha",
"data_update": "2022-10-30 22:41:31"
},
{
"title": "【顺丰当天发+选手环/耳机】realme真我GT Neo闪速版 天玑1200游戏5G手机真我gtneo realmegtneo闪速版 oppo",
"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2201438992231/O1CN01fHBkef1SLqJmdMaeY_!!0-item_pic.jpg",
"promotion_price": "1799.00",
"price": "1799.00",
"sales": 1,
"num_iid": "641172299943",
"seller_nick": "信息港数码专营店",
"seller_id": "0",
"detail_url": "https://item.taobao.com/item.htm?id=641172299943",
"data_f": "mz",
"data_update": "2021-10-25 10:14:49"
},
{
"title": "耳机 Bluetooth Headphones Wireless Earphones Sports Headset",
"pic_url": "https://gw.alicdn.com/imgextra/O1CN01Ss8lTh1QJQmtBcV9R_!!1581931955.jpg",
"promotion_price": "19.90",
"price": "29.00",
"sales": 30000,
"num_iid": "582911643708",
"seller_nick": "lb347320259",
"seller_id": "1581931955",
"detail_url": "https://item.taobao.com/item.htm?id=582911643708",
"data_f": "Ha",
"data_update": "2022-09-07 17:20:20"
},
{
"title": "hd580 森海塞尔 耳机",
"pic_url": "https://img.alicdn.com/imgextra/i3/O1CN01F9eZ4I2F76kz7er4e_!!0-fleamarket.jpg",
"promotion_price": "1300.00",
"price": "1300.00",
"sales": 0,
"num_iid": "655311818735",
"seller_nick": null,
"seller_id": "0",
"detail_url": "https://item.taobao.com/item.htm?id=655311818735",
"data_f": "mz",
"data_update": "2021-10-25 19:28:56"
},
{
"title": "适用小米黑鲨1/2/Helo尾插小板 充电送话器接口 耳机 一二代原装",
"pic_url": "https://img.alicdn.com/imgextra/i1/3252376235/O1CN01wrsPGU1vvg893LiLK_!!3252376235.jpg",
"promotion_price": "8.80",
"price": "8.80",
"sales": 200000,
"num_iid": "639237927501",
"seller_nick": "t_1512612128477_0457",
"seller_id": "3252376235",
"detail_url": "https://item.taobao.com/item.htm?id=639237927501",
"data_f": "Ha",
"data_update": "2022-10-21 00:42:36"
},
{
"title": "飞利浦配机 情侣插一分二3.3mm麦克风 耳机",
"pic_url": "https://img.alicdn.com/imgextra/i4/3192125855/O1CN01ovTCPx1t7dW1OVDmF_!!0-item_pic.jpg",
"promotion_price": "16.00",
"price": "16.00",
"sales": 0,
"num_iid": "599907916349",
"seller_nick": "a鑫伟音响",
"seller_id": "0",
"detail_url": "https://item.taobao.com/item.htm?id=599907916349",
"data_f": "ez",
"data_update": "2021-10-27 18:36:39"
},
{
"title": "智星 ZHIXING ZX-A85/110+/A2/A3/888/668/A1/666 对讲机 耳机",
"pic_url": "https://img.alicdn.com/imgextra/i2/2414004268/O1CN01YDMUab1hOn0TrR310_!!0-item_pic.jpg",
"promotion_price": "15.00",
"price": "15.00",
"sales": 0,
"num_iid": "617439286894",
"seller_nick": "唯美优会",
"seller_id": "0",
"detail_url": "https://item.taobao.com/item.htm?id=617439286894",
"data_f": "ez",
"data_update": "2021-10-30 05:38:35"
},
{
"title": "PreSonus 音乐创作套装 键盘 耳机 声卡 话筒一套",
"pic_url": "https://img.alicdn.com/imgextra/i1/TB15F0WKFXXXXcNXXXXXXXXXXXX_!!0-item_pic.jpg",
"promotion_price": "1499.00",
"price": "1499.00",
"sales": 0,
"num_iid": "524403299229",
"seller_nick": "xymidi",
"seller_id": "0",
"detail_url": "https://item.taobao.com/item.htm?id=524403299229",
"data_f": "ez",
"data_update": "2021-10-29 15:29:33"
},
{
"title": "耳机。骨传导蓝牙耳机迷你不入耳无T线跑步运动型左右挂耳耳式骨",
"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2210181227970/TB1Ypttgkcx_u4jSZFlq6xnUFXa?_!!0-item_pic.jpg",
"promotion_price": "57.00",
"price": "57.00",
"sales": 0,
"num_iid": "657138068626",
"seller_nick": "亭蒂百货工厂店",
"seller_id": "2210098181347",
"detail_url": "https://item.taobao.com/item.htm?id=657138068626",
"data_f": "Ha",
"data_update": "2021-11-13 04:00:57"
},
{
"title": "【lolipop】Figma 初音未来 2015 赛车娘Miku胸甲/耳机 cos道具",
"pic_url": "//img.alicdn.com/imgextra/i3/90463519/TB2cRWsaWi5V1BjSszdXXXUJXXa_!!90463519.jpg",
"promotion_price": "125.00",
"price": "125.00",
"sales": 0,
"num_iid": "538485197606",
"seller_nick": "aconysally",
"seller_id": "90463519",
"detail_url": "https://item.taobao.com/item.htm?id=538485197606",
"data_f": "xdl",
"data_update": "2022-08-03 02:45:19"
},
{
"title": "cosmos bjd娃用 耳机 预定 满30截",
"pic_url": "https://img.alicdn.com/imgextra/i3/O1CN01oIXCah1NGHKEKICLo_!!205321542.jpg",
"promotion_price": "78.00",
"price": "78.00",
"sales": 11,
"num_iid": "659871187474",
"seller_nick": null,
"seller_id": "205321542",
"detail_url": "https://item.taobao.com/item.htm?id=659871187474",
"data_f": "mz",
"data_update": "2021-11-01 10:40:01"
},
{
"title": "南威 NANWEI V628 对讲机 耳机",
"pic_url": "https://img.alicdn.com/imgextra/i1/199648521/O1CN01U3CXTD2CofP5iAZKq_!!2-item_pic.png",
"promotion_price": "15.00",
"price": "15.00",
"sales": 0,
"num_iid": "594278597640",
"seller_nick": "lanshanzizuen",
"seller_id": "0",
"detail_url": "https://item.taobao.com/item.htm?id=594278597640",
"data_f": "ez",
"data_update": "2021-11-02 02:59:38"
},
{
"title": "电子琴配件:琴包/琴凳/琴架/耳机/琴罩/话筒",
"pic_url": "https://gw.alicdn.com/imgextra/O1CN01EQKM5m1RA6VXPueOu_!!0-item_pic.jpg",
"promotion_price": "12.00",
"price": "12.00",
"sales": 110000,
"num_iid": "636159730289",
"seller_nick": "索羽旗舰店",
"seller_id": "4035512070",
"detail_url": "https://item.taobao.com/item.htm?id=636159730289",
"data_f": "Ha",
"data_update": "2022-08-28 03:48:48"
},
{
"title": "New Phone Headphones Heavy bass Music earphone 耳机-2021",
"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2208817172311/O1CN01Xon8PG1CE1gvT7wc5_!!48-0-lubanu.jpg",
"promotion_price": "45.50",
"price": "45.50",
"sales": 0,
"num_iid": "652885061025",
"seller_nick": "精选店铺14",
"seller_id": "338629757",
"detail_url": "https://item.taobao.com/item.htm?id=652885061025",
"data_f": "Ha",
"data_update": "2021-11-05 10:49:44"
},
{
"title": "Philips/飞利浦 SHE9050入耳式耳机手机电脑音乐魔音面条 耳机",
"pic_url": "//img.alicdn.com/imgextra/i3/11725042914640436/T1tScPFdtfXXXXXXXX_!!0-item_pic.jpg",
"promotion_price": "369.00",
"price": "369.00",
"sales": 0,
"num_iid": "39524548221",
"seller_nick": "致佳数码专营店",
"seller_id": "191004737",
"detail_url": "https://item.taobao.com/item.htm?id=39524548221",
"data_f": "jcs",
"data_update": "2021-11-06 07:49:20"
},
{
"title": "ES 偶像梦幻祭 祝宴的演唱会 耳机 逆先夏目春川宙 青叶 鸣上岗",
"pic_url": "//img.alicdn.com/imgextra/i4/13493973/TB2eUxwxwKTBuNkSne1XXaJoXXa_!!13493973.jpg",
"promotion_price": "50.00",
"price": "50.00",
"sales": 0,
"num_iid": "564410376096",
"seller_nick": "liuli_009",
"seller_id": "13493973",
"detail_url": "https://item.taobao.com/item.htm?id=564410376096",
"data_f": "jcs",
"data_update": "2021-11-10 12:36:21"
},
{
"title": "新款switch oled防尘塞lite通用主机NS电源 耳机 HDMI硅胶塞 配件",
"pic_url": "https://img.alicdn.com/imgextra/i4/196601150/O1CN01KGk8kc1KMkC0SBRjy_!!196601150.jpg",
"promotion_price": "8.80",
"price": "8.80",
"sales": 50000,
"num_iid": "659794054142",
"seller_nick": "shang猎人电玩hai",
"seller_id": "196601150",
"detail_url": "https://item.taobao.com/item.htm?id=659794054142",
"data_f": "Ha",
"data_update": "2022-10-24 14:18:37"
},
{
"title": "现货 口袋妖怪 精灵宝可梦 百变怪 AirPods Pro 耳机 硅胶保护套",
"pic_url": "//img.alicdn.com/imgextra/i3/403268914/O1CN01mv2qRR2FifFxhG0kC_!!403268914.jpg",
"promotion_price": "180.00",
"price": "180.00",
"sales": 40000,
"num_iid": "664531458211",
"seller_nick": "雪舞飞扬4630",
"seller_id": "403268914",
"detail_url": "https://item.taobao.com/item.htm?id=664531458211",
"data_f": "xdl",
"data_update": "2022-06-21 18:59:08"
},
{
"title": "我的英雄学院 上鸣电气 耳机 Cosplay道具",
"pic_url": "https://gw.alicdn.com/imgextra/O1CN01lQvfE51o4p30Y0WTY_!!2058555172.jpg",
"promotion_price": "30.00",
"price": "30.00",
"sales": 0,
"num_iid": "616888402373",
"seller_nick": "tb13729202629",
"seller_id": "2058555172",
"detail_url": "https://item.taobao.com/item.htm?id=616888402373",
"data_f": "Ha",
"data_update": "2022-07-27 02:07:41"
},
{
"title": "[木木cos小铺] 我的英雄学院 上鸣电气 耳机 cos道具",
"pic_url": "https://img.alicdn.com/imgextra/i2/1791311213/TB2wKKZkv9TBuNjy0FcXXbeiFXa_!!1791311213.jpg",
"promotion_price": "40.00",
"price": "40.00",
"sales": 10000,
"num_iid": "567537755402",
"seller_nick": "木木cos小铺",
"seller_id": "1791311213",
"detail_url": "https://item.taobao.com/item.htm?id=567537755402",
"data_f": "Ha",
"data_update": "2022-10-29 08:18:11"
},
{
"title": "当天发【送碎屏险+耳机】OPPO A35 oppoa35手机 oppo手机官方旗舰oppoa35新品手机0ppo手机a35oppo手机学生",
"pic_url": "https://gw.alicdn.com/imgextra/O1CN01XbUvoV28qisdLKbab_!!0-item_pic.jpg",
"promotion_price": "849.00",
"price": "849.00",
"sales": 0,
"num_iid": "650497708489",
"seller_nick": "启能数码专营店",
"seller_id": "507957984",
"detail_url": "https://item.taobao.com/item.htm?id=650497708489",
"data_f": "Ha",
"data_update": "2022-09-16 23:49:35"
},
{
"title": "守望先锋 宋哈那 D.Va dva cosplay 道具武器手枪 耳机 护肩 护脖",
"pic_url": "https://img.alicdn.com/imgextra/i3/TB2FJJ2cZaK.eBjSspjXXXL.XXa_!!1029142076.jpg",
"promotion_price": "180.00",
"price": "180.00",
"sales": 0,
"num_iid": "534240929736",
"seller_nick": null,
"seller_id": "1029142076",
"detail_url": "https://item.taobao.com/item.htm?id=534240929736",
"data_f": "Ha",
"data_update": "2021-11-15 08:02:31"
},
{
"title": "偶像梦幻祭 骑士们的星光盛典 耳机 耳环 鸣上岚 月永雷欧 朱樱司",
"pic_url": "https://gw.alicdn.com/imgextra/TB2SonQdblmpuFjSZFlXXbdQXXa_!!13493973.jpg",
"promotion_price": "13.00",
"price": "13.00",
"sales": 10000,
"num_iid": "543061654860",
"seller_nick": "liuli_009",
"seller_id": "13493973",
"detail_url": "https://item.taobao.com/item.htm?id=543061654860",
"data_f": "Ha",
"data_update": "2022-08-22 03:38:06"
},
{
"title": "《我的英雄学院》上鸣电气 耳机 头饰发夹 COS道具",
"pic_url": "https://gw.alicdn.com/imgextra/O1CN01oPr99m1IVKGwAjDJP_!!826710898.jpg",
"promotion_price": "3.00",
"price": "3.00",
"sales": 0,
"num_iid": "621277673451",
"seller_nick": "玲度蝴蝶",
"seller_id": "826710898",
"detail_url": "https://item.taobao.com/item.htm?id=621277673451",
"data_f": "Ha",
"data_update": "2022-07-27 02:20:42"
},
{
"title": "冲冠大促 GSC NITRO+ 索*ni子 耳机 超级索*ni子 COS耳机",
"pic_url": "https://img.alicdn.com/imgextra/i4/13519018774044934/T1cZgtXoNcXXXXXXXX_!!0-item_pic.jpg",
"promotion_price": "39.90",
"price": "39.90",
"sales": 190000,
"num_iid": "17036620445",
"seller_nick": "aconysally",
"seller_id": "90463519",
"detail_url": "https://item.taobao.com/item.htm?id=17036620445",
"data_f": "Ha",
"data_update": "2022-10-30 09:00:52"
},
{
"title": "【补款】MOMOMON 耳机 OB11&GSC配件",
"pic_url": "//img.alicdn.com/imgextra/i3/1617772271/O1CN01lPPKNv1SeA7bS8v6I_!!1617772271.jpg",
"promotion_price": "0.01",
"price": "0.01",
"sales": 8,
"num_iid": "637787805841",
"seller_nick": "爱八妹",
"seller_id": "1617772271",
"detail_url": "https://item.taobao.com/item.htm?id=637787805841",
"data_f": "jcs",
"data_update": "2021-11-18 08:28:12"
},
{
"title": "DRAMAtical Murder DMMD 濑良垣苍叶 COSPLAY道具 耳机 少量现货",
"pic_url": "//img.alicdn.com/imgextra/i4/TB1t8cBGXXXXXXGXFXXXXXXXXXX_!!0-item_pic.jpg",
"promotion_price": "180.00",
"price": "180.00",
"sales": 10000,
"num_iid": "41321455265",
"seller_nick": "zxx0917",
"seller_id": "16075320",
"detail_url": "https://item.taobao.com/item.htm?id=41321455265",
"data_f": "xdl",
"data_update": "2022-07-10 05:16:01"
},
{
"title": "轻电科技 苹果拆机 耳机 数据线1M
快充/普通 充电头 等简约配件",
"pic_url": "https://gw.alicdn.com/imgextra/O1CN01V1j8iZ1mn8Ci5tLe5_!!3521324998.jpg",
"promotion_price": "49.90",
"price": "49.90",
"sales": 40000,
"num_iid": "611007106842",
"seller_nick": "轻电数字生活",
"seller_id": "3521324998",
"detail_url": "https://item.taobao.com/item.htm?id=611007106842",
"data_f": "Ha",
"data_update": "2022-09-16 05:12:41"
},
{
"title": "【八芒星】Love Live! 白色情人节 耳机 cosplay道具",
"pic_url": "//img.alicdn.com/imgextra/i4/TB1BgbvJFXXXXbYXpXXXXXXXXXX_!!0-item_pic.jpg",
"promotion_price": "25.00",
"price": "25.00",
"sales": 41,
"num_iid": "522543295434",
"seller_nick": "ldjcos00",
"seller_id": "152617406",
"detail_url": "https://item.taobao.com/item.htm?id=522543295434",
"data_f": "jcs",
"data_update": "2021-11-24 04:59:41"
},
{
"title": "ob11娃衣 gsc DOLL DDF bjd YMY body9 molly 耳机 道具",
"pic_url": "//img.alicdn.com/imgextra/i1/253709183/O1CN010C4r7u2HhrgNs8Pf3_!!253709183.jpg",
"promotion_price": "5.00",
"price": "5.00",
"sales": 5,
"num_iid": "622145488138",
"seller_nick": "a_112200898",
"seller_id": "253709183",
"detail_url": "https://item.taobao.com/item.htm?id=622145488138",
"data_f": "jcs",
"data_update": "2021-11-24 07:05:15"
},
{
"title": "lolipop第七龙神 MIKU VOCALOID 初音头饰 耳机 蓝色 红色cos道具",
"pic_url": "https://gw.alicdn.com/imgextra/O1CN01I41RC61brkKSmA4U2_!!90463519.jpg",
"promotion_price": "68.00",
"price": "68.00",
"sales": 0,
"num_iid": "608286176889",
"seller_nick": "aconysally",
"seller_id": "90463519",
"detail_url": "https://item.taobao.com/item.htm?id=608286176889",
"data_f": "Ha",
"data_update": "2022-08-24 07:03:37"
},
{
"title": "【95cos道具】守望先锋 D.VA 宋哈那DVA 耳机 cosplay 道具",
"pic_url": "//img.alicdn.com/imgextra/i3/3033515218/TB2CNxQlMKTBuNkSne1XXaJoXXa_!!3033515218.jpg",
"promotion_price": "65.00",
"price": "65.00",
"sales": 0,
"num_iid": "545885023008",
"seller_nick": "95cos道具",
"seller_id": "3033515218",
"detail_url": "https://item.taobao.com/item.htm?id=545885023008",
"data_f": "Ha",
"data_update": "2022-01-15 02:48:11"
},
{
"title": "New Phone Headphones Heavy bass Music earphone 耳机",
"pic_url": "//img.alicdn.com/imgextra/i1/2208228343016/O1CN01TJlrdX1Y9NDfIz5od_!!2208228343016-0-C2M.jpg",
"promotion_price": "39.34",
"price": "39.34",
"sales": 0,
"num_iid": "647308353887",
"seller_nick": "tb398261468",
"seller_id": "2208228343016",
"detail_url": "https://item.taobao.com/item.htm?id=647308353887",
"data_f": "jcs",
"data_update": "2021-12-06 21:21:38"
},
{
"title": "宝锋防水耳机线 宝峰BF-UV9Rplus耳机BF-9700 A58 UV9R 耳机",
"pic_url": "https://img.alicdn.com/imgextra/i3/3019505578/O1CN01JWT2hk1r4lkWGRiES_!!0-item_pic.jpg",
"promotion_price": "20.00",
"price": "20.00",
"sales": 50000,
"num_iid": "549294196329",
"seller_nick": "宝锋森柏通专卖店",
"seller_id": "3019505578",
"detail_url": "https://item.taobao.com/item.htm?id=549294196329",
"data_f": "Ha",
"data_update": "2022-10-22 09:40:39"
},
{
"title": "电话耳机用于思科CISCO 8945/7941/8841/7821/7841电话耳麦/耳机",
"pic_url": "//img.alicdn.com/imgextra/i1/2133414374/O1CN01l35J9T1iBKvJLFWO3_!!0-item_pic.jpg",
"promotion_price": "142.80",
"price": "168.00",
"sales": 0,
"num_iid": "595264209898",
"seller_nick": "轩轩2014524",
"seller_id": "2133414374",
"detail_url": "https://item.taobao.com/item.htm?id=595264209898",
"data_f": "jcs",
"data_update": "2021-12-07 18:51:14"
},
{
"title": "迷你调频/调幅收音机便携式袖珍接收机可充电液A晶显示屏+耳机",
"pic_url": "//img.alicdn.com/imgextra/i2/2210837766190/O1CN01L5B8Au1qPYIkreM5m_!!0-item_pic.jpg",
"promotion_price": "49.00",
"price": "49.00",
"sales": 0,
"num_iid": "654557088068",
"seller_nick": "多又全百货店06",
"seller_id": "2210804789972",
"detail_url": "https://item.taobao.com/item.htm?id=654557088068",
"data_f": "jcs",
"data_update": "2021-12-07 10:28:12"
}
],
"item_weight_update": 0
},
"error_code": "0000",
"reason": "ok",
"secache": "602448b86a0c3dc68c9b81ceaa51a16b",
"secache_time": 1668045816,
"secache_date": "2022-11-10 10:03:36",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"cache": 0,
"api_info": "today:0 max:10100 all[14=0+1+13];expires:2030-12-31",
"execution_time": "0.323",
"server_time": "Beijing/2022-11-10 10:03:36",
"client_ip": "106.6.32.77",
"call_args": {
"q": "耳机",
"start_price": "0",
"end_price": "0",
"page": "1",
"cat": "0"
},
"api_type": "taobao",
"translate_language": "zh-CN",
"translate_engine": "google_new",
"server_memory": "0.96MB",
"request_id": "gw-4.636c5bf8092eb",
"last_id": "1346039482"
}

异常示例相关资料错误码解释

状态代码(error_code)状态信息详细描述是否收费
0000success接口调用成功并返回相关数据
2000Search success but no result接口访问成功,但是搜索没有结果
4000Server internal error服务器内部错误
4001Network error网络错误
4002Target server error目标服务器错误
4003Param error用户输入参数错误忽略
4004Account not found用户帐号不存在忽略
4005Invalid authentication credentials授权失败忽略
4006API stopped您的当前API已停用忽略
4007Account stopped您的账户已停用忽略
4008API rate limit exceeded并发已达上限忽略
4009API maintenanceAPI维护中忽略
4010API not found with these valuesAPI不存在忽略
4012Please add api first请先添加api忽略
4013Number of calls exceeded调用次数超限忽略
4014Missing url param参数缺失忽略
4015Wrong pageToken参数pageToken有误忽略
4016Insufficient balance余额不足忽略
4017timeout error请求超时
5000unknown error未知错误

最后

以上就是娇气钥匙为你收集整理的简单教会按关键字搜索商品的全部内容,希望文章能够帮你解决简单教会按关键字搜索商品所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(53)

评论列表共有 0 条评论

立即
投稿
返回
顶部