TikTok Video Ranking Analytics API
Retrieve ranked lists of TikTok videos by views, engagement, or sales metrics, computed from large-scale analytics data.
/v1/tiktok/video/ranking/analyticsdatestringrequiredSpecific time of the yyyy-MM-dd format ranking list
regionstringrequiredRegion code, region, such as US
product_category_idstringoptionalFiltering by the first-level category ID of products, used for filtering product categories in the live-streaming sales video rankings
created_by_aistringoptionaltrue / false, whether it is an AI video
video_rank_fieldintegerrequiredRanking field 1=total_views_cnt 2=total_video_sale_cnt
rank_typeintegerrequiredRank Type 1=day 2=week 3=month
page_numintegerrequiredPage numbers, starting from 1, maximum 100000
page_sizeintegerrequiredThe maximum number of pages is 10.
TikTok API Use Cases
Content Research
Discover trending videos, hashtags, and sounds to inform your content strategy.
Comment Analysis
Extract audience sentiment and keyword insights from video comments at scale.
Trend Monitoring
Track trending content in real time to capitalize on viral moments.
Frequently Asked Questions
Is the TikTok API official?
No, KeyAPI provides an unofficial TikTok API that lets you access TikTok data through our platform. We handle the complexities of data collection so you can focus on building your application.
How current is the data?
We provide real-time data from TikTok. When you make a request, we fetch the latest information available.
How do credits work?
Each API endpoint consumes credits. Most endpoints cost just 1 credit. All pricing is transparent in our API documentation with no hidden fees.
Can I use this for AI model training?
Yes. KeyAPI provides structured, AI-ready data ideal for training datasets, fine-tuning LLMs, and building AI pipelines. Our historical archives are particularly valuable for large-scale training workloads.
Ready to unlock unified
social intelligence?
Register today and receive 100 free API calls to test our infrastructure.
Join the growing community of developers, AI builders, automation engineers, and global businesses who trust KeyAPI for reliable, scalable social media data access.