Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

TikTok User Likes

Docs API
https://api.sandbase.ai/v1/api/tiktok/web/user-like

Returns a list of videos liked by a specific TikTok profile based on their secUid. Supports pagination via cursor tokens and optional sort type settings.

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 4 facultatifs

Bac à sable

Entrée
User secUid
Number per page, default is 20, cannot be changed.
Cover format
Page cursor
Sort type
SortieExemple
Réponseoutputs · 492 B · 21 lignes
[
  {
    "data": {
      "cookie": "tt_chain_token=0k5cdiqY7uSA4maNu10+1w==;",
      "cursor": "1790127969000",
      "extra": {
        "fatal_item_ids": [],
        "logid": "202610062041350618B3DF2EF7F9783D8D",
        "now": 1791290496000
      },
      "hasMore": true,
      "log_pb": {
        "impr_id": "202610062041350618B3DF2EF7F9783D8D"
      },
      "statusCode": 0,
      "status_code": 0,
      "status_msg": "",
      "tt_chain_token": "0k5cdiqY7uSA4maNu10+1w=="
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

TikTok User Likes API

Returns a page of videos liked by a TikTok profile. It needs the profile's secUid as input and returns a cursor for the next page.

Use cases

  • Check which public videos a specific TikTok creator has liked.
  • Page through a user's like history to build a record of the content they engage with.
  • Collect liked-video data for audience research on a target account.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-like" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
secUidstringYesUser secUid
countintegerNoNumber per page, default is 20, cannot be changed.
coverFormatintegerNoCover format
cursorintegerNoPage cursor
post_item_list_request_typeintegerNoSort type

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "cookie": "tt_chain…",
  "cursor": "1791417327000",
  "extra": {
    "fatal_item_ids": [],
    "logid": "202611031544314BAB8FBD2CDB3104FCC3",
    "now": 1793691871000
  },
  "hasMore": true,
  "log_pb": {
    "impr_id": "202611031544314BAB8FBD2CDB3104FCC3"
  },
  "statusCode": 0,
  "status_code": 0,
  "status_msg": "",
  "tt_chain_token": "0k5cdiqY…"
}

Response fields

FieldMeaning
cursorCursor value for the next page. Pass it as cursor in the next request to continue.
hasMoretrue when more liked videos remain after this page.
statusCode / status_codeResult code of the call. 0 means the request succeeded.
status_msgStatus message text. It is an empty string in this response.
extra.fatal_item_idsList of item IDs that could not be returned. It is empty in this response.
extra.nowServer timestamp of the response, as a 13-digit number.
extra.logid / log_pb.impr_idRequest log identifier. Both fields hold the same value in this response.

Notes

  • Get the secUid for a profile with TikTok Profile Sec User ID, or from profile links with TikTok User Sec User ID Extractor.
  • To fetch the next page, send the returned cursor value as the cursor parameter while hasMore is true.
  • The count parameter defaults to 20 and cannot be changed.
  • The trimmed response shown here does not include a video list. Check the full response for the liked video items.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.05 par appelJSON

Guides :TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API TikTok User Likes ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/web/user-like 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.

Combien coûte l’API TikTok User Likes ?

$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API TikTok User Likes accepte-t-elle ?

Obligatoire : secUid (string). Facultatif : count (integer), coverFormat (integer), cursor (integer) et post_item_list_request_type (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API TikTok User Likes ?

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.

Ai-je besoin d’un compte développeur ou d’une clé API TikTok ?

Non. TikTok User Likes 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.