万邦抖音获取抖音商品原数据 API 返回值说明

item_get_app-获取抖音商品原数据 [查看演示] API测试工具 注册开通

douyin.item_get_app(Ver:1.0.0-4.0)

  • douyin.item_get_app-1.0.0-1.0.html
  • douyin.item_get_app-1.0.0-2.0.html
  • douyin.item_get_app-1.0.0-3.0.html
  • douyin.item_get_app-1.0.0-4.0.html
  • douyin.item_get_app-1.0.0-5.0.html
  • douyin.item_get_app-1.0.0-6.0.html
  • douyin.item_get_app-1.0.0-6.1.html
  • douyin.item_get_app-1.0.0-6.2.html
  • 公共参数

    请求地址: https://api-gw.onebound.cn/douyin/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=3514453298386183303

    参数说明:num_iid:抖音商品ID

    响应参数

    Version: Date:

    名称 类型 必须 示例值 描述
    item
    Mix 0 获得某音商品详情原数据
    请求示例
    	
    -- 请求示例 url 默认请求参数已经URL编码处理
    curl -i "https://api-gw.onebound.cn/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303"
    
    <?php
    
    // 请求示例 url 默认请求参数已经URL编码处理
    // 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.onebound.cn/help/demo/sdk/demo-sign.php
    $method = "GET";
    $url = "https://api-gw.onebound.cn/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303";
    $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" =>"douyin",
    	                "api_name" =>"item_get_app",
    	                "api_params"=>array (
      'num_iid' => '3514453298386183303',
    )
                    )
                );
     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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303";
    		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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303";
    	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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303"
    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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303", 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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({"num_iid":"3514453298386183303"})// 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":"douyin",
         "api_name" : "item_get_app",
         "api_params": {"num_iid":"3514453298386183303"}//num_iid=3514453298386183303,#具体参数请参考文档说明
         },
         function(e){
            document.querySelector("#api_data_box").innerHTML=JSON.stringify(e)
         }
    );
    </script>
    require "net/http"
    require "uri"
    url = URI("https://api-gw.onebound.cn/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303")
    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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303")!
    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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303"];
    
    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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303";
      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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303");
             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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303", (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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303")
        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/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303")?;
        let mut content = String::new();
        resp.read_to_string(&mut content)?;
    
        println!("{}", content);
    
        Ok(())
    }
    
    
    library(httr)
    r <- GET("https://api-gw.onebound.cn/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303")
    content(r)
    url = "https://api-gw.onebound.cn/douyin/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303";
    response = webread(url);
    disp(response);
    
    响应示例
    {
        "item":{
            "extra": {
                "fatal_item_ids": [
    
                ],
                "logid": "202403121516320FB57BF9643AFA009871",
                "now": 1710227793000
            },
            "log_pb": {
                "impr_id": "202403121516320FB57BF9643AFA009871"
            },
            "page_style": {
                "comment_page_tag_max": 0,
                "confirm_order_short_url": null,
                "confirm_order_style": 3,
                "detail_page_stats_show": true,
                "detail_page_tag_max": 3,
                "detail_page_tag_show": false
            },
            "promotion": {
                "base_info": {
                    "images": [
                        {
                            "height": 720,
                            "url_list": [
                                "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/FYHPcKEv_m_2c2febdd9a29345f5024027f56c7362c_sx_375832_www800-800"
                            ],
                            "width": 720
                        },
                        {
                            "height": 720,
                            "url_list": [
                                "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/FYHPcKEv_m_aeeb5399701594159006530ccd661e4d_sx_4015107_www1716-1716"
                            ],
                            "width": 720
                        },
                        {
                            "height": 720,
                            "url_list": [
                                "https://p9-aio.ecombdimg.com/obj/ecom-shop-material/FYHPcKEv_m_b8e81db9c7569327331e48bb209af2a2_sx_550120_www1667-1667"
                            ],
                            "width": 720
                        },
                        {
                            "height": 720,
                            "url_list": [
                                "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/FYHPcKEv_m_edf4fe8785653d760861b0e03f32f677_sx_426443_www1333-1333"
                            ],
                            "width": 720
                        },
                        {
                            "height": 720,
                            "url_list": [
                                "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/FYHPcKEv_m_653cc4621611da8fa65e350ef2439563_sx_330224_www971-971"
                            ],
                            "width": 720
                        }
                    ],
                    "price": {
                        "max_price": 3260,
                        "min_price": 880
                    },
                    "product_id": "3531639253639502900",
                    "promotion_source": 6,
                    "promotion_source_text": "商品来自小店",
                    "sales": 15808,
                    "sold_out": false,
                    "status": 2,
                    "title": "江西萍乡辣片8090后-豆香味香辣味-传统劲道-零食辣条-有嚼劲卫道"
                },
                "comment_info": {
                    "comments": [
                        {
                            "app_id": 7386,
                            "comment_time": "2024-01-25 18:36:26",
                            "content": "作为四川人,只能说一般辣,但是还是很惊喜的,外省能买到合口味的麻辣,很少有这种情况!不过有点咸是真的🙉🙉🙉🙉🙉",
                            "id": 8452736240444358921,
                            "liked": false,
                            "likes": 1,
                            "parent_id": 0,
                            "photos": [
                                {
                                    "thumbnail": "http://p3.pstatp.com/aweme/720x720/webcast/d2921678eced54406f952f26452b4a5d.jpeg",
                                    "url": "http://p3.pstatp.com/aweme/720x720/webcast/d2921678eced54406f952f26452b4a5d.jpeg"
                                },
                                {
                                    "thumbnail": "http://p1.pstatp.com/aweme/720x720/webcast/a554e19beb7ed6698a0a85f8314dc415.jpeg",
                                    "url": "http://p1.pstatp.com/aweme/720x720/webcast/a554e19beb7ed6698a0a85f8314dc415.jpeg"
                                }
                            ],
                            "product_id": 0,
                            "rank": 15,
                            "rank_logistic": 5,
                            "rank_product": 5,
                            "rank_shop": 5,
                            "recommend": false,
                            "shop_reply": "亲,感谢您对我们产品的支持与信赖,我们家的辣片是属于干款有嚼劲、不甜不油腻,打开后都是满满豆香味的,有小时候的味道。祝您生活愉快,工作顺心!
        ",
                            "sku": "特辣80克 * 3包",
                            "user_avatar": {
                                "uri": "https://p26.douyinpic.com/aweme/720x720/aweme-avatar/douyin-user-image-file_72140bf4aa7490e9af7a4fb304b4012b.jpeg?from=4010531038",
                                "url_list": [
                                    "https://p26.douyinpic.com/aweme/720x720/aweme-avatar/douyin-user-image-file_72140bf4aa7490e9af7a4fb304b4012b.jpeg?from=4010531038"
                                ]
                            },
                            "user_id": 99041542245,
                            "user_name": "启**j",
                            "user_type": 12
                        },
                        {
                            "app_id": 1128,
                            "comment_time": "2024-01-15 01:19:24",
                            "content": "真挺辣的 没有甜味 口感是风干的豆皮 南方可能不太适合这种口味 但是很刺激 辣死我了",
                            "id": 2865435960584388900,
                            "liked": false,
                            "likes": 1,
                            "parent_id": 0,
                            "photos": [
                                {
                                    "thumbnail": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/0ff8f84b42eabacdc635395374fe23ff.jpeg",
                                    "url": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/0ff8f84b42eabacdc635395374fe23ff.jpeg"
                                },
                                {
                                    "thumbnail": "http://p1.pstatp.com/aweme/720x720/douyin-user-image-file/fa55fd3c83a7845f10c0bc8ef4f4afd0.jpeg",
                                    "url": "http://p1.pstatp.com/aweme/720x720/douyin-user-image-file/fa55fd3c83a7845f10c0bc8ef4f4afd0.jpeg"
                                }
                            ],
                            "product_id": 0,
                            "rank": 15,
                            "rank_logistic": 5,
                            "rank_product": 5,
                            "rank_shop": 5,
                            "recommend": false,
                            "shop_reply": "",
                            "sku": "特辣3包(80克/包)辣度★★★★",
                            "user_avatar": {
                                "uri": "https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/5aba4cb049e3e56737e61af88d5ea124.png~tplv-fceoirpogb-image.image",
                                "url_list": [
                                    "https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/5aba4cb049e3e56737e61af88d5ea124.png~tplv-fceoirpogb-image.image"
                                ]
                            },
                            "user_id": 50441715083,
                            "user_name": "超**t",
                            "user_type": 12
                        },
                        {
                            "app_id": 2329,
                            "comment_time": "2022-10-11 17:15:43",
                            "content": "才买来就迫不及待打开吃了   真的很好吃  已经购买三次了",
                            "id": 6189724226023555368,
                            "liked": false,
                            "likes": 4,
                            "parent_id": 0,
                            "photos": [
                                {
                                    "thumbnail": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/d6f33539076bcd8dd67db23480de1075.jpeg",
                                    "url": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/d6f33539076bcd8dd67db23480de1075.jpeg"
                                },
                                {
                                    "thumbnail": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/0b8a417c7a8116721517a519d65c6a79.jpeg",
                                    "url": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/0b8a417c7a8116721517a519d65c6a79.jpeg"
                                }
                            ],
                            "product_id": 0,
                            "rank": 15,
                            "rank_logistic": 5,
                            "rank_product": 5,
                            "rank_shop": 5,
                            "recommend": false,
                            "shop_reply": "亲,感谢您对我们产品的支持与信赖,我们家的辣片确实是有小时候的味道,祝您生活愉快",
                            "sku": "特辣4包+送1包(160克/包)",
                            "user_avatar": {
                                "uri": "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_oE14PfgObAE8BwA1An9lwACPzDANeAAb7MAIaP.jpeg?from=4010531038",
                                "url_list": [
                                    "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_oE14PfgObAE8BwA1An9lwACPzDANeAAb7MAIaP.jpeg?from=4010531038"
                                ]
                            },
                            "user_id": 84971020397,
                            "user_name": "过**d",
                            "user_type": 12
                        },
                        {
                            "app_id": 1128,
                            "comment_time": "2024-02-21 22:51:08",
                            "content": "味道不错,非常好",
                            "id": 5181450551778509108,
                            "liked": false,
                            "likes": 0,
                            "parent_id": 0,
                            "photos": [
                                {
                                    "thumbnail": "http://p1.pstatp.com/aweme/720x720/douyin-user-image-file/ff932e95008ad642a112e2c1978db4a5.jpeg",
                                    "url": "http://p1.pstatp.com/aweme/720x720/douyin-user-image-file/ff932e95008ad642a112e2c1978db4a5.jpeg"
                                },
                                {
                                    "thumbnail": "http://p1.pstatp.com/aweme/720x720/douyin-user-image-file/33f9cab0b81bfee6479b88fd9785c7b6.jpeg",
                                    "url": "http://p1.pstatp.com/aweme/720x720/douyin-user-image-file/33f9cab0b81bfee6479b88fd9785c7b6.jpeg"
                                },
                                {
                                    "thumbnail": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/85495b23eb7b0fc2ed96faab906903d7.jpeg",
                                    "url": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/85495b23eb7b0fc2ed96faab906903d7.jpeg"
                                }
                            ],
                            "product_id": 0,
                            "rank": 15,
                            "rank_logistic": 5,
                            "rank_product": 5,
                            "rank_shop": 5,
                            "recommend": false,
                            "shop_reply": "",
                            "sku": "微辣400克*1包(真空包装)【更划算】",
                            "user_avatar": {
                                "uri": "https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/ed944b9c45de9e3a00c3e118c1327dfe.png~tplv-fceoirpogb-image.image",
                                "url_list": [
                                    "https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/ed944b9c45de9e3a00c3e118c1327dfe.png~tplv-fceoirpogb-image.image"
                                ]
                            },
                            "user_id": 111225805542,
                            "user_name": "贵**2",
                            "user_type": 12
                        },
                        {
                            "app_id": 1128,
                            "comment_time": "2024-01-30 09:38:00",
                            "content": "我拍的微辣。一点也不辣,怕辣的人可以吃。
        喜欢吃辣的特辣的应该好吃些",
                            "id": 8945572537992347913,
                            "liked": false,
                            "likes": 0,
                            "parent_id": 0,
                            "photos": [
                                {
                                    "thumbnail": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/3be0e4caf83b57a59abb8fa730d36a5b.jpeg",
                                    "url": "http://p3.pstatp.com/aweme/720x720/douyin-user-image-file/3be0e4caf83b57a59abb8fa730d36a5b.jpeg"
                                }
                            ],
                            "product_id": 0,
                            "rank": 13,
                            "rank_logistic": 4,
                            "rank_product": 5,
                            "rank_shop": 4,
                            "recommend": false,
                            "shop_reply": "",
                            "sku": "微辣80克 * 3包 辣度★★",
                            "user_avatar": {
                                "uri": "https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/6ccf1527d0b7cf691adcbbe5725c52b2.png~tplv-fceoirpogb-image.image",
                                "url_list": [
                                    "https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/6ccf1527d0b7cf691adcbbe5725c52b2.png~tplv-fceoirpogb-image.image"
                                ]
                            },
                            "user_id": 74823454139,
                            "user_name": "@**f",
                            "user_type": 12
                        }
                    ],
                    "praise_rate": 8083,
                    "stats": [
                        {
                            "caption": "全部",
                            "count": 1426,
                            "id": 1,
                            "title": "全部(1426)"
                        },
                        {
                            "caption": "有图",
                            "count": 108,
                            "id": 2,
                            "title": "有图(108)"
                        },
                        {
                            "caption": "好评",
                            "count": 1147,
                            "id": 3,
                            "title": "好评(1147)"
                        },
                        {
                            "caption": "中评",
                            "count": 200,
                            "id": 4,
                            "title": "中评(200)"
                        },
                        {
                            "caption": "追评",
                            "count": 16,
                            "id": 5,
                            "title": "追评(16)"
                        },
                        {
                            "caption": "差评",
                            "count": 73,
                            "id": 6,
                            "title": "差评(73)"
                        }
                    ],
                    "total_count": 1426
                },
                "detail_info": [
    
                ],
                "extra_info": {
                    "buy_button": {
                        "links": {
                            "h5_url": "https://haohuo.jinritemai.com/views/product/buynow?id=3531639253639502900&product_id=3531639253639502900&origin_type=1&&disable_activity=0&group_id=0&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1&c_biz_combo=1"
                        },
                        "order_status": 1,
                        "text": "立即购买"
                    },
                    "detail_url": "https://haohuo.jinritemai.com/views/product/item2?origin_type=1&id=3531639253639502900",
                    "im_url": "https://im.jinritemai.com/douyin_mobile_customer_from_goods/?fromGoods=3531639253639502900&&origin_type=1",
                    "is_virtual_product": false,
                    "mobiles": [
                        "18229976590"
                    ],
                    "need_check": true,
                    "origin_type": "1",
                    "track_extra": "{"c_biz_combo":"1"}"
                },
                "privilege_info": {
                    "coupons": [
    
                    ],
                    "logistics": {
                        "post_fee": 0,
                        "post_fee_text": "运费0元起",
                        "send_from": "48小时内湖南省发货"
                    },
                    "services": [
                        {
                            "content": "该商品不支持“7天无理由退换货”",
                            "icon": "http://tosv.byted.org/obj/temai/unsupport_full_return.png",
                            "small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_unsupport_3x.png",
                            "title": "不支持7天无理由退货",
                            "url": "http://opendoc.jinritemai.com/rules/2599/20982/"
                        },
                        {
                            "content": "查看商家详细资质信息",
                            "icon": "http://tosv.byted.org/obj/temai/shop_certification.png",
                            "small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
                            "title": "商家资质",
                            "url": "https://haohuo.jinritemai.com/views/shop/multipleLicenses?id=FYHPcKEv"
                        },
                        {
                            "content": "下单后6小时内,如果商品未发货,申请退款可享受即刻退款服务",
                            "icon": "http://tosv.byted.org/obj/temai/refund.png",
                            "small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
                            "title": "极速退"
                        },
                        {
                            "content": "商家承诺该商品假一赔三",
                            "icon": "http://tosv.byted.org/obj/temai/punishment.png",
                            "small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
                            "title": "假一赔三"
                        },
                        {
                            "content": "该商家已交纳保证金,如有质量问题,描述不符等,你有权申请退款或退货",
                            "icon": "http://tosv.byted.org/obj/temai/comsumer_protect.png",
                            "small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
                            "title": "消费者保障服务"
                        },
                        {
                            "content": "点击查看平台公示专区",
                            "tag": "public_zone",
                            "url": "https://bolt.jinritemai.com/api/h5/activity/3412015027896064619?d=1"
                        }
                    ]
                }
            },
            "status_code": 0,
            "app_ver": "1.0.0-3.0",
            "_ddf": "leo",
            "app_ver_check": "ok",
            "format_check": "ok"
        },
        "error":"",
        "secache":"58336fa1f3aaaf2d48544f60fdd723cb",
        "secache_time":1706596859,
        "secache_date":"2024-01-30 14:40:59",
        "reason":"",
        "error_code":"0000",
        "cache":0,
        "api_info":"today: max:15000 all[=++];expires:2031-01-01",
        "execution_time":"0.425",
        "server_time":"Beijing/2024-01-30 14:40:59",
        "client_ip":"127.0.0.1",
        "call_args":{
            "num_iid":"3633601778009913449"
        },
        "api_type":"douyin",
        "server_memory":"3.32MB",
        "last_id":false
    }
    异常示例
    {
    		"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/2023-11-30 15:44:00",
    		"call_args": [],
    		"api_type": "douyin",
    		"request_id": "gw-1ee0ffc041242"}
    相关资料
    错误码解释
    状态代码(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(微信同号)