ข้ามไปยังเนื้อหา

TikTok Shop การค้นหาสินค้า API (V1) ​

GET
สถานะสุขภาพของ API
สถานะดี มีสภาพ จำกัด ส่วนใหญ่ไม่มีสภาพ ไม่มีข้อมูล
กำลังโหลดสถานะสุขภาพ...

ค้นหาสินค้า TikTok Shop โดยใช้คีย์เวิร์ดในภูมิภาคที่เลือก โดยใช้การแสดงผลแบบเคอร์เซอร์และ token หน้า ใช้เพื่อค้นหาสินค้าในภูมิภาคและดำเนินการต่อในผลการค้นหา

พารามิเตอร์ ​

ชื่อ ตำแหน่ง ชนิดข้อมูล จำเป็น ค่าเริ่มต้น คำอธิบาย
token query string ใช่ - โทเค็นสำหรับยืนยันตัวตนกับบริการ API นี้
keyword query string ใช่ - คำสำคัญสำหรับการค้นหา.
region query string ไม่ใช่ US ภูมิภาคเป้าหมายสำหรับการค้นหาสินค้า.


ค่าที่มีอยู่:

- US: สหรัฐอเมริกา

- GB: สหราชอาณาจักร

- FR: ฝรั่งเศส

- SG: สิงคโปร์

- MY: มาเลเซีย

- PH: ฟิลิปปินส์

- TH: ไทย

- VN: เวียดนาม

- ID: อินโดนีเซีย
offset query integer ไม่ใช่ 0 ค่าการแสดงผลการค้นหา.
pageToken query string ไม่ใช่ - โทเค็นการแบ่งหน้าสำหรับหน้าถัดไป

ตัวอย่างโค้ด ​

bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/tiktok-shop/search-products/v1?token=YOUR_API_KEY&keyword=VALUE'
text
ฉันต้องการใช้ API "การค้นหาสินค้า (V1)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/tiktok-shop/search-products/v1?token=YOUR_API_KEY&keyword=VALUE
เอนด์พอยต์ API: BASE_URL + /api/tiktok-shop/search-products/v1?token=YOUR_API_KEY&keyword=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/tiktok-shop/product-search-v1-th.json

พารามิเตอร์:
- token (query): โทเค็นสำหรับยืนยันตัวตนกับบริการ API นี้ (จำเป็น)
- keyword (query): คำสำคัญสำหรับการค้นหา. (จำเป็น)
- region (query): ภูมิภาคเป้าหมายสำหรับการค้นหาสินค้า.

ค่าที่มีอยู่:
- `US`: สหรัฐอเมริกา
- `GB`: สหราชอาณาจักร
- `FR`: ฝรั่งเศส
- `SG`: สิงคโปร์
- `MY`: มาเลเซีย
- `PH`: ฟิลิปปินส์
- `TH`: ไทย
- `VN`: เวียดนาม
- `ID`: อินโดนีเซีย
- offset (query): ค่าการแสดงผลการค้นหา.
- pageToken (query): โทเค็นการแบ่งหน้าสำหรับหน้าถัดไป

รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง

การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "code" ในผลตอบกลับ (รหัส 0 หมายถึงสำเร็จ)
2. แนะนำให้ตั้งระยะเวลารอ 120 วินาที หาก 120 วินาทีนานเกินไป ให้ตั้งอย่างน้อย 60 วินาที แต่คำขอบางรายการอาจหมดเวลาก่อนได้รับผลลัพธ์
3. รหัสผลลัพธ์:
   - 0: สำเร็จ
   - 100: โทเคนไม่ถูกต้องหรือถูกปิดใช้งาน
   - 301: ดึงข้อมูลไม่สำเร็จ โปรดลองอีกครั้ง
   - 302: เกินขีดจำกัดอัตราการเรียก
   - 303: ใช้โควตารายวันครบแล้ว
   - 400: พารามิเตอร์ไม่ถูกต้อง
   - 500: ข้อผิดพลาดภายในเซิร์ฟเวอร์
   - 600: ไม่มีสิทธิ์เข้าถึง
   - 601: ยอดเงินคงเหลือไม่เพียงพอ
   - 602: ถึงวงเงินของโทเคนแล้ว
4. รหัส 601 หมายถึงยอดเงินที่ใช้ร่วมกันของบัญชีไม่เพียงพอ รหัส 602 หมายถึงโทเคน API ถึงวงเงินสะสมของตนเองแล้ว การกำหนดวงเงินโทเคนจะไม่โอนเงินออกจากยอดเงินที่ใช้ร่วมกันของบัญชี

กรุณาช่วยเขียนสคริปต์ในภาษาโปรแกรมที่ฉันชื่นชอบเพื่อเรียกใช้ API และจัดการการตอบกลับ.
python
import requests

BASE_URL = "https://api.justoneapi.com"  # ให้โดยเซิร์ฟเวอร์ OpenAPI

url = BASE_URL + "/api/tiktok-shop/search-products/v1?token=YOUR_API_KEY&keyword=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
js
const BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
const url = BASE_URL + "/api/tiktok-shop/search-products/v1?token=YOUR_API_KEY&keyword=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
        final String url = BASE_URL + "/api/tiktok-shop/search-products/v1?token=YOUR_API_KEY&keyword=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
go
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // ให้โดยเซิร์ฟเวอร์ OpenAPI

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/tiktok-shop/search-products/v1?token=YOUR_API_KEY&keyword=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
php
<?php
$BASE_URL = 'https://api.justoneapi.com'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$url = $BASE_URL . '/api/tiktok-shop/search-products/v1?token=YOUR_API_KEY&keyword=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}

ฟิลด์ที่ได้รับการตอบกลับ ​

ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (code = 0).

ผลลัพธ์และการดำเนินการต่อเนื่อง9 ฟิลด์

data

ผลการค้นหาของ TikTok Shop และสถานะที่รายงาน

ฟิลด์ ชนิดข้อมูล คำอธิบาย
code integer รหัสสถานะภายในที่ TikTok Shop รายงาน
message string ข้อความสถานะภายในที่ TikTok Shop รายงาน
data object ข้อมูลเมตาดาต้าเกี่ยวกับผลิตภัณฑ์ ร้านค้า และการค้นหาที่ส่งกลับมาสำหรับหน้านี้
data.has_more boolean ว่าการตอบกลับมีการรายงานผลการค้นหามากขึ้นหรือไม่。
data.load_more_params object พารามิเตอร์การดำเนินการที่ส่งกลับสำหรับคำขอการค้นหาครั้งถัดไป。
data.load_more_params.offset integer ค่าการลดลงที่ส่งกลับสำหรับหน้าเพจถัดไป。ส่งค่าเดียวกันนี้พร้อมคีย์เวิร์ดและภูมิภาค。
data.load_more_params.page_token string ท่อนข้อมูลที่ไม่สามารถอ่านได้ถูกส่งกลับเพื่อการค้นหาต่อไป。ส่งค่าเดียวกันนี้โดยไม่เปลี่ยนแปลงเป็น pageToken พร้อมค่าการลดลงที่ได้รับ。
data.products array ข้อมูลสินค้าที่ส่งกลับในหน้าเพจการค้นหานี้。
data.shops array ข้อมูลของร้านค้าที่ถูกส่งกลับมาแยกต่างหากในผลการค้นหา
สรุปรายละเอียดสินค้า12 ฟิลด์

data.data.products[]

สินค้าหนึ่งรายการในผลการค้นหา。

ฟิลด์ ชนิดข้อมูล คำอธิบาย
product_id string ตัวระบุสินค้าของ TikTok Shop ที่ส่งกลับเป็นข้อความ。
title string ชื่อเรื่องที่ส่งกลับมาสำหรับรายการสินค้า。
rate_info object ข้อมูลเกี่ยวกับคะแนนของผลิตภัณฑ์ หากมี
rate_info.score number คะแนนรีวิวที่รายงานในรูปแบบตัวเลข
rate_info.review_count string จำนวนการรีวิวที่รายงานในรูปแบบข้อความ
sold_info object ข้อมูลจำนวนการขายสำหรับผลิตภัณฑ์
sold_info.sold_count integer จำนวนการขายของผลิตภัณฑ์
brand_info object ข้อมูลเกี่ยวกับแบรนด์ของผลิตภัณฑ์ หากมี
brand_info.brand_name string ชื่อแบรนด์ที่รายงานสำหรับสินค้า
seo_url object ข้อมูลเมทาดาฟของหน้าผลิตภัณฑ์ที่ส่งกลับมาพร้อมกับผลิตภัณฑ์
seo_url.canonical_url string URL หน้าผลิตภัณฑ์ที่ถูกต้องสำหรับผลิตภัณฑ์
seo_url.slug string Slug ของหน้าผลิตภัณฑ์ที่ส่งกลับมาพร้อมกับลิงก์ที่ถูกต้อง
ราคาสินค้า25 ฟิลด์

data.data.products[]

ฟิลด์ ชนิดข้อมูล คำอธิบาย
product_price_info object ข้อมูลราคาที่ส่งกลับพร้อมรายการสินค้า。
product_price_info.price_prefix string ข้อความเสริมที่ไม่จำเป็นที่แสดงก่อนราคาที่ส่งกลับ。
product_price_info.sku_id string ตัวระบุที่รายงานสำหรับ SKU ที่เกี่ยวข้องกับราคานี้。
product_price_info.symbol_position integer รหัสตำแหน่งที่รายงานสำหรับสัญลักษณ์สกุลเงิน。
product_price_info.show_currency_space boolean ว่าประเภทการแสดงราคาถือว่าต้องมีช่องว่างสำหรับสกุลเงินหรือไม่。
product_price_info.currency_show_mode integer รหัสโหมดการแสดงสกุลเงินที่รายงานพร้อมกับราคา。
product_price_info.currency_name string ตัวระบุสกุลเงินที่รายงานพร้อมกับราคา。
product_price_info.currency_symbol string สัญลักษณ์สกุลเงินที่รายงานพร้อมกับราคา。
product_price_info.sale_price_decimal string จำนวนราคาขายที่ส่งกลับในรูปแบบตัวเลขทศนิยม。
product_price_info.sale_price_format string รูปแบบการแสดงราคาขายที่จัดรูปแบบไว้。
product_price_info.single_product_price_format string รูปแบบการแสดงราคาสินค้าหนึ่งรายการที่จัดรูปแบบไว้。
product_price_info.single_product_price_decimal string จำนวนราคาสินค้าหนึ่งรายการที่ส่งกลับในรูปแบบตัวเลขทศนิยม。
product_price_info.sale_price_integer_part_format string ส่วนจำนวนเต็มที่จัดรูปแบบไว้ของราคาขายที่แสดง。
product_price_info.sale_price_decimal_part_format string ส่วนทศนิยมที่จัดรูปแบบไว้ของราคาขายที่แสดง。
product_price_info.decimal_point_symbol string สัญลักษณ์การแยกตัวเลขทศนิยมที่รายงานสำหรับรูปแบบการแสดงราคา。
product_price_info.promotion_deduction_details object ข้อมูลการลดราคาที่ส่งกลับพร้อมกับราคา。
product_price_info.promotion_deduction_details.seller_subtotal_deduction string จำนวนการลดราคาของผู้ขายที่แสดงพร้อมกับโปรโมชั่น。
product_price_info.promotion_deduction_details.seller_subtotal_deduction_decimal string จำนวนการลดราคาของผู้ขายที่ส่งกลับเป็นตัวเลขทศนิยม。
product_price_info.raw_origin_price_decimal string ราคาต้นฉบับที่รายงานในรูปแบบตัวเลขทศนิยม
product_price_info.raw_origin_price_format string ข้อความที่จัดรูปแบบเพื่อแสดงราคาต้นฉบับ
product_price_info.origin_price_decimal string ราคาต้นฉบับที่ส่งกลับมาในรูปแบบตัวเลขทศนิยม หากมีการกำหนด
product_price_info.origin_price_format string ข้อความที่จัดรูปแบบเพื่อแสดงราคาต้นฉบับที่รายงาน
product_price_info.discount_format string ข้อความที่จัดรูปแบบเพื่อแสดงส่วนลด
product_price_info.discount_decimal string ค่าส่วนลดที่ส่งกลับมาในรูปแบบตัวเลขทศนิยม
product_price_info.reduce_price_format string ข้อความที่จัดรูปแบบเพื่อแสดงการลดราคา
ราคาของ SKU27 ฟิลด์

data.data.products[]

ฟิลด์ ชนิดข้อมูล คำอธิบาย
sku_info array ข้อมูลราคาของ SKU สำหรับผลิตภัณฑ์นี้
sku_info[] object ข้อมูลราคาของ SKU เพียงหนึ่งรายการสำหรับผลิตภัณฑ์นี้
sku_info[].SkuId string ตัวระบุ SKU ที่ถูกส่งกลับมาในข้อมูลราคา
sku_info[].PriceInfo object ข้อมูลราคาที่ถูกส่งกลับมาสำหรับ SKU
sku_info[].PriceInfo.sku_id string ตัวระบุที่รายงานสำหรับ SKU ที่เกี่ยวข้องกับราคานี้。
sku_info[].PriceInfo.symbol_position integer รหัสตำแหน่งที่รายงานสำหรับสัญลักษณ์สกุลเงิน。
sku_info[].PriceInfo.show_currency_space boolean ว่าประเภทการแสดงราคาถือว่าต้องมีช่องว่างสำหรับสกุลเงินหรือไม่。
sku_info[].PriceInfo.currency_show_mode integer รหัสโหมดการแสดงสกุลเงินที่รายงานพร้อมกับราคา。
sku_info[].PriceInfo.currency_name string ตัวระบุสกุลเงินที่รายงานพร้อมกับราคา。
sku_info[].PriceInfo.currency_symbol string สัญลักษณ์สกุลเงินที่รายงานพร้อมกับราคา。
sku_info[].PriceInfo.sale_price_decimal string จำนวนราคาขายที่ส่งกลับในรูปแบบตัวเลขทศนิยม。
sku_info[].PriceInfo.sale_price_format string รูปแบบการแสดงราคาขายที่จัดรูปแบบไว้。
sku_info[].PriceInfo.single_product_price_format string รูปแบบการแสดงราคาสินค้าหนึ่งรายการที่จัดรูปแบบไว้。
sku_info[].PriceInfo.single_product_price_decimal string จำนวนราคาสินค้าหนึ่งรายการที่ส่งกลับในรูปแบบตัวเลขทศนิยม。
sku_info[].PriceInfo.sale_price_integer_part_format string ส่วนจำนวนเต็มที่จัดรูปแบบไว้ของราคาขายที่แสดง。
sku_info[].PriceInfo.sale_price_decimal_part_format string ส่วนทศนิยมที่จัดรูปแบบไว้ของราคาขายที่แสดง。
sku_info[].PriceInfo.decimal_point_symbol string สัญลักษณ์การแยกตัวเลขทศนิยมที่รายงานสำหรับรูปแบบการแสดงราคา。
sku_info[].PriceInfo.promotion_deduction_details object ข้อมูลการลดราคาที่ส่งกลับพร้อมกับราคา。
sku_info[].PriceInfo.promotion_deduction_details.seller_subtotal_deduction string จำนวนการลดราคาของผู้ขายที่แสดงพร้อมกับโปรโมชั่น。
sku_info[].PriceInfo.promotion_deduction_details.seller_subtotal_deduction_decimal string จำนวนการลดราคาของผู้ขายที่ส่งกลับเป็นตัวเลขทศนิยม。
sku_info[].PriceInfo.raw_origin_price_decimal string ราคาต้นฉบับที่รายงานในรูปแบบตัวเลขทศนิยม
sku_info[].PriceInfo.raw_origin_price_format string ข้อความที่จัดรูปแบบเพื่อแสดงราคาต้นฉบับ
sku_info[].PriceInfo.origin_price_decimal string ราคาต้นฉบับที่ส่งกลับมาในรูปแบบตัวเลขทศนิยม หากมีการกำหนด
sku_info[].PriceInfo.origin_price_format string ข้อความที่จัดรูปแบบเพื่อแสดงราคาต้นฉบับที่รายงาน
sku_info[].PriceInfo.discount_format string ข้อความที่จัดรูปแบบเพื่อแสดงส่วนลด
sku_info[].PriceInfo.discount_decimal string ค่าส่วนลดที่ส่งกลับมาในรูปแบบตัวเลขทศนิยม
sku_info[].PriceInfo.reduce_price_format string ข้อความที่จัดรูปแบบเพื่อแสดงการลดราคา
ผู้ขายสินค้า22 ฟิลด์

data.data.products[]

ฟิลด์ ชนิดข้อมูล คำอธิบาย
seller_info object ข้อมูลเกี่ยวกับผู้ขายที่ส่งกลับมาพร้อมกับผลิตภัณฑ์
seller_info.seller_id string ตัวระบุผู้ขายของ TikTok Shop ที่ส่งกลับมาในรูปแบบข้อความ
seller_info.shop_name string ชื่อที่แสดงสำหรับร้านค้า
seller_info.store_blueV_label object ภาพสัญลักษณ์การตรวจสอบที่สีน้ำเงินสำหรับร้านค้า
seller_info.store_blueV_label.label_image_light object ภาพสัญลักษณ์การตรวจสอบสำหรับหน้าจอสีอ่อน
seller_info.store_blueV_label.label_image_light.height integer ความสูงของภาพที่รายงาน
seller_info.store_blueV_label.label_image_light.width integer ความกว้างของภาพที่รายงาน
seller_info.store_blueV_label.label_image_light.uri string URI ของภาพที่ส่งกลับมาพร้อมกับข้อมูลภาพ
seller_info.store_blueV_label.label_image_light.url_list array URL ที่มีอยู่สำหรับภาพ
seller_info.store_blueV_label.label_image_light.url_list[] string URL หนึ่งตัวสำหรับภาพ
seller_info.store_blueV_label.label_image_dark object ภาพสัญลักษณ์การตรวจสอบสำหรับหน้าจอสีเข้ม
seller_info.store_blueV_label.label_image_dark.height integer ความสูงของภาพที่รายงาน
seller_info.store_blueV_label.label_image_dark.width integer ความกว้างของภาพที่รายงาน
seller_info.store_blueV_label.label_image_dark.uri string URI ของภาพที่ส่งกลับมาพร้อมกับข้อมูลภาพ
seller_info.store_blueV_label.label_image_dark.url_list array URL ที่มีอยู่สำหรับภาพ
seller_info.store_blueV_label.label_image_dark.url_list[] string URL หนึ่งตัวสำหรับภาพ
seller_info.shop_logo object ข้อมูลรูปภาพโลโก้ของร้านค้า
seller_info.shop_logo.height integer ความสูงของภาพที่รายงาน
seller_info.shop_logo.width integer ความกว้างของภาพที่รายงาน
seller_info.shop_logo.uri string URI ของภาพที่ส่งกลับมาพร้อมกับข้อมูลภาพ
seller_info.shop_logo.url_list array URL ที่มีอยู่สำหรับภาพ
seller_info.shop_logo.url_list[] string URL หนึ่งตัวสำหรับภาพ
ผลลัพธ์การค้นหาในร้านค้า21 ฟิลด์

data.data.shops[]

ร้านค้าเพียงหนึ่งร้านในผลการค้นหา

ฟิลด์ ชนิดข้อมูล คำอธิบาย
seller_id string ตัวระบุผู้ขายของ TikTok Shop ที่ส่งกลับมาในรูปแบบข้อความ
shop_name string ชื่อที่แสดงสำหรับร้านค้า
store_blueV_label object ภาพสัญลักษณ์การตรวจสอบที่สีน้ำเงินสำหรับร้านค้า
store_blueV_label.label_image_light object ภาพสัญลักษณ์การตรวจสอบสำหรับหน้าจอสีอ่อน
store_blueV_label.label_image_light.height integer ความสูงของภาพที่รายงาน
store_blueV_label.label_image_light.width integer ความกว้างของภาพที่รายงาน
store_blueV_label.label_image_light.uri string URI ของภาพที่ส่งกลับมาพร้อมกับข้อมูลภาพ
store_blueV_label.label_image_light.url_list array URL ที่มีอยู่สำหรับภาพ
store_blueV_label.label_image_light.url_list[] string URL หนึ่งตัวสำหรับภาพ
store_blueV_label.label_image_dark object ภาพสัญลักษณ์การตรวจสอบสำหรับหน้าจอสีเข้ม
store_blueV_label.label_image_dark.height integer ความสูงของภาพที่รายงาน
store_blueV_label.label_image_dark.width integer ความกว้างของภาพที่รายงาน
store_blueV_label.label_image_dark.uri string URI ของภาพที่ส่งกลับมาพร้อมกับข้อมูลภาพ
store_blueV_label.label_image_dark.url_list array URL ที่มีอยู่สำหรับภาพ
store_blueV_label.label_image_dark.url_list[] string URL หนึ่งตัวสำหรับภาพ
shop_logo object ข้อมูลรูปภาพโลโก้ของร้านค้า
shop_logo.height integer ความสูงของภาพที่รายงาน
shop_logo.width integer ความกว้างของภาพที่รายงาน
shop_logo.uri string URI ของภาพที่ส่งกลับมาพร้อมกับข้อมูลภาพ
shop_logo.url_list array URL ที่มีอยู่สำหรับภาพ
shop_logo.url_list[] string URL หนึ่งตัวสำหรับภาพ
ภาพของสินค้า12 ฟิลด์

data.data.products[]

ฟิลด์ ชนิดข้อมูล คำอธิบาย
image object ข้อมูลรูปภาพหลักที่ถูกส่งกลับมาสำหรับผลิตภัณฑ์
image.height integer ความสูงของภาพที่รายงาน
image.width integer ความกว้างของภาพที่รายงาน
image.uri string URI ของภาพที่ส่งกลับมาพร้อมกับข้อมูลภาพ
image.url_list array URL ที่มีอยู่สำหรับภาพ
image.url_list[] string URL หนึ่งตัวสำหรับภาพ
transparent_image object ข้อมูลรูปภาพโปร่งใสที่ถูกส่งกลับมาสำหรับผลิตภัณฑ์
transparent_image.height integer ความสูงของภาพที่รายงาน
transparent_image.width integer ความกว้างของภาพที่รายงาน
transparent_image.uri string URI ของภาพที่ส่งกลับมาพร้อมกับข้อมูลภาพ
transparent_image.url_list array URL ที่มีอยู่สำหรับภาพ
transparent_image.url_list[] string URL หนึ่งตัวสำหรับภาพ
ป้ายกำกับการตลาด11 ฟิลด์

data.data.products[]

ฟิลด์ ชนิดข้อมูล คำอธิบาย
product_marketing_info object ข้อมูลการแสดงผลทางการตลาดที่ถูกส่งกลับมาพร้อมกับผลิตภัณฑ์
product_marketing_info.placement_labels_ui object กลุ่มการแสดงผลสำหรับป้ายกำกับการตลาดผลิตภัณฑ์
product_marketing_info.placement_labels_ui.ui_list array กลุ่มป้ายกำกับการตลาดผลิตภัณฑ์ที่ถูกส่งกลับมาเพื่อการแสดงผล
product_marketing_info.placement_labels_ui.ui_list[] object กลุ่มป้ายกำกับการตลาดเพียงหนึ่งกลุ่มในผลลัพธ์
product_marketing_info.placement_labels_ui.ui_list[].placement integer รหัสการวางตำแหน่งที่ถูกรายงานสำหรับกลุ่มป้ายกำกับการตลาด
product_marketing_info.placement_labels_ui.ui_list[].labels array ป้ายกำกับการตลาดที่ถูกส่งกลับมาสำหรับกลุ่มการแสดงผลนี้
product_marketing_info.placement_labels_ui.ui_list[].labels[] object ป้ายกำกับการตลาดเพียงหนึ่งป้ายในกลุ่มการแสดงผล
product_marketing_info.placement_labels_ui.ui_list[].labels[].meta object ข้อมูลเมตาดาต้าที่ถูกส่งกลับมาสำหรับป้ายกำกับการตลาด
product_marketing_info.placement_labels_ui.ui_list[].labels[].meta.label_type string รหัสประเภทของป้ายกำกับการตลาดที่ถูกรายงาน
product_marketing_info.placement_labels_ui.ui_list[].labels[].lom object เนื้อหาการแสดงผลที่ถูกส่งกลับมาสำหรับป้ายกำกับการตลาด
product_marketing_info.placement_labels_ui.ui_list[].labels[].lom.value string ค่าการแสดงผลที่ถูกส่งกลับมาสำหรับป้ายกำกับการตลาด
ส่วนการกรองข้อมูล22 ฟิลด์

data.data

ฟิลด์ ชนิดข้อมูล คำอธิบาย
filter_sections array หัวข้อการกรองที่อธิบายไว้ในผลการค้นหา หากมี
filter_sections[] object หัวข้อการกรองเพียงหนึ่งหัวข้อในผลการค้นหา
filter_sections[].id string ตัวระบุของส่วนตัวกรอง
filter_sections[].title string ชื่อเรื่องที่แสดงของส่วนตัวกรอง
filter_sections[].filterGroupType integer รหัสประเภทของหัวข้อการกรองที่ถูกรายงาน
filter_sections[].type string ป้ายกำกับประเภทของหัวข้อการกรองที่ถูกรายงาน
filter_sections[].options object ตัวระบุตัวเลือกการกรองที่ระบุด้วยชื่อการแสดงผลของมัน
filter_sections[].options.{key} string ตัวระบุตัวเลือกการกรองสำหรับชื่อแสดงผลที่ใช้เป็นคีย์สำคัญ
filter_sections[].hasAllOption boolean ว่าช่องนั้นมีตัวเลือกทั้งหมดหรือไม่
filter_sections[].isColorSection boolean ว่าช่องนั้นมีการกรองตามสีหรือไม่
filter_sections[].optionGroups array กลุ่มตัวเลือกการกรองภายในช่องนี้ หากมี
filter_sections[].optionGroups[] object กลุ่มตัวเลือกการกรองหนึ่ง
filter_sections[].optionGroups[].title string ชื่อแสดงผลของกลุ่มตัวเลือกการกรอง
filter_sections[].optionGroups[].options object ตัวระบุตัวเลือกการกรองที่ระบุด้วยชื่อการแสดงผลของมัน
filter_sections[].optionGroups[].options.{key} string ตัวระบุตัวเลือกการกรองสำหรับชื่อแสดงผลที่ใช้เป็นคีย์สำคัญ
filter_sections[].optionGroups[].hasAllOption boolean ว่ากลุ่มตัวเลือกนั้นมีตัวเลือกทั้งหมดหรือไม่
filter_sections[].isPriceRange boolean ว่าช่องนั้นมีการกรองตามช่วงราคาหรือไม่
filter_sections[].showCustomPriceInput boolean ว่าการกรองราคามีการแสดงผลแบบป้อนข้อมูลเฉพาะหรือไม่
filter_sections[].priceRangeInputInfo object ขอบเขตและสกุลเงินที่แสดงสำหรับการกรองช่วงราคา
filter_sections[].priceRangeInputInfo.minDisplay string ข้อจำกัดราคาขั้นต่ำที่แสดงเป็นข้อความ
filter_sections[].priceRangeInputInfo.maxDisplay string ข้อจำกัดราคาขั้นสูงสุดที่แสดงเป็นข้อความ
filter_sections[].priceRangeInputInfo.currency string สกุลเงินที่แสดงสำหรับการกรองช่วงราคา
ตัวกรองเร็ว6 ฟิลด์

data.data

ฟิลด์ ชนิดข้อมูล คำอธิบาย
filter_quick_options array ตัวเลือกการกรองแบบรวดเร็วที่รายงานในผลลัพธ์ หากมี
filter_quick_options[] object ตัวเลือกการกรองแบบรวดเร็วหนึ่ง
filter_quick_options[].displayName string ชื่อแสดงผลของตัวเลือกการกรองแบบรวดเร็ว
filter_quick_options[].sectionTitle string ชื่อแสดงผลของช่องที่เกี่ยวข้องกับตัวเลือกการกรองแบบรวดเร็ว
filter_quick_options[].filterOptionId string ตัวระบุของตัวเลือกการกรองแบบรวดเร็ว
filter_quick_options[].filterGroupType integer รหัสประเภทของกลุ่มการกรองที่รายงานสำหรับตัวเลือกการกรองแบบรวดเร็ว

ตัวอย่างผลการตอบกลับ ​

กำลังโหลดตัวอย่างการตอบกลับ...