product_idstringbắt buộc
Product ID (required)
https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v3Returns comprehensive TikTok Shop product data including shop information, videos, and recommendations for a given product ID across supported regions.
[
{
"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"
}
}
}
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
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.
page_id that TikTok Shop assigns to a product page.region.product_id returns a page before you call other product APIs.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.
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Product ID (required) |
region | string | No | Region code (US/GB/SG/MY/PH/TH/VN/ID) |
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": {}
}
}
}
| Field | Meaning |
|---|---|
product_data.page_config.components_map[].component_name | Name of a component on the product page, for example user_info or page_header. |
product_data.page_config.components_map[].component_type | Type of the component. In this response it matches component_name. |
product_data.page_config.components_map[].fe_config | Front-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_search | Set to true when search is turned off in the page header. |
product_data.page_config.components_map[].fe_config.target | Page element that the app popup attaches to. The value here is wrapper_pdp. |
product_data.page_config.global_fe_config | Front-end settings that apply to the whole page. It is an empty object in this response. |
product_data.ab_test.page_level.page_id | ID 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.vids | A/B test parameters and variant IDs for the page. Both are empty in this response. |
product_data.ab_test.user_level | A/B test settings tied to the user. It is an empty object in this response. |
product_id is a long numeric string, for example 1732108663255959373. If you only have a share link, call TikTok Shop Product ID by Share Link first.region takes US, GB, SG, MY, PH, TH, VN or ID. The default is SG.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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 '{
"region": "SG",
"product_id": "1732108663255959373"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
product_idstringbắt buộcProduct ID (required)
regionstringRegion code (US/GB/SG/MY/PH/TH/VN/ID)
Mặc định: "SG"
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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"
}
}
}
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detail-v3 với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: product_id (string). Tùy chọn: region (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. TikTok Shop Product Detail (V3) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.