Search TikTok
tiktok_searchSearch TikTok by keyword. type: top (default: TikTok's blended video results), users (accounts), videos, photo, live or music (sounds). region is an optional 2-letter country code (default US). Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "tiktok_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | What to search for. | |
| raw | No | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. | |
| type | No | Result type (default top). | |
| fresh | No | true skips the cache and fetches live data (full price). Default false. | |
| cursor | No | pagination.next_cursor from the previous page. Leave out for the first page. | |
| region | No | Optional 2-letter country code (default US). |