阿里巴巴中国站按关键字搜索商品 API 返回值说明

请求参数:q=光腿神器&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=40&seller_info=no&nick=&seller_info=&nick=&ppath=&imgid=&filter=

参数说明:q:搜索关键字
cat:分类ID
start_price:开始价格
end_price:结束价格
sort:排序[bid,_bid,_sale,_credit]
(bid:总价,sale:销量,credit信用,加_前缀为从大到小排序)
page:页数  page_size:每页宝贝数量,默认40
filter:额外的过滤参数,如:filter=filtId:1,2,3,4;activityType:1,2,3,4;city:天津;quantityBegin:1000
filtId 过滤:48小时发货,7+天包换,赠运费险,免费赊账;
activityType 优惠类型:包邮,产地货源,伙拼,手机专享价
city 地区:地区名
quantityBegin 起订量:数字

阿里巴巴中国站按关键字搜索商品 API 返回值说明_第1张图片

 

API测试工具 点击申请试用

响应参数

Version: Date:

名称 类型 必须 示例值 描述
items items[] 0 按关键字搜索商品
page Int 0 1 页码
real_total_results Int 0 1900 宝贝数量
total_results Int 0 1900 宝贝数量
page_size Int 0 20 接口返回数量
pagecount Int 0 120 总页数
data_from String 0
item item[] 0 宝贝详情数据

请求示例

  • PHP
&secret=<您自己的apiSecret>&q=光腿神器&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=40&seller_info=no&nick=&seller_info=&nick=&ppath=&imgid=&filter=";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>

API返回结果

---------------------------------------
{
	"items": {
		"page": "1",
		"real_total_results": 1900,
		"total_results": 1900,
		"page_size": 19,
		"pagecount": 100,
		"item": [
			{
				"title": "宝娜斯丝袜女秋冬肤色裸感打底袜加绒双层连裤袜超自然光腿神器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN0186OAZl1SP3B6GiKdw_!!998302238-0-cib.jpg",
				"promotion_price": "19.90",
				"price": "19.90",
				"sales": 11628,
				"turnover": "14万+",
				"num_iid": "680850623752",
				"seller_nick": "浙江宝娜斯袜业有限公司",
				"tag_percent": "15%",
				"area": "义乌市",
				"detail_url": "https://detail.1688.com/offer/680850623752.html"
			},
			{
				"title": "觅橘茉寻高品质光腿神器同源工厂光腿神器女双层裸感逼真连裤袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01Aeg0s72Ex27AGTmVg_!!2208500898810-0-cib.jpg",
				"promotion_price": "9.90",
				"price": "9.90",
				"sales": 27252,
				"turnover": "18万+",
				"num_iid": "682527919738",
				"seller_nick": "诸暨市晟幸针织有限公司",
				"tag_percent": "9%",
				"area": "绍兴市",
				"detail_url": "https://detail.1688.com/offer/682527919738.html"
			},
			{
				"title": "假透肉打底裤女秋冬加绒加厚空姐灰光腿神器透肤薄款外穿春连裤袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN010QRLwC1CnIIF9ASO5_!!2214774710125-0-cib.jpg",
				"promotion_price": "9.50",
				"price": "9.50",
				"sales": 0,
				"turnover": "",
				"num_iid": "686993783104",
				"seller_nick": "诸暨市智刚针织有限公司",
				"tag_percent": "0%",
				"area": "诸暨市",
				"detail_url": "https://detail.1688.com/offer/686993783104.html"
			},
			{
				"title": "【傲寒光腿神器】 双层春秋薄款肉色丝袜 秋冬大码裸感加绒打底裤",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01cxSjNh1t864GhJRwI_!!3216995856-0-cib.jpg",
				"promotion_price": "21.80",
				"price": "21.80",
				"sales": 390220,
				"turnover": "192万+",
				"num_iid": "654897288478",
				"seller_nick": "诸暨市傲寒针纺有限公司",
				"tag_percent": "7%",
				"area": "诸暨市",
				"detail_url": "https://detail.1688.com/offer/654897288478.html"
			},
			{
				"title": "水光袜透肤女光腿逼真隐形丝袜神器女春秋冬打底加绒假透肉连裤袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01VXDFap2JaCS5JhSxQ_!!3231889437-0-cib.jpg",
				"promotion_price": "13.50",
				"price": "13.50",
				"sales": 36134,
				"turnover": "65万+",
				"num_iid": "684148726961",
				"seller_nick": "义乌市万宸袜业有限公司",
				"tag_percent": "18%",
				"area": "义乌市",
				"detail_url": "https://detail.1688.com/offer/684148726961.html"
			},
			{
				"title": "丝袜光腿神器天鹅绒连裤袜女裸感水光袜打底袜加厚加绒打底裤批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01CPgtuM1y9544iRxCz_!!2212537626535-0-cib.jpg",
				"promotion_price": "3.90",
				"price": "3.90",
				"sales": 265923,
				"turnover": "70万+",
				"num_iid": "680634580575",
				"seller_nick": "诸暨市昉偲针织有限公司",
				"tag_percent": "11%",
				"area": "诸暨市",
				"detail_url": "https://detail.1688.com/offer/680634580575.html"
			},
			{
				"title": "光腿神器女秋冬裸感超自然肤色连裤袜丝袜肉色加绒打底裤春秋薄款",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01iSNm6Y1Rm7VwTO0cr_!!2213350932153-0-cib.jpg",
				"promotion_price": "9.80",
				"price": "9.80",
				"sales": 1120,
				"turnover": "1万+",
				"num_iid": "686438950081",
				"seller_nick": "台州家诚袜业有限公司",
				"tag_percent": "16%",
				"area": "台州市",
				"detail_url": "https://detail.1688.com/offer/686438950081.html"
			},
			{
				"title": "光腿神器女加绒双层裸感连裤袜秋冬肉色加厚丝袜高腰显瘦打底袜裤",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01xHSrIX1xDpYqQa68b_!!2156876410-0-cib.jpg",
				"promotion_price": "15.21",
				"price": "15.21",
				"sales": 70031,
				"turnover": "66万+",
				"num_iid": "679771559861",
				"seller_nick": "诸暨市爱秀针织厂",
				"tag_percent": "15%",
				"area": "诸暨市",
				"detail_url": "https://detail.1688.com/offer/679771559861.html"
			},
			{
				"title": "光腿神器女秋冬裸感超自然不假肢加绒任意剪双层连裤袜肤色打底裤",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01tjJFFj1OFeaha77zT_!!2211270051676-0-cib.jpg",
				"promotion_price": "11.80",
				"price": "11.80",
				"sales": 25670,
				"turnover": "19万+",
				"num_iid": "656421808382",
				"seller_nick": "诸暨市舒近袜业有限公司",
				"tag_percent": "6%",
				"area": "诸暨市",
				"detail_url": "https://detail.1688.com/offer/656421808382.html"
			},
			{
				"title": "茉寻觅橘光腿肉色神器打底裤女双层大码自然秋冬裸感加绒加厚批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01QJLFa71lxpsnoAoJw_!!2207597244886-0-cib.jpg",
				"promotion_price": "9.80",
				"price": "9.80",
				"sales": 273191,
				"turnover": "65万+",
				"num_iid": "651127268417",
				"seller_nick": "诸暨市回头率针织厂",
				"tag_percent": "11%",
				"area": "诸暨市",
				"detail_url": "https://detail.1688.com/offer/651127268417.html"
			},
			{
				"title": "宝娜斯丝袜女秋冬肤色裸感打底袜加绒双层连裤袜超自然光腿神器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN0186OAZl1SP3B6GiKdw_!!998302238-0-cib.jpg",
				"promotion_price": "19.90",
				"price": "19.90",
				"sales": 11628,
				"turnover": "14万+",
				"num_iid": "680850623752",
				"seller_nick": "浙江宝娜斯袜业有限公司",
				"tag_percent": "15%",
				"area": "义乌市",
				"detail_url": "https://detail.1688.com/offer/680850623752.html"
			},
			{
				"title": "小个子光腿神器150cm双层假透肉秋冬裸感打底裤高个子加长连裤女",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01oXXrZC1ZBx5aBlI9v_!!2208557223157-0-cib.jpg",
				"promotion_price": "20.00",
				"price": "20.00",
				"sales": 21013,
				"turnover": "7000+",
				"num_iid": "657551995964",
				"seller_nick": "浙江焕彩服饰有限公司",
				"tag_percent": "12%",
				"area": "台州市",
				"detail_url": "https://detail.1688.com/offer/657551995964.html"
			},
			{
				"title": "光腿神器丝袜女秋冬肉色黑打底裤傲寒加绒加厚保暖连裤袜薄绒批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN0133ubD02IRD3EZDViQ_!!2213225899282-0-cib.jpg",
				"promotion_price": "8.78",
				"price": "8.78",
				"sales": 1717,
				"turnover": "1万+",
				"num_iid": "677975959875",
				"seller_nick": "诸暨越杨针织有限公司",
				"tag_percent": "9%",
				"area": "绍兴市",
				"detail_url": "https://detail.1688.com/offer/677975959875.html"
			},
			{
				"title": "傲寒光腿裸感神器女双层 秋冬肉色任意剪自然逼真加绒打底连裤袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01KqS6Hb1QFlrdwwoY7_!!3501941947-0-cib.jpg",
				"promotion_price": "19.00",
				"price": "19.00",
				"sales": 18650,
				"turnover": "8万+",
				"num_iid": "662108865948",
				"seller_nick": "诸暨市赢创针织厂",
				"tag_percent": "6%",
				"area": "诸暨市",
				"detail_url": "https://detail.1688.com/offer/662108865948.html"
			},
			{
				"title": "加绒加厚光腿袜神器女秋冬仿锦纶打底裤外穿连裤袜保暖裤一体裤",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01VuKb3d28IN99TwJ3c_!!2208127787909-0-cib.jpg",
				"promotion_price": "3.40",
				"price": "3.40",
				"sales": 4329,
				"turnover": "1000+",
				"num_iid": "659814002497",
				"seller_nick": "天台宝蜜袜业有限公司",
				"tag_percent": "13%",
				"area": "台州市",
				"detail_url": "https://detail.1688.com/offer/659814002497.html"
			},
			{
				"title": "浪莎丝袜女士秋冬连裤袜120d天鹅绒防勾丝肉色光腿神器水光打底袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01y3aG8D29ufvVQTrbV_!!2827978128-0-cib.jpg",
				"promotion_price": "7.47",
				"price": "7.47",
				"sales": 287944,
				"turnover": "4万+",
				"num_iid": "536475958519",
				"seller_nick": "浪莎针织有限公司",
				"tag_percent": "18%",
				"area": "金华市",
				"detail_url": "https://detail.1688.com/offer/536475958519.html"
			},
			{
				"title": "茉寻同源光腿神器双层女秋冬肉色打底裤加绒加厚假透肉裸感连裤袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01xkdh0C1zblUM6li6O_!!2214001966733-0-cib.jpg",
				"promotion_price": "10.50",
				"price": "10.50",
				"sales": 8374,
				"turnover": "18万+",
				"num_iid": "681040412531",
				"seller_nick": "诸暨市千绝针织厂",
				"tag_percent": "2%",
				"area": "绍兴市",
				"detail_url": "https://detail.1688.com/offer/681040412531.html"
			},
			{
				"title": "光腿袜神器女秋冬季一体裤加绒加厚仿锦纶打底裤保暖裤外穿连裤袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01SL9Mej1k6sXk8kJEu_!!2540444635-0-cib.jpg",
				"promotion_price": "3.20",
				"price": "3.20",
				"sales": 4713974,
				"turnover": "139万+",
				"num_iid": "537479350088",
				"seller_nick": "义乌格照电子商务有限公司",
				"tag_percent": "23%",
				"area": "义乌市",
				"detail_url": "https://detail.1688.com/offer/537479350088.html"
			},
			{
				"title": "光腿神器女双层春秋薄款肉色丝袜加绒加厚秋冬自然逼真连裤打底袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01HndrNz21ay2Btoa2Q_!!2210849937002-0-cib.jpg",
				"promotion_price": "15.50",
				"price": "15.50",
				"sales": 4566,
				"turnover": "9万+",
				"num_iid": "685070149780",
				"seller_nick": "诸暨市绮柔针织厂",
				"tag_percent": "12%",
				"area": "绍兴市",
				"detail_url": "https://detail.1688.com/offer/685070149780.html"
			},
			{
				"title": "新款水光袜羊绒面膜裤女中厚打底裤塑型美腿连裤袜肤肉色光腿神器",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01ho9fEr1o77AFRo61y_!!2209027045177-0-cib.jpg",
				"promotion_price": "15.77",
				"price": "15.77",
				"sales": 27053,
				"turnover": "21万+",
				"num_iid": "663617395472",
				"seller_nick": "诸暨市均鸿针织厂",
				"tag_percent": "16%",
				"area": "绍兴市",
				"detail_url": "https://detail.1688.com/offer/663617395472.html"
			}
		],
		"data_from": "ti"
	},
	"error_code": "0000",
	"reason": "ok",
	"secache": "3a5db2c9fb119833f4d149378bf28ff7",
	"secache_time": 1665736931,
	"secache_date": "2022-10-14 16:42:11",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"error": "",
	"cache": 0,
	"api_info": "today:144 max:10000 all[466=144+210+112];expires:2030-12-31",
	"execution_time": "2.021",
	"server_time": "Beijing/2022-10-14 16:42:11",
	"client_ip": "106.6.36.148",
	"call_args": {
		"q": "光腿神器",
		"start_price": "0",
		"end_price": "0",
		"page": "1",
		"cat": "0",
		"page_size": "40"
	},
	"api_type": "1688",
	"translate_language": "zh-CN",
	"translate_engine": "google_new",
	"server_memory": "1.23MB",
	"request_id": "gw-4.634920e1824f5",
	"last_id": "1282993909"
}

你可能感兴趣的:(1688API,API技术,电商平台,爬虫,大数据,服务器,php)