TikTok Music detail API

Read the details of one TikTok sound by music_id: title, author_name, album, use_count, is_original and is_copyrighted, for $0.56 per 1,000 calls.

  • music_id also takes the sound page link https://www.tiktok.com/music/<name>-<ID>
  • One call reads one sound and returns one object
  • Failed calls and empty results are not charged.

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

  1. 1Request

    POST /api/v1/social
    {
      "platform": "tiktok",
      "action": "music_detail",
      "params": {
        "music_id": "7252896191606835201"
      }
    }
  2. 2JSON response

    {
      "results": {
        "author_name": "T•••t",
        "title": "Enchanted (Taylor's Version)",
        "album": "Speak Now (Taylor's Version)",
        "duration_seconds": 60,
        …
      }
    }
  3. 3Fields

    author_nametitlealbumduration_seconds
    T•••tEnchanted (Taylor's Version)Speak Now (Taylor's Version)60
  4. 4CSV

    tiktok-music_detail-sample.csv id,url,title,author_name,author_username,author_id,author_sec_uid,album,duration_seconds,duration_sec,use_count,is_original,is_commercial,is_copyrighted,is_private,cover_image_url,audio_url,platform

A request with music_id goes in, and one JSON object comes back with fields such as title and use_count, listed as a field table and a CSV file.

What data you get

The table shows a real call for 7252896191606835201, captured November 21, 2026 at 07:21 (UTC), that returned one object; gray bars mark removed personal information (••• in the CSV). Your own calls return these fields as listed in the field reference.

idurltitleauthor_nameauthor_usernameauthor_idauthor_sec_uidalbumduration_secondsduration_secuse_countis_originalis_commercialis_copyrightedis_privatecover_image_urlaudio_urlplatform
https://www.tiktok.com/music/Enchanted-(Taylor's-Version)-7252896191606835201Enchanted (Taylor's Version)T•••tnullnullnullSpeak Now (Taylor's Version)6060439400falsenulltruenullhttps://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/ooblA8sF6kVQIgDoS6ZeutinBeACpIZPVEQCAB~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5https://sf16.tiktokcdn-us.com/obj/tos-alisg-ve-2774/oQMfgHZ2yCAQeFFzvD7YinadqsaaALfRnJ4DEgtiktok

Use cases

  • Check how much a sound is used

    Read use_count to see how many videos used the sound, and read it again later to compare.

  • Read the copyright and library flags

    is_copyrighted marks whether the music is protected by copyright, is_commercial marks whether it is in the commercial library, and is_private marks whether it is private.

  • Find the author of an original sound

    Read author_username and author_id. Original sounds also carry author_sec_uid, so you can read that account next.

  • Get the album and a preview link

    Read album, duration_seconds and audio_url.

Limits and gotchas

  • music_id is required. It is a music ID (the id of a music_search or music_chart row, or the id inside music of a video row), or a sound page link.
  • author_sec_uid exists only for original sounds.
  • use_count is the number of videos that used this sound.
  • audio_url is signed and expires, so do not keep it for the long term.

Pricing

You pay $0.000556 per call. One call reads one result. Failed calls and empty results are not charged.

CallsCost
10,000$5.56
100,000$55.56
1,000,000$555.56

Totals use the list price per call.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "tiktok",
  "action": "music_detail",
  "params": {
    "music_id": "7252896191606835201"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

API reference

See the parameters, response fields, errors and billing for music_detail, and copy the page or open it as Markdown for an AI assistant.

POST

AI prompt

#
Please help me write a data collection script with the EveryInfra TikTok Music detail endpoint (tiktok/music_detail).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to tiktok and action to music_detail, and put the parameters inside params.
- Required parameters:
  - music_id: A numeric music ID, such as the id from music_search or music_chart or a video's music.id, or a https://www.tiktok.com/music/<name>-<ID> link.
- Returns one object. Main fields: id, url, title, author_name, author_username, author_id, author_sec_uid, album, duration_seconds, duration_sec, use_count, is_original; 17 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=tiktok.
- Example request body:
{
  "platform": "tiktok",
  "action": "music_detail",
  "params": {
    "music_id": "7252896191606835201"
  }
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYestiktokPlatform identifier, fixed value.
actionbodystringYesmusic_detailCapability identifier, fixed value.
music_idbody.paramsstringYes-A numeric music ID, such as the id from music_search or music_chart or a video's music.id, or a https://www.tiktok.com/music/<name>-<ID> link.

Response example

#
Captured November 21, 2026 at 07:21 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed. id, billing and quota differ on every call, so only their shape is shown.
json
{  "id": "req_…",  "platform": "tiktok",  "action": "music_detail",  "results": {    "id": "•••",    "url": "https://www.tiktok.com/music/Enchanted-(Taylor's-Version)-7252896191606835201",    "title": "Enchanted (Taylor's Version)",    "author_name": "T•••t",    "album": "Speak Now (Taylor's Version)",    "duration_seconds": 60,    "use_count": 439400,    "is_original": false,    "is_copyrighted": true,    "cover_image_url": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/ooblA8sF6kVQIgDoS6ZeutinBeACpIZPVEQCAB~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9584&t=4d5b0474&ps=933b5bde&shp=08d74b56&shcp=81f88b70&idc=useast5",    "audio_url": "https://sf16.tiktokcdn-us.com/obj/tos-alisg-ve-2774/oQMfgHZ2yCAQeFFzvD7YinadqsaaALfRnJ4DEg",    "platform": "tiktok",    "duration_sec": 60  },  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
titleTitle. null when the platform has no titles (for example text-only posts).
author_nameAuthor's display name.
author_usernameAuthor's username (@handle), usually usable in URLs.
author_idAuthor's unique ID on the platform.
author_sec_uidKeeps the platform's own meaning
albumKeeps the platform's own meaning
duration_secondsDuration in seconds. null for content that is not video or audio.
duration_secKeeps the platform's own meaning
use_countKeeps the platform's own meaning
is_originalKeeps the platform's own meaning
is_commercialKeeps the platform's own meaning
is_copyrightedKeeps the platform's own meaning
is_privateKeeps the platform's own meaning
cover_image_urlKeeps the platform's own meaning
audio_urlKeeps the platform's own meaning
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

FAQ

Which fields does the music details API return?

id, url, title, author_name, author_username, author_id, author_sec_uid, album, duration_seconds, use_count, is_original, is_commercial, is_copyrighted, is_private, cover_image_url and audio_url.

Where do I get the music ID?

Take it from the id of a music_search or music_chart row, from the id inside music of a video row, or paste the sound page link.

How much does it cost to read the details of one sound?

It costs $0.000556 per call, or $0.56 per 1,000 calls. One call reads one result. Failed calls and empty results are not charged.

You can call the other TikTok endpoints with the same EveryInfra API key, for example sound_videos.

Google Analytics needs consent. Privacy