sec_user_idstringwymagane
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"
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
sec_user_idstringwymaganeUser 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.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"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"
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
TikTok User Liked VideosTo API TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.01 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: sec_user_id (string). Opcjonalne: counts (integer) i max_cursor (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. TikTok User Liked Videos działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.