toolzerhub API Docs

List TikTok user likes

Returns videos liked by the user with sec_uid, only when that user's likes are public. Otherwise the result is empty. Page with cursor and count.

2 credits / requestBilled only on success
GET
/v2/tiktok/web/user/likes

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

sec_uid*string

User's sec_uid, from a profile response. The user's likes must be public.

Length1 <= length
cursor?string

Pagination cursor. 0 for page one; for later pages send the previous response's cursor when it has one.

count?string

Number of items to request per page.

cover_format?string

Cover image format to return. Leave unset for the default.

sort_type?string

Ordering of the liked videos. Leave unset for the default order.

curl -X GET "https://example.com/v2/tiktok/web/user/likes?sec_uid=MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  }}