Tiktok Music API
Track which sounds are trending on TikTok including usage counts, audio performance data, and the videos driving each track forward.
| 1 | import requests |
| 2 | |
| 3 | root = "https://ensembledata.com/apis" |
| 4 | endpoint = "/tt/music/details" |
| 5 | params = { |
| 6 | "id": "7063948643480488709", |
| 7 | "token": "YOUR-TOKEN-HERE" |
| 8 | } |
| 9 | |
| 10 | res = requests.get(root+endpoint, params=params) |
| 11 | print(res.json()) |
| 12 |
Why Developer Teams Use Our API
Catch Sounds Before They Peak
Track usage counts on a track early enough to plan content around it before it's oversaturated.
Usage Count Tracking
See exactly how many videos currently use a given sound to gauge real momentum.
Linked Video Discovery
Find the videos actually driving a sound's popularity, not just the raw play count.
Music Marketing Insights
Give artists and labels real usage data instead of guesswork when planning a TikTok push.
Real-Time Trend Data
Every lookup reflects current usage numbers pulled directly from TikTok at request time.
Simple Sound ID Lookup
Pass a music ID and get back clean trend metadata without any manual digging.
Scrape Tiktok Data Effortlessly
Content creators and music marketers use our TikTok audio API to monitor rising sounds before they peak and plan content around what is actually gaining traction.
Artist & Title Metadata
Pull the artist name and track title behind any trending TikTok sound automatically.
Cross-Sound Comparison
Compare usage counts across TikTok sounds to rank which audio is climbing fastest.
Label Pitch Data
Give artists and labels hard TikTok usage numbers instead of anecdotal trend claims.
Tiktok Scraping Features
Identify trending TikTok audio at the right moment, useful for campaign planning and music marketing teams who need data-backed timing decisions.
- See exactly how many TikTok videos currently use a given sound to gauge real momentum.
- Pull artist name, track title, and clip duration for any trending audio automatically.
- Look up linked videos to find the exact content that is driving a sound's growth.
- Distinguish original creator audio from licensed commercial tracks in the same response.
- Track a sound's usage count over time to catch it climbing before it fully peaks.
Starting crawling Tiktok now!
Get Your API Key in Minutes
Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.
Get started freeDeveloper Support
Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.
Contact usFrequently Asked Questions
It returns metadata for a specific TikTok sound, including usage count, the sound's title and artist, and how many videos currently use it.
You provide the music/sound ID from a TikTok video, and the endpoint returns the associated trend and usage data for that audio track.
Yes, tracking usage counts over time for sounds you're monitoring lets you identify tracks that are gaining momentum before they go fully viral.
Yes, the response includes data tied to videos using that sound, which helps you see which content is driving a track's popularity.
The endpoint expects the numeric music ID; if you only have a sound page URL, pull the ID from it or from a post's audio metadata first.
Yes, clip length in seconds is returned alongside the title, artist, and usage count.
Yes, a field indicates whether the audio is user-generated original sound or a track pulled from TikTok's commercial music library.
Linked videos are paginated the same way as the Posts endpoint, returning a batch per call with a cursor for additional pages.
The sound/music ID can be extracted from the video data returned by our TikTok Post Information or Posts endpoints, then passed into this Music endpoint.