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

TikTok Shop Product Details

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

Retrieves full product details and page component information from TikTok Shop by product ID. Supports regional filtering across markets such as the US, UK, and Southeast Asia.

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

Playground

輸入
Product ID (required)
Region code (US/GB/SG/MY/PH/TH/VN/ID)
Seller ID (can be empty string)
輸出範例
回應outputs · 2.7 KB · 100 行
[
  {
    "data": {
      "code": 0,
      "data": {
        "components_map": [
          {
            "component_data": {
              "products": []
            },
            "component_name": "top_reviewed_products",
            "component_type": "top_reviewed_products",
            "fe_config": {
              "data_source": {
                "need_fetch_at_first_screen": false,
                "need_product_info": true,
                "need_split_request": true
              },
              "title": "Top reviewed"
            }
          },
          {
            "component_data": {
              "related_videos": []
            },
            "component_name": "video_list",
            "component_type": "video_list",
            "fe_config": {
              "data_source": {
                "need_fetch_at_first_screen": false,
                "need_product_info": true,
                "need_split_request": true
              }
            }
          },
          {
            "component_name": "feed_list_more_from",
            "component_type": "feed_list",
            "fe_config": {
              "data_source": {
                "need_fetch_at_first_screen": false,
                "need_product_info": true,
                "need_product_seller_id": true,
                "need_split_request": true,
                "params": {
                  "count": 10,
                  "product_component": 3,
                  "shop_page": 2
                },
                "type": "more_from"
              },
              "is_horizontal_direction": true,
              "title": "Explore more from {s_shopName}"
            }
          },
          "… 3 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": [],
            "error_code": 0,
            "product_info": {
              "product_id": "1732108663255959373",
              "product_model": {
                "product_id": "1732108663255959373",
                "seller_id": ""
              },
              "seller_id": ""
            }
          }
        },
        "global_fe_config": {
          "page_name": "product_detail"
        }
      },
      "message": "success"
    }
  }
]

範例

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

API README

TikTok Shop Product Details API

Returns the product page layout and component data for one TikTok Shop product. It needs a product_id and accepts an optional region and seller_id.

Use cases

  • Check which page components, such as top reviewed products, related videos and more-from-shop feeds, a TikTok Shop product page loads.
  • Confirm that a product_id resolves and see the seller ID attached to it.
  • Read the page configuration, such as feed titles and fetch settings, that a product page uses in a given region.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail" \
  -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)
seller_idstringNoSeller ID (can be empty string)

Example response

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

{
  "code": 0,
  "data": {
    "components_map": [
      {
        "component_data": {
          "products": []
        },
        "component_name": "top_reviewed_products",
        "component_type": "top_reviewed_products",
        "fe_config": {
          "data_source": {
            "need_fetch_at_first_screen": false,
            "need_product_info": true,
            "need_split_request": true
          },
          "title": "Top reviewed"
        }
      }
    ],
    "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": [],
        "error_code": 0,
        "product_info": {
          "product_id": "1732108663255959373",
          "product_model": {
            "product_id": "1732108663255959373",
            "seller_id": ""
          },
          "seller_id": ""
        }
      }
    },
    "global_fe_config": {
      "page_name": "product_detail"
    }
  },
  "message": "success"
}

Response fields

FieldMeaning
code / messageStatus of the call. 0 and success mean the request went through.
data.global_data.product_info.product_info.product_idThe product ID that was looked up.
data.global_data.product_info.product_info.seller_idSeller ID tied to the product. It is an empty string in this example, matching the empty seller_id request.
data.global_data.product_info.error_codeError code for the product lookup. 0 means no error was reported.
data.global_data.product_info.categoriesList of product categories. It is empty in this example.
data.components_map[].component_name / data.components_map[].component_typeName and type of each page component, such as top_reviewed_products, video_list and feed_list.
data.components_map[].component_dataContent of the component. In this example products and related_videos are empty lists.
data.components_map[].fe_config.titleDisplay title for the component, such as Top reviewed. The more-from feed uses a {s_shopName} placeholder.
data.components_map[].fe_config.data_source.paramsRequest settings for feed components, such as count, product_component and shop_page.
data.global_api_data.nova_config.base_resp.StatusMessageStatus text for the config sub-request. It shows region not supported with code 400 in this example.

Notes

  • The example request sent only product_id, so region used its default of MY. The nova config sub-response reported region not supported, so set region to a value such as SG or US if you need that market.
  • Valid region values are US, GB, SG, MY, PH, TH, VN and ID.
  • If you only have a share link, call TikTok Shop Product ID by Share Link first to get the product_id.
  • For fuller product data, try TikTok Shop Product Detail (V3).

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 Details API?

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

TikTok Shop Product Details API 的費用是多少?

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

TikTok Shop Product Details API 接受哪些參數?

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

TikTok Shop Product Details API 會回傳什麼?

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

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

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