如何获取阿里巴巴店铺的所有商品数据
  10jApn78vfx0 2023年11月02日 56 0


  前往注册开通测试

onebound.1688.item_search_shop

公共参数

名称

类型

必须

描述

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版本

请求参数

请求参数:seller_nick=b2b-2200729642195b61ba&start_price=0&end_price=0&q=&page=1&cid=

参数说明:seller_nick:店铺昵称或sid(目前只支持sid))
sort:排序[bid,_bid,_sale,_credit]
(bid:总价(升序)_bid:总价(降序),sale:销量,默认综合排序,time:新品)
sort=new为店铺上新数据,格式不统一,请注意
page:页数\

响应参数

Version: Date:

名称

类型

必须

示例值

描述

items

items[]

0

店铺的所有商品

请求示例

  • Curl
  • PHP
  • PHPsdk
  • JAVA
  • C#
  • Python
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/1688/item_search_shop/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&seller_nick=b2b-2200733087881719de&start_price=0&end_price=0&q=&page=1&cid="

响应示例

Result Object:
---------------------------------------
{
	"user": {
		"id": null,
		"nick": null,
		"good_num": "",
		"level": "",
		"created": "",
		"shop_type": "",
		"user_num_id": null,
		"company_id": "",
		"company_dj": null,
		"company_time": "",
		"company_info": null,
		"cid": "-1",
		"sid": null,
		"title": null,
		"address": null,
		"zhuy": "https://m.1688.com/winport/.html",
		"fh_score": null,
		"hm_score": null,
		"xy_score": null,
		"ht_score": null,
		"qe_score": null,
		"menu": "",
		"service_score": null,
		"tplogo": null,
		"ratelogourl": null,
		"tpyear": null,
		"bsrdata": "",
		"_ddf": "cdy"
	},
	"items": {
		"item": [
			{
				"num_iid": "592831600967",
				"title": "i8键盘 2.4G空中飞鼠迷你无线键盘批发 干电锂电三色背光跑马灯",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/176/561/12769165671_356555264.jpg",
				"price": "14.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=592831600967"
			},
			{
				"num_iid": "590993935035",
				"title": "MX3飞鼠 2.4G无线键盘空中飞鼠Mini keyboard智能遥控器 I8键盘",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/328/769/12768967823_356555264.jpg",
				"price": "18.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=590993935035"
			},
			{
				"num_iid": "641376505098",
				"title": "新款 G10S PRO背光语音飞鼠 2.4G无线遥控器 六轴陀螺仪 空中飞鼠",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01eyjeSf1S5M2EG6OyP_!!2200729642195-0-cib.jpg",
				"price": "14.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=641376505098"
			},
			{
				"num_iid": "595255511374",
				"title": "键盘鼠标 迷你无线C120七彩背光空中飞鼠 体感陀螺仪双面遥控器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/868/216/12809612868_356555264.jpg",
				"price": "18.50",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=595255511374"
			},
			{
				"num_iid": "668868622198",
				"title": "新款蓝牙遥控器 红外学习遥控 安卓电视盒电视机投影仪遥控器 M5",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01hpv7EN1S5M6UjNnoH_!!2200729642195-0-cib.jpg",
				"price": "8.50",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=668868622198"
			},
			{
				"num_iid": "588682729255",
				"title": "C120 空中飞鼠 背光键盘遥控器 无线空中飞鼠 迷你小键盘鼠标",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/074/765/12809567470_356555264.jpg",
				"price": "9.90",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=588682729255"
			},
			{
				"num_iid": "592567996720",
				"title": "i8键盘 迷你无线飞鼠 2.4G触摸版智能键鼠三色背光跑马灯",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/782/966/12809669287_356555264.jpg",
				"price": "13.50",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=592567996720"
			},
			{
				"num_iid": "668524057662",
				"title": "MT4蓝牙遥控器 tvbox电视机顶盒投影仪通用万能遥控器 红外遥控器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01wSyGA31S5M6GRLJOJ_!!2200729642195-0-cib.jpg",
				"price": "8.50",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=668524057662"
			},
			{
				"num_iid": "590991547882",
				"title": "遥控器 智能电视迷你MX3语音版飞鼠 2.4G无线键盘遥控器陀螺仪",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/074/028/12731820470_356555264.jpg",
				"price": "20.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=590991547882"
			},
			{
				"num_iid": "590666665890",
				"title": "mt10无线键盘迷你2.4G空中飞鼠 i8干电锂电三色背光版工厂直销",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/165/780/12769087561_356555264.jpg",
				"price": "21.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=590666665890"
			},
			{
				"num_iid": "590990023791",
				"title": "电池遥控器 新款迷你mx3背光飞鼠2.4G无线键盘智能遥控器6轴陀螺",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/490/315/12809513094_356555264.jpg",
				"price": "19.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=590990023791"
			},
			{
				"num_iid": "590670425399",
				"title": "无线键盘 空中飞鼠 新款I8升级版迷你键鼠干电锂电三色背光MT10",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/014/816/12809618410_356555264.jpg",
				"price": "23.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=590670425399"
			},
			{
				"num_iid": "590458188663",
				"title": "c120飞鼠遥控器批发 T2空中飞鼠迷你6轴陀螺仪无线体感鼠标安卓",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/859/615/12809516958_356555264.jpg",
				"price": "22.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=590458188663"
			},
			{
				"num_iid": "668127644733",
				"title": "蓝牙遥控器 MT3 红外学习遥控 安卓电视盒智能电视机投影仪遥控器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01fXXi571S5M6OMKo4r_!!2200729642195-0-cib.jpg",
				"price": "8.50",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=668127644733"
			},
			{
				"num_iid": "607786087216",
				"title": "G10S 语音飞鼠G10 vioce air mouse 2.4G红外学习电视盒遥控器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/141/105/12809501141_356555264.jpg",
				"price": "15.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=607786087216"
			},
			{
				"num_iid": "591000055176",
				"title": "无线键盘 空中飞鼠 新款i8升级版迷你键鼠干电锂电 MT10背光款",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/422/328/12731823224_356555264.jpg",
				"price": "15.80",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=591000055176"
			},
			{
				"num_iid": "619978881842",
				"title": "MT3空中飞鼠 2.4G无线 air mouse万能红外智能电视机顶盒遥控器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/210/845/16570548012_356555264.jpg",
				"price": "12.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=619978881842"
			},
			{
				"num_iid": "607168906632",
				"title": "新品MT1语音飞鼠  2.4G无线陀螺仪鼠标 带背光红外数字遥控器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/149/945/12809549941_356555264.jpg",
				"price": "22.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=607168906632"
			},
			{
				"num_iid": "598378082769",
				"title": "2.4G体感语音飞鼠遥控器工厂直销 新款MT12空中飞鼠支持谷歌语音",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/403/487/12731784304_356555264.jpg",
				"price": "9.90",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=598378082769"
			},
			{
				"num_iid": "590819466873",
				"title": "MT08背光键盘 i8升级版遥控器批发 2.4G无线触摸干电锂电通用飞鼠",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/942/875/16252578249_356555264.jpg",
				"price": "29.00",
				"detail_url": "https://detail.m.1688.com/page/index.html?offerId=590819466873"
			}
		],
		"total_results": "21",
		"page_size": 20,
		"pagecount": 2,
		"page": "1",
		"url": null
	},
	"error": "",
	"secache": "0c78ef61434a2900fffcabfb2257afee",
	"secache_time": 1664346294,
	"secache_date": "2022-09-28 14:24:54",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:56 max:10100 all[156=56+36+64];expires:2030-12-31",
	"execution_time": "2.147",
	"server_time": "Beijing/2022-09-28 14:24:54",
	"client_ip": "106.6.34.243",
	"call_args": {
		"nick": "b2b-2200729642195b61ba"
	},
	"api_type": "1688",
	"translate_language": "zh-CN",
	"translate_engine": "google_new",
	"server_memory": "0.83MB",
	"request_id": "gw-4.6333e8b4a06c3",
	"last_id": "1249375222"
}
【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  kG7ef0NqClb6   2023年11月13日   33   0   0 java
  u2N3sQ7nC0dn   2023年11月13日   33   0   0 java
  rCd1NYtlhh0U   2023年11月13日   34   0   0 java
  rCd1NYtlhh0U   2023年11月13日   38   0   0 java
  bSubxmxwEKmm   2023年11月13日   34   0   0 java
10jApn78vfx0