General
Getting search results from an user session
When you call Public endpoints such as the Search endpoint, it will return results from a random unauthenticated session. If you want to get more uniform results and tailored for a specific user, it is possible to call the endpoint from an user scope ...
How to collect posts for a topic or identify industry trends?
We have multiple endpoints which you can use in combination in order to collect posts for a specific topic or identify industry trends. Here are our recommendations on things you can do: Getting feed posts (For You) from an authenticated account ...
How do I get more than 30 items?
Usually you can get about 30 items from a API request (excluding the search endpoint which returns 12). This is not a limit set by us, but by TikTok. In order to collect more items you have to use the iterating parameters, such ...
How to download videos?
Endpoints for getting posts such as Get feed posts or the Get video information endpoint return the video(s) information in the JSON response object. You can download the video file using the link at the downloadAddr or playAddr field. Example ...
What are premium endpoints?
Premium endpoints are only available to Business and Enterprise subscriptions, these endpoints are marked with a star in documentation.
How can I stream Live videos?
You can easily get the Stream Key and Server parameters using the Start Live endpoint if you meet certain requirements by TikTok. The account has at least 1000 followers and Live streaming is enabled Third-Party Live streaming is enabled ...
Is it legal to use TikAPI?
Like most of the things, it depends on your intentions and how you use the API. Scraping data is legal, as long as you respect the copyrights. TikTok doesn't like spam bots and abusing their service, and the same goes for us. We don't allow any kind ...
How can I get access to special endpoints?
Interaction endpoints such as Follow, Like, Comment are only available to trusted clients in order to prevent abuse and keep the service working properly. If you want access to these endpoints please send us an email or a chat request and include the ...