Search TikTok videos by keyword
tiktok_search_videosTikTok videos for a keyword, 16 a page.
Videos for a keyword, from TikTok’s public keyword pages (tiktok.com/discover/, what a logged-out visitor and search engines see), 16 a page in TikTok’s relevance order, with full video objects. Pass cursor for the next page. TikTok’s in-app search filters (date posted, sort) need a logged-in session and are not offered.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Keyword or phrase. | |
| cursor | No | The previous page’s `cursor`, for the next page. Omit for the first. |