凡邦淘宝/天猫获得淘宝app商品详情原数据 API 返回值说明

item_get_app-获得淘宝app商品详情原数据 [查看演示] API测试工具 注册开通

taobao.item_get_app(Ver:1.0.0-7.0)

  • taobao.item_get_app-1.0.0-6.0.html
  • taobao.item_get_app-1.0.0-7.0.html
  • taobao.item_get_app-2.0.0-1.0.html
  • taobao.item_get_app-2.0.0-2.0.html
  • taobao.item_get_app-2.0.0-3.0.html
  • taobao.item_get_app-2.0.0-7.0.html
  • taobao.item_get_app-3.0.0-7.0.html
  • taobao.item_get_app-4.0.0-7.0.html
  • taobao.item_get_app-4.0.1-7.0.html
  • taobao.item_get_app-4.0.2-7.0.html
  • taobao.item_get_app-4.0.3-7.0.html
  • taobao.item_get_app-4.0.4-7.0.html
  • taobao.item_get_app-4.0.5-7.0.html
  • taobao.item_get_app-4.0.6-7.0.html
  • taobao.item_get_app-4.0.7-7.0.html
  • 公共参数

    请求地址: https://api-gw.fan-b.com/taobao/item_get_app

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

    请求参数:num_iid=520813250866

    参数说明:num_iid:淘宝商品ID

    响应参数

    Version:2.0.0-6.1 Date:2022-04-26

    名称 类型 必须 示例值 描述
    item
    Mix 1 获得淘宝app商品详情原数据
    请求示例
    	
    -- 请求示例 url 默认请求参数已经URL编码处理
    curl -i "https://api-gw.fan-b.com/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866"
    
    <?php
    
    // 请求示例 url 默认请求参数已经URL编码处理
    // 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.fan-b.com/help/demo/sdk/demo-sign.php
    $method = "GET";
    $url = "https://api-gw.fan-b.com/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866";
    $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" =>"taobao",
    	                "api_name" =>"item_get_app",
    	                "api_params"=>array (
      'num_iid' => '520813250866',
    )
                    )
                );
     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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866";
    		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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866";
    	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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866"
    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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866", 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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({"num_iid":"520813250866"})// 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":"taobao",
         "api_name" : "item_get_app",
         "api_params": {"num_iid":"520813250866"}//num_iid=520813250866,#具体参数请参考文档说明
         },
         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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866")
    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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866")!
    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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866"];
    
    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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866";
      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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866");
             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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866", (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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866")
        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/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866")?;
        let mut content = String::new();
        resp.read_to_string(&mut content)?;
    
        println!("{}", content);
    
        Ok(())
    }
    
    
    library(httr)
    r <- GET("https://api-gw.fan-b.com/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866")
    content(r)
    url = "https://api-gw.fan-b.com/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866";
    response = webread(url);
    disp(response);
    
    响应示例
    {
    	"item": {
    	"apiStack": [
    	{
    		"name": "esi",
    		"value": "{\"delivery\": {\"from\": \"澳大利亚\", \"to\": \"大庆市让胡路区\", \"completedTo\": \"大庆市 让胡路区\", \"areaId\": \"230604001\", \"postage\": \"运费: 快递包邮\", \"extras\": {\"PostTime\": {\"text\": \"春节间物流暂停预计年后送达\"}}, \"overseaContraBandFlag\": \"false\", \"addressWeexUrl\": \"https://market.m.taobao.com/apps/market/detailrax/address-picker.html?spm=a2116h.app.0.0.16d957e9nDYOzv&wh_weex=true\"}, \"item\": {\"couponUrl\": \"//h5.m.taobao.com/present/hongbao.html?sellerId=2211438210774\", \"titleIcon\": \"\", \"showShopActivitySize\": \"2\", \"vagueSellCount\": \"4000+\", \"skuText\": \"配送至:大庆市让胡路区,请选择 颜色分类 口味 \", \"videos\": [{\"url\": \"https://cloud.video.taobao.com/play/u/2211438210774/p/2/e/6/t/1/382464724726.mp4?appKey=38829\", \"weexRecommendUrl\": \"https://market.m.taobao.com/apps/market/detailrax/recommend-items.html?spm=a2116h.app.0.0.16d957e9U2bxVj&wh_weex=true&itemId=642951316141\", \"type\": \"3\", \"videoThumbnailURL\": \"https://img.alicdn.com/imgextra/i4/2211438210774/O1CN014kGWdk1HaXMJky0Y9_!!2211438210774.jpg\", \"spatialVideoDimension\": \"3:4\", \"videoId\": \"382464724726\", \"interactiveInfo\": {\"interactiveId\": \"2339143631\", \"userId\": \"2211438210774\"}}], \"videoDetail\": {\"url\": \"https://cloud.video.taobao.com/play/u/2211438210774/p/2/e/6/t/1/382464724726.mp4?appKey=38829\", \"type\": \"3\", \"videoThumbnailURL\": \"https://img.alicdn.com/imgextra/i4/2211438210774/O1CN014kGWdk1HaXMJky0Y9_!!2211438210774.jpg\", \"videoId\": \"382464724726\", \"interactiveInfo\": {\"interactiveId\": \"2339143631\", \"userId\": \"2211438210774\"}, \"spatialVideoDimension\": \"3:4\", \"mainPicList\": [\"https://img.alicdn.com/imgextra/i4/2211438210774/O1CN014kGWdk1HaXMJky0Y9_!!2211438210774.jpg\", \"https://img.alicdn.com/imgextra/i4/2211438210774/O1CN01NJsoXA1HaXMOlWElj_!!2211438210774.jpg\", \"https://img.alicdn.com/imgextra/i2/2211438210774/O1CN01XOLSjg1HaXMTzZtrV_!!2211438210774.jpg\", \"https://img.alicdn.com/imgextra/i2/2211438210774/O1CN01piVtDf1HaXMR4s0tq_!!2211438210774.jpg\", \"https://img.alicdn.com/imgextra/i3/2211438210774/O1CN0142hr4d1HaXMRc6RDZ_!!2211438210774.jpg\"]}, \"images\": [\"https://img.alicdn.com/imgextra/i4/2211438210774/O1CN014kGWdk1HaXMJky0Y9_!!2211438210774.jpg\", \"https://img.alicdn.com/imgextra/i4/2211438210774/O1CN01NJsoXA1HaXMOlWElj_!!2211438210774.jpg\", \"https://img.alicdn.com/imgextra/i2/2211438210774/O1CN01XOLSjg1HaXMTzZtrV_!!2211438210774.jpg\", \"https://img.alicdn.com/imgextra/i2/2211438210774/O1CN01piVtDf1HaXMR4s0tq_!!2211438210774.jpg\", \"https://img.alicdn.com/imgextra/i3/2211438210774/O1CN0142hr4d1HaXMRc6RDZ_!!2211438210774.jpg\"], \"rootCategoryId\": \"\", \"categoryId\": \"\", \"shopId\": \"\", \"sellerId\": \"2211438210774\"}, \"priceSectionData\": {\"mainBelt\": {\"promotionBeltColor\": \"#FF0036\", \"priceTitlePrefix\": \"活动\", \"priceTitle\": \"活动价\", \"styleType\": \"2\", \"bizType\": \"2\", \"priceBeltColor\": \"#FF0036\", \"priceBeltImg\": \"https://img.alicdn.com/imgextra/i2/O1CN01O4oWXo1OHUCBE582G_!!6000000001680-2-tps-1125-210.png\", \"rightBelt\": {\"countdown\": \"1\", \"countDownStatus\": \"1\", \"countDownBackgroundColor\": \"#000000\", \"now\": \"1673322835198\", \"startTime\": \"1672848000000\", \"endTime\": \"1673366399000\", \"logo\": \"https://img.alicdn.com/imgextra/i4/O1CN018Wx6iC1YngBucPjSP_!!6000000003104-2-tps-252-54.png\", \"text\": \"热卖中\", \"extraText\": \"下单立抢\", \"textColor\": \"#FFFFFF\", \"extraTextColor\": \"#FFFFFF\"}}, \"price\": {\"priceMoney\": \"14900\", \"priceText\": \"149\", \"priceTitle\": \"活动价\", \"priceTail\": \"起\", \"newLine\": \"false\", \"priceType\": \"origin_price\"}, \"priceType\": \"quanhou_price\", \"extraPrice\": {\"priceMoney\": \"20747\", \"priceText\": \"207.47\", \"priceTitle\": \"活动券后\", \"priceBgColor\": \"#FFFFFF\", \"linkUrl\": \"https://market.m.taobao.com/app/detail-project/detail-pages/pages/quan?wh_weex=true\", \"newLine\": \"false\", \"priceType\": \"quanhou_price\"}, \"bizType\": \"p-bigMarkdown-*-online\", \"promotion\": {\"entranceTip\": \"领券\", \"items\": [{\"textColor\": \"#FD5F20\", \"content\": \"淘金币可抵4.47元起\", \"type\": \"default\", \"bgImage\": \"https://gw.alicdn.com/tfs/TB1.dqZSgHqK1RjSZJnXXbNLpXa-40-40.png\", \"scontent\": \"淘金币可抵4.47元起\", \"sbgImage\": \"https://gw.alicdn.com/tfs/TB12R2Oerj1gK0jSZFuXXcrHpXa-302-80.png\"}, {\"textColor\": \"#FD5F20\", \"content\": \"店铺券满169减10\", \"type\": \"default\", \"bgImage\": \"https://gw.alicdn.com/tfs/TB1.dqZSgHqK1RjSZJnXXbNLpXa-40-40.png\", \"startTime\": \"2023-01-04 00:00:00\", \"endTime\": \"2023-01-10 23:59:59\", \"scontent\": \"满169减10\", \"sbgImage\": \"https://gw.alicdn.com/tfs/TB1k50Yj4D1gK0jSZFsXXbldVXa-280-40.png\", \"stitle\": \"店铺券\"}, {\"textColor\": \"#FD5F20\", \"content\": \"满438减69.06\", \"type\": \"default\", \"bgImage\": \"https://gw.alicdn.com/tfs/TB1.dqZSgHqK1RjSZJnXXbNLpXa-40-40.png\", \"scontent\": \"满438减69.06\", \"sbgImage\": \"https://gw.alicdn.com/tfs/TB12R2Oerj1gK0jSZFuXXcrHpXa-302-80.png\"}], \"entranceUrl\": \"https://market.m.taobao.com/app/detail-project/detail-pages/pages/quan?wh_weex=true\", \"promotionBeltColor\": \"#FF0036\", \"promotionStyle\": \"false\"}}, \"consumerProtection\": {\"items\": [{\"title\": \"正品保障\", \"desc\": \"100%正品,假一赔十\"}, {\"title\": \"不支持7天退换\", \"desc\": \"此商品不支持七天无理由退换货\"}, {\"title\": \"品质严保\", \"desc\": \"商品售前、售中、售后对品质严格把控,全流程品质保障\"}, {\"title\": \"15天售后无忧\", \"desc\": \"确认收货之日15天(含)内,如有商品质量问题、描述不符或溢漏损失缺发等(不包括因主观原因导致不想要)可申请退货\"}, {\"title\": \"赠运费险\", \"desc\": \"卖家投保退货运费险,负担一定金额退货运费(保单生效以下单显示为准)\"}, {\"title\": \"蚂蚁花呗\"}, {\"title\": \"信用卡支付\"}, {\"title\": \"集分宝\"}], \"passValue\": \"all\"}, \"skuCore\": {\"sku2info\": {\"0\": {\"price\": {\"priceMoney\": \"14900\", \"priceText\": \"149-219\", \"type\": \"1\"}, \"quantity\": 200}, \"4634213277748\": {\"price\": {\"priceMoney\": \"21900\", \"priceText\": \"219\", \"type\": \"1\"}, \"subPrice\": {\"priceMoney\": \"20747\", \"priceText\": \"207.47\", \"priceTitle\": \"券后\"}, \"quantity\": \"200\"}, \"5087758410356\": {\"price\": {\"priceMoney\": \"14900\", \"priceText\": \"149\", \"type\": \"1\"}, \"quantity\": \"0\"}}, \"skuItem\": {\"showAddressTaobao\": \"true\", \"location\": \"大庆市让胡路区\"}, \"abSwitch\": {}, \"atmosphere\": {}}, \"vertical\": {\"disabledItem\": {\"hintText\": \"手机天猫暂不支持购买淘宝商品\"}, \"videoFlow\": {\"bitmap\": \"29\"}, \"inter\": {\"taxDescTittle\": \"税费说明\", \"taxDesc\": [{\"商品进口税\": {\"您所购买的商品已包含跨境电商进口税,个别商品税费由商家承担,您无需再行支付。\": \"\"}}, {\"进口税税率\": {\"9.1%\": \"中国海关规定,不同类目的商品征收税率不同,该商品的进口税率为9.1%\"}}, {\"进口税计算\": {\"进口税 = 商品完税价格(包括运费) * 税率\": \"(完税价格由海关最终认定)\"}}], \"tariff\": {\"name\": \"进口税\", \"value\": \"商品已包税\"}}, \"vipComment\": {\"beehive_content_aggre_name\": \"好物点评团\", \"beehive_content_cover\": \"https://img.alicdn.com/imgextra/i1/6000000004159/O1CN01qe4wIg1gas0VzSUw0_!!6000000004159-0-gg_content.jpg\", \"beehive_content_type\": \"ContentPost\", \"beehive_content_account_pic\": \"//img.alicdn.com/imgextra/i1/3512825747/O1CN01PkriMo1sKAvYfvNT6_!!3512825747-2-beehive-scenes.png\", \"beehive_content_aggre_count\": \"16\", \"beehive_content_title\": \"肠胃舒畅一身轻,lifespace成人广谱益生菌胶囊!\n\n大家一定要好好呵护自己的肠胃\n我就是经常吃\", \"beehive_content_summary\": \"肠胃舒畅一身轻,lifespace成人广谱益生菌胶囊!\n\n大家一定要好好呵护自己的肠胃\n我就是经常吃外卖,再加上熬夜加班时间久了,就把自己的肠胃给折腾坏了\n呜呜,肠胃不好,上厕所总不畅快\n好在吃了这款lifespace成人广谱益生菌胶囊之后\n肠胃好了,我真的太爱了!\n\n这个益生菌胶囊里面有多达15种菌株\n每粒320亿活性益生菌,加上益生元配方,合力维稳可以增强肠道自护力,维持肠道菌群\n用了一段时间肠胃不添堵,我也是更有活力了~上厕所都很畅快了许多,一身轻松\n\n我还发现这个胶囊居然通过了TGA官方认证\n能有这个认证,是真的不一般高品质有保障,吃着更安心\n同时胶囊使用冷冻干燥技术,可常温储存不用担心保存条件难,保存时间短的问题\n\n现在我每天都会在饭后来一颗,就算是吃辣火锅\n第二天我的肠胃也能受得住,真的太爽了!\nlifespace成人广谱益生菌胶囊真的还挺有效的我相信,有它的帮助,我可以慢慢养出好肠胃~\", \"beehive_content_id\": \"368968956100\", \"beehive_content_detail_url\": \"https://market.m.taobao.com/apps/market/content/index.html?wh_weex=true&wx_navbar_transparent=true&source=itemdetail_itemdetail&wx_navbar_hidden=true&contentId=368968956100\", \"beehive_content_aggre_url\": \"https://market.m.taobao.com/apps/market/content/list.html?wh_weex=true&data_prefetch=true&wx_navbar_transparent=false&source=itemdetail_itemdetail&params=%7B%22itemid%22%3A%22642951316141%22%7D&tagName=%E5%A5%BD%E7%89%A9%E7%82%B9%E8%AF%84%E5%9B%A2\", \"beehive_content_account_name\": \"女不不神\"}}, \"weappData\": {}, \"price\": {\"price\": {\"priceText\": \"149-219\", \"type\": \"1\"}, \"extraPrices\": [{\"priceMoney\": \"32000\", \"priceText\": \"320\", \"priceTitle\": \"价格\", \"type\": \"2\", \"lineThrough\": \"true\"}], \"priceTag\": [{\"text\": \"年货价\"}, {\"text\": \"淘金币可抵4.47元起\", \"bgColor\": \"#ff9204\"}], \"priceTip\": \"享3期免息,可免3.4元,每期49.7元(每日1.7元)\", \"shopProm\": [{\"iconText\": \"本店活动\", \"icon\": \"//img.alicdn.com/tfs/TB1CDp8QFXXXXakXpXXXXXXXXXX-112-32.png\", \"actionUrl\": \"//h5.m.taobao.com/shopb/shopactivity.html?activityId=64460664796&sellerId=2211438210774&source=2&spm=W-a211f8.1043143&scm=20140619.detail.dpb.0\", \"title\": \"满219减1.53,满438减69.06,满657减144.59\", \"uuid4Cal\": \"64460664796\", \"content\": [\"满219减1.53,满438减69.06,满657减144.59\"]}], \"transmitPrice\": {\"priceText\": \"149-219\"}}, \"gallery\": {}, \"extendedData\": {}, \"skuVertical\": {}}"
    	}
    	],
    	"item": {
    	"brandValueId": "9412311",
    	"cartUrl": "https://h5.m.taobao.com/awp/base/cart.htm",
    	"categoryId": "50026892",
    	"countMultiple": [],
    	"exParams": [],
    	"favcount": "5294",
    	"h5moduleDescUrl": "//mdetail.tmall.com/templates/pages/itemDesc?id=642951316141",
    	"images": [
    		"//img.alicdn.com/imgextra/i1/2211438210774/O1CN01xKZeZu1HaXMQRJCmt_!!0-item_pic.jpg",
    		"//img.alicdn.com/imgextra/i4/2211438210774/O1CN01NJsoXA1HaXMOlWElj_!!2211438210774.jpg",
    		"//img.alicdn.com/imgextra/i2/2211438210774/O1CN019Ym1Nb1HaXMV89BfI_!!2211438210774.jpg",
    		"//img.alicdn.com/imgextra/i1/2211438210774/O1CN01JouSIv1HaXMVi6R6h_!!2211438210774.jpg",
    		"//img.alicdn.com/imgextra/i2/2211438210774/O1CN01Aa9c0Z1HaXMMgbnUy_!!2211438210774.jpg"
    	],
    	"itemId": "642951316141",
    	"moduleDescParams": {
    		"f": "desc/icoss374534142226efe7c92cdc5d5",
    		"id": "642951316141"
    	},
    	"moduleDescUrl": "//hws.m.taobao.com/d/modulet/v5/WItemMouldDesc.do?id=642951316141&f=icoss374534142226efe7c92cdc5d5",
    	"openDecoration": "false",
    	"pcADescUrl": "//market.m.taobao.com/app/detail-project/desc/index.html?id=642951316141&descVersion=7.0&type=1&f=icoss!0642951316141!1519156692&sellerType=B",
    	"rootCategoryId": "50026800",
    	"skuText": "请选择颜色分类 口味 ",
    	"subtitle": "【1元入会】【咨询客服有惊喜】",
    	"taobaoDescUrl": "//market.m.taobao.com/app/detail-project/desc/index.html?id=642951316141&descVersion=7.0&type=0&f=desc/icoss374534142226efe7c92cdc5d5&sellerType=B",
    	"taobaoPcDescUrl": "//market.m.taobao.com/app/detail-project/desc/index.html?id=642951316141&descVersion=6.0&type=1&f=icoss!0642951316141!1519156692&sellerType=B",
    	"title": "澳洲进口life space大人广谱肠道益生菌320亿活菌肠胃养胃正品",
    	"tmallDescUrl": "//mdetail.tmall.com/templates/pages/desc?id=642951316141"
    	},
    	"pcTrade": {
    	"buyEnable": "true",
    	"buyNowUrl": "//buy.tmall.com/order/confirm_order.htm",
    	"cartEnable": "true",
    	"pcBuyParams": {
    		"auto_post": "false",
    		"etm": "post"
    	}
    	},
    	"props": {
    	"groupProps": [
    		{
    			"基本信息": [
    				{
    					"生产日期": "2022年03月12日 至 2022年11月01日"
    				},
    				{
    					"品牌": "LIFE SPACE"
    				},
    				{
    					"品名": "广谱益生菌"
    				},
    				{
    					"产地": "澳大利亚"
    				},
    				{
    					"适用性别": "男女通用"
    				},
    				{
    					"口味": "320亿活性菌呵护肠胃"
    				},
    				{
    					"包装方式": "瓶装"
    				},
    				{
    					"颜色分类": "广谱益生菌60粒 广谱益生菌30粒(生产日期:21年12月)"
    				},
    				{
    					"保质期": "24个月"
    				},
    				{
    					"生产企业": "Evolution Health Pty Ltd"
    				},
    				{
    					"产品剂型": "胶囊"
    				},
    				{
    					"规格(粒/袋/ml/g)": "60粒/瓶"
    				},
    				{
    					"功效": "常吃肠健康"
    				},
    				{
    					"计价单位": "瓶"
    				},
    				{
    					"用法": "每日1-2粒,推荐服用时间为随餐或餐后半小时内,温水吞服,开封后3个月用完。"
    				},
    				{
    					"有效期": "24个月"
    				},
    				{
    					"适用人群": "18岁以上男女"
    				},
    				{
    					"营养成分": "鼠李糖乳杆菌LR-32、乳双歧杆菌BI-04、乳双歧杆菌HN019、益生元LitesseTM、其余10种活性益生菌等"
    				},
    				{
    					"食用提示": "孕期、哺乳期也可服用。保健品不能替代药品,建议坚持长期服用。服用水温最高40℃,开瓶3月内吃完。"
    				},
    				{
    					"效期说明": "保质期24个月"
    				},
    				{
    					"厂名": "Evolution Health Pty Ltd"
    				},
    				{
    					"厂址": "澳大利亚维多利亚麦克阿瑟街6号"
    				},
    				{
    					"厂家联系方式": "+44 (0)1382 381023"
    				},
    				{
    					"保质期": "720"
    				}
    			]
    		}
    	]
    	},
    	"props2": [],
    	"propsCut": "生产日期 品牌 品名 产地 适用性别 口味 包装方式 颜色分类 保质期 生产企业 产品剂型 规格(粒/袋/ml/g) 功效 计价单位 用法 有效期 适用人群 营养成分 食用提示 效期说明 厂名 厂址 厂家联系方式 保质期 ",
    	"rate": {
    	"invite": {
    		"inviteText": "",
    		"showInvite": "false"
    	},
    	"keywords": [
    		{
    			"attribute": "140041052-11",
    			"count": "16",
    			"type": "1",
    			"word": "对便秘效果好"
    		},
    		{
    			"attribute": "140041092-11",
    			"count": "11",
    			"type": "1",
    			"word": "肠胃好了许多"
    		},
    		{
    			"attribute": "140001087-11",
    			"count": "2",
    			"type": "1",
    			"word": "没质量问题"
    		},
    		{
    			"attribute": "140041055-11",
    			"count": "10",
    			"type": "1",
    			"word": "用了效果很好"
    		},
    		{
    			"attribute": "140171002-11",
    			"count": "8",
    			"type": "1",
    			"word": "品质好"
    		},
    		{
    			"attribute": "140041052-13",
    			"count": "2",
    			"type": "-1",
    			"word": "便秘没好"
    		}
    	],
    	"totalCount": "1000+",
    	"utFeedId": "1197800438313_1198039147484"
    	},
    	"seller": {
    	"allItemCount": "43",
    	"atmophereMask": "true",
    	"atmosphereColor": "#ffffff",
    	"atmosphereImg": "https://img.alicdn.com/imgextra/i1/2211438210774/O1CN01MRgVhs1HaXELWDOvO_!!2211438210774.jpg",
    	"atmosphereMaskColor": "#59000000",
    	"brandIcon": "//gw.alicdn.com/tfs/TB10YPrjbj1gK0jSZFOXXc7GpXa-368-52.png?getAvatar=avatar",
    	"brandIconRatio": "7.3",
    	"creditLevel": "10",
    	"creditLevelIcon": "//gw.alicdn.com/tfs/TB1MpufDhjaK1RjSZKzXXXVwXXa-165-45.png",
    	"entranceList": [
    		{
    			"action": [
    				{
    					"key": "open_url",
    					"params": {
    						"url": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2211438210774&item_id=642951316141&currentClickTime=-1"
    					}
    				},
    				{
    					"key": "user_track",
    					"params": {
    						"trackName": "Button-NewShopcard-ShopPage",
    						"trackParams": {
    							"spm": "a.2141.7631564.shoppage"
    						}
    					}
    				}
    			],
    			"backgroundColor": "#59000000",
    			"borderColor": "#59ffffff",
    			"text": "进店逛逛",
    			"textColor": "#ffffff"
    		},
    		{
    			"action": [
    				{
    					"key": "open_url",
    					"params": {
    						"url": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2211438210774&item_id=642951316141&shop_navi=allitems"
    					}
    				},
    				{
    					"key": "user_track",
    					"params": {
    						"trackName": "Button-NewShopcard-AllItem",
    						"trackParams": {
    							"spm": "a.2141.7631564.allitem"
    						}
    					}
    				}
    			],
    			"backgroundColor": "#59000000",
    			"borderColor": "#59ffffff",
    			"text": "全部宝贝",
    			"textColor": "#ffffff"
    		}
    	],
    	"evaluates": [
    		{
    			"level": "1",
    			"levelBackgroundColor": "#EEEEEE",
    			"levelText": "高",
    			"levelTextColor": "#999999",
    			"score": "4.8 ",
    			"title": "宝贝描述",
    			"tmallLevelBackgroundColor": "#EEEEEE",
    			"tmallLevelTextColor": "#999999",
    			"type": "desc"
    		},
    		{
    			"level": "1",
    			"levelBackgroundColor": "#EEEEEE",
    			"levelText": "高",
    			"levelTextColor": "#999999",
    			"score": "4.9 ",
    			"title": "卖家服务",
    			"tmallLevelBackgroundColor": "#EEEEEE",
    			"tmallLevelTextColor": "#999999",
    			"type": "serv"
    		},
    		{
    			"level": "1",
    			"levelBackgroundColor": "#EEEEEE",
    			"levelText": "高",
    			"levelTextColor": "#999999",
    			"score": "4.9 ",
    			"title": "跨境物流",
    			"tmallLevelBackgroundColor": "#EEEEEE",
    			"tmallLevelTextColor": "#999999",
    			"type": "post"
    		}
    	],
    	"evaluates2": [
    		{
    			"level": "1",
    			"levelText": "高",
    			"levelTextColor": "#f0f0f0",
    			"score": "4.8 ",
    			"scoreTextColor": "#ffffff",
    			"title": "宝贝描述",
    			"titleColor": "#ffffff",
    			"type": "desc"
    		},
    		{
    			"level": "1",
    			"levelText": "高",
    			"levelTextColor": "#f0f0f0",
    			"score": "4.9 ",
    			"scoreTextColor": "#ffffff",
    			"title": "卖家服务",
    			"titleColor": "#ffffff",
    			"type": "serv"
    		},
    		{
    			"level": "1",
    			"levelText": "高",
    			"levelTextColor": "#f0f0f0",
    			"score": "4.9 ",
    			"scoreTextColor": "#ffffff",
    			"title": "跨境物流",
    			"titleColor": "#ffffff",
    			"type": "post"
    		}
    	],
    	"fans": "1.5万",
    	"fbt2User": "lifespace营养海外旗舰店",
    	"goodRatePercentage": "100.00%",
    	"pcShopUrl": "//shop356124437.taobao.com",
    	"sellerNick": "lifespace营养海外旗舰店",
    	"sellerType": "B",
    	"shopCard": "本店共43件宝贝在热卖",
    	"shopIcon": "https://img.alicdn.com/imgextra/i3/6000000004712/O1CN01fwc5Qo1kg8wNkQNBM_!!6000000004712-2-shopmanager.png",
    	"shopId": "356124437",
    	"shopName": "lifespace营养海外旗舰店",
    	"shopTextColor": "#ffffff",
    	"shopType": "B",
    	"shopUrl": "tmall://page.tm/shop?item_id=642951316141&shopId=356124437",
    	"shopVersion": "0",
    	"showShopLinkIcon": "false",
    	"simpleShopDOStatus": "1",
    	"startsIcon": "https://img.alicdn.com/imgextra/i2/O1CN01Z8Xo0V1vJCxVltJIB_!!6000000006151-2-tps-91-14.png",
    	"tagIcon": "//gw.alicdn.com/tfs/TB1889mggMPMeJjy1XbXXcwxVXa-113-28.png",
    	"taoShopUrl": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2211438210774&item_id=642951316141",
    	"userId": "2211438210774"
    	},
    	"skuBase": {
    	"props": [
    		{
    			"name": "口味",
    			"pid": "31560",
    			"values": [
    				{
    					"name": "320亿活性菌呵护肠胃",
    					"vid": "22847214270"
    				}
    			]
    		},
    		{
    			"name": "颜色分类",
    			"pid": "1627207",
    			"values": [
    				{
    					"image": "//img.alicdn.com/imgextra/i4/2211438210774/O1CN01UQF8kC1HaXLICGb6d_!!2211438210774.png",
    					"name": "广谱益生菌60粒",
    					"vid": "3232484"
    				},
    				{
    					"image": "//img.alicdn.com/imgextra/i2/2211438210774/O1CN01QFzyAu1HaXIhrnPoE_!!2211438210774.png",
    					"name": "广谱益生菌30粒(生产日期:21年12月)",
    					"vid": "107121"
    				}
    			]
    		}
    	],
    	"skus": [
    		{
    			"propPath": "31560:22847214270;1627207:3232484",
    			"skuId": "4634213277748"
    		},
    		{
    			"propPath": "31560:22847214270;1627207:107121",
    			"skuId": "5087758410356"
    		}
    	]
    	},
    	"vertical": [],
    	"app_ver": "1.0.0-6.1",
    	"_ddf": "fu",
    	"app_ver_check": "ok",
    	"format_check": "ok"
    	},
    	"error": "",
    	"secache": "45509d5abb332b02e5409ecd25b8325a",
    	"secache_time": 1673323104,
    	"secache_date": "2023-01-10 11:58:24",
    	"reason": "",
    	"error_code": "0000",
    	"cache": 0,
    	"api_info": "today:44 max:10100 all[74=44+11+19];expires:2030-12-31",
    	"execution_time": "1.696",
    	"server_time": "Beijing/2023-01-10 11:58:24",
    	"client_ip": "106.6.32.188",
    	"call_args": {
    	"num_iid": "642951316141"
    	},
    	"api_type": "taobao",
    	"translate_language": "zh-CN",
    	"translate_engine": "baidu",
    	"server_memory": "0.99MB",
    	"request_id": "gw-4.63bce25f41c30",
    	"last_id": "1466996809"
    	}
    异常示例
    {
    		"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:271449542271449542(微信同号)