TikTok Stats API
The TikTok Stats API retrieves engagement metrics and metadata for TikTok videos, including view counts, likes, comments, shares, and video information.
Endpoint
https://api.socialkit.dev/tiktok/statsExample Request
GET https://api.socialkit.dev/tiktok/stats?access_key=<your-access-key>&url=https://www.tiktok.com/@soukainasing1/video/7370790114802322694Response
{
"success": true,
"data": {
"url": "https://www.tiktok.com/@thepeteffect/video/7522711492140059912",
"videoId": "7522711492140059912",
"title": "Why Do Cats Attack You Randomly? 🫠",
"channelName": "thepeteffect",
"channelLink": "https://www.tiktok.com/@thepeteffect",
"likes": 2100000,
"comments": 26000,
"shares": 147600,
"collects": 21800,
"views": 70700000,
"description": "Why Do Cats Attack You Randomly? 🫠",
"duration": "0:49",
"thumbnailUrl": "https://p19-common-sign.tiktokcdn.com/...",
"publishedAt": "2025-07-03T04:42:44.000Z",
"contentType": "video",
"isShortForm": true
}
}Parameters
url string Required
The TikTok URL of the video to get statistics for. Supports various TikTok URL formats.
access_key string Required
Your API access key. Can be provided via the access_key query parameter, x-access-key header, or request body.
cache boolean Optional Defaults to false
Cache the response for faster subsequent requests.
cache_ttl number Optional Defaults to 2592000
Cache the response for a custom TTL (in seconds). Maximum 2592000 seconds (1 month), minimum 3600 seconds (1 hour).
Response Fields
The API returns the following data fields:
url: The original TikTok URL providedvideoId: The TikTok video ID (the numeric ID from the URL)title: The video title/caption with hashtagschannelName: The TikTok usernamechannelLink: Direct link to the TikTok channellikes: Total like count (number)comments: Total comment count (number)shares: Total share count (number)collects: Total saves/collects (number)views: Total view count (number)description: The video description/captionduration: Video duration inM:SSformat (empty for carousel posts)thumbnailUrl: URL to the video thumbnail imagepublishedAt: ISO 8601 timestamp of when the video was posted (e.g.2025-07-03T04:42:44.000Z)contentType:"video"for regular TikTok videos,"carousel"for image/photo postsisShortForm:truefor TikTok videos (all are short-form by definition),falsefor carousels
Note: To download a TikTok video file, use the TikTok Video Download API. TikTok’s CDN URLs are signed to the IP that fetched them, so we don’t expose them on the stats endpoint — they’d 403 on your side anyway. The download API handles the IP-bound fetch server-side and gives you back a 1-hour pre-signed S3 URL that works from anywhere.
Use Cases
- Social Media Analytics: Track TikTok video performance and engagement metrics
- Content Research: Analyze viral TikTok content and engagement patterns
- Competitor Analysis: Monitor competitor TikTok performance and trends
- Trend Analysis: Identify trending content and viral patterns on TikTok
- Marketing Insights: Understand what TikTok content resonates with audiences
- Reporting: Generate comprehensive reports on TikTok video performance
- Content Strategy: Make data-driven decisions about TikTok content creation
- Influencer Marketing: Analyze influencer performance and reach metrics
Notes
- View counts, likes, comments, and shares are retrieved in real-time
- All numeric fields are returned as integers
- Author field may be empty depending on TikTok’s privacy settings
- Video duration is provided in human-readable MM:SS format
- Thumbnail URLs are temporary and may expire
- Statistics may vary slightly due to TikTok’s real-time updates
- Supports various TikTok URL formats including mobile and desktop links