Search content — TikTok API
General search that returns mixed results including videos and user profiles. Supports sorting and publish-time filters.
GET
/v1/tiktok/search1 credit per requestExample response200OK
Make the request.
One authenticated GET to /v1/tiktok/search. Authentication and error conventions stay consistent across endpoints. This page shows the path, parameters, response shape, limits, and credit rule for this operation.
Built for
- Data Analytics
- Market Research
- Platform Integration
const response = await fetch("https://api.konbiniapi.com/v1/tiktok/search", {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
Parameters5
- queryrequiredIn · QueryType · stringSearch query
- cursorIn · QueryType · stringPagination cursordefault 0
- countIn · QueryType · integerNumber of items to fetch (maximum: 100, actual results may vary)1–100default 50
- orderIn · QueryType · stringSort order: relevance (default), most-liked, or date-postedrelevance | most-liked | date-posteddefault relevance
- publishedIn · QueryType · stringFilter by publish time: all-time (default), yesterday, this-week, this-month, last-3-months, or last-6-monthsall-time | yesterday | this-week | this-month | last-3-months | last-6-monthsdefault all-time
What you will probably call next.
The TikTok endpoints around this one — the same object at a different depth, or the same kind of read.
Try it on your own data.
Get a free API key and make this request in minutes. Failed and timed-out requests are automatically refunded.