handlestringbắt buộc
TikTok handle of the creator or shop account, without the @ (e.g. golinutrition).
https://api.sandbase.ai/v1/api/tiktok-shop/creatorTikTok Shop creator performance by handle: GMV range, promoted product count, brand collaborations, follower age/gender/location demographics, category GMV split, and video versus live engagement.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns TikTok Shop performance data for one creator or shop account in the US market. You send a TikTok handle without the @, and the API returns a GMV range, follower audience breakdowns, content stats, and categories.
gmvRange, promotedProducts, and brandCollaborations.curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/creator" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle": "golinutrition"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | TikTok handle of the creator or shop account, without the @ (e.g. golinutrition). |
region | string | No | Country code of the TikTok Shop market. Only the US market is served; creators in other markets are not available. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"audienceAge": [
{
"bucket": "25-34",
"sharePct": 27.55
}
],
"audienceGender": [
{
"gender": "male",
"sharePct": 33.49
}
],
"audienceLocations": [
{
"followers": 124600,
"state": "TEXAS"
}
],
"avgCommissionRange": "",
"avgLiveLikes": 19734,
"avgLiveViews": 146572,
"avgVideoComments": 0,
"avgVideoLikes": 0,
"avgVideoViews": 281,
"bio": "Making Health Delicious and Simple✨\nVegan. Gluten-Free. Non-GMO.",
"brandCollaborations": 1,
"categories": [
{
"categoryId": "700645",
"name": "Health"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
found | true when the handle was found. A lookup that finds nothing returns false. |
data.gmvRange | Range of gross merchandise value for the creator, as text such as $25K-$60K. |
data.promotedProducts / data.brandCollaborations | Number of products the creator promotes and number of brand collaborations. |
data.followers / data.videoCount / data.liveCount | Follower count, number of videos, and number of live streams for the account. |
data.audienceAge[].bucket / data.audienceAge[].sharePct | Follower age range and the percentage of the audience in that range. |
data.audienceGender[].gender / data.audienceGender[].sharePct | Follower gender and the percentage of the audience of that gender. |
data.audienceLocations[].state / data.audienceLocations[].followers | US state name and the number of followers located there. |
data.videoEngagementRate / data.liveEngagementRate | Engagement rate for video content and for live streams. |
data.avgVideoViews / data.avgLiveViews / data.avgLiveLikes | Average views per video, average views per live, and average likes per live. |
data.categories[].categoryId / data.categories[].name | Category ID and name for the categories the creator is listed in. |
handle. Only the US market is served, so region accepts us or US.null, such as avgCommissionRange, gpm, and rating. Some averages can be 0.categoryId values with TikTok Shop Categories to look up category details.Billed at the actual cost of each call, about $0.0055 for the request above. Failed calls are not charged.
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/creator" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"handle": "golinutrition",
"region": "us"
}'Đặ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.
handlestringbắt buộcTikTok handle of the creator or shop account, without the @ (e.g. golinutrition).
regionstringCountry code of the TikTok Shop market. Only the US market is served; creators in other markets are not available.
Mặc định: "us"
Giá trị có thể dùng: us, US
Đâ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.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
TikTok Shop CreatorAPI này TikTok Shop | Từ $0.0055 mỗi lần gọi | JSON |
TikTok Shop | Từ $0.0012 mỗi lần gọi | JSON |
TikTok Shop | Từ $0.0012 mỗi lần gọi | JSON |
TikTok Shop | Từ $0.00095 mỗi lần gọi | JSON |
TikTok Shop | Từ $0.00095 mỗi lần gọi | JSON |
TikTok Shop | Từ $0.00095 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok-shop/creator 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.
Từ $0.0055 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: handle (string). Tùy chọn: region (một trong số us, US). 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 Creator 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 Shop.