handlestring必填
The handle of the TikTok user (e.g. mrtiktokreviews).
https://api.sandbase.ai/v1/api/tiktok-shop/user-showcaseList the TikTok Shop products a creator showcases (title, price, rating, and sales per product).
您的输出将显示在这里
完成输入,然后点击运行。
This API returns the TikTok Shop products a creator showcases on their profile. Each product has a title, price, discount, rating, review count, and units sold. It needs the creator's TikTok handle.
soldCount and rating across a creator's showcase to find their top performing items.curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/user-showcase" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle": "mrtiktokreviews"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | The handle of the TikTok user (e.g. mrtiktokreviews). |
cursor | string | No | Pagination token for retrieving subsequent product pages. |
region | string | No | Geographical region for proxy placement (defaults to US). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"nextCursor": "cur_eL5R6xsw_RY1c_-LVf6VnQ",
"products": [
{
"currency": "USD",
"discountPct": 50,
"imageUrl": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/8d1f118…",
"originalPrice": "30",
"price": "15",
"productId": "1729401442164511030",
"rating": 4.4,
"reviewCount": 36828,
"sellerId": "7495079418085345590",
"soldCount": 544937,
"title": "BASED Hair Texture Powder | Instant Volume & Texture | Lightweight, Matte Finish…",
"url": "https://www.tiktok.com/shop/pdp/1729401442164511030"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.products[].title | Product name as listed on TikTok Shop. |
data.products[].productId | ID of the product. Use it to look up the product in other TikTok Shop APIs. |
data.products[].price / data.products[].originalPrice | Current price and the price before the discount. Both are strings, such as "15" and "30". |
data.products[].discountPct | Discount as a percentage, such as 50 for a product that dropped from 30 to 15. |
data.products[].currency | Currency code of the prices, such as USD. |
data.products[].rating / data.products[].reviewCount | Average product rating and the number of reviews. |
data.products[].soldCount | Number of units sold for the product. |
data.products[].sellerId | ID of the seller that lists the product. |
data.products[].url / data.products[].imageUrl | Link to the product page on TikTok Shop and a product image URL. |
data.nextCursor | Token for the next page of products. |
@, for example mrtiktokreviews.data.nextCursor from the response as cursor in the next request, with the same handle.productId to TikTok Shop Product for product details, or to TikTok Shop Product Reviews for its reviews.sellerId to TikTok Shop Store Products to see the other products from that seller.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/user-showcase" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"handle": "mrtiktokreviews"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
handlestring必填The handle of the TikTok user (e.g. mrtiktokreviews).
cursorstringPagination token for retrieving subsequent product pages.
regionstringGeographical region for proxy placement (defaults to US).
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
TikTok Shop | 每次调用从 $0.0012 起 | JSON |
TikTok Shop | 每次调用从 $0.0012 起 | JSON |
TikTok Shop | 每次调用从 $0.0055 起 | JSON |
TikTok Shop | 每次调用从 $0.0012 起 | JSON |
TikTok Shop | 每次调用从 $0.00095 起 | JSON |
TikTok Shop | 每次调用从 $0.00095 起 | JSON |
问题
向 https://api.sandbase.ai/v1/api/tiktok-shop/user-showcase 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
起价每次调用 $0.0012,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:handle (string)。 可选:cursor (string) 和 region (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。TikTok Shop User Showcase 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok Shop API 访问权限。