product_idstring必填
Product ID (required)
https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2Returns basic product details from TikTok Shop for a specified item. Query by product identifier with optional region and seller filters.
[
{
"data": {
"message": "GB 地区暂不支持,请选择 supported_regions 中的地区 / GB is temporarily unavailable; choose one of supported_regions",
"region": "GB",
"region_supported": false,
"supported_regions": [
"ID",
"JP",
"MX",
"… 6 more items in the full response"
]
}
}
]選擇一個範例,將其輸入與結果載入 playground。
Retrieve TikTok Shop product information by supplying a product_id. You can also narrow results by setting region and seller_id.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product_id": "<product_id>"}'
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Product ID (required) |
region | string | No | Region coverage is unresolved: the schema description lists US/GB/SG/MY/PH/TH/VN/ID, but the saved GB detail result says region_supported false and lists ID/JP/MX/MY/PH/SG/TH/US/VN. Preserve both sources; neither is a newly verified coverage guarantee, and the same product may not exist in another market. |
seller_id | string | No | Seller ID (can be empty string) |
seller_id can be left as an empty string if unknown.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Send a product_id string and deliberately choose its region. seller_id is optional and may be empty when unknown; this detail schema declares no region default. A display title, seller ID or link is not a product ID. The saved request and generated request reference retain a GB example that returned an unsupported-region result; do not present that reference as a newly successful product lookup.
Region coverage is unresolved: the schema description lists US/GB/SG/MY/PH/TH/VN/ID, but the saved GB detail result says region_supported false and lists ID/JP/MX/MY/PH/SG/TH/US/VN. Preserve both sources; neither is a newly verified coverage guarantee, and the same product may not exist in another market.
The October 7 saved business object has region_supported false, region GB, an explanation and supported_regions. It has no code, nested data or product object. Detect that negative result explicitly and stop; do not treat it as code 0, manufacture an empty product or automatically switch regions. The schema's permissive object response is not a contract for every product field.
No current successful detail payload was obtained for this revision. The tutorial's October 1 US components_map observation remains dated history, not a newly verified universal success parser. Report an unfamiliar success shape for inspection instead of claiming that stock, price, title or reviews were checked. The README placeholder product ID is not an executed success example.
Keep requested market, exact identifiers and observation context. This read does not verify inventory, authenticity, stock across countries or sales performance. It does not poll, fetch media, call reviews or expand the seller catalog. To discover candidates instead, choose one product-search page independently and review the returned market and price units first.
Choose a keyword and market for search, or a known product ID and its market for detail. Give your agent the setup Skill, Markdown quickstart, selected endpoint and desired output. Keep SANDBASE_API_KEY locally and call POST /v1/api/ with Bearer authentication. Do not automatically select the best-selling candidate, resolve a link, fetch reviews or traverse a seller catalog.
Require completed SandBase status and a business object at outputs[0].data. Handle region_supported false before success parsing. Reject missing or malformed data instead of substituting an empty successful result. Keep exact string product, seller and SKU identifiers; numeric coercion can lose precision. This revision used public references and saved samples, not new business requests or a retested regional workflow.
Pricing inspected November 8 lists $0.001 per selected call and eligibility for 100 daily calls shared across eligible organization APIs, resetting at 00:00 UTC. Eligibility is not a remaining-quota measurement or a guarantee that the next call is free. Two deliberately chosen requests list at $0.002 before quota effects; this guide does not execute the pair. For the dated October experiment, see the TikTok Shop Python guide. Use the current request and saved-response boundaries described on this page.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "1731581114818794403",
"region": "GB"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
product_idstring必填Product ID (required)
regionstringRegion coverage is unresolved: the schema description lists US/GB/SG/MY/PH/TH/VN/ID, but the saved GB detail result says region_supported false and lists ID/JP/MX/MY/PH/SG/TH/US/VN. Preserve both sources; neither is a newly verified coverage guarantee, and the same product may not exist in another market.
seller_idstringSeller ID (can be empty string)
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"message": "GB 地区暂不支持,请选择 supported_regions 中的地区 / GB is temporarily unavailable; choose one of supported_regions",
"region": "GB",
"region_supported": false,
"supported_regions": [
"ID",
"JP",
"MX",
"… 6 more items in the full response"
]
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。
必要:product_id (string)。 選填:region (string) 和 seller_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。
不需要。TikTok Shop Product Details (V2) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。
不是。它回傳 region_supported false,且沒有 code、data 或 product 物件。請保留這個負面範例並明確停止;不要虛構空的成功結果,也不要悄悄切換到其他地區。
地區涵蓋範圍尚未釐清:schema 說明列出 US/GB/SG/MY/PH/TH/VN/ID,但已儲存的 GB 詳細結果顯示 region_supported false,並列出 ID/JP/MX/MY/PH/SG/TH/US/VN。請同時保留這兩個來源;兩者都不代表新驗證的涵蓋保證,而且同一商品未必存在於其他市場。
沒有取得新的成功詳細回應。舊的 US components_map 觀察屬於過時歷史;目前的回應 schema 具有彈性,並不保證庫存欄位。無法識別的結果需要檢查,而不是宣稱已驗證庫存或自動發出審查/目錄請求。