product_idstringbắt buộc
Product ID (required)
https://api.sandbase.ai/v1/api/tiktok/shop-web/product-reviews-v2Get TikTok Shop product reviews by product ID: rating, review text, SKU, reviewer country and time, with star filters, sorting and pagination across regions.
[
{
"data": {
"code": 0,
"data": {
"has_more": true,
"product_reviews": [
{
"display_image_url": "https://p19-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/38ba06c0f2ac41ae90bed28a45bfadd8~tplv-fhlh96nyum-crop-webp:300:300.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=607f11de&idc=useast5&from=2378011839",
"is_incentivized_review": false,
"is_verified_purchase": true,
"product_id": "1729408816995078528",
"product_name": "Zoyava Collagen Supplement - Type I, II, III, V and X - with Biotin, Keratin, Hyaluronic Acid & 13+ Extra Strength Ingredients for Beauty, Fitness, & Healthcare - 90 Capsules - MADE IN USA",
"review_country": "US",
"review_id": "7693503545296389902",
"review_images": [],
"review_rating": 5,
"review_text": "",
"review_time": "1791283412476",
"reviewer_avatar_url": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/241ef0731976cc1df60dadd288f8dd80~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=9cdee162&x-expires=1791453600&x-signature=JH%2B53D0dM4VDr8cBXcWJALxq92w%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5f8d3399&idc=useast5",
"reviewer_id": "6574409659029389322",
"reviewer_name": "D**",
"sku_id": "1729554017970131328",
"sku_specification": "90 Count (1 Month Supply)"
},
{
"display_image_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/38ba06c0f2ac41ae90bed28a45bfadd8~tplv-fhlh96nyum-crop-webp:300:300.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=607f11de&idc=useast5&from=2378011839",
"is_incentivized_review": false,
"is_verified_purchase": true,
"product_id": "1729408816995078528",
"product_name": "Zoyava Collagen Supplement - Type I, II, III, V and X - with Biotin, Keratin, Hyaluronic Acid & 13+ Extra Strength Ingredients for Beauty, Fitness, & Healthcare - 90 Capsules - MADE IN USA",
"review_country": "US",
"review_id": "7693464730840729358",
"review_images": [],
"review_rating": 4,
"review_text": "",
"review_time": "1791274346839",
"reviewer_avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7335926062692204550~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=59d2a9ec&x-expires=1791453600&x-signature=LlSekj1W9qat7o91podRr78UwLg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5f8d3399&idc=useast5",
"reviewer_id": "6786742860127699973",
"reviewer_name": "K** W**h",
"sku_id": "1729554017970131328",
"sku_specification": "90 Count (1 Month Supply)"
},
{
"display_image_url": "https://p19-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/38ba06c0f2ac41ae90bed28a45bfadd8~tplv-fhlh96nyum-crop-webp:300:300.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=607f11de&idc=useast5&from=2378011839",
"is_incentivized_review": false,
"is_verified_purchase": true,
"product_id": "1729408816995078528",
"product_name": "Zoyava Collagen Supplement - Type I, II, III, V and X - with Biotin, Keratin, Hyaluronic Acid & 13+ Extra Strength Ingredients for Beauty, Fitness, & Healthcare - 90 Capsules - MADE IN USA",
"review_country": "US",
"review_id": "7693464541204350734",
"review_images": [],
"review_rating": 4,
"review_text": "",
"review_time": "1791274313020",
"reviewer_avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7335926062692204550~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=59d2a9ec&x-expires=1791453600&x-signature=LlSekj1W9qat7o91podRr78UwLg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5f8d3399&idc=useast5",
"reviewer_id": "6786742860127699973",
"reviewer_name": "K** W**h",
"sku_id": "1729554017970131328",
"sku_specification": "90 Count (1 Month Supply)"
},
"… 17 more items in the full response"
],
"review_ratings": {
"overall_score": 4.5,
"rating_result": {
"1": "766",
"2": "224",
"3": "567",
"4": "928",
"5": "9550"
},
"review_count": "12035"
},
"total_reviews": "12035"
},
"message": "success"
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns customer reviews for a TikTok Shop product, with star rating, review text, purchased SKU, reviewer country and review time. It also returns the product's overall score and a count of reviews per star. The only required input is product_id.
sku_specification to see which variant gets the best ratings.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-reviews-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product_id": "1729408816995078528"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Product ID (required) |
filter_type | integer | No | Filter type |
filter_value | integer | No | Star filter |
page_start | integer | No | Starting page number, default 1 |
region | string | No | Region code, available regions are as follows: US: United States; SG: Singapore; MY: Malaysia; PH: Philippines; TH: Thailand; VN: Vietnam; ID: Indonesia; JP: Japan; MX: Mexico |
sort_rule | integer | No | Sort rule, default 2 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"has_more": true,
"product_reviews": [
{
"display_image_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/38ba06c…",
"is_incentivized_review": false,
"is_verified_purchase": true,
"product_id": "1729408816995078528",
"product_name": "Zoyava Collagen Supplement - Type I, II, III, V and X - with Biotin, Keratin, Hy…",
"review_country": "US",
"review_id": "7703793193254684429",
"review_images": [],
"review_rating": 5,
"review_text": "",
"review_time": "1793679163277",
"reviewer_avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/9dee922b3d0d844…"
}
],
"review_ratings": {
"overall_score": 4.5,
"rating_result": {
"1": "822",
"2": "239",
"3": "616",
"4": "993",
"5": "10170"
},
"review_count": "12840"
},
"total_reviews": "12840"
},
"message": "success"
}
| Field | Meaning |
|---|---|
data.product_reviews[].review_id | ID of the review. |
data.product_reviews[].review_rating | Star rating given in this review, from 1 to 5. |
data.product_reviews[].review_text | Text written by the reviewer. It can be an empty string when the buyer left only a rating. |
data.product_reviews[].review_time | Time the review was posted, as a millisecond timestamp in a string. |
data.product_reviews[].sku_id / data.product_reviews[].sku_specification | ID and label of the variant the reviewer bought, such as a pack size. |
data.product_reviews[].is_verified_purchase / data.product_reviews[].is_incentivized_review | Flags that show whether the review comes from a verified purchase and whether it was incentivized. |
data.product_reviews[].review_country / data.product_reviews[].reviewer_name | Country code of the review and the masked name of the reviewer. |
data.product_reviews[].review_images | List of images attached to the review. It is empty when the buyer added none. |
data.review_ratings.overall_score / data.review_ratings.rating_result | Average score for the product and the number of reviews for each star level, keyed 1 to 5. |
data.total_reviews / data.has_more | Total number of reviews for the product, and whether more reviews are available on later pages. |
total_reviews, review_count and the values in rating_result are strings, not numbers.page_start. Keep going while has_more is true.region to pick the market, for example US, SG, MY, PH, TH, VN, ID, JP or MX. Use filter_value for the star filter.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-reviews-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"region": "US",
"sort_rule": 2,
"page_start": 1,
"product_id": "1729408816995078528",
"filter_type": 1,
"filter_value": 6
}'Đặ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)
filter_typeintegerFilter type
Mặc định: 1
filter_valueintegerStar filter
Mặc định: 6
page_startintegerStarting page number, default 1
Mặc định: 1
regionstringRegion code, available regions are as follows: US: United States; SG: Singapore; MY: Malaysia; PH: Philippines; TH: Thailand; VN: Vietnam; ID: Indonesia; JP: Japan; MX: Mexico
Mặc định: "US"
sort_ruleintegerSort rule, default 2
Mặc định: 2
Đâ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": {
"has_more": true,
"product_reviews": [
{
"display_image_url": "https://p19-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/38ba06c0f2ac41ae90bed28a45bfadd8~tplv-fhlh96nyum-crop-webp:300:300.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=607f11de&idc=useast5&from=2378011839",
"is_incentivized_review": false,
"is_verified_purchase": true,
"product_id": "1729408816995078528",
"product_name": "Zoyava Collagen Supplement - Type I, II, III, V and X - with Biotin, Keratin, Hyaluronic Acid & 13+ Extra Strength Ingredients for Beauty, Fitness, & Healthcare - 90 Capsules - MADE IN USA",
"review_country": "US",
"review_id": "7693503545296389902",
"review_images": [],
"review_rating": 5,
"review_text": "",
"review_time": "1791283412476",
"reviewer_avatar_url": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/241ef0731976cc1df60dadd288f8dd80~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=9cdee162&x-expires=1791453600&x-signature=JH%2B53D0dM4VDr8cBXcWJALxq92w%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5f8d3399&idc=useast5",
"reviewer_id": "6574409659029389322",
"reviewer_name": "D**",
"sku_id": "1729554017970131328",
"sku_specification": "90 Count (1 Month Supply)"
},
{
"display_image_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/38ba06c0f2ac41ae90bed28a45bfadd8~tplv-fhlh96nyum-crop-webp:300:300.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=607f11de&idc=useast5&from=2378011839",
"is_incentivized_review": false,
"is_verified_purchase": true,
"product_id": "1729408816995078528",
"product_name": "Zoyava Collagen Supplement - Type I, II, III, V and X - with Biotin, Keratin, Hyaluronic Acid & 13+ Extra Strength Ingredients for Beauty, Fitness, & Healthcare - 90 Capsules - MADE IN USA",
"review_country": "US",
"review_id": "7693464730840729358",
"review_images": [],
"review_rating": 4,
"review_text": "",
"review_time": "1791274346839",
"reviewer_avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7335926062692204550~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=59d2a9ec&x-expires=1791453600&x-signature=LlSekj1W9qat7o91podRr78UwLg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5f8d3399&idc=useast5",
"reviewer_id": "6786742860127699973",
"reviewer_name": "K** W**h",
"sku_id": "1729554017970131328",
"sku_specification": "90 Count (1 Month Supply)"
},
{
"display_image_url": "https://p19-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/38ba06c0f2ac41ae90bed28a45bfadd8~tplv-fhlh96nyum-crop-webp:300:300.webp?dr=12190&t=555f072d&ps=933b5bde&shp=8dbd94bf&shcp=607f11de&idc=useast5&from=2378011839",
"is_incentivized_review": false,
"is_verified_purchase": true,
"product_id": "1729408816995078528",
"product_name": "Zoyava Collagen Supplement - Type I, II, III, V and X - with Biotin, Keratin, Hyaluronic Acid & 13+ Extra Strength Ingredients for Beauty, Fitness, & Healthcare - 90 Capsules - MADE IN USA",
"review_country": "US",
"review_id": "7693464541204350734",
"review_images": [],
"review_rating": 4,
"review_text": "",
"review_time": "1791274313020",
"reviewer_avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7335926062692204550~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=59d2a9ec&x-expires=1791453600&x-signature=LlSekj1W9qat7o91podRr78UwLg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5f8d3399&idc=useast5",
"reviewer_id": "6786742860127699973",
"reviewer_name": "K** W**h",
"sku_id": "1729554017970131328",
"sku_specification": "90 Count (1 Month Supply)"
},
"… 17 more items in the full response"
],
"review_ratings": {
"overall_score": 4.5,
"rating_result": {
"1": "766",
"2": "224",
"3": "567",
"4": "928",
"5": "9550"
},
"review_count": "12035"
},
"total_reviews": "12035"
},
"message": "success"
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
TikTok Shop Product ReviewsAPI 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-reviews-v2 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: filter_type (integer), filter_value (integer), page_start (integer), region (string) và sort_rule (integer). 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 Reviews 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.