Search TikTok videos, users, hashtags
Returns mixed public TikTok search results (videos, users, hashtags) for keyword. Sort with sort_type and filter by publish_time; page with offset and count.
2 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
keyword*string
Search term. Matches videos, users, and hashtags.
Length
1 <= lengthoffset?string
Where the page starts. 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.
sort_type?string
Result ordering value. Leave unset for the default order.
publish_time?string
Filter by publication time. Leave unset for no time filter.
curl -X GET "https://example.com/v2/tiktok/app/search/general?keyword=cats" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "data": null, "property1": null, "property2": null }}