Skip to Content
tikdataapi.com

Quickstart

First request in two minutes.

tikdataapi.com is a read-only HTTP API for public TikTok data: profiles, videos, the videos of an account, comments, replies, hashtags, video and account search, follower and following lists, sounds and their videos, reposts, playlists, related videos, trending videos, sound, live and hashtag search, the live state of an account, and the transcripts of videos. One credit is one profile, one video, one comment, one hashtag, one sound, one playlist, one live room or one transcript returned. Empty results and failed requests cost nothing. You need no TikTok account, no TikTok login and no cookies. tikdataapi.com is not affiliated with TikTok or ByteDance.

1. Get a key

Sign in at tikdataapi.com/dashboard with your email. No password: you get a six-digit code. Create a key there. Every new account starts with 1,000 free credits.

2. Make a request

Send the key in the x-api-key header.

curl "https://api.tikdataapi.com/v1/users/tiktok" \
  -H "x-api-key: tt_live_..."
{
  "data": {
    "id": "107955",
    "username": "tiktok",
    "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "nickname": "TikTok",
    "verified": true,
    "private": false,
    "followers": 92400000,
    "following": 2,
    "likes": 465300000,
    "videos": 1180,
    "collected_at": "2026-12-02T08:55:12Z"
  },
  "items": 1,
  "credits_charged": 1,
  "balance_remaining": 999,
  "cache": "miss",
  "request_id": "3d4f3d1c-..."
}

Every response carries items, credits_charged, balance_remaining, cache and request_id. Keep request_id when you report a problem.

Every object carries collected_at: the time we read it from TikTok, in UTC. Plays, likes and follower counts change, so they are the counts of that moment. An object served from cache keeps the time of its own read.

3. Read the videos of an account

curl "https://api.tikdataapi.com/v1/users/tiktok/videos?count=16" \
  -H "x-api-key: tt_live_..."

Pinned videos come first, then the newest. 1 credit per video. The response has next_cursor while there are more videos: send it back as cursor. See Pagination.

Endpoints

EndpointReturnsCredits
GET /v1/users/{user}one profile, by username or sec_uid1
GET /v1/users/{user}/videosthe videos of an account, pinned first, then newest first1 per video
GET /v1/videos/{id}one video1
GET /v1/videos/{id}/commentsthe comments of a video1 per comment
GET /v1/videos/{id}/comments/{comment_id}/repliesthe replies to a comment1 per reply
GET /v1/hashtags/{name}one hashtag, with the count of its videos and their plays1
GET /v1/hashtags/{name}/videosthe videos of a hashtag1 per video
GET /v1/search/videos?query=the videos that the general search of TikTok finds1 per video
GET /v1/search/users?query=the accounts that the account search of TikTok finds1 per account
GET /v1/users/{user}/followersthe accounts that follow an account1 per profile
GET /v1/users/{user}/followingthe accounts that an account follows1 per profile
GET /v1/users/{user}/repoststhe videos that an account reposted1 per video
GET /v1/users/{user}/playliststhe playlists of an account1 per playlist
GET /v1/playlists/{id}/videosthe videos of a playlist1 per video
GET /v1/music/{id}one sound, with the count of its videos (rounded by TikTok)1
GET /v1/music/{id}/videosthe videos that use a sound1 per video
GET /v1/videos/{id}/relatedthe videos that TikTok shows next to a video, one page1 per video
GET /v1/trending/videosthe explore feed of TikTok for a logged-out visitor, a new set on each read1 per video
GET /v1/search/music?query=the sounds that the sound search of TikTok finds1 per sound
GET /v1/search/live?query=the live rooms that match a keyword1 per room
GET /v1/users/{user}/livewhether an account is live now: room, title, viewers, start time1
GET /v1/videos/{id}/transcriptthe subtitles of a video, as segments and text1
GET /v1/search/hashtags?query=the hashtags of the videos that the general search finds, most used first1 per hashtag
POST /v1/users/batchup to 100 profiles, by username1 per profile found
POST /v1/videos/batchup to 100 videos, by id1 per video found
POST /v1/users/videos/batchthe latest videos of up to 20 accounts1 per video
GET /v1/meyour balance and rate limit0

{user} takes a username, with or without @, or a sec_uid. Search is the general video search and the account search of TikTok, and sound and live search. TikTok gives a logged-out visitor no hashtag search of its own: hashtag search ranks the hashtags of the videos of the general search, and its counts are of those videos, not the totals of TikTok. A live room is data, not a stream. Search, the follower lists, sounds, reposts, playlists, related videos, trending videos, live, transcripts and hashtag search are new, and their limits are not measured yet. What you can read has the full list. The full contract is in the API reference.