YepAPI

Command Palette

Search for a command to run...

POST/v1/tiktok/music

TikTok Music Info API

Get TikTok music/sound details. Trending audio research from $0.01/call.

Fetch details about a TikTok music/sound by URL. Returns music metadata, usage stats, and author information.

Try it live

Fill in the fields and hit Run to see a real response.

POST/v1/tiktok/music
Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": {
    "music": {
      "id": "7234567890",
      "title": "Original Sound",
      "authorName": "creator",
      "playCount": 5000000
    }
  }
}

Features

Music metadata

Submit a TikTok sound URL and receive the track's full details, including its numeric music ID and title needed by other endpoints.

Usage statistics

The response includes a playCount reflecting how widely the sound is being used across TikTok videos.

Author information

Each result returns the authorName behind the sound, identifying the original creator or artist of the track.

Sound details

Returns the descriptive attributes of the audio, letting you confirm exactly which sound a URL resolves to.

Use cases

Trending Audio

Research trending sounds and music on TikTok.

Music Analytics

Track how specific sounds perform and spread across TikTok.

Quick start

Copy this snippet and start making calls.

const res = await fetch('https://api.yepapi.com/v1/tiktok/music', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "url": "https://www.tiktok.com/music/original-sound-7234567890"
  }),
});
const data = await res.json();
console.log(data);

TikTok Music Info API for trending sound research

The YepAPI TikTok Music Info API resolves a sound URL into its full details. Paste a music link and get the track's title, original author, usage play count, and — critically — its numeric music ID, the key that unlocks every video using that sound.

It is the lookup endpoint for audio research. Use the music ID it returns with the TikTok Music Videos API to see how a sound spreads, or pair it with the TikTok Search API to discover sounds by keyword first.

What is a TikTok Music Info API?

A TikTok Music Info API takes the URL of a sound or song and returns its structured metadata rather than the audio page. With YepAPI you POST a music url to /v1/tiktok/music and receive a music object containing the track's id, title, authorName, and a playCount measuring how widely it is used. Because TikTok has no open endpoint for sound data, this provides reliable access to any public track's details — and the numeric music ID it returns is the prerequisite for finding every video built on that sound.

Build your own trending-audio research tool

Use this endpoint to build an audio-research tool for creators and marketers chasing the next viral sound. Resolve a sound URL to capture its playCount and author, snapshot that count over time to detect rising tracks, and feed the music ID into the Music Videos API to study how creators are using it. Spotting a sound early can make or break a post's reach. One YepAPI key spans TikTok, YouTube, and Instagram, so your trend tooling can cover audio across platforms.

TikTok Music Info API pricing — $0.01 per call

Each sound lookup costs $0.01 and returns the track's full metadata plus its numeric ID. There is no subscription. Monitoring 100 trending sounds daily to watch their usage climb costs about $1 per day, and resolving a one-off batch of 500 sound URLs runs around $5 — predictable, usage-based pricing.

The music ID that unlocks sound virality

The TikTok Music Videos API needs a numeric music_id, not a URL — and this endpoint is where you get it. One lookup converts a sound link into the ID required to pull every video using that track. Treat Music Info as the entry point to audio analysis: resolve the sound, capture its usage stats, then trace its spread. Without this ID, sound-level virality tracking is impossible, which makes this the first call in any audio-trend pipeline.

Try the TikTok Music Info API free

Begin with $5 of free credit and no credit card. That covers 500 sound lookups — enough to resolve a library of trending tracks and prototype audio tooling before you pay. Sign up, grab your key, and look up your first sound now.

Start making API calls in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Fetch details about a TikTok music/sound by URL. Returns music metadata, usage stats, and author information.

Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.

Sign up for a free API key, then send a POST request to /v1/tiktok/music. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.

YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.

Ready to integrate?

Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.

More tiktok api endpoints