Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

TikTok Shop Product Detail (V3)

API 文件
https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v3

Returns comprehensive TikTok Shop product data including shop information, videos, and recommendations for a given product ID across supported regions.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
Product ID (required)
Region code (US/GB/SG/MY/PH/TH/VN/ID)
輸出範例
回應outputs · 3.8 KB · 129 行
[
  {
    "data": {
      "product_data": {
        "ab_test": {
          "page_level": {
            "page_id": "1107184653723596687",
            "params": {},
            "vids": []
          },
          "user_level": {}
        },
        "page_config": {
          "components_map": [
            {
              "component_name": "user_info",
              "component_type": "user_info",
              "fe_config": {
                "data_source": {
                  "need_fetch_at_first_screen": true
                }
              }
            },
            {
              "component_name": "page_header",
              "component_type": "page_header",
              "fe_config": {
                "data_source": {
                  "need_fetch_at_first_screen": true
                }
              }
            },
            {
              "component_data": {
                "bread_crumbs": [
                  {
                    "link": "https://shop.tiktok.com/sg",
                    "name": "TikTok Shop"
                  },
                  {
                    "link": "https://shop.tiktok.com/sg/c/womenswear-underwear/601152",
                    "name": "Womenswear & Underwear"
                  },
                  {
                    "link": "https://shop.tiktok.com/sg/c/women-s-suits-sets/842760",
                    "name": "Women's Suits & Sets"
                  },
                  "… 2 more items in the full response"
                ]
              },
              "component_name": "bread_crumbs",
              "component_type": "bread_crumbs",
              "fe_config": {
                "data_source": {
                  "need_fetch_at_first_screen": true,
                  "need_split_request": true
                }
              }
            },
            "… 6 more items in the full response"
          ],
          "global_api_data": {
            "nova_config": {
              "base_resp": {
                "StatusCode": 400,
                "StatusMessage": "region not supported"
              }
            }
          },
          "global_api_data_config": {
            "nova_config": {
              "api": "nova_config",
              "params": {
                "nova_source_key_list": [
                  "view_tts_web_seo_source_key_black_friday_settings"
                ],
                "resource_type_list": [
                  1
                ]
              }
            }
          },
          "global_data": {
            "product_info": {
              "categories": [
                {
                  "category_id": "601152",
                  "category_name": "Womenswear & Underwear",
                  "is_leaf": false,
                  "level": 1,
                  "name_key": "magellan_601152",
                  "parent_id": "0"
                },
                {
                  "category_id": "842760",
                  "category_name": "Women's Suits & Overalls",
                  "is_leaf": false,
                  "level": 2,
                  "name_key": "magellan_842760",
                  "parent_id": "601152"
                },
                {
                  "category_id": "601291",
                  "category_name": "Sets",
                  "is_leaf": true,
                  "level": 3,
                  "name_key": "magellan_601291",
                  "parent_id": "842760"
                }
              ],
              "error_code": 0,
              "product_info": {
                "product_id": "1732108663255959373",
                "product_model": {
                  "product_id": "1732108663255959373",
                  "seller_id": "8651222378767091533"
                },
                "seller_id": "8651222378767091533"
              }
            }
          },
          "global_fe_config": {
            "page_name": "product_detail"
          }
        }
      }
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

TikTok Shop Product Detail (V3) API

Returns the TikTok Shop product page configuration for one product. The response holds A/B test page settings and a list of page components. It needs a product_id and accepts an optional region.

Use cases

  • Read which components a TikTok Shop product page loads, such as the header and the app popup.
  • Check the page-level page_id that TikTok Shop assigns to a product page.
  • Compare the page configuration of one product across regions by changing region.
  • Confirm that a product_id returns a page before you call other product APIs.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v3" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "1732108663255959373"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
product_idstringYesProduct ID (required)
regionstringNoRegion code (US/GB/SG/MY/PH/TH/VN/ID)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "product_data": {
    "ab_test": {
      "page_level": {
        "page_id": "1107184653723596687",
        "params": {},
        "vids": []
      },
      "user_level": {}
    },
    "page_config": {
      "components_map": [
        {
          "component_name": "user_info",
          "component_type": "user_info",
          "fe_config": {}
        }
      ],
      "global_fe_config": {}
    }
  }
}

Response fields

FieldMeaning
product_data.page_config.components_map[].component_nameName of a component on the product page, for example user_info or page_header.
product_data.page_config.components_map[].component_typeType of the component. In this response it matches component_name.
product_data.page_config.components_map[].fe_configFront-end settings for that component. For page_header it holds disable_search, and for call_app_bottom_popup it holds target.
product_data.page_config.components_map[].fe_config.disable_searchSet to true when search is turned off in the page header.
product_data.page_config.components_map[].fe_config.targetPage element that the app popup attaches to. The value here is wrapper_pdp.
product_data.page_config.global_fe_configFront-end settings that apply to the whole page. It is an empty object in this response.
product_data.ab_test.page_level.page_idID of the product page used for A/B testing, as a string.
product_data.ab_test.page_level.params / product_data.ab_test.page_level.vidsA/B test parameters and variant IDs for the page. Both are empty in this response.
product_data.ab_test.user_levelA/B test settings tied to the user. It is an empty object in this response.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON

指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

問題

常見問題

我要如何使用 TikTok Shop Product Detail (V3) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v3。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

TikTok Shop Product Detail (V3) API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

TikTok Shop Product Detail (V3) API 接受哪些參數?

必要:product_id (string)。 選填:region (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

TikTok Shop Product Detail (V3) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 TikTok 開發者帳號或 API 金鑰嗎?

不需要。TikTok Shop Product Detail (V3) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。