首页 > 其他分享 >如何按关键字搜索获取商品详情

如何按关键字搜索获取商品详情

时间:2023-08-01 10:36:26浏览次数:44  
标签:suning url price seller 关键字 num 搜索 详情 id


 前往注册开通测试

onebound.suning.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=&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:

响应参数

Version: Date:

名称

类型

必须

示例值

描述

title

String

0

百慕爱BAIMUAI休闲鞋 女2019春季 透气 时尚 推荐舒适增高运动鞋女板鞋女英伦小白鞋女学生磨砂皮女鞋 秋冬新款 热销推荐

商品标题

pic_url

String

0

//imgservice1.suning.cn/uimg1/b2c/image/GfDETtejamy-pyxEFRQGPA.jpg_400w_400h_4e

商品图片

promotion_price

Float

0

79.00

优惠价

price

Float

0

180.00

价格

sales

Int

0

销量

num_iid

Bigint

0

0070089297/10228868562

商品ID

item_id

Bigint

0

10228868562

sample_id

String

0

商品风格标识ID

seller_nick

String

0

约薇女装官方旗舰店

卖家昵称

shopid

Bigint

0

店铺ID

shop_href

String

0

店铺链接

shopname

String

0

店铺名称

post_fee

Float

0

物流费用

area

String

0

店铺所在地

detail_url

String

0

//product.suning.com/0070089297/10228868562.html

商品链接

seller_info

Mix

0

{"user_num_id": "0070089297"}

店铺信息

请求示例

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

响应示例

{
	"items": {
		"page": 1,
		"error": "",
		"real_total_results": "82224",
		"total_results": 1500,
		"item": [
			{
				"title": "男士跑步鞋男夏季透气潮鞋子男飞织男士休闲鞋跑步运动鞋男鞋子 CN-F088黑蓝 41码 【正常尺码】【平时休闲鞋穿多大就拍多大】 ",
				"pic_url": "//imgservice3.suning.cn/uimg1/b2c/image/QUbXSurJ_VOIb4g6m59NJA.jpg_400w_400h_4e",
				"promotion_price": "89.00",
				"price": "89.00",
				"sales": 0,
				"num_iid": "0071332617/12258356071",
				"item_id": "12258356071",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071332617/12258356071.html",
				"seller_info": {
					"user_num_id": "0071332617"
				}
			},
			{
				"title": "男士跑步鞋男老爹鞋透气网布时尚百搭耐磨厚底日常休闲运动鞋男鞋子 SH-A8805黑色 42码 【正常尺码】【平时休闲鞋穿多大就拍多大】 ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/WK0pPJFGemaGgItdfnO1Ew.jpg_400w_400h_4e",
				"promotion_price": "79.00",
				"price": "79.00",
				"sales": 0,
				"num_iid": "0071332617/12262971834",
				"item_id": "12262971834",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071332617/12262971834.html",
				"seller_info": {
					"user_num_id": "0071332617"
				}
			},
			{
				"title": "男士跑步鞋男飞织鞋轻便透气老爹鞋舒适时尚日常休闲运动鞋男鞋子 SH-1917灰色 41码 【正常尺码】【平时休闲鞋穿多大就拍多大】 ",
				"pic_url": "//imgservice5.suning.cn/uimg1/b2c/image/4qtoi6-lIDyMat4s0Tu5HQ.jpg_400w_400h_4e",
				"promotion_price": "89.00",
				"price": "89.00",
				"sales": 0,
				"num_iid": "0071332617/12196174121",
				"item_id": "12196174121",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071332617/12196174121.html",
				"seller_info": {
					"user_num_id": "0071332617"
				}
			},
			{
				"title": "国际线Yushan丨361°户外越野跑步鞋男鞋舒适Q弹缓震运动鞋 上网上街上苏宁 ",
				"pic_url": "//imgservice2.suning.cn/uimg1/b2c/image/ANCD2388in6k9-orIujlOQ.jpg_400w_400h_4e",
				"promotion_price": "249.00",
				"price": "379.00",
				"sales": 0,
				"num_iid": "0070069904/12392083781",
				"item_id": "12392083781",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070069904/12392083781.html",
				"seller_info": {
					"user_num_id": "0070069904"
				}
			},
			{
				"title": "男士跑步鞋老爹鞋网鞋潮流时尚运动鞋舒适透气休闲运动鞋男鞋子 尺码标准,退换无忧! ",
				"pic_url": "//imgservice5.suning.cn/uimg1/b2c/image/7tiP4gxT966m26qi2Oc2Fw.jpg_400w_400h_4e",
				"promotion_price": "89.00",
				"price": "89.00",
				"sales": 0,
				"num_iid": "0071300377/12129922058",
				"item_id": "12129922058",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071300377/12129922058.html",
				"seller_info": {
					"user_num_id": "0071300377"
				}
			},
			{
				"title": "男士跑步鞋老爹鞋网鞋时尚运动鞋舒适透气休闲运动鞋男鞋子 6612白兰 41码 尺码标注,退换无忧! ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/f2lebGdGyypKty35c8Dxmw.jpg_400w_400h_4e",
				"promotion_price": "89.00",
				"price": "89.00",
				"sales": 0,
				"num_iid": "0071300377/12150295814",
				"item_id": "12150295814",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071300377/12150295814.html",
				"seller_info": {
					"user_num_id": "0071300377"
				}
			},
			{
				"title": "飞影PB乔丹巭Pro马拉松竞速碳板跑鞋透气男鞋跑步鞋减震女运动鞋 上网上街上苏宁 ",
				"pic_url": "//imgservice4.suning.cn/uimg1/b2c/image/Yey_k2uInvAdD3hPyLzqZQ.jpg_400w_400h_4e",
				"promotion_price": "799.00",
				"price": "799.00",
				"sales": 0,
				"num_iid": "0070123011/12351781793",
				"item_id": "12351781793",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070123011/12351781793.html",
				"seller_info": {
					"user_num_id": "0070123011"
				}
			},
			{
				"title": "云舒丨361°男运动鞋2022新款NFO科技软底休闲复古跑步鞋男 【直降到底】再满199减30 299减60 ",
				"pic_url": "//imgservice4.suning.cn/uimg1/b2c/image/S2YLpEV8NIFXiEYKNoiakQ.jpg_400w_400h_4e",
				"promotion_price": "169.00",
				"price": "269.00",
				"sales": 0,
				"num_iid": "0070069904/12362327970",
				"item_id": "12362327970",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070069904/12362327970.html",
				"seller_info": {
					"user_num_id": "0070069904"
				}
			},
			{
				"title": "男士跑步鞋男阿甘男鞋学生男士透气老爹日常休闲运动鞋子 AG12黑色 40码 【正常尺码】【平时休闲鞋穿多大就拍多大】 ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/7J_zpGgSGW4e0kWf_gOJIQ.jpg_400w_400h_4e",
				"promotion_price": "79.00",
				"price": "79.00",
				"sales": 0,
				"num_iid": "0071455079/12299316369",
				"item_id": "12299316369",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071455079/12299316369.html",
				"seller_info": {
					"user_num_id": "0071455079"
				}
			},
			{
				"title": "鸿星尔克22春夏新款男士经典网面透气跑步鞋防滑耐磨舒适户外运动鞋 上网上街上苏宁 ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/dmQpkw_55LtycmOtA2ss8Q.jpg_400w_400h_4e",
				"promotion_price": "99.00",
				"price": "115.00",
				"sales": 0,
				"num_iid": "0070948224/12323407443",
				"item_id": "12323407443",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070948224/12323407443.html",
				"seller_info": {
					"user_num_id": "0070948224"
				}
			},
			{
				"title": "361°男鞋跑鞋2022新款雨屏5.0防泼水运动鞋男Q弹减震跑步鞋男 【直降到底】再满199减30 299减60 ",
				"pic_url": "//imgservice2.suning.cn/uimg1/b2c/image/cD_9SDsngHYOlCLiCzrNoA.jpg_400w_400h_4e",
				"promotion_price": "339.00",
				"price": "449.00",
				"sales": 0,
				"num_iid": "0070069904/12362114454",
				"item_id": "12362114454",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070069904/12362114454.html",
				"seller_info": {
					"user_num_id": "0070069904"
				}
			},
			{
				"title": "鸿星尔克运动鞋时尚2022新款男士老爹鞋户外耐磨轻便休闲跑步鞋男 上网上街上苏宁 ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/wtBqSG23quUDWR5zWmmtWw.jpg_400w_400h_4e",
				"promotion_price": "149.00",
				"price": "229.00",
				"sales": 0,
				"num_iid": "0070948224/12318952288",
				"item_id": "12318952288",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070948224/12318952288.html",
				"seller_info": {
					"user_num_id": "0070948224"
				}
			},
			{
				"title": "鸿星尔克男子运动鞋21年秋季新款男子休闲防滑耐磨舒适轻便休闲跑步鞋 鸿星尔克正品 ",
				"pic_url": "//imgservice5.suning.cn/uimg1/b2c/image/Dq2wmhexJqa2KPdOFtwcbg.jpg_400w_400h_4e",
				"promotion_price": "99.00",
				"price": "225.00",
				"sales": 0,
				"num_iid": "0070948224/12338221405",
				"item_id": "12338221405",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070948224/12338221405.html",
				"seller_info": {
					"user_num_id": "0070948224"
				}
			},
			{
				"title": "乔丹男鞋跑步鞋新款男士轻便跑步健身减震耐磨运动鞋男 XM3570246 黑色/银色 41码 乔丹官方旗舰店 ",
				"pic_url": "//imgservice3.suning.cn/uimg1/b2c/image/e280ZOe5gQEafmbE7mABVQ.jpg_400w_400h_4e",
				"promotion_price": "139.00",
				"price": "139.00",
				"sales": 0,
				"num_iid": "0070064422/654863212",
				"item_id": "654863212",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070064422/654863212.html",
				"seller_info": {
					"user_num_id": "0070064422"
				}
			},
			{
				"title": "多威马拉松训练跑鞋透气体育生田径专业跑步运动鞋MR3517MN 透气、后跟反光热切 ",
				"pic_url": "//imgservice5.suning.cn/uimg1/b2c/image/pQk79we8cs1nPRItu1s-0Q.jpg_400w_400h_4e",
				"promotion_price": "169.00",
				"price": "169.00",
				"sales": 0,
				"num_iid": "0070169486/12285275146",
				"item_id": "12285275146",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070169486/12285275146.html",
				"seller_info": {
					"user_num_id": "0070169486"
				}
			},
			{
				"title": "C新款数码迷彩马拉松跑鞋男女军鞋作训鞋黑色跑步运动鞋AM2801 A2711加强款,植胶防脱,缓震回弹 ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/-yOtxNmhxu9BDB-tETGXPQ.png_400w_400h_4e",
				"promotion_price": "253.00",
				"price": "253.00",
				"sales": 0,
				"num_iid": "0070169486/654508301",
				"item_id": "654508301",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070169486/654508301.html",
				"seller_info": {
					"user_num_id": "0070169486"
				}
			},
			{
				"title": "多威跑鞋男新款战神2代训练鞋女专业马拉松竞速跑步运动鞋MR90201 前掌回弹、后跟减震反光、TPU稳定支撑 ",
				"pic_url": "//imgservice5.suning.cn/uimg1/b2c/image/6i-rHI5pe1ZeY5qfQ3Cr5A.jpg_400w_400h_4e",
				"promotion_price": "399.00",
				"price": "399.00",
				"sales": 0,
				"num_iid": "0070169486/12129936002",
				"item_id": "12129936002",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070169486/12129936002.html",
				"seller_info": {
					"user_num_id": "0070169486"
				}
			},
			{
				"title": "乔丹运动鞋男鞋2022秋季新款跑步鞋减震防滑耐磨休闲鞋旅游鞋男士运动鞋男官方正品学生男跑鞋轻便鞋防滑男士跑步鞋 官方正品 ",
				"pic_url": "//imgservice2.suning.cn/uimg1/b2c/image/yC9xRsPafswA7mlXYiZzpg.jpg_400w_400h_4e",
				"promotion_price": "129.00",
				"price": "259.00",
				"sales": 0,
				"num_iid": "0070283999/10640515400",
				"item_id": "10640515400",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070283999/10640515400.html",
				"seller_info": {
					"user_num_id": "0070283999"
				}
			},
			{
				"title": "李宁男鞋2022春季新款阿甘鞋板鞋帆布鞋休闲鞋跑鞋运动鞋子 【官方正品保障】【支持七天无理由退换货】 ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/MfG94ZZhAz5uSUMDL_icFQ.jpg_400w_400h_4e",
				"promotion_price": "199.00",
				"price": "199.00",
				"sales": 0,
				"num_iid": "0071368062/12233576323",
				"item_id": "12233576323",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071368062/12233576323.html",
				"seller_info": {
					"user_num_id": "0071368062"
				}
			},
			{
				"title": "特步跑步鞋男鞋2022秋季新款休闲鞋子潮男士革面保暖网面透气轻便正品男士跑鞋休闲鞋黑色男运动鞋 官方正品 ",
				"pic_url": "//imgservice4.suning.cn/uimg1/b2c/image/2hRlzdXvSJGLbqQH8w51GQ.jpg_400w_400h_4e",
				"promotion_price": "129.00",
				"price": "239.00",
				"sales": 0,
				"num_iid": "0070283999/11604949910",
				"item_id": "11604949910",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070283999/11604949910.html",
				"seller_info": {
					"user_num_id": "0070283999"
				}
			},
			{
				"title": "女鞋跑步鞋气垫鞋2022夏秋季新款大码软底休闲运动鞋 舒适柔软 透气干爽 防滑大底 ",
				"pic_url": "//imgservice3.suning.cn/uimg1/b2c/image/yQtQPHKYfUS21aGN4GcaqQ.jpg_400w_400h_4e",
				"promotion_price": "63.00",
				"price": "156.00",
				"sales": 0,
				"num_iid": "0070088959/11577148112",
				"item_id": "11577148112",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070088959/11577148112.html",
				"seller_info": {
					"user_num_id": "0070088959"
				}
			},
			{
				"title": "特步女鞋运动鞋女2022春夏季新款跑鞋老爹鞋学生山海经休闲鞋子跑步鞋 【官方正品保障】【支持七天无理由退换货】 ",
				"pic_url": "//imgservice3.suning.cn/uimg1/b2c/image/Un2pyo7pty3aw80iRXZGIQ.jpg_400w_400h_4e",
				"promotion_price": "159.00",
				"price": "159.00",
				"sales": 0,
				"num_iid": "0071289332/12234919089",
				"item_id": "12234919089",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071289332/12234919089.html",
				"seller_info": {
					"user_num_id": "0071289332"
				}
			},
			{
				"title": "特步女鞋跑步鞋2022夏季新款跑鞋休闲鞋子网面透气学生轻便运动鞋女 官方正品 ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/TXh_kXFpEna--NktlTKmWw.jpg_400w_400h_4e",
				"promotion_price": "149.00",
				"price": "239.00",
				"sales": 0,
				"num_iid": "0070283999/12217962001",
				"item_id": "12217962001",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070283999/12217962001.html",
				"seller_info": {
					"user_num_id": "0070283999"
				}
			},
			{
				"title": "Adidas阿迪达斯女鞋男鞋秋季新款运动鞋bounce小椰子跑步鞋FZ2195 上网上街上苏宁 ",
				"pic_url": "//imgservice5.suning.cn/uimg1/b2c/image/bQ6uCwD5E0X3xVqaRZ4F4Q.jpg_400w_400h_4e",
				"promotion_price": "899.00",
				"price": "899.00",
				"sales": 0,
				"num_iid": "0071370990/12258134232",
				"item_id": "12258134232",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071370990/12258134232.html",
				"seller_info": {
					"user_num_id": "0071370990"
				}
			},
			{
				"title": "李宁男鞋官方正品跑步鞋潮鞋跑鞋夏季新款青少年休闲超轻减震liming运动鞋子 【官方正品保障】【支持七天无理由退换货】 ",
				"pic_url": "//imgservice5.suning.cn/uimg1/b2c/image/y_Z4CXUd-OWSqfRsKIdNyw.jpg_400w_400h_4e",
				"promotion_price": "189.00",
				"price": "189.00",
				"sales": 0,
				"num_iid": "0071289332/12118704625",
				"item_id": "12118704625",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071289332/12118704625.html",
				"seller_info": {
					"user_num_id": "0071289332"
				}
			},
			{
				"title": "Adidas阿迪达斯黑武士网面鞋透气跑步鞋阿迪达斯男2021夏季新款减震慢跑鞋FX3627 上网上街上苏宁 ",
				"pic_url": "//imgservice4.suning.cn/uimg1/b2c/image/byALbTVSQci_P6Pw0XNxhg.jpg_400w_400h_4e",
				"promotion_price": "599.00",
				"price": "599.00",
				"sales": 0,
				"num_iid": "0071370990/12278045951",
				"item_id": "12278045951",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071370990/12278045951.html",
				"seller_info": {
					"user_num_id": "0071370990"
				}
			},
			{
				"title": "特步女鞋运动鞋女2022春夏季新款百搭休闲樱花鞋子老爹鞋学生跑步鞋 【官方正品保障】【支持七天无理由退换货】 ",
				"pic_url": "//imgservice1.suning.cn/uimg1/b2c/image/MZv_HS7g_6YrtXPff849EA.jpg_400w_400h_4e",
				"promotion_price": "159.00",
				"price": "159.00",
				"sales": 0,
				"num_iid": "0071289332/12234919011",
				"item_id": "12234919011",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0071289332/12234919011.html",
				"seller_info": {
					"user_num_id": "0071289332"
				}
			},
			{
				"title": "乔丹运动鞋女2022秋季新款官方白色皮面跑鞋休闲女鞋小白跑步鞋子 官方正品 ",
				"pic_url": "//imgservice5.suning.cn/uimg1/b2c/image/QL8PAZVwr5h4VGsVWG1XrA.jpg_400w_400h_4e",
				"promotion_price": "159.00",
				"price": "269.00",
				"sales": 0,
				"num_iid": "0070512988/12371070307",
				"item_id": "12371070307",
				"sample_id": "",
				"seller_nick": "",
				"shopid": "",
				"shop_href": "",
				"shopname": "",
				"post_fee": "",
				"area": "",
				"detail_url": "//product.suning.com/0070512988/12371070307.html",
				"seller_info": {
					"user_num_id": "0070512988"
				}
			}
		],
		"related_keywords": [],
		"nav_catcamp": [],
		"crumbs": [],
		"breadcrumbs": [],
		"navs": [],
		"data_from": "",
		"url": "",
		"detail_url": "http://search.suning.com/%E9%9E%8B%E5%AD%90/",
		"keyword": null,
		"page_size": "",
		"pagecount": ""
	},
	"error_code": "0000",
	"reason": "ok",
	"secache": "e299413c54b7d53e00a8046fc5bd7bdb",
	"secache_time": 1665207195,
	"secache_date": "2022-10-08 13:33:15",
	"translate_status": "error",
	"translate_time": 0.001,
	"language": {
		"current_lang": "cn",
		"source_lang": "zh-CN"
	},
	"error": "",
	"cache": 0,
	"api_info": "today:37 max:10000 all[87=37+25+25];expires:2030-12-31",
	"execution_time": "1.725",
	"server_time": "Beijing/2022-10-08 13:33:15",
	"client_ip": "106.6.32.64",
	"call_args": {
		"q": "鞋子"
	},
	"api_type": "suning",
	"translate_language": "zh-CN",
	"translate_engine": null,
	"server_memory": "3.32MB",
	"request_id": "gw-3.63410b9a01263",
	"last_id": "1268743346"
}

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

状态代码(error_code)

状态信息

详细描述

是否收费

0000

success

接口调用成功并返回相关数据


2000

Search success but no result

接口访问成功,但是搜索没有结果


4000

Server internal error

服务器内部错误


4001

Network error

网络错误


4002

Target server error

目标服务器错误


4003

Param error

用户输入参数错误

忽略

4004

Account not found

用户帐号不存在

忽略

4005

Invalid authentication credentials

授权失败

忽略

4006

API stopped

您的当前API已停用

忽略

4007

Account stopped

您的账户已停用

忽略

4008

API rate limit exceeded

并发已达上限

忽略

4009

API maintenance

API维护中

忽略

4010

API not found with these values

API不存在

忽略

4012

Please add api first

请先添加api

忽略

4013

Number of calls exceeded

调用次数超限

忽略

4014

Missing url param

参数缺失

忽略

4015

Wrong pageToken

参数pageToken有误

忽略

4016

Insufficient balance

余额不足

忽略

4017

timeout error

请求超时


5000

unknown error

未知错误


标签:suning,url,price,seller,关键字,num,搜索,详情,id
From: https://blog.51cto.com/u_16182967/6918241

相关文章

  • 学会通过商品id来获得商品详情
     前往注册开通测试onebound.suning.item_get公共参数名称类型必须描述keyString是调用key(必须以GET方式拼接在URL中)secretString是调用密钥api_nameString是API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]cacheString否[yes,no]默认yes,将调用缓存的数据,......
  • 拼多多按关键字搜索商品 API
    一、拼多多平台优势:1、独创拼团模式拼团拼单是拼多多独创的营销模式,其特点是基于人脉社交的裂变传播,非常具有传播性。由于本身走低价路线,加上拼单折扣,商品的分享和人群裂变效果非常明显,电商前期最难在于吸引用户,拼多多初期利用低价拼团模式,快速大量的分享曝光可以把产品知名度很快......
  • PDD根据ID取商品详情 API
    为了进行电商平台的API开发,首先我们需要做下面几件事情。1)开发者注册一个账号2)然后为每个PDD应用注册一个应用程序键(AppKey)。3)下载PDDAPI的SDK并掌握基本的API基础知识和调用4)利用SDK接口和对象,传入AppKey或者必要的时候获取并传入SessionKey来进行程序开发。5)利用PDD平台的文......
  • 获得商品详情 API
    为了进行电商平台的API开发,首先我们需要做下面几件事情。1)开发者注册一个账号2)然后为每个jd应用注册一个应用程序键(AppKey)。3)下载jdAPI的SDK并掌握基本的API基础知识和调用4)利用SDK接口和对象,传入AppKey或者必要的时候获取并传入SessionKey来进行程序开发。5)利用jd平台的文档中......
  • vvic根据ID取商品详情 API
    为了进行电商平台的API开发,首先我们需要做下面几件事情。1)开发者注册一个账号2)然后为每个vvic应用注册一个应用程序键(AppKey)。3)下载vvicAPI的SDK并掌握基本的API基础知识和调用4)利用SDK接口和对象,传入AppKey或者必要的时候获取并传入SessionKey来进行程序开发。5)利用vvic平台......
  • alibaba按关键字搜索商品 API
    为了进行电商平台的API开发,首先我们需要做下面几件事情。1)开发者注册一个账号2)然后为每个alibaba应用注册一个应用程序键(AppKey)。3)下载alibabaAPI的SDK并掌握基本的API基础知识和调用4)利用SDK接口和对象,传入AppKey或者必要的时候获取并传入SessionKey来进行程序开发。5)利用ali......
  • shopee根据ID取商品详情 API
    简单演示公共参数:https://o0b.cn/iinoah名称类型必须描述keyString是调用key(前往获取key和secret)secretString是调用密钥api_nameString是API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]cacheString否[yes,no]默认yes,将调用缓存的数据,速度比较快result_typ......
  • 微软bing(必应)搜索首页右上角三个按钮点击无效, 没有反应. 导致无法登录, 或者登陆了
    1.控制面板>网络和连接>网络和共享中心>点开自己的网>属性 TCP/IPv4改成如下图 2.cmd>ipconfig/flushdns ......
  • 搜索(DFS和BFS)
    深搜是我最早学的算法,当然现在还没有信手拈来就是了。。。为了更好地学树和图,只能回来刷搜索了。。。。。我已经搜了一天了啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊(疯癫)首先是今天去刷的八皇后问题,特别经典的搜索题,我记得我有一天深夜学算法就看了这个八皇后问题,其实深搜和广搜......
  • 二叉搜索树的最小绝对差
    给你一个二叉搜索树的根节点root,返回树中任意两不同节点值之间的最小差值。差值是一个正数,其数值等于两值之差的绝对值。示例1:输入:root=[4,2,6,1,3]输出:1示例2:输入:root=[1,0,48,null,null,12,49]输出:1/***Definitionforabinarytreenode.*publiccl......