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
问题
向 https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v2 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
必填:product_id (string)。 可选:region (string) 和 seller_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。
不需要。TikTok Shop Product Details (V2) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 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 具有宽容性,并不保证库存字段。无法识别的结果需要检查,而不是声称已验证库存,或自动发起 review/catalog 请求。