Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok User Liked Videos

Tài liệu 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.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
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.
Đầu raVí dụ
Phản hồioutputs · 386 B · 19 dòng
[
  {
    "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"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào 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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.01 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok User Liked Videos?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok User Liked Videos có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok User Liked Videos chấp nhận những tham số nào?

Bắt buộc: sec_user_id (string). Tùy chọn: counts (integer) và max_cursor (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok User Liked Videos trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok User Liked Videos chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.