Search TikTok content (web)
Returns mixed public TikTok search results for keyword. For the next page, send the response's cursor as offset and its search_id as search_id while has_more is nonzero.
2 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
keyword*string
Search term for mixed content results.
Length
1 <= lengthoffset?string
Where the page starts. Page one is 0; later pages use the previous response's cursor with search_id.
search_id?string
Omit for page one. For later pages, send the previous response's search_id with its cursor.
curl -X GET "https://example.com/v2/tiktok/web/search/general?keyword=cats" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "data": null, "status_code": 0, "cursor": 0, "has_more": 0, "search_id": "string", "tt_chain_token": "string" }}