Introducing the Instagram APIRead more →

TikTok Sound API. Send a sound link or ID.

Sound or song with its artists and post count. We handle the proxies, blocks and platform changes.

TikTok Sound API at a glance

Returns a TikTok sound, a catalog track or a creator's original audio, from its link or ID, with its title, artists and how many posts use it. You also get the artists' TikTok accounts, clip length, cover art, an audio file link, album, the track's Spotify and Apple Music pages, and for an original sound the song TikTok matched its audio to.

GET /v1/tiktok/sound

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 14 typed fields null when unknown
  • url is all it needs, e.g. https://www.tiktok.com/music/Different-Acoustic-6717159721276540930
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 14 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.tiktok.com/music/Different-Acoustic-6717159721276540930
GET /v1/tiktok/soundTry in
const params = new URLSearchParams({
  url: "https://www.tiktok.com/music/Different-Acoustic-6717159721276540930",
});
const res = await fetch(`https://socialtap.dev/v1/tiktok/sound?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/tiktok/soundDocs

One schema on 2 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field TikTok doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    A TikTok sound link (the sound page's tiktok.com/music/Different-Acoustic-6717159721276540930, or a share page's tiktok.com/share/music/6717159721276540930) or the sound's numeric ID (the clip ID at the end of that link, the music.id of a post).

  • Write one parser

    TikTok and Instagram answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, instagram, …).
idstring
Platform-native sound ID (string), the one in its page's URL; equals the ID a post's sound reference carries.
urlstring
Canonical page of the sound, listing the posts that use it; null where the platform has none (Facebook).
titlestring
Sound or track title as shown (an original sound's generated title, e.g. "original sound - <name>", included).
author_namestring
Who the platform credits for the sound: a track's artist(s) as one display string, or the creator's name for an original sound.
authorsobject[]
The platform accounts behind author_name (a track's artists, or the creator of an original sound), in the platform's order; [] when none is linked.
is_originalboolean
An original sound a creator uploaded or recorded (false: a catalogue or licensed track).
duration_msinteger
Length of the audio the platform serves for the sound, in milliseconds (TikTok: the usable clip, often shorter than the full song).

What teams build with the TikTok Sound API.

  • Find the song behind a trending sound

  • Track how many videos use a sound

  • Get a track's Spotify and Apple Music links

  • Group original sounds by their matched song

Good to know before you build.

  • TikTok rounds large post counts, and approximate_fields lists them.
  • duration_ms is the clip TikTok serves for the sound, often shorter than the full song.
  • play_url and cover_url are TikTok CDN links that expire.
  • An original sound's streaming_links are []: the song TikTok matched its audio to is platform_specific.tiktok.matched_song, with its ID and streaming pages (its title isn't served logged out).
  • is_commercial_music is TikTok's own is_commerce_music flag, not a license check: TikTok sets it on original sounds and leaves it false on many licensed tracks.
  • If TikTok's sound detail is down, the answer comes from the sound's embed page with only its artist credit, cover and post count; the other fields are null, and authors and streaming_links are listed in unknown_fields.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the TikTok Sound API.

More in the API reference.

How much does the TikTok Sound API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs