sec_user_idstringobbligatorio
User sec_user_id
https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videosReturns liked videos for a specific user using their secure user ID. Supports cursor-based pagination and page size configuration.
[
{
"data": {
"aweme_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "20260928084006D2EEDF4A496381D3D748",
"now": 1790584806000
},
"invalid_item_id_list": null,
"log_pb": {
"impr_id": "20260928084006D2EEDF4A496381D3D748"
},
"status_code": 0,
"status_msg": "",
"version": "v2"
}
}
]Seleziona un esempio per caricare i suoi input e il risultato nel playground.
Retrieve liked video data for a TikTok user identified by sec_user_id. Supports pagination via max_cursor and page limits using counts.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'
| Name | Type | Required | Description |
|---|---|---|---|
sec_user_id | string | Yes | User sec_user_id |
counts | integer | No | Number per page |
max_cursor | integer | No | Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response. |
sec_user_id to identify the target profile.max_cursor to 0 for the first page, then pass the returned cursor value for subsequent pages.counts controls the number of items returned per page.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sec_user_id": "1"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
sec_user_idstringobbligatorioUser sec_user_id
countsintegerNumber per page
max_cursorintegerMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"data": {
"aweme_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "20260928084006D2EEDF4A496381D3D748",
"now": 1790584806000
},
"invalid_item_id_list": null,
"log_pb": {
"impr_id": "20260928084006D2EEDF4A496381D3D748"
},
"status_code": 0,
"status_msg": "",
"version": "v2"
}
}
]Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
TikTok User Liked VideosQuesta API TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.01 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: sec_user_id (string). Facoltativi: counts (integer) e max_cursor (integer). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).
No. TikTok User Liked Videos funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok.