Browse all endpoints

TikTok API Documentation

Last updated

Introduction

Welcome to the TikLiveAPI documentation. Our API allows you to access public data from TikTok, including user profiles, videos, hashtags, and more.

The base URL for all requests is:

https://api.tikliveapi.com

Here is a complete request, using User Info by Username to fetch the public profile of the tiktok account:

curl -H "X-Api-Key: YOUR_API_KEY" "https://api.tikliveapi.com/userinfo-by-username/?username=tiktok"

Authentication

All API requests require an API key. You can pass your API key in the request header.

headers: { "X-Api-Key": "YOUR_API_KEY" }

We do not ask for your TikTok account or password. You do not need to log in with your TikTok account to make requests.

Your key is on the Dashboard tab of your profile. New to TikLiveAPI? How to Get a TikTok API Key walks through signing up and finding your key.

Rate Limits

We implement rate limiting to ensure fair usage. The standard rate limit is 200 requests per minute per API key; contact us to raise it.

Errors

When a request cannot be served, the API returns a JSON object with a message field that describes the problem, instead of the endpoint's data.

Missing API key (no X-Api-Key header):

{"message": "Please sign up to tikliveapi.com"}

Invalid API key:

{"message": "Api-Key is not available"}

You also get this message with a key that has been regenerated: the old key stops working immediately. Copy your current key from the Dashboard tab of your profile.

Both of these come back with HTTP status 200, so check the response body for a message field rather than relying on the status code. A successful response is the endpoint's data object, as shown in each endpoint's example response.

See Rate Limits for request quotas and Pricing for credits: each successful request costs 1 credit.

All Endpoints

Browse the full TikTok API reference by category. Every endpoint includes parameters, an example response, and a live playground.

Users Endpoints

Posts (Videos) Endpoints

Music Endpoints

Hashtag (Challenge) Endpoints

Search Endpoints

Playlist (Mix) Endpoints

Download Endpoints

Collection Endpoints

Region Endpoints

Ads Endpoints