万邦淘宝/天猫获取推荐商品列表 API 返回值说明

item_recommend-获取推荐商品列表 [查看演示] API测试工具

onebound.taobao.item_recommend

公共参数

请求地址: https://api-gw.onebound.cn/taobao/item_recommend

名称 类型 必须 描述
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版本
请求参数

请求参数:type=

参数说明:type:推荐类型

响应参数
名称 类型 示例值 描述
item
item[] 获取推荐商品列表
请求示例
	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/taobao/item_recommend/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&type="
<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://api.onebound.cn/taobao/demo/sdk2020/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/taobao/item_recommend/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&type=";
$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" =>"taobao",
	                "api_name" =>"item_recommend",
	                "api_params"=>array (
  'type' => '',
)
                )
            );
 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/taobao/item_recommend/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&type=";
		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/taobao/item_recommend/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&type=";
	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/taobao/item_recommend/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&type="
headers = {
    "Accept-Encoding": "gzip",
    "Connection": "close"
}
if __name__ == "__main__":
    r = requests.get(url, headers=headers)
    json_obj = r.json()
    print(json_obj)
响应示例
{
"data_from": "top",
	"item": [
		{
			"title": "妇炎洁洗内裤专用内衣洗衣液洗液女士杀菌抗菌清洗内衣裤除菌抑菌",
			"num_iid": 545948492513,
			"price": "29.9",
			"sales": "17602",
			"orginal_price": "58",
			"promotion_price": "29.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i4/2879951765/O1CN01QNM8RG1OuPikegaIz_!!0-item_pic.jpg",
			"area": "山东 泰安",
			"seller_id": 2879951765,
			"seller_nick": "大兵小将家居专营店",
			"detail_url": "https://detail.tmall.com/item.htm?id=545948492513"
		},
		{
			"title": "俏歌高浓度多效洗衣液1kg*3瓶组合去渍洗护薰衣草香味持久机手洗",
			"num_iid": 596776843706,
			"price": "31.9",
			"sales": "7793",
			"orginal_price": "69.9",
			"promotion_price": "31.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2452349298/O1CN019QqrE92IYXAt0ajBz_!!0-item_pic.jpg",
			"area": "山西 阳泉",
			"seller_id": 2452349298,
			"seller_nick": "俏歌旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=596776843706"
		},
		{
			"title": "coco香水洗衣液香味持久家用手洗专用机洗桶装网红款去静电洗衣液",
			"num_iid": 582987655175,
			"price": "26.9",
			"sales": "689",
			"orginal_price": "39.9",
			"promotion_price": "26.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i4/4212589951/O1CN01hhxWPr2NNbrlk8r0A_!!4212589951.jpg",
			"area": "河北 邢台",
			"seller_id": 4212589951,
			"seller_nick": "珊贝拉居家超市",
			"detail_url": "https://item.taobao.com/item.htm?id=582987655175"
		},
		{
			"title": "哈丁宝贝婴儿洗衣液宝宝专用婴幼儿童新生儿家用大桶装多效去渍2L",
			"num_iid": 579146250198,
			"price": "29.9",
			"sales": "8732",
			"orginal_price": "159",
			"promotion_price": "29.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2082313332/O1CN01KsNK6A1aU6LfN5sW6_!!0-item_pic.jpg",
			"area": "江西 赣州",
			"seller_id": 2082313332,
			"seller_nick": "hardingbaby哈丁宝贝旗舰",
			"detail_url": "https://detail.tmall.com/item.htm?id=579146250198"
		},
		{
			"title": "洁护卫持久留香珠洗衣凝珠球家庭装除菌除螨洗衣液香味香水型10颗",
			"num_iid": 606845115630,
			"price": "19.9",
			"sales": "5506",
			"orginal_price": "39.9",
			"promotion_price": "19.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2202616770278/O1CN01KCszlr1DvMlT4kE2E_!!2-item_pic.png",
			"area": "广东 广州",
			"seller_id": 2202616770278,
			"seller_nick": "洁护卫旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=606845115630"
		},
		{
			"title": "妇炎洁内裤洗衣液草本除菌男女士去血渍专用内衣洗清洗剂家用免搓",
			"num_iid": 567955892015,
			"price": "24.9",
			"sales": "2297",
			"orginal_price": "78",
			"promotion_price": "24.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/3570223649/O1CN01IxO2I01cpHsrfdvux_!!0-item_pic.jpg",
			"area": "江西 宜春",
			"seller_id": 3570223649,
			"seller_nick": "妇炎洁叮当专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=567955892015"
		},
		{
			"title": "红色小象婴儿洗衣液香味持久宝宝儿童新生幼儿专用去渍正品旗舰店",
			"num_iid": 582484590627,
			"price": "24.9",
			"sales": "772",
			"orginal_price": "99",
			"promotion_price": "24.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/3376212665/O1CN018aT84A1VYcA5Ke0cc_!!0-item_pic.jpg",
			"area": "上海",
			"seller_id": 3376212665,
			"seller_nick": "红色小象东汇百川专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=582484590627"
		},
		{
			"title": "红色小象婴儿洗衣液宝宝新生儿专用儿童洗衣服天然皂液无荧光剂",
			"num_iid": 555931920412,
			"price": "40",
			"sales": "485",
			"orginal_price": "119",
			"promotion_price": "40",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/3356141502/O1CN01qYP73X1MxxXnjf5Ks_!!0-item_pic.jpg",
			"area": "上海",
			"seller_id": 3356141502,
			"seller_nick": "红色小象哦也专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=555931920412"
		},
		{
			"title": "贝德美婴儿洗衣液宝宝专用去渍婴幼儿抑菌皂液新生儿童天然洗衣服",
			"num_iid": 602178220234,
			"price": "39.9",
			"sales": "402",
			"orginal_price": "139",
			"promotion_price": "39.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2201196082363/O1CN01uvQkos1TKIZ1uQCgf_!!0-item_pic.jpg",
			"area": "浙江 杭州",
			"seller_id": 2201196082363,
			"seller_nick": "贝德美旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=602178220234"
		},
		{
			"title": "青蛙王子婴儿洗衣液婴幼儿新生儿宝宝专用洗衣液儿童抑菌皂液整箱",
			"num_iid": 21042200532,
			"price": "34.9",
			"sales": "5436",
			"orginal_price": "129.9",
			"promotion_price": "34.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/908483460/O1CN01emWUNe1bQj3G1t30u_!!908483460.jpg",
			"area": "福建 漳州",
			"seller_id": 908483460,
			"seller_nick": "青蛙王子旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=21042200532"
		},
		{
			"title": "茉莉宝贝甜心独角兽香氛香水洗衣液香味持久家用留香促销组合装",
			"num_iid": 600479835165,
			"price": "59",
			"sales": "832",
			"orginal_price": "98",
			"promotion_price": "59",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2206353443071/O1CN01PuHj4H1YYYytjeAxu_!!0-item_pic.jpg",
			"area": "上海",
			"seller_id": 2206353443071,
			"seller_nick": "jasbaby茉莉宝贝旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=600479835165"
		},
		{
			"title": "哈丁宝贝婴儿洗衣液宝宝专用婴幼儿童新生去污渍除菌抑菌大人通用",
			"num_iid": 545584950514,
			"price": "29.9",
			"sales": "1156",
			"orginal_price": "69",
			"promotion_price": "29.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/3066348417/O1CN01IJXgqU2C32LVbA0a0_!!3066348417-0-picasso.jpg",
			"area": "江西 赣州",
			"seller_id": 3066348417,
			"seller_nick": "哈丁宝贝嘉远专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=545584950514"
		},
		{
			"title": "妇炎洁洗内裤专用洗液女士内衣裤短裤清洗洗衣液内衣孕妇杀菌消毒",
			"num_iid": 562839735594,
			"price": "39.9",
			"sales": "624",
			"orginal_price": "99",
			"promotion_price": "39.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/3547888350/O1CN01R3IXbN2BYLliezuIy_!!3547888350-0-lubanu-s.jpg",
			"area": "山东 泰安",
			"seller_id": 3547888350,
			"seller_nick": "妇炎洁佳泰专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=562839735594"
		},
		{
			"title": "洗衣凝珠香水型持久留香樱花味浓缩洗衣球液柔顺护色手洗机洗两用",
			"num_iid": 607889351214,
			"price": "9.9",
			"sales": "220",
			"orginal_price": "59",
			"promotion_price": "9.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2206519525340/O1CN01Wxqdpa1pJlc4Mhinp_!!2206519525340.jpg",
			"area": "广东 深圳",
			"seller_id": 2206519525340,
			"seller_nick": "bicamme金尚品专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=607889351214"
		},
		{
			"title": "南极人内衣洗衣液内裤洗衣专用女士手洗去污抑菌除螨洗涤液组合装",
			"num_iid": 603208158959,
			"price": "19.9",
			"sales": "1787",
			"orginal_price": "99",
			"promotion_price": "19.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2206420443557/O1CN01vuGQQP1c99Rrf6vdv_!!0-item_pic.jpg",
			"area": "河北 石家庄",
			"seller_id": 2206420443557,
			"seller_nick": "南极人阔卡专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=603208158959"
		},
		{
			"title": "艾雪兰整箱10斤深层洁净洗衣液 薰衣草香不含荧光剂5KG留香",
			"num_iid": 584597389930,
			"price": "19.9",
			"sales": "987",
			"orginal_price": "19.9",
			"promotion_price": "19.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2712350626/O1CN013TmdM81GUkQQbcMwY_!!0-item_pic.jpg",
			"area": "河北 石家庄",
			"seller_id": 2712350626,
			"seller_nick": "艾雪兰旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=584597389930"
		},
		{
			"title": "妇炎洁洗内裤专用液女士内衣洗衣液杀菌消毒清洗液孕妇手洗抗菌皂",
			"num_iid": 41196187687,
			"price": "39.9",
			"sales": "25768",
			"orginal_price": "204",
			"promotion_price": "39.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/1633803546/O1CN01t97HjY1c4775Vg1uU_!!0-item_pic.jpg",
			"area": "江西 宜春",
			"seller_id": 1633803546,
			"seller_nick": "妇炎洁官方旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=41196187687"
		},
		{
			"title": "立白天然茶籽洗衣液10斤衣物除菌液除螨去渍促销组合装家用实惠装",
			"num_iid": 606477702633,
			"price": "99.9",
			"sales": "6131",
			"orginal_price": "199.9",
			"promotion_price": "99.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/880496338/O1CN0168eyc71wgqvhuS9Y9_!!0-item_pic.jpg",
			"area": "广东 广州",
			"seller_id": 880496338,
			"seller_nick": "立白官方旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=606477702633"
		},
		{
			"title": "妇炎洁洗内裤专用清洗液女士洗衣液抑菌霉菌杀菌消毒孕妇内衣除菌",
			"num_iid": 580067661638,
			"price": "59.9",
			"sales": "2051",
			"orginal_price": "175",
			"promotion_price": "59.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2959723515/O1CN01otBu8i1bpupOaOwAU_!!0-item_pic.jpg",
			"area": "山东 泰安",
			"seller_id": 2959723515,
			"seller_nick": "妇炎洁闪亮专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=580067661638"
		},
		{
			"title": "红玫瑰小清新玫瑰纯露洗衣液2kg两瓶不含荧光增白剂快速去污留香",
			"num_iid": 601882571180,
			"price": "49.9",
			"sales": "1666",
			"orginal_price": "49.9",
			"promotion_price": "49.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/3229817505/O1CN01nBVrYc25JL2rCehxB_!!0-item_pic.jpg",
			"area": "四川 成都",
			"seller_id": 3229817505,
			"seller_nick": "红玫瑰日化旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=601882571180"
		},
		{
			"title": "南极人薰衣草香水洗衣液促销组合装内衣裤手洗香氛护理家用实惠装",
			"num_iid": 596021579374,
			"price": "24.9",
			"sales": "16073",
			"orginal_price": "44.9",
			"promotion_price": "24.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2200781121936/O1CN01WGD37u1QAjOOGr6Eq_!!0-item_pic.jpg",
			"area": "福建 福州",
			"seller_id": 2200781121936,
			"seller_nick": "南极人绿植源专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=596021579374"
		},
		{
			"title": "泰国芝芙莲内衣内裤洗衣液女士专用清洗液抑菌家用实惠装香味持久",
			"num_iid": 582521137379,
			"price": "39",
			"sales": "2956",
			"orginal_price": "55",
			"promotion_price": "39",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i4/168230883/O1CN01AJuwS41IOSNiXmjdR_!!168230883.jpg",
			"area": "上海",
			"seller_id": 168230883,
			"seller_nick": "冷冷漠漠咧",
			"detail_url": "https://item.taobao.com/item.htm?id=582521137379"
		},
		{
			"title": "韵爽洗衣球凝珠家庭装浓缩去污香水型持久护理洗衣服液网红家庭",
			"num_iid": 593454696643,
			"price": "39.9",
			"sales": "940",
			"orginal_price": "119.9",
			"promotion_price": "39.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2880788171/O1CN01cDu7IF2AEMurtCmWr_!!0-item_pic.jpg",
			"area": "上海",
			"seller_id": 2880788171,
			"seller_nick": "韵爽旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=593454696643"
		},
		{
			"title": "礼盒装洗衣凝珠洗衣液洗衣球香水型持久留香珠家庭网红款",
			"num_iid": 618692612927,
			"price": "21.8",
			"sales": "5030",
			"orginal_price": "21.8",
			"promotion_price": "21.8",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2207875392093/O1CN01wknrwz1RKdbHdSvGV_!!0-item_pic.jpg",
			"area": "浙江 金华",
			"seller_id": 2207875392093,
			"seller_nick": "泉洁雅旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=618692612927"
		},
		{
			"title": "100颗装-洗衣凝珠香水型香味持久留香家庭装正品洗衣液留香珠批发",
			"num_iid": 602237726162,
			"price": "19.9",
			"sales": "544",
			"orginal_price": "89",
			"promotion_price": "19.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2905967098/O1CN01dHNaj022IvuYjjC3U_!!0-item_pic.jpg",
			"area": "河北 石家庄",
			"seller_id": 2905967098,
			"seller_nick": "潮爆妆容旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=602237726162"
		},
		{
			"title": "浪奇薰衣草味套装除菌洗衣液消臭去汗味持久留香家庭组合装12斤",
			"num_iid": 522586736050,
			"price": "79.9",
			"sales": "170",
			"orginal_price": "189.9",
			"promotion_price": "79.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/723346401/O1CN01Q3ARr71x9hsiO2pH9_!!0-item_pic.jpg",
			"area": "广东 广州",
			"seller_id": 723346401,
			"seller_nick": "浪奇旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=522586736050"
		},
		{
			"title": "红色小象婴儿洗衣液宝宝专用天然旗舰店正品儿童新生大容量6瓶装",
			"num_iid": 555756779874,
			"price": "149",
			"sales": "795",
			"orginal_price": "270",
			"promotion_price": "149",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2707252427/O1CN010uiPTL1TnbukGf0NI_!!0-item_pic.jpg",
			"area": "上海",
			"seller_id": 2707252427,
			"seller_nick": "红色小象旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=555756779874"
		},
		{
			"title": "得琪婴儿洗衣液宝宝专用婴幼儿儿童宝宝新生儿植萃洗衣液桶装4斤",
			"num_iid": 530373367459,
			"price": "24.9",
			"sales": "55",
			"orginal_price": "59",
			"promotion_price": "24.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/1665581019/O1CN01yuxvj91JOkFZcDRLb_!!0-item_pic.jpg",
			"area": "山东 临沂",
			"seller_id": 1665581019,
			"seller_nick": "daycare得琪旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=530373367459"
		},
		{
			"title": "蓝月亮洗衣液薰衣草持久留香整箱家庭装家用实惠装洗衣护理 包邮",
			"num_iid": 576184251343,
			"price": "99.9",
			"sales": "941",
			"orginal_price": "99.9",
			"promotion_price": "99.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2344693767/O1CN01N1uGML1dhKdc9Ve3X_!!2344693767.jpg",
			"area": "广东 广州",
			"seller_id": 2344693767,
			"seller_nick": "蓝月亮清洁馆",
			"detail_url": "https://item.taobao.com/item.htm?id=576184251343"
		},
		{
			"title": "羊毛洗衣液羊绒衫防缩水真丝洗涤剂桑蚕丝专用羽绒服清洗剂丝毛净",
			"num_iid": 585336917421,
			"price": "109",
			"sales": "44",
			"orginal_price": "129",
			"promotion_price": "109",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2200617098507/O1CN01QrPg6q2CiFzmTlmc2_!!0-item_pic.jpg",
			"area": "山东 青岛",
			"seller_id": 2200617098507,
			"seller_nick": "almawin旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=585336917421"
		},
		{
			"title": "艾雪兰10斤洗衣液家庭装量贩洁净去渍清香型5kg机洗瓶装正品",
			"num_iid": 589941831881,
			"price": "19.9",
			"sales": "408",
			"orginal_price": "68",
			"promotion_price": "19.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2712350626/O1CN01fF3juS1GUkRfK9VI8_!!0-item_pic.jpg",
			"area": "河北 石家庄",
			"seller_id": 2712350626,
			"seller_nick": "艾雪兰旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=589941831881"
		},
		{
			"title": "妇炎洁内裤洗衣液除菌抑菌专用内衣裤洗液皂清洗女士霉菌杀菌消毒",
			"num_iid": 579116282512,
			"price": "29.9",
			"sales": "13316",
			"orginal_price": "59",
			"promotion_price": "29.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/3547888350/O1CN01x617VV2BYLoOjj2y7_!!0-item_pic.jpg",
			"area": "山东 泰安",
			"seller_id": 3547888350,
			"seller_nick": "妇炎洁佳泰专卖店",
			"detail_url": "https://detail.tmall.com/item.htm?id=579116282512"
		},
		{
			"title": "抑菌洗衣液促销组合家庭装整箱批洗内衣内裤清洗液家用草本清香",
			"num_iid": 544649508045,
			"price": "11.9",
			"sales": "680",
			"orginal_price": "69.9",
			"promotion_price": "11.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2652431435/O1CN01FD5ViA1MTGxetVJko_!!0-item_pic.jpg",
			"area": "福建 福州",
			"seller_id": 2652431435,
			"seller_nick": "星利居家日用专营店",
			"detail_url": "https://detail.tmall.com/item.htm?id=544649508045"
		},
		{
			"title": "领券立减40元好爸爸洗衣液天然亲肤香味持久家用促销包邮官方正品",
			"num_iid": 567696295768,
			"price": "99.9",
			"sales": "3457",
			"orginal_price": "139",
			"promotion_price": "99.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/3158482798/O1CN01HlQqLa1WXWpTeGdT7_!!0-item_pic.jpg",
			"area": "广东 广州",
			"seller_id": 3158482798,
			"seller_nick": "好爸爸旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=567696295768"
		},
		{
			"title": "俏歌高浓度洗衣液1kg*3瓶组合多效去渍薰衣草香味持久洗手液家庭",
			"num_iid": 598427954733,
			"price": "31.9",
			"sales": "385",
			"orginal_price": "69.9",
			"promotion_price": "31.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2452349298/O1CN01G5pdQZ2IYXAIVIcbK_!!0-item_pic.jpg",
			"area": "山西 阳泉",
			"seller_id": 2452349298,
			"seller_nick": "俏歌旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=598427954733"
		},
		{
			"title": "innso悦赏除菌香水洗衣液香氛持久留香手洗机洗家用实惠装清洗液",
			"num_iid": 604781137552,
			"price": "68",
			"sales": "5744",
			"orginal_price": "78",
			"promotion_price": "68",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2206638096577/O1CN01mSgXvX1ySJaZNPeIh_!!0-item_pic.jpg",
			"area": "上海",
			"seller_id": 2206638096577,
			"seller_nick": "innso悦赏旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=604781137552"
		},
		{
			"title": "草之沐香水洗衣液10斤装植物配方香味持久组合装",
			"num_iid": 602422975421,
			"price": "19.9",
			"sales": "1872",
			"orginal_price": "69",
			"promotion_price": "19.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2206384022246/O1CN01rZpmBl1SSi7OLXCzb_!!0-item_pic.jpg",
			"area": "河北 石家庄",
			"seller_id": 2206384022246,
			"seller_nick": "草之沐旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=602422975421"
		},
		{
			"title": "俏歌多效洗衣液1kg*3瓶装组合高浓度去渍薰衣草香味持久机手洗",
			"num_iid": 596594454146,
			"price": "31.9",
			"sales": "170",
			"orginal_price": "69.9",
			"promotion_price": "31.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2452349298/O1CN01Yun9NC2IYXCk0kBAP_!!0-item_pic.jpg",
			"area": "山西 阳泉",
			"seller_id": 2452349298,
			"seller_nick": "俏歌旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=596594454146"
		},
		{
			"title": "妇炎洁内裤洗衣液内衣裤专用洗液皂女士清洗剂男女通用杀菌洗抑菌",
			"num_iid": 573099141607,
			"price": "29.9",
			"sales": "813",
			"orginal_price": "138",
			"promotion_price": "29.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2879951765/O1CN01g2BHeK1OuPiXUdYjj_!!2-item_pic.png",
			"area": "山东 泰安",
			"seller_id": 2879951765,
			"seller_nick": "大兵小将家居专营店",
			"detail_url": "https://detail.tmall.com/item.htm?id=573099141607"
		},
		{
			"title": "汀诗娅高效浓缩洗衣凝珠香水型洗衣服香味持久留香洗衣液除菌除螨",
			"num_iid": 616322978578,
			"price": "19.7",
			"sales": "1433",
			"orginal_price": "79.8",
			"promotion_price": "19.7",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2207768251744/O1CN014Zybho1OknOruzdcy_!!0-item_pic.jpg",
			"area": "广东 广州",
			"seller_id": 2207768251744,
			"seller_nick": "汀诗娅旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=616322978578"
		},
		{
			"title": "俏歌高浓度多效洗衣液1kg*4瓶组合去渍洗护薰衣草香味持久机手洗",
			"num_iid": 615986246133,
			"price": "39.9",
			"sales": "1648",
			"orginal_price": "79.9",
			"promotion_price": "39.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2452349298/O1CN01zZwFLS2IYXDIQ59lV_!!0-item_pic.jpg",
			"area": "山西 阳泉",
			"seller_id": 2452349298,
			"seller_nick": "俏歌旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=615986246133"
		},
		{
			"title": "优生活薰衣草洗衣液家庭装香味持久桶装整箱批家用实惠促销组合装",
			"num_iid": 607117019001,
			"price": "19.9",
			"sales": "741",
			"orginal_price": "30",
			"promotion_price": "19.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i3/2200773348552/O1CN01pKdIcM2D2rjmulRRb_!!0-item_pic.jpg",
			"area": "河北 石家庄",
			"seller_id": 2200773348552,
			"seller_nick": "巧妇优生活旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=607117019001"
		},
		{
			"title": "innso悦赏香氛洗衣液香水香气持久留香贴身衣物护理可手洗大瓶装",
			"num_iid": 605004814848,
			"price": "68",
			"sales": "345",
			"orginal_price": "156",
			"promotion_price": "68",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i4/2206638096577/O1CN014AC0cl1ySJaYAwPMN_!!0-item_pic.jpg",
			"area": "上海",
			"seller_id": 2206638096577,
			"seller_nick": "innso悦赏旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=605004814848"
		},
		{
			"title": "【低泡】洗衣凝珠球香水型持久留香浓缩洗液护理液机洗衣服家庭装",
			"num_iid": 585758609939,
			"price": "22.9",
			"sales": "85",
			"orginal_price": "28.62",
			"promotion_price": "22.9",
			"pic_url": "https://img.alicdn.com/bao/uploaded/i2/2862528428/O1CN01wyYHgv2C84eV3f4Py_!!0-item_pic.jpg",
			"area": "广东 广州",
			"seller_id": 2862528428,
			"seller_nick": "敞露旗舰店",
			"detail_url": "https://detail.tmall.com/item.htm?id=585758609939"
		}
	],
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"error": "",
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:49 max:10000",
	"execution_time": 0.75,
	"server_time": "Beijing/2021-03-10 11:24:20",
	"client_ip": "106.6.35.144",
	"call_args": [],
	"api_type": "taobao",
	"translate_language": "zh-CN",
	"translate_engine": "google_cn",
	"server_memory": "5.34MB",
	"request_id": "gw-4.60483be4359b2"
}
异常示例
{
  "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(微信同号)