Skip to content
tiktokapi.io
All endpoints

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

  • urlstringrequired

    TikTok music URL or numeric music ID.

    Example: 7106594322274962182

Example Request (cURL / Python / JavaScript)

curl "https://api.tiktokapi.io/v1/music/info?url=7106594322274962182" \
  -H "x-api-key: tk_your_api_key"

Live Response Preview

{
  "code": 0,
  "msg": "success",
  "processed_time": 0.15,
  "data": {}
}

Response Fields

Success (code === 0). Charged according to the endpoint credit rate.

FieldTypeSample / Notes
codeintegerExample: 0
msgstringExample: success
processed_timenumberExample: 0.15
dataobject

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-key header (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 use GET (not charged).
429
Rate limit exceeded (not charged). Respect the Retry-After header.
503
Temporary upstream or gateway error (not charged). Retry with exponential backoff.