Get a sound's details by music URL or numeric music ID. Returns its title, artist, album, duration, playback URL, cover image, and the number of videos using it.
curl "https://apidirect.io/v1/tiktok/music?url=https://www.tiktok.com/music/Face-Off-7016547803243022337" -H "X-API-Key: YOUR_API_KEY"
{
"music": {
"music_id": "7016547803243022337",
"title": "Face Off - Dwayne Johnson",
"artist": "Tech N9ne & Joey Cool & King Iso & Dwayne Johnson",
"album": "Face Off - Dwayne Johnson",
"is_original": false,
"duration": 60,
"play_url": "https://sf16-ies-music-sg.tiktokcdn.com/.../audio.mp3",
"cover": "https://p16-sg.tiktokcdn.com/.../cover.jpeg",
"video_count": 729613,
"url": "https://www.tiktok.com/music/Face-Off-Dwayne-Johnson-7016547803243022337"
}
}
It is the number at the end of a TikTok music URL, and every video returned by the other TikTok endpoints carries it as music_id.
You only pay for successful requests. The TikTok Music Details API costs $0.006 per request. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.
No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.
Yes, there's a concurrency limit of 10 simultaneous requests per endpoint per user. If you need more, just get in touch.
Get your API key and start making requests in minutes. 50 requests/month free every month.
Get API Key