secUidstringbắt buộc
User secUid
https://api.sandbase.ai/v1/api/tiktok/web/user-repostReturns a list of reposted videos for a specified TikTok profile. Results include video metadata, author statistics, and engagement metrics via user secUid.
Đầ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 a page of videos that a TikTok user has reposted, with video details, author totals, and engagement counts. It needs the user's secUid as input.
playCount and diggCount across reposted videos to find which ones perform best.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-repost" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
secUid | string | Yes | User secUid |
count | integer | No | Number per page, default is 20, cannot be changed. |
coverFormat | integer | No | Cover format, default is 2, optional values are 1 or 2. |
cursor | integer | No | Page cursor |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"cookie": "tt_chain…",
"cursor": "20",
"extra": {
"fatal_item_ids": [],
"logid": "202611030744324566AD1DDD14C902E263",
"now": 1793691872000
},
"hasMore": true,
"itemList": [
{
"AIGCDescription": "",
"CategoryType": 105,
"IsHDBitrate": false,
"ShowAIGC": true,
"author": {
"avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7330740761455820805…",
"avatarMedium": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7330740761455820805…",
"avatarThumb": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7330740761455820805…",
"commentSetting": 0,
"downloadSetting": 0,
"duetSetting": 0,
"ftc": false,
"id": "6653919748492099589"
},
"authorStats": {
"diggCount": 302,
"followerCount": 22600,
"followingCount": 15,
"friendCount": 0,
"heart": 539300,
"heartCount": 539300,
"videoCount": 742
},
"authorStatsV2": {
"diggCount": "302",
"followerCount": "22600",
"followingCount": "15",
"friendCount": "0",
"heart": "539300",
"heartCount": "539300",
"videoCount": "742"
},
"backendSourceEventTracking": "",
"challenges": [
{
"coverLarger": "",
"coverMedium": "",
"coverThumb": "",
"desc": "",
"id": "1619172155642885",
"profileLarger": "",
"profileMedium": "",
"profileThumb": ""
}
],
"collected": false,
"contents": [
{
"desc": "Over 2 million skilled trades jobs are sitting unfilled. @TikTok has been the bi…",
"textExtra": [
{
"awemeId": "",
"end": 64,
"hashtagName": "",
"isCommerce": false,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"start": 57,
"subType": 0,
"type": 0
}
]
}
],
"createTime": 1792023471
}
],
"log_pb": {
"impr_id": "202611030744324566AD1DDD14C902E263"
},
"statusCode": 0,
"status_code": 0,
"status_msg": "",
"tt_chain_token": "uWGiRtoC…"
}
| Field | Meaning |
|---|---|
itemList[].id | ID of the reposted video. |
itemList[].desc | Caption text of the video. Hashtags and mentions are included in the text. |
itemList[].createTime | Time the video was created, as a Unix timestamp in seconds. |
itemList[].stats.playCount / stats.diggCount / stats.commentCount / stats.shareCount / stats.collectCount | Engagement counts for the video: plays, likes, comments, shares and saves. statsV2 repeats them as strings. |
itemList[].author.id | ID of the account that made the original video. |
itemList[].authorStats.followerCount / followingCount / videoCount / heartCount | Totals for the video's author: followers, accounts followed, videos posted and total likes received. |
itemList[].music.id / music.authorName / music.duration | ID, author name and duration of the sound used in the video. |
itemList[].video.cover | URL of the cover image for the video. |
itemList[].video.PlayAddrStruct.UrlList | Playback URLs for the video file. Width, Height and DataSize describe the file. |
itemList[].textExtra[].hashtagName | Hashtag name found in the caption. start and end give its position in desc. |
cursor from the previous response to get the next page. The response also returns hasMore, which is true when more results exist.count is fixed at 20 per page and cannot be changed.secUid value starts with MS4w. Get it from TikTok Profile Sec User ID or TikTok User Sec User ID Extractor.$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/web/user-repost" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"
}'Đặ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.
secUidstringbắt buộcUser secUid
countintegerNumber per page, default is 20, cannot be changed.
coverFormatintegerCover format, default is 2, optional values are 1 or 2.
cursorintegerPage cursor
Đâ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 User RepostsAPI 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.05 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/web/user-repost 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. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.
Bắt buộc: secUid (string). Tùy chọn: count (integer), coverFormat (integer) và cursor (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 User Reposts 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.