Skip to content

Search TikTok videos

POST/v1/tools/tiktok.search.videos/callsNeeds an API key

Returns the TikTok videos that match a search, with author and date, a page at a time. Use it to find content on a topic.

Tool tiktok.search.videos on TikTok. Contract version 1, released 2026-10-27.

Over REST, send the input in the body. Over MCP, pass the same input to call_tool.

Both return the full response: the call's ID, status and cost, with this tool's result in output.

Input

querystringRequired

The search query.

sortstring· default relevance

Order of the results: relevance (TikTok's ranking) or most_liked.

relevance
most_liked
time_rangestring

Only videos published in the last day, week, month, three months or six months.

day
week
month
three_months
six_months
next_page_tokenstring

Fetches the next page. Take it from pagination.next_page_token of the previous page, and send the same query, sort and time_range.

Output

A successful call returns these blocks in its output. A field not marked required can be null.

videos

A list of rows. Always present, possibly empty.

idstringRequired

TikTok's numeric identifier of the video, as a string. The video is at https://www.tiktok.com/@<author_username>/video/ followed by it.

urlstring

Address of the video on tiktok.com.

textstring

The video's caption, hashtags and mentions included.

published_atstring

When the video was published, in ISO 8601.

duration_msinteger

Length of the video, in milliseconds.

widthinteger

Width of the video, in pixels.

heightinteger

Height of the video, in pixels.

preview_image_urlstring

Address of the video's cover image. TikTok's media addresses expire.

author_idstring

TikTok's numeric identifier of the author, as a string.

author_sec_uidstring

TikTok's secure identifier of the author, which tiktok.user.videos takes as sec_uid.

author_usernamestring

The author's handle, without the @.

author_namestring

The author's display name.

author_image_urlstring

Address of the author's profile picture.

author_verifiedboolean

Whether TikTok marks the author as verified.

author_follower_countinteger
view_countinteger

Number of times the video was played.

like_countinteger
comment_countinteger
share_countinteger
bookmark_countinteger

Number of times the video was saved to favorites.

hashtagsarray of string

Each hashtag in the caption, without the

mentioned_usernamesarray of string

Handle of each account the caption mentions, without the @.

music_idstring

TikTok's identifier of the video's sound.

music_titlestring

Title of the video's sound.

music_author_namestring

Name of the artist or account the sound is credited to.

pagination

One object. Can be null. How to fetch the next page. Null on the last page.

next_page_tokenstringRequired

Send as next_page_token to fetch the next page.