Platforms/TikTok/Music

TikTok Sound API

GET ยท 5 credits

Send a sound's id or link, and get its title, author, length, cover, audio and how many videos use it.

GET /v1/tiktok/music

What people use it for

  • Trending sounds: track how many videos use a sound, day after day.
  • Music marketing: follow a song's spread on TikTok after a release.

How it works with other endpoints

Sound ids come from Video's music.id. The same id goes to Music videos for the videos that use it.

Limits

  • One sound a call.
  • Slower than most calls: 10 to 40 seconds.
  • A sound TikTok doesn't have answers 404 NOT_FOUND.

Example request

const url = `${process.env.API_URL}/v1/tiktok/music?music_id=7676191753623488558`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
music_idNoA sound's id: music.id from the video endpoint, or the digits at the end of its link. Give music_id or url.
urlNoA sound's link: tiktok.com/music/<name>-<id>. Give music_id or url.

Example response

{
  "data": {
    "id": "7676191753623488558",
    "title": "original sound",
    "author": "MrBeast",
    "original": true,
    "duration_seconds": 58,
    "cover": "https://p16-sign.tiktokcdn-us.com/obj/music-cover.jpeg",
    "url": "https://www.tiktok.com/music/original-sound-7676191753623488558",
    "audio_url": "https://sf16-ies-music.tiktokcdn.com/obj/audio.mp3",
    "video_count": 12000
  },
  "page": null,
  "meta": {
    "platform": "tiktok",
    "endpoint": "music",
    "params": {
      "music_id": "7676191753623488558"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 5 credits, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Where do sound ids come from?

From music.id on Video, or the digits at the end of a sound's link (tiktok.com/music/<name>-<id>).

What does original mean?

Whether the sound was made with a video, rather than a song from TikTok's library.

How long does a call take?

10 to 40 seconds.

Works with

TikTok guides

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required