万邦阿里妈妈返利比率的商品搜索 API 返回值说明

item_search_pro-返利比率的商品搜索 [查看演示] API测试工具 注册开通

alimama.item_search_pro

公共参数

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

名称 类型 必须 描述
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=连衣裙&end_tk_rate=&start_tk_rate=&page=1

参数说明:q:关键字
page 页码
end_tk_rate=佣金比率上限,如:1234表示12.34%
start_tk_rate=佣金比率下限,如:1234表示12.34%

响应参数

Version: Date:

名称 类型 必须 示例值 描述
items
items[] 0 返利比率的商品搜索
请求示例
	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1"
<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.onebound.cn/help/demo/sdk/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1";
$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下载地址 https://open.onebound.cn/help/demo/sdk/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_pro",
	                "api_params"=>array (
  'q' => '连衣裙',
  'end_tk_rate' => '',
  'start_tk_rate' => '',
  'page' => '1',
)
                )
            );
 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_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1";
		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_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1";
	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_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1"
headers = {
    "Accept-Encoding": "gzip",
    "Connection": "close"
}
if __name__ == "__main__":
    r = requests.get(url, headers=headers)
    json_obj = r.json()
    print(json_obj)
url := fmt.Sprintf("https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1", params)
req, err := http.NewRequest("GET", url, nil)
if err != nil {
    panic(err)
}
req.Header.Set("Authorization", apiKey)

client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
    panic(err)
}
defer resp.Body.Close()

body, err := ioutil.ReadAll(resp.Body)
if err != nil {
    panic(err)
}

fmt.Println(string(body))
fetch('https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({"q":"\u8fde\u8863\u88d9","end_tk_rate":"","start_tk_rate":"","page":"1"})// request parameters here
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
<script src="js/obapi.js"></script>
<script type="text/javascript">
obAPI.config({
    debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
    api_url: "https://api-gw.onebound.cn", // 
    api_key: "<您自己的apiKey>", // 必填,
    api_secret: "<您自己的apiSecret>", //
    lang: "cn", // 
    timestamp: "", // 必填,生成签名的时间戳
    nonceStr: "", // 必填,生成签名的随机串
    signature: "",// 必填,签名
    jsApiList: [] // 必填,需要使用的JS接口列表
});
</script>
<div id="api_data_box"></div>
<script type="text/javascript">
obAPI.exec(
     {
     "api_type":"alimama",
     "api_name" : "item_search_pro",
     "api_params": {"q":"\u8fde\u8863\u88d9","end_tk_rate":"","start_tk_rate":"","page":"1"}//q=连衣裙&end_tk_rate=&start_tk_rate=&page=1,#具体参数请参考文档说明
     },
     function(e){
        document.querySelector("#api_data_box").innerHTML=JSON.stringify(e)
     }
);
</script>
require "net/http"
require "uri"
url = URI("https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body 
import Foundation
 
let url = URL(string: "https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1")!
let task = URLSession.shared.dataTask(with: url) { data, response, error in
    guard let data = data else {
        print("Error: No data was returned")
        return
    }
     
    if let data = String(data: data, encoding: .utf8) {
        print(data)
    }
}
task.resume()
NSURL *myUrl = [NSURL URLWithString:@"https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1"];

NSMutableURLRequest *request=[NSMutableURLRequest requestWithURL:myUrl cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:60.0];

[request setHTTPMethod:@"GET"];
NSError *error;
NSURLResponse *response;

NSData *data = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error];

NSString *result = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
NSLog(@"%@",result);
#include<stdio.h>
#include <stdlib.h>
#include<string.h>
#include<curl/curl.h>

int main(){
  CURL *curl;  
  CURLcode res;   
  struct curl_slist *headers=NULL; 

  char url[] = "https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1";
  curl_global_init(CURL_GLOBAL_ALL); 
  curl = curl_easy_init(); 

  if(curl) {
    curl_easy_setopt(curl, CURLOPT_URL,url);
    headers = curl_slist_append(headers, "Content-Type: application/json"); 

    curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers); 
    res = curl_easy_perform(curl);

    if(res != CURLE_OK){
      printf("curl_easy_perform(): %s\n",curl_easy_strerror(res));                     
    }
    curl_easy_cleanup(curl);          
  }
  curl_global_cleanup();
  return 0;
}
#include<iostream>
#include<string>
#include<curl/curl.h>

using namespace std;

static size_t Data(void *ptr, size_t size, size_t nmemb, string *stream)
{
    std::size_t realSize = size *nmemb;
    auto *realPtr = reinterpret_cast<char *>(ptr);

    for (std::size_t i=0;i<realSize;++i) {
        *(stream) += *(realPtr + i);
    }

    return realSize;
}

int main(){

     CURL *curl;
     CURLcode result;
     string readBuffer;
     curl = curl_easy_init();

     if(curl) {

         curl_easy_setopt(curl, CURLOPT_URL, "https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1");
         curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
         curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, Data);
         curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer);

         result = curl_easy_perform(curl);

         if(result == CURLE_OK) {
             cout<<readBuffer<<endl;
         }else{
             cerr<<"curl_easy error:"<<curl_easy_strerror(result)<<endl;
         }

         curl_easy_cleanup(curl);
     }
     return 0;
}
const https = require("https");

https.get("https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1", (resp) => {
  let data = "";

  resp.on("data", (chunk) => {
    data += chunk;
  });

  resp.on("end", () => {
    console.log(data);
  });
}).on("error", (err) => {
  console.log("Error: " + err.message);
});
import java.net.HttpURLConnection
import java.net.URL

fun main() {
    val url = URL("https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1")
    val con = url.openConnection() as HttpURLConnection
    con.requestMethod = "GET"

    val responseCode = con.responseCode
    if (responseCode == HttpURLConnection.HTTP_OK) { // success
        val inputLine = con.inputStream.bufferedReader().use { it.readText() }
        println(inputLine)
    } else {
        println("GET request failed")
    }
}
use std::io::{self, Read};
use reqwest;

fn main() -> io::Result<()> {

    let mut resp = reqwest::get("https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1")?;
    let mut content = String::new();
    resp.read_to_string(&mut content)?;

    println!("{}", content);

    Ok(())
}

library(httr)
r <- GET("https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1")
content(r)
url = "https://api-gw.onebound.cn/alimama/item_search_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=连衣裙&end_tk_rate=&start_tk_rate=&page=1";
response = webread(url);
disp(response);
响应示例
{
	"items": {
		"page": "1",
		"page_size": 20,
		"real_total_results": 7404011,
		"total_results": 7404011,
		"pagecount": 370201,
		"data_from": "top",
		"item": [
			{
				"title": "【纨扇】念江南唐装改良旗袍复古宽松禅意中式茶服连衣裙夏中长款",
				"num_iid": 551999636393,
				"price": "196",
				"sales": 0,
				"orginal_price": "196",
				"promotion_price": "193.6",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i2/80057164/TB2KH7Wrl0kpuFjSsziXXa.oVXa_!!80057164.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=551999636393",
				"commission_rate": "500",
				"coupon_start_time": "2021-03-01",
				"coupon_end_time": "2021-04-29",
				"coupon_info": "满99元减5元",
				"provcity": "浙江 嘉兴",
				"seller_id": 80057164,
				"seller_nick": "yzqfxdx",
				"shop_title": "念江南 棉麻布衣",
				"images": [
					"https://img.alicdn.com/i4/80057164/TB2F.RNrB8lpuFjy0FnXXcZyXXa_!!80057164.jpg",
					"https://img.alicdn.com/i3/80057164/TB2xgM1rl0kpuFjy1zdXXXuUVXa_!!80057164.jpg",
					"https://img.alicdn.com/i3/80057164/TB2hak0rhXkpuFjy0FiXXbUfFXa_!!80057164.jpg",
					"https://img.alicdn.com/i4/80057164/TB2L88DrB8lpuFjSspaXXXJKpXa_!!80057164.jpg"
				]
			},
			{
				"title": "欧洲站2021新款欧货减龄洋气鱼尾显瘦裙子春方领爱心黄色连衣裙女",
				"num_iid": 598106663773,
				"price": "175",
				"sales": 0,
				"orginal_price": "175",
				"promotion_price": "175",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/116973289/O1CN014cV9xY1aAPCVMcVFd_!!116973289.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=598106663773",
				"commission_rate": "601",
				"coupon_start_time": "2021-03-09",
				"coupon_end_time": "2021-03-23",
				"coupon_info": "满100元减5元",
				"provcity": "浙江 杭州",
				"seller_id": 116973289,
				"seller_nick": "不二家cll",
				"shop_title": "CC小姐欧洲站欧货韩货中高端女装潮店",
				"images": [
					"https://img.alicdn.com/i2/116973289/O1CN01DBwahC1aAPG6rcH5k_!!116973289-0-lubanu-s.jpg",
					"https://img.alicdn.com/i3/116973289/O1CN01wrneQT1aAPFx8gamw_!!116973289-0-lubanu-s.jpg",
					"https://img.alicdn.com/i1/116973289/O1CN01lpx7qA1aAPG1qPVbA_!!116973289-0-lubanu-s.jpg",
					"https://img.alicdn.com/i2/116973289/O1CN01AHNWQg1aAPCc3kutD_!!116973289.jpg"
				]
			},
			{
				"title": "国内新款现货优雅人造棉长尺寸碎花立领七分袖连衣裙 有大码 M-5L",
				"num_iid": 591482450296,
				"price": "296",
				"sales": 0,
				"orginal_price": "296",
				"promotion_price": "296",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/648112873/O1CN01HQKqAA1X5sPazaAb1_!!0-item_pic.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=591482450296",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "北京",
				"seller_id": 648112873,
				"seller_nick": "千代日贩屋",
				"shop_title": "千代日贩屋",
				"images": [
					"https://img.alicdn.com/i4/648112873/O1CN01Sn8wVi1X5sPcExTXl_!!648112873.jpg",
					"https://img.alicdn.com/i2/648112873/O1CN01Lf0SQL1X5sPT1isuh_!!648112873.jpg",
					"https://img.alicdn.com/i4/648112873/O1CN01FW2zUp1X5sPcEzLyK_!!648112873.jpg",
					"https://img.alicdn.com/i2/648112873/O1CN01Epb6Cy1X5sPYL2T3T_!!648112873.jpg"
				]
			},
			{
				"title": "蚀骨旗袍2021年新款夏季年轻款少女时尚国潮现代汉服改良版连衣裙",
				"num_iid": 618236545128,
				"price": "409",
				"sales": 1,
				"orginal_price": "409",
				"promotion_price": "217",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i3/1793931010/O1CN01qKoWWf1JKccyIa3vk_!!1793931010-0-lubanu-s.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=618236545128",
				"commission_rate": "551",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "浙江 杭州",
				"seller_id": 1793931010,
				"seller_nick": "jkjs旗舰店",
				"shop_title": "jkjs旗舰店",
				"images": [
					"https://img.alicdn.com/i4/1793931010/O1CN01pKWdjc1JKcgceXWz2_!!1793931010.jpg",
					"https://img.alicdn.com/i2/1793931010/O1CN01gbWx3l1JKccugjn3S_!!1793931010-0-lubanu-s.jpg",
					"https://img.alicdn.com/i2/1793931010/O1CN016BNxhW1JKcd03owt2_!!1793931010-0-lubanu-s.jpg",
					"https://img.alicdn.com/i3/1793931010/O1CN01ejBYs51JKcczPQpoN_!!1793931010-0-lubanu-s.jpg"
				]
			},
			{
				"title": "Q女家性感露背a字蓬蓬裙子显瘦吊带连衣裙女闪闪blingbling小黑裙",
				"num_iid": 595714475802,
				"price": "79",
				"sales": 0,
				"orginal_price": "79",
				"promotion_price": "79",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i3/56799952/O1CN01vkNGS52NO4B8nPCTb_!!56799952.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=595714475802",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 广州",
				"seller_id": 56799952,
				"seller_nick": "sunny_0732",
				"shop_title": "撒温定制",
				"images": [
					"https://img.alicdn.com/i4/56799952/O1CN01V4T2EU2NO4BB1baQf_!!56799952.jpg",
					"https://img.alicdn.com/i4/56799952/O1CN01kCFWpN2NO4B6K6lHM_!!56799952.jpg",
					"https://img.alicdn.com/i4/56799952/O1CN01LAizNF2NO4B9hdlkg_!!56799952.jpg",
					"https://img.alicdn.com/i2/56799952/O1CN01aPGaNl2NO4BB1bS8D_!!56799952.jpg"
				]
			},
			{
				"title": "dodc法式复古连衣裙女夏2021新款气质轻熟风红色吊带碎花裙子",
				"num_iid": 616660580361,
				"price": "799",
				"sales": 0,
				"orginal_price": "799",
				"promotion_price": "278",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2200540022844/O1CN012ENavq1Wsb3X7eEKL_!!0-item_pic.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=616660580361",
				"commission_rate": "510",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "浙江 杭州",
				"seller_id": 2200540022844,
				"seller_nick": "dodc旗舰店",
				"shop_title": "dodc旗舰店",
				"images": [
					"https://img.alicdn.com/i3/2200540022844/O1CN01J7XNJA1Wsb0cLm0u1_!!2200540022844.jpg",
					"https://img.alicdn.com/i1/2200540022844/O1CN01UATwVr1Wsb0Qg25B7_!!2200540022844.jpg",
					"https://img.alicdn.com/i3/2200540022844/O1CN01Xg2vcx1Wsb0a60USU_!!2200540022844.jpg",
					"https://img.alicdn.com/i4/2200540022844/O1CN018gxC441Wsb0aY8VXK_!!2200540022844.jpg"
				]
			},
			{
				"title": "时尚设计感露肩收腰黑色荷叶边连衣裙欧洲站2021春夏女装新款欧货",
				"num_iid": 617319995071,
				"price": "239",
				"sales": 0,
				"orginal_price": "239",
				"promotion_price": "199",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2206480389305/O1CN01Cs5kyc2IbjzEDnSkG_!!0-item_pic.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=617319995071",
				"commission_rate": "1210",
				"coupon_start_time": "2021-02-27",
				"coupon_end_time": "2021-04-22",
				"coupon_info": "满100元减10元",
				"provcity": "浙江 杭州",
				"seller_id": 2206480389305,
				"seller_nick": "蜜恒旗舰店",
				"shop_title": "蜜恒旗舰店",
				"images": [
					"https://img.alicdn.com/i4/2206480389305/O1CN01NcOsMh2IbjzQuUSVj_!!2206480389305.jpg",
					"https://img.alicdn.com/i2/2206480389305/O1CN01Xpr9CL2IbjzMh53GR_!!2206480389305.jpg",
					"https://img.alicdn.com/i1/2206480389305/O1CN01aKx2TB2IbjzPrymkp_!!2206480389305.jpg",
					"https://img.alicdn.com/i1/2206480389305/O1CN01F9VH5e2IbjzNdDhUp_!!2206480389305.jpg"
				]
			},
			{
				"title": "尾货清仓乐卡克法国公鸡V领三色时尚连衣裙女CB-6655181",
				"num_iid": 600012863151,
				"price": "599",
				"sales": 0,
				"orginal_price": "599",
				"promotion_price": "279",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2201235260793/O1CN01wCc56h1HjEkCoOjZ6_!!0-item_pic.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=600012863151",
				"commission_rate": "250",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "浙江 宁波",
				"seller_id": 2201235260793,
				"seller_nick": "乐卡克官方outlets店",
				"shop_title": "乐卡克官方outlets店",
				"images": [
					"https://img.alicdn.com/i4/2201235260793/O1CN01HcGOpy1HjEd3eGPkn_!!2201235260793.jpg",
					"https://img.alicdn.com/i3/2201235260793/O1CN01iljrDT1HjEd2GQdxF_!!2201235260793.jpg",
					"https://img.alicdn.com/i4/2201235260793/O1CN01s0shTD1HjEczKfaYZ_!!2201235260793.jpg",
					"https://img.alicdn.com/i3/2201235260793/O1CN01l40TE51HjEczKf7PW_!!2201235260793.jpg"
				]
			},
			{
				"title": "Amii奥特莱斯极简ulzzang设计感连衣裙冬新罗纹圆领宽松针织裙",
				"num_iid": 596695222758,
				"price": "939",
				"sales": 0,
				"orginal_price": "939",
				"promotion_price": "199",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2201226909556/O1CN01GiRZYl2KShT2IWC1i_!!2201226909556.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=596695222758",
				"commission_rate": "510",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 广州",
				"seller_id": 2201226909556,
				"seller_nick": "amii女装outlets店",
				"shop_title": "amii女装outlets店",
				"images": [
					"https://img.alicdn.com/i3/2201226909556/O1CN01eK5CPW2KShLEOftCc_!!2201226909556.jpg",
					"https://img.alicdn.com/i4/2201226909556/O1CN01bDCDqv2KShLEOe94z_!!2201226909556.jpg",
					"https://img.alicdn.com/i3/2201226909556/O1CN01y1cIBo2KShLFwgAwp_!!2201226909556.jpg",
					"https://img.alicdn.com/i1/2201226909556/O1CN017Qmkde2KShLEOcfSH_!!2201226909556.jpg"
				]
			},
			{
				"title": "Amii极简公主裙灯笼袖连衣裙2020夏新款修身棉质梭织大圆领长裙",
				"num_iid": 616133573236,
				"price": "229.9",
				"sales": 0,
				"orginal_price": "229.9",
				"promotion_price": "229.9",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i2/523813383/O1CN01k892zB1arSU9wRMgB_!!523813383.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=616133573236",
				"commission_rate": "500",
				"coupon_start_time": "2021-03-09",
				"coupon_end_time": "2021-03-11",
				"coupon_info": "满200元减20元",
				"provcity": "广东 佛山",
				"seller_id": 523813383,
				"seller_nick": "xudaihong77",
				"shop_title": "新源可儿amii正品直销店",
				"images": [
					"https://img.alicdn.com/i3/523813383/O1CN011netGS1arSUSfY1Xv_!!523813383.jpg",
					"https://img.alicdn.com/i3/451135386/O1CN01hlq11A1pepnwkk9zz_!!451135386.jpg",
					"https://img.alicdn.com/i4/451135386/O1CN01rGFN8P1pepnxJ12NP_!!451135386.jpg",
					"https://img.alicdn.com/i2/451135386/O1CN01jMthzc1pepnwqbxDU_!!451135386.jpg"
				]
			},
			{
				"title": "轻熟黑色波点收腰V领连衣裙职业气质欧洲站夏季女装2020新款欧货",
				"num_iid": 617328692211,
				"price": "429",
				"sales": 0,
				"orginal_price": "429",
				"promotion_price": "269",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i2/3625945543/O1CN01vttAPT1qojzZ6ZjwJ_!!0-item_pic.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=617328692211",
				"commission_rate": "1210",
				"coupon_start_time": "2021-02-27",
				"coupon_end_time": "2021-04-26",
				"coupon_info": "满100元减10元",
				"provcity": "浙江 杭州",
				"seller_id": 3625945543,
				"seller_nick": "bobowaltz旗舰店",
				"shop_title": "bobowaltz旗舰店",
				"images": [
					"https://img.alicdn.com/i3/3625945543/O1CN019YEFzt1qojzWNXAfa_!!3625945543.jpg",
					"https://img.alicdn.com/i1/3625945543/O1CN01WFbH0z1qojzajWULM_!!3625945543.jpg",
					"https://img.alicdn.com/i1/3625945543/O1CN01c5pJYg1qojzajWp6I_!!3625945543.jpg",
					"https://img.alicdn.com/i1/3625945543/O1CN01oEZ1YU1qojzU2rrg5_!!3625945543.jpg"
				]
			},
			{
				"title": "EUSKY 性感露肩连衣裙女2020夏新款气质修身显瘦荷叶边吊带裙神范",
				"num_iid": 618054783479,
				"price": "399",
				"sales": 0,
				"orginal_price": "399",
				"promotion_price": "188",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i2/4123183041/O1CN019SP1YY1YKp2GGLQyU_!!4123183041-0-lubanu-s.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=618054783479",
				"commission_rate": "601",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "浙江 杭州",
				"seller_id": 4123183041,
				"seller_nick": "大su定制",
				"shop_title": "EUSKY 沐慕",
				"images": [
					"https://img.alicdn.com/i4/4123183041/O1CN01A7ELCr1YKp26oL9E4_!!4123183041-0-lubanu-s.jpg",
					"https://img.alicdn.com/i2/4123183041/O1CN01K0lmq01YKp2EMDf0C_!!4123183041-0-lubanu-s.jpg",
					"https://img.alicdn.com/i2/4123183041/O1CN01J6CIBa1YKp2IZPRUy_!!4123183041-0-lubanu-s.jpg",
					"https://img.alicdn.com/i2/4123183041/O1CN01WvzBSL1YKp2C1S8KW_!!4123183041.jpg"
				]
			},
			{
				"title": "法式年轻款复古现代风旗袍改良版连衣裙中国风2020年夏季新款妈妈",
				"num_iid": 620471818142,
				"price": "188",
				"sales": 0,
				"orginal_price": "188",
				"promotion_price": "188",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i2/575676273/O1CN01iwU7001wD5ApITEV7-575676273.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=620471818142",
				"commission_rate": "1200",
				"coupon_start_time": "2021-01-14",
				"coupon_end_time": "2021-03-13",
				"coupon_info": "满188元减30元",
				"provcity": "湖北 武汉",
				"seller_id": 575676273,
				"seller_nick": "zj1134",
				"shop_title": "优物网 品质 优雅 女人味",
				"images": [
					"https://img.alicdn.com/i2/575676273/O1CN01pTk6nx1wD57rFgT7T-575676273.jpg",
					"https://img.alicdn.com/i2/575676273/O1CN01FPeWwC1wD57uTH6wQ-575676273.jpg",
					"https://img.alicdn.com/i4/575676273/O1CN015I9q2a1wD57uTGycR-575676273.jpg",
					"https://img.alicdn.com/i2/575676273/O1CN012xX5Jf1wD57vqXkVm_!!575676273.jpg"
				]
			},
			{
				"title": "蕾彩2021夏季新款宽松V领花色中长款真丝连衣裙印花桑蚕丝30578",
				"num_iid": 586719114302,
				"price": "1256",
				"sales": 0,
				"orginal_price": "1256",
				"promotion_price": "698",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/3355116907/O1CN01g8I0eM20tS80pPTug_!!0-item_pic.jpg",
				"detail_url": "https://detail.tmall.com/item.htm?id=586719114302",
				"commission_rate": "610",
				"coupon_start_time": "2021-03-09",
				"coupon_end_time": "2021-03-21",
				"coupon_info": "满499元减20元",
				"provcity": "广东 深圳",
				"seller_id": 3355116907,
				"seller_nick": "蕾彩旗舰店",
				"shop_title": "蕾彩旗舰店",
				"images": [
					"https://img.alicdn.com/i2/3355116907/O1CN010zftrD20tS815aC1b_!!3355116907.jpg",
					"https://img.alicdn.com/i4/3355116907/O1CN01A59fN820tS7yaSNRe_!!0-item_pic.jpg",
					"https://img.alicdn.com/i3/3355116907/O1CN010NFcOM20tS81r4ns4_!!0-item_pic.jpg",
					"https://img.alicdn.com/i1/3355116907/O1CN01znHH7920tS839rVWI_!!3355116907.jpg"
				]
			},
			{
				"title": "2021新款宫廷风连衣裙女立领泡泡袖长袖复古法式印花气质过膝长裙",
				"num_iid": 637935752133,
				"price": "110.5",
				"sales": 0,
				"orginal_price": "110.5",
				"promotion_price": "110.5",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i3/809024614/O1CN01NWohDK1jxG6mJmKqU_!!0-item_pic.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=637935752133",
				"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/i2/809024614/O1CN01j8wRlj1jxG6gqFiDa_!!809024614.jpg",
					"https://img.alicdn.com/i2/809024614/O1CN01Ezd5nm1jxG6gFScVr_!!809024614.jpg",
					"https://img.alicdn.com/i4/809024614/O1CN01lQOHsO1jxG6k3zkHh_!!809024614.jpg",
					"https://img.alicdn.com/i2/809024614/O1CN01XlXFl01jxG6mJpLww_!!809024614.jpg"
				]
			},
			{
				"title": "秋冬季配大衣的长裙子毛衣中长款过膝超仙女内搭打底裙蕾丝连衣裙",
				"num_iid": 638042032702,
				"price": "118",
				"sales": 0,
				"orginal_price": "118",
				"promotion_price": "118",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i4/2202606966809/O1CN015Hrqo220AZTL0Zdj5_!!2202606966809.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=638042032702",
				"commission_rate": "500",
				"coupon_start_time": "2021-02-24",
				"coupon_end_time": "2021-03-11",
				"coupon_info": "满108元减20元",
				"provcity": "浙江 杭州",
				"seller_id": 2202606966809,
				"seller_nick": "苏哺工作室",
				"shop_title": "苏哺衣舍",
				"images": [
					"https://img.alicdn.com/i3/2202606966809/O1CN010GOmqM20AZTGsTGjO_!!2202606966809.jpg",
					"https://img.alicdn.com/i2/2202606966809/O1CN012RQD5W20AZTLzaCbd_!!2202606966809.jpg",
					"https://img.alicdn.com/i1/2202606966809/O1CN012zAXpU20AZTIlB9NN_!!2202606966809.jpg"
				]
			},
			{
				"title": "牛仔背带裙女春夏2021年新款法式复古过膝长裙气质显瘦a字连衣裙",
				"num_iid": 640290951736,
				"price": "31.98",
				"sales": 0,
				"orginal_price": "31.98",
				"promotion_price": "31.34",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i2/892336465/O1CN01lRnWNT1xd1EI2k1OM_!!892336465.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=640290951736",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 广州",
				"seller_id": 892336465,
				"seller_nick": "weiweihuakai9",
				"shop_title": "田园小果果家",
				"images": null
			},
			{
				"title": "中国风气质刺绣高贵阔太太旗袍式无袖背心雪纺连衣裙2021夏新款",
				"num_iid": 638183388769,
				"price": "57.28",
				"sales": 0,
				"orginal_price": "57.28",
				"promotion_price": "57.28",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/2208888588717/O1CN01mUKSNE2EGRAMGJwLA_!!2208888588717.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=638183388769",
				"commission_rate": "1000",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 广州",
				"seller_id": 2208888588717,
				"seller_nick": "依依女装店铺789",
				"shop_title": "三木子女装衣橱",
				"images": [
					"https://img.alicdn.com/i4/2208888588717/O1CN010JEqIr2EGRADh7oe4_!!2208888588717.jpg",
					"https://img.alicdn.com/i3/O1CN01mv8Lg11lJ4adaGKm6_!!0-item_pic.jpg",
					"https://img.alicdn.com/i1/2208888588717/O1CN01oMRZOa2EGRADh5T7n_!!2208888588717.jpg",
					"https://img.alicdn.com/i4/2208888588717/O1CN01VP4tXC2EGRAPNbBSD_!!2208888588717.jpg"
				]
			},
			{
				"title": "2021 春季新诗乐町气质新国风旗袍年轻款少女改良连衣裙CWFAB1350",
				"num_iid": 638236631987,
				"price": "131",
				"sales": 0,
				"orginal_price": "131",
				"promotion_price": "131",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i1/4228069768/O1CN019jqOSP2M1nQtw0g9r_!!4228069768.png",
				"detail_url": "https://item.taobao.com/item.htm?id=638236631987",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "上海",
				"seller_id": 4228069768,
				"seller_nick": "小蝶出品",
				"shop_title": "NUT GIRL果核少女",
				"images": [
					"https://img.alicdn.com/i1/4228069768/O1CN01tn5Mjf2M1nQvD9Trh_!!4228069768.jpg",
					"https://img.alicdn.com/i4/4228069768/O1CN01wwYKhY2M1nQbWhe1i_!!4228069768.png",
					"https://img.alicdn.com/i1/4228069768/O1CN01mjBWgQ2M1nQYw3a9k_!!4228069768.png",
					"https://img.alicdn.com/i2/4228069768/O1CN01rszRdb2M1nQlKSbWF_!!4228069768.jpg"
				]
			},
			{
				"title": "黑色不规则法式复古连衣裙赫本设计感小众气质梗桔初恋裙森系春季",
				"num_iid": 638286143656,
				"price": "158",
				"sales": 0,
				"orginal_price": "158",
				"promotion_price": "138",
				"pic_url": "https://img.alicdn.com/bao/uploaded/i2/688234343/O1CN01LYqQsa1hx8lqYXLhC_!!688234343.jpg",
				"detail_url": "https://item.taobao.com/item.htm?id=638286143656",
				"commission_rate": "500",
				"coupon_start_time": null,
				"coupon_end_time": null,
				"coupon_info": "",
				"provcity": "广东 佛山",
				"seller_id": 688234343,
				"seller_nick": "月球xyz",
				"shop_title": "TANG CHILDE棠公子",
				"images": [
					"https://img.alicdn.com/i3/688234343/O1CN01sIzebU1hx8lyCUNJU_!!688234343.jpg",
					"https://img.alicdn.com/i4/688234343/O1CN01bwPy2u1hx8lrA8eur_!!688234343.jpg",
					"https://img.alicdn.com/i4/688234343/O1CN016UOuit1hx8lu65X0s_!!688234343.jpg"
				]
			}
		]
	},
	"error_code": "0000",
	"reason": "ok",
	"secache": "6c72053c6605e828f05752b8df057d74",
	"secache_time": 1615424944,
	"secache_date": "2021-03-11 09:09:04",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"error": "",
	"cache": 0,
	"api_info": "today:1 max:10000",
	"execution_time": 0.341,
	"server_time": "Beijing/2021-03-11 09:09:04",
	"client_ip": "106.6.35.144",
	"call_args": {
		"q": "连衣裙",
		"page": "1"
	},
	"api_type": "alimama",
	"translate_language": "zh-CN",
	"translate_engine": "google_cn",
	"server_memory": "2.93MB",
	"request_id": "gw-1.60496db04f02b"
}
异常示例
{
  "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:31424016063142401606(微信同号)