Skip to content

GET/v1/tiktok/search?q=&type=

Search TikTok by keyword for videos, accounts, photo posts, live streams or sounds.

GEThttps://api.handlehaul.com/v1/tiktok/search?q=&type=

Cost: 1 credit per page (free from cache, kept 15 minutes).

Parameters

qqueryoptional
What to search for (1 to 100 characters).
typequeryoptional
top (default), users, videos, photo, live or music.
regionqueryoptional
Optional 2-letter country code (default US).
cursorqueryoptional
pagination.next_cursor from the previous page (keep q, type and region the same).
freshqueryoptional
true skips the cache.
rawqueryoptional
true returns TikTok's own JSON in data.

What data holds depends on type:

typeItems
usersaccounts (the TikTok user shape, with follower and like counts)
topthe video results of TikTok's blended search (account cards are left out; use users)
videos, photoposts (the TikTok post shape)
livelive streams: id, title, viewer_count, cover_url, author
musicsounds (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.

↑↓ to move↵ to open