Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

TikTok User Liked Videos

Dokumentasi API
https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos

Returns liked videos for a specific user using their secure user ID. Supports cursor-based pagination and page size configuration.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 2 opsional

Playground

Input
User sec_user_id
Number per page
Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
OutputContoh
Responsoutputs · 386 B · 19 baris
[
  {
    "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"
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

TikTok User Liked Videos API

Retrieve liked video data for a TikTok user identified by sec_user_id. Supports pagination via max_cursor and page limits using counts.

Use cases

  • Inspect videos liked by a specific TikTok account.
  • Analyze user content preferences and engagement trends.
  • Paginate through an account's public like history.

Request

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"}'

Parameters

NameTypeRequiredDescription
sec_user_idstringYesUser sec_user_id
countsintegerNoNumber per page
max_cursorintegerNoMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.

Notes

  • Requires sec_user_id to identify the target profile.
  • Set 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.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.01 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON

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

Pertanyaan

FAQ

Bagaimana cara menggunakan API TikTok User Liked Videos?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API TikTok User Liked Videos?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API TikTok User Liked Videos?

Wajib: sec_user_id (string). Opsional: counts (integer) dan max_cursor (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API TikTok User Liked Videos?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).

Apakah saya memerlukan akun developer atau kunci API TikTok?

Tidak. TikTok User Liked Videos berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.