API Reference

TikTok endpoints

Profile and content metrics. Short links are resolved automatically, so vm.tiktok.com and vt.tiktok.com URLs work the same as full ones.

All 2 endpoints below take a single url parameter and return the same field vocabulary used across every platform. A full object costs 2 credits; a single field costs 1.
GET /api/v1/tiktok/user
2 credits cache 1m

TikTok profile

Follower, following, like and video counts for a TikTok account, plus profile attributes.

Parameters

url required
Example: https://www.tiktok.com/@username
field optional
Return a single value for 1 credit instead of 2.

Fields

userId · username · followers · following · likes · videos · secUid · shortId · displayName · bio · avatar · verified · private · business · createdAt · language · likesGiven · friends · commentSetting · duetSetting · stitchSetting · downloadSetting · followVisibility · favoritesPublic · embedBlocked · liveRoomId · avatarMedium · avatarSmall · nameChangedAt · usernameChangedAt · playlistsPublic · embedAllowed

Example request

curl -H "Authorization: Bearer $TUBESTAT_KEY" \
  "https://tubestat.co/api/v1/tiktok/user?url=https%3A%2F%2Fwww.tiktok.com%2F%40username"
GET /api/v1/tiktok/content
2 credits cache 1m

TikTok video or photo

Like, view, comment, share and save counts for a TikTok video or photo post. Short links are resolved automatically.

Parameters

url required
Example: https://www.tiktok.com/@username/video/VIDEO_ID
field optional
Return a single value for 1 credit instead of 2.

Fields

itemId · authorId · authorUsername · likes · views · comments · shares · saves · reposts · createdAt · description · type · durationMs · format · coverImage · width · height · codec · resolution · authorName · authorAvatar · authorBio · authorVerified · authorPrivate · authorCommentSetting · authorSecUid · soundId · soundTitle · soundArtist · soundOriginal · soundDurationMs · tags

Example request

curl -H "Authorization: Bearer $TUBESTAT_KEY" \
  "https://tubestat.co/api/v1/tiktok/content?url=https%3A%2F%2Fwww.tiktok.com%2F%40username%2Fvideo%2FVIDEO_ID"