secUidstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
secUidstringobligatoireUser secUid
countintegerNumber per page, default is 20, cannot be changed.
coverFormatintegerCover format, default is 2, optional values are 1 or 2.
cursorintegerPage cursor
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
TikTok User RepostsCette API TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.05 par appel | JSON |
Guides :TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/web/user-repost avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Obligatoire : secUid (string). Facultatif : count (integer), coverFormat (integer) et cursor (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. TikTok User Reposts fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API TikTok séparément.