TikTok Search API
Search TikTok by keyword for videos, accounts, photo posts, live streams or sounds.
Cost: 1 credit per page (free from cache, kept 15 minutes).
Parameters
qqueryoptionalWhat to search for (1 to 100 characters).
typequeryoptionaltop (default), users, videos, photo, live or music.regionqueryoptionalOptional 2-letter country code (default
US).cursorqueryoptionalpagination.next_cursor from the previous page (keep q, type and region the same).freshqueryoptionaltrue skips the cache.rawqueryoptionaltrue returns TikTok's own JSON in data.What data holds depends on type:
type | Items |
|---|---|
users | accounts (the TikTok user shape, with follower and like counts) |
top | the video results of TikTok's blended search (account cards are left out; use users) |
videos, photo | posts (the TikTok post shape) |
live | live streams: id, title, viewer_count, cover_url, author |
music | sounds (the TikTok sound shape) |
FAQ
How do I find TikTok accounts by name?
Call GET /v1/tiktok/search?q=<name>&type=users. Each result has the handle, id and sec_uid to use with the other TikTok endpoints.