凡邦阿里巴巴中国站按图搜索1688商品(拍立淘) API 返回值说明

item_search_img-按图搜索1688商品(拍立淘) [查看演示] API测试工具 注册开通

1688.item_search_img

公共参数

请求地址: https://api-gw.fan-b.com/1688/item_search_img

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

请求参数:imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg

参数说明:imgid:图片地址(使用淘宝upload_img接口上传图片,返回图片地址)
如:https://img.alicdn.com/imgextra/i3/15353738/TB2HDHAqN9YBuNjy0FfXXXIsVXa_!!15353738-0-beehive-scenes.jpg

响应参数

Version: Date:

名称 类型 必须 示例值 描述
items
items[] 0 按图搜索1688商品
请求示例
	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg"
<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.fan-b.com/help/demo/sdk/demo-sign.php
$method = "GET";
$url = "https://api-gw.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg";
$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.fan-b.com/help/demo/sdk/onebound-api-sdk.zip
include ("ObApiClient.php");

$obapi = new otao\ObApiClient();
$obapi->api_url = "http://api-gw.fan-b.com/";
$obapi->api_urls = array("http://api-gw.fan-b.com/","http://api-1.fan-b.com/");//备用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" =>"1688",
	                "api_name" =>"item_search_img",
	                "api_params"=>array (
  'imgid' => 'http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg',
)
                )
            );
 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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg";
		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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg";
	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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg"
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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg", 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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({"imgid":"http:\/\/g-search3.alicdn.com\/img\/bao\/uploaded\/i4\/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg"})// 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.fan-b.com", // 
    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":"1688",
     "api_name" : "item_search_img",
     "api_params": {"imgid":"http:\/\/g-search3.alicdn.com\/img\/bao\/uploaded\/i4\/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg"}//imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg,#具体参数请参考文档说明
     },
     function(e){
        document.querySelector("#api_data_box").innerHTML=JSON.stringify(e)
     }
);
</script>
require "net/http"
require "uri"
url = URI("https://api-gw.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg")
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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg")!
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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg"];

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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg";
  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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg");
         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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg", (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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg")
    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.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg")?;
    let mut content = String::new();
    resp.read_to_string(&mut content)?;

    println!("{}", content);

    Ok(())
}

library(httr)
r <- GET("https://api-gw.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg")
content(r)
url = "https://api-gw.fan-b.com/1688/item_search_img/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg";
response = webread(url);
disp(response);
响应示例
{
		"items": {
		  "page": 1,
		  "pagecount": 1,
		  "page_size": 50,
		  "total_results": 670,
		  "real_total_results": 670,
		  "_ddf": "dcsop",
		  "item": [
			{
			  "title": "斗牛2.0篮球袜长筒男实战精英袜子夏季美式训练毛巾底运动长袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN011WICwh2HWQ3KnHjiz_!!2216544769158-0-cib.jpg",
			  "promotion_price": "4.50",
			  "price": "4.50",
			  "sales": 25452,
			  "num_iid": 741422477524,
			  "turn_head": "17%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/741422477524.html"
			},
			{
			  "title": "uzispro斗牛实战专业篮球袜男中筒透气长袜白色运动袜毛巾底长筒",
			  "pic_url": "https://cbu01.alicdn.com/O1CN018ebJux1VEvKr6Gp9n_!!2214892302622-0-cib.jpg",
			  "promotion_price": "4.50",
			  "price": "4.50",
			  "sales": 42816,
			  "num_iid": 722088346044,
			  "turn_head": "10%",
			  "one_psale": false,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/722088346044.html"
			},
			{
			  "title": "Sports House运动之家男士中筒轻薄透气速干骑行袜毛巾底运动袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01gryt0Z1EaagIxmIKS_!!2213220760368-0-cib.jpg",
			  "promotion_price": "8.80",
			  "price": "8.80",
			  "sales": 7064,
			  "num_iid": 770140338685,
			  "turn_head": "4%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/770140338685.html"
			},
			{
			  "title": "篮球袜斗牛2.0加厚毛巾底男高帮运动袜实战专业长筒精英运动袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01E6UDGc2I4lduJKowl_!!2213019179233-0-cib.jpg",
			  "promotion_price": "8.50",
			  "price": "8.50",
			  "sales": 258,
			  "num_iid": 671891754329,
			  "turn_head": "100%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/671891754329.html"
			},
			{
			  "title": "uzi斗牛篮球袜男长筒毛巾底运动实战专业高帮精英运动袜跑步袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01a7xmeE2ALhb1irm1Z_!!2217640348187-0-cib.jpg",
			  "promotion_price": "3.40",
			  "price": "3.40",
			  "sales": 2963,
			  "num_iid": 780676407833,
			  "turn_head": "10%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/780676407833.html"
			},
			{
			  "title": "专业运动健身篮球袜毛巾底加厚中筒袜秋春秋款透气网眼吸汗防滑男",
			  "pic_url": "https://cbu01.alicdn.com/O1CN016aE3DS2HtmHnIy3Es_!!962809209-0-cib.jpg",
			  "promotion_price": "9.99",
			  "price": "9.99",
			  "sales": 0,
			  "num_iid": 761987528022,
			  "turn_head": "0%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/761987528022.html"
			},
			{
			  "title": "冬季加厚毛巾底实战篮球袜长筒袜男款儿童吸汗运动袜子男运动袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01YUFURx22X8McLGYRt_!!2214236227129-0-cib.jpg",
			  "promotion_price": "5.60",
			  "price": "5.60",
			  "sales": 15132,
			  "num_iid": 688532451602,
			  "turn_head": "6%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/688532451602.html"
			},
			{
			  "title": "名郡运动袜男加厚毛巾底加固吸汗透气中筒袜防滑成人精英篮球袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01CKnxJu1Bs2hUf6VS4_!!0-0-cib.jpg",
			  "promotion_price": "9.10",
			  "price": "9.10",
			  "sales": 710,
			  "num_iid": 653148381717,
			  "turn_head": "4%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/653148381717.html"
			},
			{
			  "title": "精英透气减震中筒篮球袜实践专业防滑运动袜成人篮球袜男厂家现货",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01sG5R9h1aPypIH5eQS_!!2211654813323-0-cib.jpg",
			  "promotion_price": "9.50",
			  "price": "9.50",
			  "sales": 0,
			  "num_iid": 653286057986,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/653286057986.html"
			},
			{
			  "title": "斗牛实战篮球袜男中筒袜子毛巾底美式专业精英袜高帮跑步运动长袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01Ur2CIo1a1FUH9aKLO_!!2206579883269-0-cib.jpg",
			  "promotion_price": "7.00",
			  "price": "7.00",
			  "sales": 10639,
			  "num_iid": 669891228529,
			  "turn_head": "4%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/669891228529.html"
			},
			{
			  "title": "篮球袜子男士秋冬款高筒青少年户外运动马拉松男款跑步加大码长筒",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01dfXX8x1RrA3Edsr1o_!!2217071622164-0-cib.jpg",
			  "promotion_price": "7.90",
			  "price": "7.90",
			  "sales": 142,
			  "num_iid": 806170126460,
			  "turn_head": "18%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/806170126460.html"
			},
			{
			  "title": "精英中筒号码篮球袜加厚毛巾底专业实战吸汗透气儿童高帮运动袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01NCARbG22X8O8TR6S1_!!2214236227129-0-cib.jpg",
			  "promotion_price": "5.50",
			  "price": "5.50",
			  "sales": 6802,
			  "num_iid": 720954480636,
			  "turn_head": "14%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/720954480636.html"
			},
			{
			  "title": "秋冬精英篮球袜成人库里中筒训练休闲运动袜儿童实战袜子男批发",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01nQUvB12C84km4crcU_!!3325968428-0-cib.jpg",
			  "promotion_price": "5.20",
			  "price": "5.20",
			  "sales": 332,
			  "num_iid": 798116072673,
			  "turn_head": "20%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/798116072673.html"
			},
			{
			  "title": "Sports  House运动之家中筒篮球袜男士实战精英袜专业透气运动袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01v04wHY1EaaW1CLK4u_!!2213220760368-0-cib.jpg",
			  "promotion_price": "27.90",
			  "price": "27.90",
			  "sales": 5,
			  "num_iid": 677610557211,
			  "turn_head": "100%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/677610557211.html"
			},
			{
			  "title": "秋冬款斗牛男长筒加厚透气袜子训练篮球袜高筒黑白加厚跑步运动袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01PveiGZ26QxfBpASwX_!!2216099147657-0-cib.jpg",
			  "promotion_price": "4.00",
			  "price": "4.00",
			  "sales": 7518,
			  "num_iid": 831422893241,
			  "turn_head": "5%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/831422893241.html"
			},
			{
			  "title": "马拉松专业跑步袜子男款中筒加厚底毛巾专业运动登山长跑专用篮球",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01dZu7IQ1RrA12q4ErK_!!2217071622164-0-cib.jpg",
			  "promotion_price": "6.90",
			  "price": "6.90",
			  "sales": 1449,
			  "num_iid": 770945741637,
			  "turn_head": "6%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/770945741637.html"
			},
			{
			  "title": "斗牛2.0篮球袜加厚毛巾底男高帮运动实战专业长中筒精英运动袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01yMt8m32I4lcS8R4tf_!!2213019179233-0-cib.jpg",
			  "promotion_price": "8.00",
			  "price": "8.00",
			  "sales": 0,
			  "num_iid": 669809148670,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/669809148670.html"
			},
			{
			  "title": "篮球袜斗牛2.0加厚毛巾底 男高帮运动实战专业长中筒精英跑步袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01E6UDGc2I4lduJKowl_!!2213019179233-0-cib.jpg",
			  "promotion_price": "7.50",
			  "price": "7.50",
			  "sales": 133,
			  "num_iid": 669928804591,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/669928804591.html"
			},
			{
			  "title": "男士专业运动袜加厚毛巾底中筒袜精英篮球袜子批发马拉松跑步袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN015A7e9F2BECgxPe9pj_!!2594558306-0-cib.jpg",
			  "promotion_price": "9.50",
			  "price": "9.50",
			  "sales": 990,
			  "num_iid": 811789062063,
			  "turn_head": "14%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/811789062063.html"
			},
			{
			  "title": "篮球袜ins潮球鞋百搭实战夏季男女款中长筒户外运动袜登山跑步袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01KmoWMb2I4leRZ4pFB_!!2213019179233-0-cib.jpg",
			  "promotion_price": "8.30",
			  "price": "8.30",
			  "sales": 0,
			  "num_iid": 683833547297,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/683833547297.html"
			},
			{
			  "title": "新款篮球袜斗牛升级2.0 男袜中长筒毛巾底高筒跑步运动健身袜批发",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01pcgPeh1u2tP9jZQfi_!!2216951685980-0-cib.jpg",
			  "promotion_price": "5.00",
			  "price": "5.00",
			  "sales": 976,
			  "num_iid": 771674463355,
			  "turn_head": "11%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/771674463355.html"
			},
			{
			  "title": "斗牛2.0实战篮球袜子男女夏季毛巾底运动精英中筒高帮长筒美式",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01URre6q1eJLmsAwW8k_!!2217499383850-0-cib.jpg",
			  "promotion_price": "3.90",
			  "price": "3.90",
			  "sales": 3824,
			  "num_iid": 773006759707,
			  "turn_head": "60%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/773006759707.html"
			},
			{
			  "title": "斗牛2.0篮球袜长筒男防滑精英袜子夏季美式吸汗毛巾底运动长袜潮",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01bjJffD2FbL57CrZmq_!!2216690118898-0-cib.jpg",
			  "promotion_price": "4.40",
			  "price": "4.40",
			  "sales": 26093,
			  "num_iid": 745926553203,
			  "turn_head": "17%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/745926553203.html"
			},
			{
			  "title": "杰琳妮篮球袜专业运动袜子棉质吸汗男中帮筒防滑加厚毛巾底精英袜",
			  "pic_url": "https://cbu01.alicdn.com/img/ibank/10838525476_999154398.jpg",
			  "promotion_price": "9.00",
			  "price": "9.00",
			  "sales": 0,
			  "num_iid": 591594713555,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/591594713555.html"
			},
			{
			  "title": "跨境批发高筒毛巾底运动袜成人防滑耐磨精英袜加厚减震专业篮球袜",
			  "pic_url": "https://cbu01.alicdn.com/img/ibank/14883545048_2081160537.jpg",
			  "promotion_price": "7.00",
			  "price": "7.00",
			  "sales": 6,
			  "num_iid": 616610129381,
			  "turn_head": "0%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/616610129381.html"
			},
			{
			  "title": "全明星篮球袜 库里中筒毛巾底防滑缓震篮球袜子男女实战运动袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01dLmsiV2I4leXNPYdJ_!!2213019179233-0-cib.jpg",
			  "promotion_price": "8.50",
			  "price": "8.50",
			  "sales": 0,
			  "num_iid": 682672337264,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/682672337264.html"
			},
			{
			  "title": "实战篮球袜男款吸汗防滑压力袜透气毛巾底跑步袜篮球运动袜可定制",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01LO5dP128PFHgl605P_!!3301127924-0-cib.jpg",
			  "promotion_price": "3.80",
			  "price": "3.80",
			  "sales": 4532,
			  "num_iid": 734741070341,
			  "turn_head": "0%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/734741070341.html"
			},
			{
			  "title": "uzispro斗牛实战专业篮球袜男中筒透气长袜白色运动袜毛巾底长筒",
			  "pic_url": "https://cbu01.alicdn.com/O1CN018ebJux1VEvKr6Gp9n_!!2214892302622-0-cib.jpg",
			  "promotion_price": "4.50",
			  "price": "4.50",
			  "sales": 4128,
			  "num_iid": 742657187828,
			  "turn_head": "25%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/742657187828.html"
			},
			{
			  "title": "秋冬专业骑行袜男士实战运动袜棉吸汗毛巾底袜子中长筒篮球袜批发",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01rphMEO2C84mkhpus3_!!3325968428-0-cib.jpg",
			  "promotion_price": "9.50",
			  "price": "9.50",
			  "sales": 833,
			  "num_iid": 704424717851,
			  "turn_head": "7%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/704424717851.html"
			},
			{
			  "title": "篮球袜男款专业毛巾底吸汗透气中筒防滑运动袜子训练比赛精英袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01Z8CDKL1UeHlVwAdxJ_!!2217559972542-0-cib.jpg",
			  "promotion_price": "8.50",
			  "price": "8.50",
			  "sales": 6,
			  "num_iid": 807176678488,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/807176678488.html"
			},
			{
			  "title": "篮球袜子专业斗牛2.0运动袜防滑减震加厚毛巾底速干透气实战训练",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01UtkIQO2DdyEYgyqA4_!!2218705568633-0-cib.jpg",
			  "promotion_price": "3.80",
			  "price": "3.80",
			  "sales": 6752,
			  "num_iid": 842460944328,
			  "turn_head": "13%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/842460944328.html"
			},
			{
			  "title": "UZISACE斗牛2.0实战篮球袜长筒高帮批发运动袜精英毛巾底",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01jmTmYz2HkcJ3FLDVh_!!2215717369189-0-cib.jpg",
			  "promotion_price": "4.40",
			  "price": "4.40",
			  "sales": 11357,
			  "num_iid": 745245196802,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/745245196802.html"
			},
			{
			  "title": "篮球袜男运动袜实战美式中高筒精英毛巾底袜子儿童青少年高筒袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01p932L11RiuyFyq9m5_!!2218670462146-0-cib.jpg",
			  "promotion_price": "3.80",
			  "price": "3.80",
			  "sales": 181,
			  "num_iid": 857283158531,
			  "turn_head": "0%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/857283158531.html"
			},
			{
			  "title": "男士斗牛篮球袜 加厚毛巾底精英袜 男女长筒高帮任意起毛运动袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01sgdu5K1zT3zRS3WLH_!!2212841996714-0-cib.jpg",
			  "promotion_price": "8.50",
			  "price": "8.50",
			  "sales": 135,
			  "num_iid": 696070175282,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/696070175282.html"
			},
			{
			  "title": "斗牛篮球袜2.0加厚毛巾底男高帮运动袜实战专业长筒精英运动袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01E6UDGc2I4lduJKowl_!!2213019179233-0-cib.jpg",
			  "promotion_price": "7.50",
			  "price": "7.50",
			  "sales": 3,
			  "num_iid": 679157061155,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": true,
			  "detail_url": "https://detail.1688.com/offer/679157061155.html"
			},
			{
			  "title": "7A抗菌防臭篮球袜任意毛圈袜佛山袜子厂家压力运动袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01eaObku2EHofnB7AlQ_!!2218126628720-0-cib.jpg",
			  "promotion_price": "18.00",
			  "price": "18.00",
			  "sales": 18,
			  "num_iid": 823692281758,
			  "turn_head": "0%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/823692281758.html"
			},
			{
			  "title": "斗牛实战毛巾底篮球袜子男女夏季运动精英中筒高帮长筒美式专业",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01imbOLD1GB3sGYuZf4_!!2217856810583-0-cib.jpg",
			  "promotion_price": "4.50",
			  "price": "4.50",
			  "sales": 1190,
			  "num_iid": 810313701974,
			  "turn_head": "13%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/810313701974.html"
			},
			{
			  "title": "学生中筒实战篮球袜男斗牛加厚毛巾底跑步袜成人训练精英运动袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01BfI4oh1ddDNkZglf4_!!2218019753758-0-cib.jpg",
			  "promotion_price": "8.00",
			  "price": "8.00",
			  "sales": 193,
			  "num_iid": 809885172242,
			  "turn_head": "8%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/809885172242.html"
			},
			{
			  "title": "球员版赞助款专业篮球袜 圣诞袜子全明星实战毛巾底中高帮运动袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01wXoDCq1Gt1a7mC6Zv_!!1696660679-0-cib.jpg",
			  "promotion_price": "8.60",
			  "price": "8.60",
			  "sales": 20,
			  "num_iid": 636001273784,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/636001273784.html"
			},
			{
			  "title": "篮球袜男女成人毛巾底休闲跑步比赛竞技专业实战训练防滑运动袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01zYzN081X5ss1etE3Y_!!2218255762873-0-cib.jpg",
			  "promotion_price": "5.90",
			  "price": "5.90",
			  "sales": 0,
			  "num_iid": 816472914490,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/816472914490.html"
			},
			{
			  "title": "实战专业篮球袜子毛巾底高筒运动精英男中筒跑步长筒训练美式刺绣",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01XkybzX1boXzDGTYz8_!!2887673512-0-cib.jpg",
			  "promotion_price": "6.80",
			  "price": "6.80",
			  "sales": 2007,
			  "num_iid": 847021791094,
			  "turn_head": "0%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/847021791094.html"
			},
			{
			  "title": "篮球袜子男中长筒毛巾袜吸汗加厚高腰精英袜羽毛球户外运动袜批发",
			  "pic_url": "https://cbu01.alicdn.com/img/ibank/9185631127_1613437381.jpg",
			  "promotion_price": "8.50",
			  "price": "8.50",
			  "sales": 13,
			  "num_iid": 575016254552,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/575016254552.html"
			},
			{
			  "title": "批发可印刷logo训练运动袜耐磨吸汗透气高筒袜专业实战精英篮球袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01LtMhmD22VIk7FJpWZ_!!2207283727125-0-cib.jpg",
			  "promotion_price": "5.00",
			  "price": "5.00",
			  "sales": 6,
			  "num_iid": 616605085357,
			  "turn_head": "0%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/616605085357.html"
			},
			{
			  "title": "icewhite篮球袜中筒袜毛巾底凯尔特人勇士湖人雷霆火箭猛实战袜",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01kLTqiZ2HtJcpBVcv8_!!2201523679208-0-cib.jpg",
			  "promotion_price": "15.00",
			  "price": "15.00",
			  "sales": 0,
			  "num_iid": 597463170587,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/597463170587.html"
			},
			{
			  "title": "螺纹篮球袜精英袜厚底袜tuban运动袜男袜春夏吸汗中筒男士",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01OejNjo1jFkeloUJYi_!!2207434519-0-cib.jpg",
			  "promotion_price": "9.75",
			  "price": "9.75",
			  "sales": 0,
			  "num_iid": 714975903243,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/714975903243.html"
			},
			{
			  "title": "篮球袜夏季男士中筒袜吸汗透气运动袜毛巾底实战精英篮球袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01PeQ7we28PFBVamj6e_!!3301127924-0-cib.jpg",
			  "promotion_price": "8.20",
			  "price": "8.20",
			  "sales": 266,
			  "num_iid": 675219005870,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/675219005870.html"
			},
			{
			  "title": "专业篮球袜 实战运动袜毛巾底防滑加厚袜透气 中筒袜子",
			  "pic_url": "https://cbu01.alicdn.com/O1CN01rvoTgd1GTpxeuz44g_!!3015030624-0-cib.jpg",
			  "promotion_price": "8.00",
			  "price": "8.00",
			  "sales": 2,
			  "num_iid": 704816412193,
			  "turn_head": "0%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/704816412193.html"
			},
			{
			  "title": "斗牛篮球袜实战专业精英中筒篮球袜加厚毛巾底吸汗透气运动袜批发",
			  "pic_url": "https://cbu01.alicdn.com/O1CN018OUUM125B6JQAPL7o_!!3334657487-0-cib.jpg",
			  "promotion_price": "3.80",
			  "price": "3.80",
			  "sales": 289,
			  "num_iid": 810931806071,
			  "turn_head": "12%",
			  "one_psale": false,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/810931806071.html"
			},
			{
			  "title": "可授权品牌 四季男士精英篮球袜高筒运动袜男毛巾底加厚吸汗防滑",
			  "pic_url": "https://cbu01.alicdn.com/img/ibank/3904484278_540331614.jpg",
			  "promotion_price": "3.69",
			  "price": "3.69",
			  "sales": 27,
			  "num_iid": 545979569884,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/545979569884.html"
			},
			{
			  "title": "男女精英篮球袜 防滑透气吸汗运动袜加厚毛巾底中筒袜子 厂家直供",
			  "pic_url": "https://cbu01.alicdn.com/img/ibank/13736781644_284035295.jpg",
			  "promotion_price": "11.50",
			  "price": "11.50",
			  "sales": 0,
			  "num_iid": 614184195004,
			  "turn_head": "0%",
			  "one_psale": true,
			  "is_jxhy": false,
			  "detail_url": "https://detail.1688.com/offer/614184195004.html"
			}
		  ]
		},
		"error_code": "0000",
		"reason": "ok",
		"secache": "805dd061d51a733c7a85711ba0a36267",
		"secache_time": 1735022495,
		"secache_date": "2024-12-24 14:41:35",
		"translate_status": "",
		"translate_time": 0,
		"language": {
		  "default_lang": "cn",
		  "current_lang": "cn"
		},
		"error": "",
		"cache": 0,
		"api_info": "today:12 max:5000 all[16=12+1+3];expires:2025-12-18",
		"execution_time": "3.71",
		"server_time": "Beijing/2024-12-24 14:41:35",
		"client_ip": "115.153.49.16",
		"call_args": {
		  "imgid": "http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg"
		},
		"api_type": "1688",
		"translate_language": "zh-CN",
		"translate_engine": "baidu",
		"server_memory": "3.42MB",
		"request_id": "3.676a579bb1511",
		"last_id": "3865693241"
	  }
异常示例
{
  "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": "1688",
  "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:271449542271449542(微信同号)