用关键字搜索lazada商品详情

        目前店铺订单和店铺商品接口权限已经不支持申请应用,有好多做店群业务,店铺订单同步,店铺交易,店铺订单物流,店铺订单消息推送,店铺订单插旗,店铺上传商品,店铺修改商品属性,店铺上货等操作均不能操作了,使用cookie插件不能将店铺订单进行解密明文,今天分享的代码对接可以解决以上的接口对接,可以实现多线程高并发调用,给有改需求的用户更好的体验。

1、公共参数

请求地址: https://api-gw.onebound.cn/aliexpress/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版本

2、请求参数

请求参数:q=shoe&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,_sale,_new]
  (bid:总价,sale:销量,new上架时间,加_前缀为从大到小排序)
page:

3、响应参数

Version: Date:

名称 类型 必须 示例值 描述

num_iid

Bigint 0 32944112999 宝贝ID

title

String 0 Male Breathable Comfortable Casual Shoes Fashion Men Canvas Shoes Lace up Wear-resistant Men Sneakers zapatillas deportiva 商品标题

pic_url

String 0 //ae01.alicdn.com/kf/HTB1_AwYXdfvK1RjSspfq6zzXFXap/Male-Breathable-Comfortable-Casual-Shoes-Fashion-Men-Canvas-Shoes-Lace-up-Wear-resistant-Men-Sneakers-zapatillas.jpg_220x220xz.jpg 宝贝图片

promotion_price

String 0 8.75-8.97 优惠价

price

String 0 8.75-8.97 价格

sales

Int 0 销量

feedback

Int 0 80 评论数

orders

Int 0 815 订单数

sample_id

String 0 商品风格标识ID

post_fee

Float 0 9.91 物流费用

star

String 0 4.8 商品评分

area

String 0 店铺所在地

detail

String 0 //www.aliexpress.com/item/Male-Breathable-Comfortable-Casual-Shoes-Fashion-Men-Canvas-Shoes-Lace-up-Wear-resistant-Men-Sneakers-zapatillas/32944112999.html 商品链接

4、请求示例

{
	"items": {
		"page": 1,
		"error": "",
		"real_total_results": "1158118",
		"total_results": 4400,
		"item": [
			{
				"title": "Fashion Men's and Women's shoes sports shoes, Basketball shoes, Support Custom",
				"pic_url": "https://ae04.alicdn.com/kf/S53ecd1e618ec46cd82a5d53bc40dfb28q.jpg",
				"promotion_price": 50,
				"price": 50,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804496604331",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-0",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804496604331.html"
			},
			{
				"title": "2022 Winter Boots Fur Ladies Snow Boots Real Sheepskin Wool Low-cut Warm Fur Shoes Man and Women Winter Short Boots Super Mini",
				"pic_url": "https://ae04.alicdn.com/kf/S34f9879b7c9e4396a79967d7b40f5b27t.jpg",
				"promotion_price": 49.46,
				"price": 49.46,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804664161454",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-1",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804664161454.html"
			},
			{
				"title": "2022 New AF1 Diamond Shoe Charms Fashion Laces Buckle Quality Metal Shoelaces Decorations Chapa Air Force one Shoes Accessories",
				"pic_url": "//ae04.alicdn.com/kf/S340336b530bd420a94773d8156295f71B.jpg",
				"promotion_price": 0.01,
				"price": 0.01,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256803587122656",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-2",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256803587122656.html"
			},
			{
				"title": "Outdoor floating high tube disposable shoe cover waterproof shoe cover in rainy day thickened plastic rainproof shoe cover for m",
				"pic_url": "https://ae04.alicdn.com/kf/S54d1cb291e984b028fb79c96055390a0F.jpg",
				"promotion_price": 5,
				"price": 5,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804164713914",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-3",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804164713914.html"
			},
			{
				"title": "Summer Preppy Style Sneakers Girly Heart Fashion Blue Casuals Sneakers New Couple Trend Lace-up White Shoes Sneakers Women Shoes",
				"pic_url": "https://ae04.alicdn.com/kf/S3cc4f0599a8048d18ad34fbdc9d74506z.jpg",
				"promotion_price": 20.54,
				"price": 20.54,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256802870419035",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-4",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256802870419035.html"
			},
			{
				"title": "2022 New Mesh Shoe Trend Fashion Casual Slipper Mesh Breathable Sneaker Comfortable Running Shoes Zapatillas Hombre",
				"pic_url": "//ae04.alicdn.com/kf/Sf49195676a5d4e85b721406cb70f50bb1.jpg",
				"promotion_price": 0.41,
				"price": 0.41,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804406162129",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-5",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804406162129.html"
			},
			{
				"title": "B",
				"pic_url": null,
				"promotion_price": null,
				"price": null,
				"orginal_price": "",
				"sales": 0,
				"num_iid": null,
				"sample_id": null,
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/.html"
			},
			{
				"title": "Men Women Summer Beach Slippers Luxury Brand Fashion Outdoor Indoor Eva Soft Flip Flops Male Thick Serrated Sole Anti-Slip Shoes",
				"pic_url": "https://ae04.alicdn.com/kf/S324b207a40664c29ad8deaaa8a783939n.jpg",
				"promotion_price": 4.75,
				"price": 4.75,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804373796498",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-7",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804373796498.html"
			},
			{
				"title": "Men Fashion Sneakers Lightweight Mesh Mens Casual Shoes Breathable Male Footwear Lace Up Walking Shoe Man Sport Running Sneaker",
				"pic_url": "//ae04.alicdn.com/kf/Sdd3abe2082514f76bc2835e0c85b7c0aP.jpg",
				"promotion_price": 0.39,
				"price": 0.39,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804530940195",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-8",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804530940195.html"
			},
			{
				"title": "Women Indoor Slippers Warm Plush Home Female Slipper Autumn Winter Shoes House Flat Floor Home Soft Slient Slides For Bedroom",
				"pic_url": "https://ae04.alicdn.com/kf/S036fa6568f7d4f43af50a6246fc0784aC.jpg",
				"promotion_price": 3.29,
				"price": 3.29,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804655041055",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-9",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804655041055.html"
			},
			{
				"title": "2022 Platform  Loafers Women Leather Round Toe Women Shoes Lace-up Chunky Sole Ladies Casual Shoes Handmade zapatos mujer",
				"pic_url": "//ae04.alicdn.com/kf/S5b317c0256c9481798ca51bf54904eda0.jpg",
				"promotion_price": 11.86,
				"price": 11.86,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804513152929",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-10",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804513152929.html"
			},
			{
				"title": "Cross Slippers Women Winter Fashion Fluffy Fur Slipper Home Slides Platform Flat Indoor Floor Flip Flops Women Ladies Shoes 2022",
				"pic_url": "//ae04.alicdn.com/kf/S0a9a1b3c460042d6a704041252770f9a7.jpg",
				"promotion_price": 7.34,
				"price": 7.34,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804593555115",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-17",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804593555115.html"
			},
			{
				"title": "INOE Fashion Style Natural Fox Fur Tassels Casual Winter Snow Boots for Women Real Cow Suede Leather Warm Shoes Black Brown",
				"pic_url": "//ae04.alicdn.com/kf/Hd4f4a08d6e1c438fb757018739e76b710.jpg",
				"promotion_price": 84.92,
				"price": 84.92,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "2251801851340041",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-18",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/2251801851340041.html"
			},
			{
				"title": "Women Boots Waterproof Snow Boots For Winter Shoes Women Heels Ankle Boots Winter Platform Botas Mujer Keep Warm Bottines Female",
				"pic_url": "//ae04.alicdn.com/kf/S546f0aefaf444d9da8269665f8c2ffee5.jpg",
				"promotion_price": 15.44,
				"price": 15.44,
				"orginal_price": "",
				"sales": 0,
				"num_iid": "3256804593827173",
				"sample_id": "0f80e927-2f70-4841-9425-ba95ebc1e117-19",
				"seller_nick": "",
				"detail_url": "https://www.aliexpress.com/item/3256804593827173.html"
			}
		],
		"related_keywords": [],
		"nav_catcamp": [],
		"crumbs": [],
		"breadcrumbs": [],
		"navs": [],
		"data_from": "",
		"url": "",
		"keyword": "shoe",
		"cid": "",
		"page_size": 20,
		"pagecount": ""
	},
	"error_code": "0000",
	"reason": "ok",
	"secache": "a799cd7c0b5c3217932480868ddb51cc",
	"secache_time": 1667263890,
	"secache_date": "2022-11-01 08:51:30",
	"error": "",
	"cache": 0,
	"api_info": "today:30 max:10100 all[59=30+9+20];expires:2030-12-31",
	"execution_time": "1.464",
	"server_time": "Beijing/2022-11-01 08:51:30",
	"client_ip": "106.6.34.202",
	"call_args": {
		"q": "shoe"
	},
	"api_type": "aliexpress",
	"translate_language": "zh-CN",
	"translate_engine": "google_cn",
	"server_memory": "3.25MB",
	"request_id": "gw-1.63606d909c5b4",
	"last_id": "1325963926"
}

你可能感兴趣的:(商品详情,数据,java,开发语言)