TikTok Music API

Fetch TikTok sound details and the videos using any track as structured JSON - monitor audio trends before they peak.

A TikTok music API built for sound-driven products

Every breakout TikTok trend starts with a sound. The TikLiveAPI music endpoints turn that signal into structured data: pull a track's full metadata, see exactly how many videos have adopted it, and stream a ranked feed of the posts that put it on the map. It is a clean, pay-as-you-go alternative to scraping TikTok yourself - you send a music ID, we return JSON. No headless browsers, no captcha farms, no watermark stripping on your side.

This API is built for music labels running A&R, sync-licensing teams hunting the next viral track, social listening platforms, and developers shipping trend dashboards. If your product needs to answer "is this sound blowing up, and who is driving it?", the two endpoints below give you the raw numbers to decide. You authenticate every request with a single X-Api-Key header against https://api.tikliveapi.com - the same key you get the moment you register.

What the music API returns

Music track metadata

Send a music_id to /music-info/ and get the track's title, author, duration in seconds, album, the original cover art URL, a direct play mp3 link, an original flag, and the headline video_count - the total number of TikTok videos that use the sound.

Sound adoption count

The video_count field from /music-info/ is your at-a-glance virality gauge. Poll it on a schedule and you can chart how fast a sound is spreading without paging through a single video - ideal for the kind of trend monitor covered in our music-trend-monitor guide.

Posts that use a sound

Call /music-posts/ with the same music_id to receive a feed of videos built on that track. Each item carries the title, watermark-free play URL and watermarked wmplay URL, cover, duration, region, full engagement stats (play_count, digg_count, comment_count, share_count, collect_count), create_time, and the author block.

Creator discovery from a sound

Inside every /music-posts/ item, the nested author object exposes the creator's id, unique_id, nickname, and avatar. That makes a single sound a shortlist of the exact creators an A&R or marketing team should reach out to first.

Cursor pagination

/music-posts/ returns a numeric cursor and a hasMore flag. Pass the cursor back on the next request to walk deeper into a sound's catalog, requesting up to 35 posts per call with the count parameter (default 10).

Real, exportable media URLs

Both endpoints hand back live CDN links - the original square cover from /music-info/ and per-video covers and playback URLs from /music-posts/ - so you can build visual trend boards or archive reference clips directly from the response.

Quick start

One key, one request. Fetch the metadata for any sound by its music ID:

curl "https://api.tikliveapi.com/music-info/?music_id=6747377620087819014" \
  -H "X-Api-Key: YOUR_API_KEY"

The response is a flat, predictable JSON object - here trimmed to the key fields:

{
  "id": "6747377620087819014",
  "title": "slow dancing in the DARRRRRKKKKK",
  "author": "jensuah",
  "original": true,
  "duration": 8,
  "album": "",
  "video_count": 79321
}

That single video_count of 79,321 tells you the sound is widely adopted. To see who is using it, swap in /music-posts/?music_id=6747377620087819014 and read the videos array, then follow cursor and hasMore to page through the rest.

Common use cases

Catch breakout sounds early

Track video_count on a watchlist of music_id values over time. A sharp climb is your early signal that a track is going viral - the foundation of the trend monitor we walk through in the music-trend-monitor build guide.

A&R and label marketing

Music labels use /music-posts/ to find the creators already organically using a release, then prioritize outreach by engagement. Our "TikTok for Music Labels" post covers turning these author blocks into an A&R pipeline.

Rank the top videos for a sound

Sort the /music-posts/ feed by play_count or digg_count to surface the videos driving a sound's momentum - the kind of recipe collected in our music API cookbook.

Sync and licensing research

Before committing to a sound, pull its duration, original status, and adoption curve so licensing and sync teams can quantify reach with hard numbers instead of guesswork.

Trend dashboards and social listening

Feed both endpoints into an internal dashboard to combine a track's total usage with its live top performers, giving social teams one view of which sounds to ride this week.

Start pulling sound data in minutes

Register for a free account and you get 100 credits to spend across the music endpoints and every other category - no card required. Credits are pay-as-you-go and never expire, so you can test /music-info/ and /music-posts/ at your own pace. Try both live in the in-browser playground before you write a line of code.

Start building with real-time TikTok data today.

Get 100 Free Credits View Docs