万邦阿里妈妈按关键字或网址搜索商品 API 返回值说明

item_search-按关键字或网址搜索商品 [查看演示] API测试工具

onebound.alimama.item_search

公共参数

请求地址: https://api-gw.onebound.cn/alimama/item_search

名称 类型 必须 描述
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:搜索关键字,支持url
cat:分类ID
start_price:开始价格
end_price:结束价格
sort:排序[bid,_bid,_sale,_credit,_income,_prom,_comm]
  (bid:总价,sale:销量,credit信用/人气,income收入,月推广量,comm月支出佣金。加_前缀为从大到小排序)
page:
seller_info:不支持
nick:不支持
ppath:不支持
imgid:不支持
filter:参数数组:(以:分隔键和值,以;分隔参数组,支持的参数如下:
    startTkRate:0,收入比率大于
    endTkRate:100,收入比率少于
    b2c:1,天猫
    startBiz30day:10,月销量
    hPayRate30:1,月成交转化率高于行业均值
    freeShipment:1,包邮
    dpyhq:1,店铺优惠券
    yxjh:1,营销和定向计划
    loc:北京,发货地)

响应参数
名称 类型 示例值 描述
items
items[] 按关键字或网址搜索商品
请求示例
	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/alimama/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="
<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://api.onebound.cn/taobao/demo/sdk2020/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/alimama/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=";
$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));
?>
<?php
//定义缓存目录和引入文件
define("DIR_RUNTIME","runtime/");
define("DIR_ERROR","runtime/");
define("SECACHE_SIZE","0");
//SDK下载地址 http://api-gw.onebound.cn/taobao/demo/sdk2020/onebound-api-sdk.zip
include ("ObApiClient.php");

$obapi = new otao\ObApiClient();
$obapi->api_url = "http://api-gw.onebound.cn/";
$obapi->api_urls = array("http://api-gw.onebound.cn/","http://api-1.onebound.cn/");//备用API服务器
$obapi->api_urls_on = true;//当网络错误时,是否启用备用API服务器
$obapi->api_key = "<您自己的apiKey>";
$obapi->api_secret = "<您自己的apiSecret>";
$obapi->api_version ="";
$obapi->secache_path ="runtime/";
$obapi->secache_time ="86400";
$obapi->cache = true;

$api_data = $obapi->exec(
                array(
	                "api_type" =>"alimama",
	                "api_name" =>"item_search",
	                "api_params"=>array (
  'q' => '女装',
  'start_price' => '0',
  'end_price' => '0',
  'page' => '1',
  'cat' => '0',
  'discount_only' => '',
  'sort' => '',
  'page_size' => '',
  'seller_info' => '',
  'nick' => '',
  'ppath' => '',
  'imgid' => '',
  'filter' => '',
)
                )
            );
 var_dump($api_data);
?>
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.PrintWriter;
import java.net.URLConnection;

public class Example {
	private static String readAll(Reader rd) throws IOException {
		StringBuilder sb = new StringBuilder();
		int cp;
		while ((cp = rd.read()) != -1) {
			sb.append((char) cp);
		}
		return  sb.toString();
	}
	public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException {
		URL realUrl = new URL(url);
		URLConnection conn = realUrl.openConnection();
		conn.setDoOutput(true);
		conn.setDoInput(true);
		PrintWriter out = new PrintWriter(conn.getOutputStream());
		out.print(body);
		out.flush();
		InputStream instream = conn.getInputStream();
		try {
			BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
			String jsonText = readAll(rd);
			JSONObject json = new JSONObject(jsonText);
			return json;
		} finally {
			instream.close();
		}
	}
	public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException {
		URL realUrl = new URL(url);
		URLConnection conn = realUrl.openConnection();
		InputStream instream = conn.getInputStream();
		try {
			BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
			String jsonText = readAll(rd);
			JSONObject json = new JSONObject(jsonText);
			return json;
		} finally {
			instream.close();
		}
	}
	public static void main(String[] args) throws IOException, JSONException {
		// 请求示例 url 默认请求参数已经URL编码处理
		String url = "https://api-gw.onebound.cn/alimama/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=";
		JSONObject json = getRequestFromUrl(url);
		System.out.println(json.toString());
	}

}
//using System.Net.Security;
//using System.Security.Cryptography.X509Certificates;
private const String method = "GET";
static void Main(string[] args)
{
	String bodys = "";
	// 请求示例 url 默认请求参数已经做URL编码
	String url = "https://api-gw.onebound.cn/alimama/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=";
	HttpWebRequest httpRequest = null;
	HttpWebResponse httpResponse = null; 
	if (url.Contains("https://"))
	{
		ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult);
		httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url));
	}
	else
	{
		httpRequest = (HttpWebRequest)WebRequest.Create(url);
	}
	httpRequest.Method = method;
	if (0 < bodys.Length)
	{
		byte[] data = Encoding.UTF8.GetBytes(bodys);
		using (Stream stream = httpRequest.GetRequestStream())
		{
		stream.Write(data, 0, data.Length);
		}
	}
	try
	{
		httpResponse = (HttpWebResponse)httpRequest.GetResponse();
	}
	catch (WebException ex)
	{
		httpResponse = (HttpWebResponse)ex.Response;
	}
	Console.WriteLine(httpResponse.StatusCode);
	Console.WriteLine(httpResponse.Method);
	Console.WriteLine(httpResponse.Headers);
	Stream st = httpResponse.GetResponseStream();
	StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8"));
	Console.WriteLine(reader.ReadToEnd());
	Console.WriteLine("\n");
}
public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors)
{
	return true;
}
# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://api-gw.onebound.cn/alimama/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="
headers = {
    "Accept-Encoding": "gzip",
    "Connection": "close"
}
if __name__ == "__main__":
    r = requests.get(url, headers=headers)
    json_obj = r.json()
    print(json_obj)
响应示例
{
	"items": {
		"page": "1",
		"page_size": 20,
		"real_total_results": 7482618,
		"total_results": 7482618,
		"pagecount": 374131,
		"data_from": "top",
		"item": [
			{
				"title": "胖妹妹显瘦遮肉套装2021早春新款大码女装减龄气质西装外套两件套",
				"num_iid": 637826668777,
				"price": "159",
				"sales": 0,
				"orginal_price": "159",
				"promotion_price": "159",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/3848820490/O1CN01kiChDK1FUSjUXtzU6_!!3848820490.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=637826668777",
				"commission_rate": "600",
				"coupon_start_time": "2021-02-24",
				"coupon_end_time": "2021-03-31",
				"coupon_info": "满10.01元减10元",
				"provcity": "广东 深圳",
				"seller_id": 3848820490,
				"seller_nick": "tb592585782",
				"shop_title": "六六香港潮牌",
				"images": [
					"https://img.alicdn.com/i3/3848820490/O1CN01I767Mj1FUSjRJyc2K_!!3848820490.jpg",
					"https://img.alicdn.com/i1/3848820490/O1CN013tqp601FUSjP51mlk_!!3848820490.jpg",
					"https://img.alicdn.com/i2/3848820490/O1CN01JKUB7r1FUSjIULiVy_!!3848820490.jpg",
					"https://img.alicdn.com/i1/3848820490/O1CN01AA6CU11FUSjOUKSqP_!!3848820490.jpg"
				]
			},
			{
				"title": "欧美高端妹家 女装全棉弹力渐变色 舒适修身 长裤牛仔款好看2码",
				"num_iid": 639583889526,
				"price": "178",
				"sales": 0,
				"orginal_price": "178",
				"promotion_price": "178",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/2002259626/O1CN01plqi1O2KylC8rRGQT_!!2002259626.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639583889526",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 东莞",
				"seller_id": 2002259626,
				"seller_nick": "远东外贸服装新店",
				"shop_title": "远东外贸服装店",
				"images": null
			},
			{
				"title": "2020新款时尚套装秋季女装灰色连帽短卫衣+长袖连衣裙潮ins两件套",
				"num_iid": 639897842649,
				"price": "28",
				"sales": 0,
				"orginal_price": "28",
				"promotion_price": "28",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2814790900/O1CN01m9ieHj1IWF7iBswtx_!!2814790900.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639897842649",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 揭阳",
				"seller_id": 2814790900,
				"seller_nick": "静锦丹丹啰",
				"shop_title": "静锦丹",
				"images": [
					"https://img.alicdn.com/i1/2814790900/O1CN01EQ6o391IWF7h84dxb_!!2814790900.jpg",
					"https://img.alicdn.com/i3/2814790900/O1CN01XKUi021IWF7iSAzWF_!!2814790900.jpg",
					"https://img.alicdn.com/i2/2814790900/O1CN01qoeEDX1IWF7fAFHiZ_!!2814790900.jpg",
					"https://img.alicdn.com/i4/2814790900/O1CN017S13lN1IWF7iBuUY1_!!2814790900.jpg"
				]
			},
			{
				"title": "OTT原创轻奢女装春秋新款本白色V领蕾丝亲肤拼接短袖T恤女",
				"num_iid": 612822172360,
				"price": "1399",
				"sales": 0,
				"orginal_price": "1399",
				"promotion_price": "849",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2081927697/O1CN01qMoeXi26jH6aA5lKv_!!0-item_pic.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=612822172360",
				"commission_rate": "511",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "浙江 杭州",
				"seller_id": 2081927697,
				"seller_nick": "ott旗舰店",
				"shop_title": "ott旗舰店",
				"images": [
					"https://img.alicdn.com/i3/2081927697/O1CN01qV0w5M26jH6YDQ2GN_!!2081927697.jpg",
					"https://img.alicdn.com/i3/2081927697/O1CN018tBDip26jH6SFq7nQ_!!2081927697.jpg",
					"https://img.alicdn.com/i3/2081927697/O1CN014LMgDn26jH6cFVMFv_!!2081927697.jpg",
					"https://img.alicdn.com/i2/2081927697/O1CN019lKJlJ26jH6aA2LHs_!!2081927697.jpg"
				]
			},
			{
				"title": "大码女装胖mm阔腿裤女夏季裤子直筒裤高腰垂感高个子加长春秋女裤",
				"num_iid": 639019405069,
				"price": "169",
				"sales": 0,
				"orginal_price": "169",
				"promotion_price": "169",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/2822517379/O1CN01KK2EoF25ZMzyQ0EFi_!!0-item_pic.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639019405069",
				"commission_rate": "800",
				"coupon_start_time": "2021-01-31",
				"coupon_end_time": "2021-03-31",
				"coupon_info": "满80元减20元",
				"provcity": "广东 广州",
				"seller_id": 2822517379,
				"seller_nick": "小公主yyg",
				"shop_title": "PINK ANGEI潮流女装",
				"images": [
					"https://img.alicdn.com/i3/2822517379/O1CN01dAyzk525ZMzxedIUF_!!0-item_pic.jpg",
					"https://img.alicdn.com/i3/2822517379/O1CN01HLtREr25ZMzrQ31Ba_!!0-item_pic.jpg",
					"https://img.alicdn.com/i2/2822517379/O1CN01W3dV8f25ZMzwIXMsT_!!0-item_pic.jpg",
					"https://img.alicdn.com/i1/2822517379/O1CN01PyYJCe25ZMzypd2MF_!!0-item_pic.jpg"
				]
			},
			{
				"title": "秋季新款韩版气质女装洋气开衫外套针织衫显瘦百搭粉色温柔风上衣",
				"num_iid": 639119165268,
				"price": "79",
				"sales": 0,
				"orginal_price": "79",
				"promotion_price": "79",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2210780945121/O1CN01JXaSAR1nhSupQcA5W_!!2210780945121.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639119165268",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 广州",
				"seller_id": 2210780945121,
				"seller_nick": "孙菲百货店",
				"shop_title": "孙菲百货店",
				"images": [
					"https://img.alicdn.com/i3/2210780945121/O1CN01C82DDO1nhSusEsNWP_!!2210780945121.jpg",
					"https://img.alicdn.com/i4/2210780945121/O1CN01p5MErn1nhSuqbtM0q_!!2210780945121.jpg",
					"https://img.alicdn.com/i3/2210780945121/O1CN01GHlWrX1nhSun2gNK1_!!2210780945121.jpg"
				]
			},
			{
				"title": "大码女装胖mm连衣裙 2021春新款雪纺拼接假两件A字连衣裙衬衫式裙",
				"num_iid": 639617165872,
				"price": "338",
				"sales": 0,
				"orginal_price": "338",
				"promotion_price": "169",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/1844154774/O1CN01l4mmxg1l8XU10utEg_!!1844154774.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639617165872",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 东莞",
				"seller_id": 1844154774,
				"seller_nick": "啊芳网店",
				"shop_title": "大码女装品牌特卖店",
				"images": null
			},
			{
				"title": "诗篇PSALTER AINEO 女装2020年秋季新品毛针织衫女装",
				"num_iid": 623458637014,
				"price": "980",
				"sales": 0,
				"orginal_price": "980",
				"promotion_price": "460",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/2200757266953/O1CN01jjeWqr21EWVaeOIKu_!!2200757266953.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=623458637014",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 深圳",
				"seller_id": 2200757266953,
				"seller_nick": "psalteraineo旗舰店",
				"shop_title": "PSALTER AINEO旗舰店",
				"images": [
					"https://img.alicdn.com/i1/2200757266953/O1CN01Whj5fy21EWSLqtbIF_!!2200757266953.jpg",
					"https://img.alicdn.com/i2/2200757266953/O1CN01P11icO21EWSPn1CXV_!!2200757266953.jpg",
					"https://img.alicdn.com/i3/2200757266953/O1CN01l6uO6q21EWSU4dI4R_!!2200757266953.jpg",
					"https://img.alicdn.com/i1/2200757266953/O1CN012Cn6vS21EWSNHsqRA_!!2200757266953.jpg"
				]
			},
			{
				"title": "RRFGR女装【专柜】溶溶zero 新款设计感高腰显瘦a字短裤2021",
				"num_iid": 639643018613,
				"price": "184.64",
				"sales": 0,
				"orginal_price": "184.64",
				"promotion_price": "92.32",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/2202162152129/O1CN01FjpYD81Rb7t34rG4B_!!2202162152129.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639643018613",
				"commission_rate": "800",
				"coupon_start_time": "2021-03-04",
				"coupon_end_time": "2021-03-21",
				"coupon_info": "满49元减5元",
				"provcity": "浙江 杭州",
				"seller_id": 2202162152129,
				"seller_nick": "tb716157627",
				"shop_title": "佐蔓衣坊",
				"images": [
					"https://img.alicdn.com/i3/2202162152129/O1CN01ATefGS1Rb7t6LbaHV_!!2202162152129.jpg",
					"https://img.alicdn.com/i1/2202162152129/O1CN01JNuEMp1Rb7t0mh6aI_!!2202162152129.jpg"
				]
			},
			{
				"title": "百系列春夏新款女装专柜库存性感挂脖无袖宽松休闲显瘦九分连体裤",
				"num_iid": 639957750432,
				"price": "46",
				"sales": 0,
				"orginal_price": "46",
				"promotion_price": "46",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/79047212/O1CN01zDLpxK23995hhocoN_!!0-item_pic.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639957750432",
				"commission_rate": "2500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "上海",
				"seller_id": 79047212,
				"seller_nick": "adslgong05",
				"shop_title": "天逸服饰品牌折扣店",
				"images": null
			},
			{
				"title": "UEOO2020年早秋新款工装长裤女bf风束脚裤子小众设计师款原创女装",
				"num_iid": 623614959554,
				"price": "698",
				"sales": 0,
				"orginal_price": "698",
				"promotion_price": "698",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/1808130439/O1CN018lTUq11F76U16M54U_!!0-item_pic.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=623614959554",
				"commission_rate": "510",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "浙江 杭州",
				"seller_id": 1808130439,
				"seller_nick": "ueoo旗舰店",
				"shop_title": "ueoo旗舰店",
				"images": [
					"https://img.alicdn.com/i3/1808130439/O1CN01THMggz1F76U7o7JWx_!!1808130439.jpg",
					"https://img.alicdn.com/i3/1808130439/O1CN01SCEnk21F76U33VULg_!!1808130439.jpg",
					"https://img.alicdn.com/i1/1808130439/O1CN01RoLuEp1F76U4isDo2_!!1808130439.jpg",
					"https://img.alicdn.com/i4/1808130439/O1CN01AEgHZM1F76U72gkyB_!!1808130439.jpg"
				]
			},
			{
				"title": "卫衣女春秋薄款宽松韩版潮ins2020新款bf慵懒风加绒港风女装外套",
				"num_iid": 639224775503,
				"price": "576",
				"sales": 0,
				"orginal_price": "576",
				"promotion_price": "288",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2208043526461/O1CN01fYaBiq25ZMzr0EtFE_!!0-item_pic.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639224775503",
				"commission_rate": "500",
				"coupon_start_time": "2021-01-20",
				"coupon_end_time": "2021-03-12",
				"coupon_info": "满200元减60元",
				"provcity": "福建 泉州",
				"seller_id": 2208043526461,
				"seller_nick": "tb778908303",
				"shop_title": "WWE代购联盟",
				"images": [
					"https://img.alicdn.com/i3/2208043526461/O1CN01XsInx925ZMzuhBnvV_!!0-item_pic.jpg",
					"https://img.alicdn.com/i4/2208043526461/O1CN01imNPkF25ZMzxDpGwB_!!0-item_pic.jpg",
					"https://img.alicdn.com/i1/2208043526461/O1CN0130YuXv25ZMziahbD6_!!0-item_pic.jpg",
					"https://img.alicdn.com/i3/2208043526461/O1CN01AsvPWk25ZMzxixj5l_!!0-item_pic.jpg"
				]
			},
			{
				"title": "中年妈妈长袖衬衫2020新款秋装时尚中老年女装40岁50中长款上衣",
				"num_iid": 624225284128,
				"price": "148",
				"sales": 0,
				"orginal_price": "148",
				"promotion_price": "148",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/3470801464/O1CN01k3M6hL1MgYSJgY9C4_!!3470801464-0-lubanu-s.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=624225284128",
				"commission_rate": "510",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "浙江 杭州",
				"seller_id": 3470801464,
				"seller_nick": "雅哈娜旗舰店",
				"shop_title": "雅哈娜旗舰店",
				"images": [
					"https://img.alicdn.com/i2/3470801464/O1CN01sftJdi1MgYSKU44VW_!!3470801464-0-lubanu-s.jpg",
					"https://img.alicdn.com/i2/3470801464/O1CN01f7b77E1MgYSL8XUQw_!!3470801464-0-lubanu-s.jpg",
					"https://img.alicdn.com/i1/3470801464/O1CN01Wu8FUi1MgYS8tbthU_!!3470801464-0-lubanu-s.jpg",
					"https://img.alicdn.com/i2/3470801464/O1CN01STZ8ci1MgYSH3pA60_!!3470801464-0-lubanu-s.jpg"
				]
			},
			{
				"title": "2020新款妈妈装中老年人春装女装奶奶春秋女士外套薄上衣大码衣服",
				"num_iid": 627272036168,
				"price": "358",
				"sales": 0,
				"orginal_price": "358",
				"promotion_price": "358",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/1749037920/O1CN01aJApVG28NPSg7yLNn_!!1749037920.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=627272036168",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "浙江 杭州",
				"seller_id": 2610036607,
				"seller_nick": "xmteng02",
				"shop_title": "小妮休闲吧",
				"images": [
					"https://img.alicdn.com/i4/1749037920/O1CN01ofX7Zd28NPSg7z582_!!1749037920.jpg",
					"https://img.alicdn.com/i1/1749037920/O1CN01FreVBo28NPSXwQR9g_!!1749037920.jpg",
					"https://img.alicdn.com/i1/1749037920/O1CN01QZBCsh28NPSisXiYd_!!1749037920.jpg",
					"https://img.alicdn.com/i3/1749037920/O1CN01iUkcf728NPSjgizkW_!!1749037920.jpg"
				]
			},
			{
				"title": "索系列 夏装新品 专柜商场撤柜库存女装 花色真丝短袖连衣裙C3752",
				"num_iid": 639251516114,
				"price": "59",
				"sales": 0,
				"orginal_price": "59",
				"promotion_price": "59",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/23571076/O1CN01MdfjO81JoqpYQUAbL_!!23571076.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639251516114",
				"commission_rate": "1000",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "上海",
				"seller_id": 23571076,
				"seller_nick": "圣火辉煌",
				"shop_title": "上海爱尚依品牌服饰",
				"images": null
			},
			{
				"title": "碎花吊带连衣裙2021早春新款女装法式复古赫本风雪纺裙子气质套装",
				"num_iid": 639786759225,
				"price": "95",
				"sales": 0,
				"orginal_price": "95",
				"promotion_price": "95",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/2208412376164/O1CN01at7Hbv1vPA0qoa5SR_!!2208412376164.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639786759225",
				"commission_rate": "500",
				"coupon_start_time": "2021-03-05",
				"coupon_end_time": "2021-03-28",
				"coupon_info": "满78元减20元",
				"provcity": "广东 东莞",
				"seller_id": 2208412376164,
				"seller_nick": "tb4267187553",
				"shop_title": "AI淘衣坊",
				"images": [
					"https://img.alicdn.com/i1/2208412376164/O1CN01oEk6iP1vPA0sr6UCt_!!2208412376164.jpg",
					"https://img.alicdn.com/i3/2208412376164/O1CN01NoxRoe1vPA0sr8pkY_!!2208412376164.jpg",
					"https://img.alicdn.com/i1/2208412376164/O1CN01YenDjV1vPA0mZ6f6q_!!2208412376164.jpg",
					"https://img.alicdn.com/i1/2208412376164/O1CN015yedwf1vPA0nYXP3d_!!2208412376164.jpg"
				]
			},
			{
				"title": "2020年潮流秋款女装炸街套装醋酸西服外套轻著酯酸修身显瘦款",
				"num_iid": 632158151962,
				"price": "388.8",
				"sales": 0,
				"orginal_price": "388.8",
				"promotion_price": "388.8",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/809024614/O1CN0113PYOI1jxG5KKI2LZ_!!0-item_pic.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=632158151962",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 广州",
				"seller_id": 809024614,
				"seller_nick": "yongjian56",
				"shop_title": "YANER家 高端女装",
				"images": [
					"https://img.alicdn.com/i4/809024614/O1CN01yk9IMz1jxG582mjaN_!!809024614.jpg",
					"https://img.alicdn.com/i2/809024614/O1CN01pvwUXD1jxG5H5i2zb_!!809024614.jpg",
					"https://img.alicdn.com/i4/809024614/O1CN01w6jweJ1jxG5GOES6O_!!809024614.jpg"
				]
			},
			{
				"title": "雪纺衫短袖衬衫衬衣女装夏季夏装2020年新款时尚气质上衣洋气小衫",
				"num_iid": 616852676087,
				"price": "102",
				"sales": 0,
				"orginal_price": "102",
				"promotion_price": "59",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/3778829419/O1CN01FRRv1Q2JRx8rySYoC_!!0-item_pic.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=616852676087",
				"commission_rate": "510",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "江苏 苏州",
				"seller_id": 3778829419,
				"seller_nick": "束棉佳人旗舰店",
				"shop_title": "束棉佳人旗舰店",
				"images": [
					"https://img.alicdn.com/i3/3778829419/O1CN01Dv1IHt2JRx8ryOfRx_!!3778829419.jpg",
					"https://img.alicdn.com/i1/3778829419/O1CN01B42NtE2JRx8n5kRCD_!!3778829419.jpg",
					"https://img.alicdn.com/i1/3778829419/O1CN01DEmzi62JRx8poppk4_!!3778829419.jpg",
					"https://img.alicdn.com/i3/3778829419/O1CN01w98tot2JRx8ryQoXc_!!3778829419.jpg"
				]
			},
			{
				"title": "欧货2020年早春洋气欧洲站女装韩版潮新款春季百搭韩版打底衫时尚",
				"num_iid": 634141655235,
				"price": "54.6",
				"sales": 0,
				"orginal_price": "54.6",
				"promotion_price": "54.6",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2201285166737/O1CN01rlDe7D1zdawAIigwe_!!0-item_pic.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=634141655235",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 广州",
				"seller_id": 2201285166737,
				"seller_nick": "半日闲家居",
				"shop_title": "半日闲家居用品店",
				"images": [
					"https://img.alicdn.com/i4/2201285166737/O1CN01WxrXmu1zdaw2Aph8s_!!2201285166737.jpg",
					"https://img.alicdn.com/i2/2201285166737/O1CN01JL3UQ81zdawDMq6Gq_!!2201285166737.jpg",
					"https://img.alicdn.com/i3/2201285166737/O1CN01658Xod1zdawBNMQ4s_!!2201285166737.jpg",
					"https://img.alicdn.com/i2/2201285166737/O1CN01msVgjd1zdaw6t1Eeq_!!2201285166737.jpg"
				]
			},
			{
				"title": "超肥特大码女装胖mm遮肚子打底衫洋气减龄卫衣胖妹妹显瘦宽松上衣",
				"num_iid": 639552881676,
				"price": "77",
				"sales": 0,
				"orginal_price": "77",
				"promotion_price": "77",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2206462574825/O1CN018JVaxl1lVtgOwTjwO_!!2206462574825.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=639552881676",
				"commission_rate": "500",
				"coupon_start_time": "2021-03-10",
				"coupon_end_time": "2021-05-06",
				"coupon_info": "满66元减10元",
				"provcity": "广东 广州",
				"seller_id": 2206462574825,
				"seller_nick": "tb907087348",
				"shop_title": "12个小白",
				"images": [
					"https://img.alicdn.com/i4/2206462574825/O1CN013y2Ozh1lVtgGIMJwA_!!2206462574825.jpg",
					"https://img.alicdn.com/i1/2206462574825/O1CN01LfnPLt1lVtgIoR51s_!!2206462574825.jpg",
					"https://img.alicdn.com/i1/2206462574825/O1CN01kxWM9L1lVtgOwTsHf_!!2206462574825.jpg",
					"https://img.alicdn.com/i3/2206462574825/O1CN01JXuynd1lVtgPTxo7y_!!2206462574825.png"
				]
			}
		]
	},
	"error_code": "0000",
	"reason": "ok",
	"secache": "a8881ed5637e3c7e84f03acdc86be64f",
	"secache_time": 1615424656,
	"secache_date": "2021-03-11 09:04:16",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"error": "",
	"cache": 0,
	"api_info": "today:0 max:10000",
	"execution_time": 0.371,
	"server_time": "Beijing/2021-03-11 09:04:16",
	"client_ip": "106.6.35.144",
	"call_args": {
		"q": "女装",
		"start_price": "0",
		"end_price": "0",
		"page": "1",
		"cat": "0"
	},
	"api_type": "alimama",
	"translate_language": "zh-CN",
	"translate_engine": "google_cn",
	"server_memory": "2.93MB",
	"request_id": "gw-1.60496c906b333"
}
异常示例
{
  "error": "item-not-found",
  "reason": "商品没找到",
  "error_code": "2000",
  "success": 0,
  "cache": 0,
  "api_info": "today:0 max:10000",
  "execution_time": 0.081,
  "server_time": "Beijing/2020-06-10 23:44:00",
  "call_args": [],
  "api_type": "taobao",
  "request_id": "15ee0ffc041242"}
相关资料
错误码解释
状态代码(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未知错误
API 工具
如何获得此API
立即开通 有疑问联系客服QQ:QQ:583964941583964941(微信同号)