YepAPI

Command Palette

Search for a command to run...

POST/v1/tiktok/music-videos

TikTok Music Videos API

Get videos using a specific TikTok sound/music. Viral audio tracking from $0.01/call.

Fetch all videos using a specific music/sound on TikTok. Returns video metadata with pagination.

Try it live

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

POST/v1/tiktok/music-videos

Numeric music ID (get from Music Info API)

Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": {
    "videos": [
      {
        "id": "7234567890",
        "desc": "Using this sound!",
        "stats": {
          "playCount": 100000
        }
      }
    ],
    "cursor": "20",
    "hasMore": true
  }
}

Features

Videos by music/sound

Provide a numeric music_id and retrieve every video built on that sound, returned as a paginated videos array.

Video metadata

Each video includes its id and description, identifying exactly which posts adopted the track.

Engagement stats

Every video carries a stats object with playCount, so you can find the top-performing posts using a sound.

Cursor pagination

Cursor and hasMore fields let you page through all videos using a viral sound, however many there are.

Use cases

Sound Virality

Track how a specific sound spreads across TikTok videos.

Trend Participation

Find examples of how creators use specific trending sounds.

Quick start

Copy this snippet and start making calls.

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

TikTok Music Videos API to track a sound's spread

The YepAPI TikTok Music Videos API returns every video built on a specific sound. Supply the numeric music ID and page through all the posts using that track — each with its own engagement stats — to measure exactly how a sound is spreading across TikTok.

It is the payoff for sound research: get the music ID from the TikTok Music Info API, then use this endpoint to track virality. Enrich any standout post with the TikTok Video API for the full picture.

What is a TikTok Music Videos API?

A TikTok Music Videos API lists all the videos that use a particular sound, identified by its numeric music ID. Where Music Info describes the track, this shows the track in action across creators. With YepAPI you POST a music_id to /v1/tiktok/music-videos and receive a videos array, each entry holding an id, desc, and stats object, plus cursor pagination. Because TikTok has no open endpoint for sound-based discovery, this gives you structured access to a sound's full footprint — the basis for measuring audio virality and trend participation.

Build your own sound-virality tracker

This endpoint powers a sound-virality tracker. Resolve a sound to its music_id with the Music Info API, then pull every video using it and aggregate playCount to gauge total reach and momentum. Snapshot the volume of videos over time to see whether a sound is accelerating or fading, and browse top entries for examples of how creators apply it. Enrich standouts with the TikTok Video API. One YepAPI key also covers YouTube and Instagram, so your trend tooling spans every short-form platform.

TikTok Music Videos API pricing — $0.01 per call

Each call costs $0.01 and returns one page of videos (default 20) plus a cursor. You pay per page, so depth is your choice. Pulling 1,000 videos for a viral sound across 50 pages costs about $0.50 — cheap enough to track the full spread of multiple trending sounds at once and refresh the data daily.

Measure trend participation, not just track stats

A sound's overall play count tells you popularity in aggregate; enumerating the actual videos tells you who is participating and how well their posts perform. By pulling the full list and sorting by playCount, you can identify the creators driving a sound's spread, find the format that works best with it, and quantify whether a trend is still worth jumping on. That participation-level view is exactly what this endpoint provides.

Try the TikTok Music Videos API free

Start with $5 in free credit and no credit card. That is 500 page fetches — enough to track the spread of several trending sounds before you pay. Sign up, copy your key, and pull videos for 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 all videos using a specific music/sound on TikTok. Returns video metadata with pagination.

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-videos. 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