product_idstringbắt buộc
Product ID (required)
https://api.sandbase.ai/v1/api/tiktok/shop-web/product-detailRetrieves 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.
[
{
"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"
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
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.
product_id resolves and see the seller ID attached to it.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.
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Product ID (required) |
region | string | No | Region code (US/GB/SG/MY/PH/TH/VN/ID) |
seller_id | string | No | Seller ID (can be empty string) |
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"
}
| Field | Meaning |
|---|---|
code / message | Status of the call. 0 and success mean the request went through. |
data.global_data.product_info.product_info.product_id | The product ID that was looked up. |
data.global_data.product_info.product_info.seller_id | Seller 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_code | Error code for the product lookup. 0 means no error was reported. |
data.global_data.product_info.categories | List of product categories. It is empty in this example. |
data.components_map[].component_name / data.components_map[].component_type | Name and type of each page component, such as top_reviewed_products, video_list and feed_list. |
data.components_map[].component_data | Content of the component. In this example products and related_videos are empty lists. |
data.components_map[].fe_config.title | Display title for the component, such as Top reviewed. The more-from feed uses a {s_shopName} placeholder. |
data.components_map[].fe_config.data_source.params | Request settings for feed components, such as count, product_component and shop_page. |
data.global_api_data.nova_config.base_resp.StatusMessage | Status text for the config sub-request. It shows region not supported with code 400 in this example. |
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.region values are US, GB, SG, MY, PH, TH, VN and ID.product_id.$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" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"region": "SG",
"seller_id": "",
"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: "MY"
seller_idstringSeller ID (can be empty string)
Mặc định: ""
Đâ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": {
"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"
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
TikTok Shop Product DetailsAPI này 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 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) và seller_id (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 Details 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.