Get sound / music track detail
GET/v1/music/info10 Credits / request($1.00 / 1K requests)
Retrieve metadata for a TikTok sound or original audio track (data.id, data.title, data.author, data.play MP3 URL, data.video_count).
Query Parameters
urlstringrequiredTikTok music URL or numeric music ID.
Example:
7106594322274962182
Example Request (cURL / Python / JavaScript)
curl "https://api.shortvidapi.com/v1/music/info?url=7106594322274962182" \
-H "x-api-key: tk_your_api_key"Live Response Preview
{
"code": 0,
"provider": "https://shortvidapi.com",
"status": "ok",
"msg": "success",
"data": {
"id": "7231338505431288622",
"title": "original sound - tiktok",
"play": "https://sf16.tiktokcdn-us.com/obj/ies-music-tx/7231338526456204078.mp3",
"cover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&refresh_token=ca68001c&x-expires=1793631600&x-signature=2Rr2EsKYe6FbH3Vbm1uxH...",
"author": "TikTok",
"original": true,
"duration": 60,
"album": "",
"video_count": 62
}
}Response Fields
Success (code === 0). Charged according to the endpoint credit rate.
| Field | Type | Sample / Notes |
|---|---|---|
code | integer | Example: 0 |
provider | string | Example: https://shortvidapi.com |
status | string | Example: ok |
msg | string | Example: success |
data | object | |
id | string | Example: 7231338505431288622 |
title | string | Example: original sound - tiktok |
play | string | Example: https://sf16.tiktokcdn-us.com/obj/ies-music-tx/7231338526456 |
cover | string | Example: https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-006 |
author | string | Example: TikTok |
original | boolean | Example: true |
duration | integer | Example: 60 |
album | string | Example: |
video_count | integer | Example: 62 |
Status Codes
- 200
- Success (
code === 0). Charged according to the endpoint credit rate. - 400
- Invalid parameters, or API key placed in the URL query string (not charged).
- 401
- Missing or invalid
x-api-keyheader (not charged). - 402
- Insufficient credit balance (not charged).
- 403
- Account disabled (not charged).
- 404
- Unknown endpoint or disabled unstable endpoint (not charged).
- 405
- Method not allowed — all
/v1/*data endpoints useGET(not charged). - 429
- Rate limit exceeded (not charged). Respect the
Retry-Afterheader. - 503
- Temporary upstream or gateway error (not charged). Retry with exponential backoff.
Migrating from direct scraping and hitting HTTP 403 Forbidden or empty responses on www.tiktok.com? Read How to Fix TikTok HTTP Error 403 or compare quota limits in our TikTok API Quota & Cost Calculator.