TikTok API/Intelligence/Trending Music
TikTok · Intelligence

TikTok Trending Music API

Retrieve the current list of trending music tracks on TikTok, with usage counts and popularity metrics.

GET/v1/tiktok/trending/music
search_keywordstringoptional

Search keywords, value-taking rules: FALSE (string type) = do not perform the search; non-empty string = perform the search according to the keyword

pagestringoptional

Pagination page number, used to specify the target page number of the query results

limitstringoptional

The number of data items per page in pagination, which is used to specify the maximum number of results returned by a single query. The value range is 1 to 20. If it exceeds the maximum value, it will be automatically handled as 20.

periodstringoptional

Time range for querying data Optional valid values: 7 (last 7 days), 30 (last 30 days), 120 (last 120 days)

regionstringoptional

Country/Region Code A single value must be selected from the specified country/region code mapping table; multiple values are not supported for input.

new_to_top_100stringoptional

Whether to filter hot topics that enter the top 100 for the first time. Optional values: false (no, do not filter), true (yes, only filter hot topics that enter the top 100 for the first time)

commercial_musicstringoptional

Whether to filter commercially available music, optional values: false (no, do not filter), true (yes, only filter commercially available music)

TikTok API Use Cases

Trend Forecasting

Surface trending hashtags and sounds before they peak to get ahead of the curve.

Ad Intelligence

Analyze top-performing ad creatives to inform your own TikTok ad strategy.

Keyword Research

Understand search volume and trend data for keywords to optimize content discoverability.

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.

Start for free — no credit card required

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.