Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

TikTok Music Details

Документация API
https://api.sandbase.ai/v1/api/tiktok/app-v3/music-detail

Returns detailed track information for a specific audio track on TikTok using its identifier, including connected DSP song mappings.

Цена
$0.001USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 0 необязательных

Песочница

Ввод
Music id
ВыходПример
Ответoutputs · 15.5 KB · 310 строк
[
  {
    "data": {
      "ai_recommend_music": null,
      "ai_recommend_video": null,
      "behind_the_song_exist": false,
      "cost_time_info": {
        "music_server_cost_time": 211
      },
      "extra": {
        "fatal_item_ids": [],
        "logid": "202610061239312A9F6A3DE3853BBE4106",
        "now": 1791290371000
      },
      "log_pb": {
        "impr_id": "202610061239312A9F6A3DE3853BBE4106"
      },
      "msg": "success",
      "music_chart_rank": {
        "chart_music_info": "{\"currentTabId\":0,\"tabList\":[{\"tabId\":0,\"tabNameKey\":\"music_chart_top_50_title\",\"tabName\":\"music_chart_top_50_title\",\"currentMusicId\":\"\"},{\"tabId\":1,\"tabNameKey\":\"music_chart_viral_50_title\",\"tabName\":\"music_chart_viral_50_title\",\"currentMusicId\":\"\"}]}",
        "desc": "Music Charts",
        "link_style": {
          "bg_end_color": 12881901,
          "bg_start_color": 9405693
        }
      },
      "music_info": {
        "album": "Minecraft - Volume Alpha",
        "allow_offline_music_to_detail_page": false,
        "artists": [
          {
            "avatar": {
              "uri": "tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9",
              "url_list": [
                "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9~tplv-tiktokx-cropcenter:168:168.webp?dr=10397&refresh_token=594c18b5&x-expires=1791374400&x-signature=CQRW%2BY5kY%2FdTPZix8%2B%2F3oJh9AOw%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a",
                "https://p19-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9~tplv-tiktokx-cropcenter:168:168.webp?dr=10397&refresh_token=3ab4021b&x-expires=1791374400&x-signature=Ta481N2cdUnn%2BNIK2ayGEK%2BXEGs%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a",
                "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9~tplv-tiktokx-cropcenter:168:168.jpeg?dr=10397&refresh_token=9d02c782&x-expires=1791374400&x-signature=1%2Fb3%2BeqnQbXco5zbINDuy7eox4Y%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a"
              ],
              "url_prefix": null
            },
            "enter_type": 2,
            "follow_status": 0,
            "follower_status": 0,
            "handle": "c418",
            "is_block": false,
            "is_blocked": false,
            "is_private_account": false,
            "is_verified": true,
            "is_visible": false,
            "nick_name": "C418",
            "sec_uid": "MS4wLjABAAAAxrKNI-I7Qvhqi72NG5QIP9o3LUpcy5rW4JqvEcb_Ajd68cn89E_XMABNYa2mrdUf",
            "status": 1,
            "uid": "6860674014860641286"
          }
        ],
        "audition_duration": 60,
        "author": "C418",
        "author_deleted": false,
        "author_position": null,
        "avatar_medium": {
          "height": 720,
          "uri": "musically-maliva-obj/1594805258216454",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-eu.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:720:720.webp?dr=10399&refresh_token=ef0cbf52&x-expires=1791374400&x-signature=uxf%2BCIrBo%2BYoG3WDVYQgieJr4Fk%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a",
            "https://p19-common-sign.tiktokcdn-eu.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:720:720.webp?dr=10399&refresh_token=8451c6fe&x-expires=1791374400&x-signature=DkqNE8GPR45HSZzMsKOLTTKN1%2F8%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a",
            "https://p16-common-sign.tiktokcdn-eu.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=f113b90b&x-expires=1791374400&x-signature=dwb9pzvo9JKP6RRu5LrrzQCyGvM%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a"
          ],
          "url_prefix": null,
          "width": 720
        },
        "avatar_thumb": {
          "height": 720,
          "uri": "musically-maliva-obj/1594805258216454",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-eu.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.webp?dr=10399&refresh_token=bc3996db&x-expires=1791374400&x-signature=sZH5jIdyeVVTINHs2iiFH5C2hM8%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a",
            "https://p19-common-sign.tiktokcdn-eu.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.webp?dr=10399&refresh_token=397e4853&x-expires=1791374400&x-signature=E9mFsCbDg6UkQrufRiVPZGr%2FWEw%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a",
            "https://p16-common-sign.tiktokcdn-eu.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.jpeg?dr=10399&refresh_token=d6f6d5c6&x-expires=1791374400&x-signature=7DrYb4z%2FtRpNMXL5QNQ3BWuK2ek%3D&t=4d5b0474&ps=13740610&shp=544a444f&shcp=f6441914&idc=no1a"
          ],
          "url_prefix": null,
          "width": 720
        },
        "binded_challenge_id": 0,
        "can_be_stitched": true,
        "can_not_reuse": false,
        "collect_stat": 0,
        "commercial_right_type": 3,
        "cover_large": {
          "height": 720,
          "uri": "tos-alisg-v-2774/oU0bIgQnDGFslkAOAJLiDzOAAaQAfCfBIAeuEI",
          "url_list": [
            "https://p16-sg.tiktokcdn.com/aweme/720x720/tos-alisg-v-2774/oU0bIgQnDGFslkAOAJLiDzOAAaQAfCfBIAeuEI.jpeg"
          ],
          "url_prefix": null,
          "width": 720
        },
        "cover_medium": {
          "height": 720,
          "uri": "tos-alisg-v-2774/oU0bIgQnDGFslkAOAJLiDzOAAaQAfCfBIAeuEI",
          "url_list": [
            "https://p16-sg.tiktokcdn.com/aweme/200x200/tos-alisg-v-2774/oU0bIgQnDGFslkAOAJLiDzOAAaQAfCfBIAeuEI.jpeg"
          ],
          "url_prefix": null,
          "width": 720
        },
        "cover_thumb": {
          "height": 720,
          "uri": "tos-alisg-v-2774/oU0bIgQnDGFslkAOAJLiDzOAAaQAfCfBIAeuEI",
          "url_list": [
            "https://p16-sg.tiktokcdn.com/aweme/100x100/tos-alisg-v-2774/oU0bIgQnDGFslkAOAJLiDzOAAaQAfCfBIAeuEI.jpeg"
          ],
          "url_prefix": null,
          "width": 720
        },
        "create_time": 1616549537,
        "dmv_auto_show": false,
        "duration": 60,
        "duration_high_precision": {
          "audition_duration_precision": 60,
          "duration_precision": 60,
          "shoot_duration_precision": 60,
          "video_duration_precision": 60
        },
        "external_song_info": [],
        "extra": "{\"aed_music_dur\":59.97,\"amplitude_peak\":1.0450754,\"apple_song_id\":424968547,\"beats\":{\"audio_effect_onset\":\"https://sf77-ies-music-sg.tiktokcdn.com/obj/tos-alisg-v-2774/a6374adc601f438abdbb5de8876618f4\",\"beats_tracker\":\"https://sf16-music.tiktokcdn-eu.com/obj/tos-alisg-v-2774/69be13a33e7a4bc3ab6846a1bba69ccd\",\"energy_trace\":\"https://sf16-music.tiktokcdn-eu.com/obj/tos-alisg-v-2774/2c14809e902646c08083b00e1b05da95\",\"merged_beats\":\"https://sf16-music.tiktokcdn-eu.com/obj/tos-alisg-v-2774/ec614ddc8d4d4d4785d67a649ff1e114\"},\"can_read\":true,\"can_reuse\":true,\"erase_type\":0,\"erase_uid\":0,\"from_user_id…",
        "has_commerce_right": false,
        "has_commerce_right_strict": false,
        "id": 6943027371519773000,
        "id_str": "6943027371519772674",
        "is_audio_url_with_cookie": false,
        "is_author_artist": true,
        "is_commerce_music": true,
        "is_commerce_music_strict": true,
        "is_matched_metadata": false,
        "is_original": false,
        "is_original_sound": false,
        "is_pgc": true,
        "is_shooting_allow": true,
        "log_extra": "{\"meta_song_matched_type\":\"pgc\",\"ttm_matched_type\":\"\",\"ttm_track_id\":\"\",\"matched_meta_song_id\":\"\",\"vid\":\"\",\"owner_id\":\"\"}",
        "lyric_short_position": null,
        "matched_song": {
          "author": "C418",
          "chorus_info": {
            "duration_ms": 42048,
            "start_ms": 55488
          },
          "choruses": null,
          "cover_medium": {
            "height": 720,
            "uri": "tos-alisg-v-2774/oU0bIgQnDGFslkAOAJLiDzOAAaQAfCfBIAeuEI",
            "url_list": [
              "https://p16-sg.tiktokcdn.com/aweme/200x200/tos-alisg-v-2774/oU0bIgQnDGFslkAOAJLiDzOAAaQAfCfBIAeuEI.jpeg"
            ],
            "url_prefix": null,
            "width": 720
          },
          "full_duration": 186250,
          "h5_url": "",
          "id": "6943027351618619394",
          "performers": null,
          "title": "Cat",
          "verses": null
        },
        "meme_song_info": {},
        "mid": "6943027371519772674",
        "multi_bit_rate_play_info": [
          {
            "bit_rate": 129610,
            "dub_infos": null,
            "gear_name": "higher",
            "play_addr": {
              "url_list": [
                "https://v45.tiktokcdn-eu.com/5a24835f55377e01a334f0ffed33460f/6ac63dbf/video/tos/alisg/tos-alisg-ve-2774/owIvf8dsQEcgIkqDu7SaCDfCwYH0gBlfAFyFjz/?a=1233&bti=OnYpenFxQGo4NDZAOm1rbGhyYCMvNTNg&&bt=126&ft=cD1VS7z7ThWHJ-y7LGZmo0P&mime_type=audio_mp4&rc=aDQ2OmVpPDk3aGZpN2Y6NkBpM2gzcHg5cnVxODMzODlkNEA0NDIuNS4zNTYxLjIzNTIwYSNfLmZgMmRzY2RhLS1kYS1zcw%3D%3D&vvpl=1&l=202610061239312A9F6A3DE3853BBE4106&btag=e00095000&sp_exp=hash_v0",
                "https://v16m.tiktokcdn-eu.com/435290a152c7b39914ee97ef5e848d8b/6ac63dbf/video/tos/alisg/tos-alisg-ve-2774/owIvf8dsQEcgIkqDu7SaCDfCwYH0gBlfAFyFjz/?a=1233&bti=OnYpenFxQGo4NDZAOm1rbGhyYCMvNTNg&&bt=126&ft=cD1VS7z7ThWHJ-y7LGZmo0P&mime_type=audio_mp4&rc=aDQ2OmVpPDk3aGZpN2Y6NkBpM2gzcHg5cnVxODMzODlkNEA0NDIuNS4zNTYxLjIzNTIwYSNfLmZgMmRzY2RhLS1kYS1zcw%3D%3D&vvpl=1&l=202610061239312A9F6A3DE3853BBE4106&btag=e00090000&sp_exp=hash_v0"
              ],
              "url_prefix": null
            },
            "quality_type": 6
          },
          {
            "bit_rate": 65628,
            "dub_infos": null,
            "gear_name": "medium",
            "play_addr": {
              "url_list": [
                "https://v45.tiktokcdn-eu.com/76db0fe5513e490fdb11ba0e53542da2/6ac63dbf/video/tos/alisg/tos-alisg-ve-2774/oQcCvyfEW0zgPYJQmCFSF7TDAsgrBDDffuwaB8/?a=1233&bti=OnYpenFxQGo4NDZAOm1rbGhyYCMvNTNg&&bt=64&ft=cD1VS7z7ThWHJ-y7LGZmo0P&mime_type=audio_mp4&rc=aTc7OTs2NWZkOGg3Zzg3ZkBpM2gzcHg5cnVxODMzODlkNEBjYTAuXy0xX2MxYTI2YmBfYSNfLmZgMmRzY2RhLS1kYS1zcw%3D%3D&vvpl=1&l=202610061239312A9F6A3DE3853BBE4106&btag=e00095000&sp_exp=hash_v0",
                "https://v16m.tiktokcdn-eu.com/54eab68d990174fe1836afe82d3f8325/6ac63dbf/video/tos/alisg/tos-alisg-ve-2774/oQcCvyfEW0zgPYJQmCFSF7TDAsgrBDDffuwaB8/?a=1233&bti=OnYpenFxQGo4NDZAOm1rbGhyYCMvNTNg&&bt=64&ft=cD1VS7z7ThWHJ-y7LGZmo0P&mime_type=audio_mp4&rc=aTc7OTs2NWZkOGg3Zzg3ZkBpM2gzcHg5cnVxODMzODlkNEBjYTAuXy0xX2MxYTI2YmBfYSNfLmZgMmRzY2RhLS1kYS1zcw%3D%3D&vvpl=1&l=202610061239312A9F6A3DE3853BBE4106&btag=e00090000&sp_exp=hash_v0"
              ],
              "url_prefix": null
            },
            "quality_type": 3
          },
          {
            "bit_rate": 257681,
            "dub_infos": null,
            "gear_name": "highest",
            "play_addr": {
              "url_list": [
                "https://v45.tiktokcdn-eu.com/014fc35c0c4350f474774aa5aa95f1ab/6ac63dbf/video/tos/alisg/tos-alisg-ve-2774/ogDCrg7vYCBwgQEMffz7aK8DGfFsuAc0gyFDFS/?a=1233&bti=OnYpenFxQGo4NDZAOm1rbGhyYCMvNTNg&&bt=251&ft=cD1VS7z7ThWHJ-y7LGZmo0P&mime_type=audio_mp4&rc=Zmc0OmVlNTg4PDdkOjM4N0BpM2gzcHg5cnVxODMzODlkNEAuMjFfYi00X2AxY18tYjItYSNfLmZgMmRzY2RhLS1kYS1zcw%3D%3D&vvpl=1&l=202610061239312A9F6A3DE3853BBE4106&btag=e00095000&sp_exp=hash_v0",
                "https://v16m.tiktokcdn-eu.com/ab8ca77593522e2e51e3a18f57eb2716/6ac63dbf/video/tos/alisg/tos-alisg-ve-2774/ogDCrg7vYCBwgQEMffz7aK8DGfFsuAc0gyFDFS/?a=1233&bti=OnYpenFxQGo4NDZAOm1rbGhyYCMvNTNg&&bt=251&ft=cD1VS7z7ThWHJ-y7LGZmo0P&mime_type=audio_mp4&rc=Zmc0OmVlNTg4PDdkOjM4N0BpM2gzcHg5cnVxODMzODlkNEAuMjFfYi00X2AxY18tYjItYSNfLmZgMmRzY2RhLS1kYS1zcw%3D%3D&vvpl=1&l=202610061239312A9F6A3DE3853BBE4106&btag=e00090000&sp_exp=hash_v0"
              ],
              "url_prefix": null
            },
            "quality_type": 7
          }
        ],
        "music_release_info": {
          "group_release_date": 1299168000,
          "is_new_release_song": false
        },
        "mute_share": false,
        "offline_desc": "",
        "owner_handle": "",
        "owner_nickname": "",
        "play_url": {
          "height": 720,
          "uri": "https://sf16-music.tiktokcdn-eu.com/obj/tos-alisg-ve-2774/owIvf8dsQEcgIkqDu7SaCDfCwYH0gBlfAFyFjz",
          "url_list": [
            "https://sf16-music.tiktokcdn-eu.com/obj/tos-alisg-ve-2774/owIvf8dsQEcgIkqDu7SaCDfCwYH0gBlfAFyFjz"
          ],
          "url_prefix": null,
          "width": 720
        },
        "position": null,
        "prevent_download": false,
        "preview_end_time": 0,
        "preview_start_time": 43,
        "recommend_status": 100,
        "same_group_id_v3": 6943027892498483000,
        "share_info": {
          "bool_persist": 0,
          "now_invitation_card_image_urls": null,
          "share_desc": "Check out this song! Cat #TikTok",
          "share_desc_info": "Users all over the world are having fun making their own versions of the song Cat on TikTok! Tap here >>",
          "share_quote": "",
          "share_signature_desc": "",
          "share_signature_url": "",
          "share_title": "Amazing! I just found a bunch of funny videos! #TikTok > Cat",
          "share_title_myself": "",
          "share_title_other": "",
          "share_url": "https://www.tiktok.com/music/Cat-6943027371519772674?_r=1&sharer_language=en&source=h5_m&u_code=elg8ak2jb1f6d4&_d=elh9449h1g90h2&share_music_id=6943027371519772674"
        },
        "shoot_duration": 60,
        "sim_group_id_v3": 281922050,
        "source_platform": 10033,
        "status": 1,
        "strong_beat_url": {
          "height": 720,
          "uri": "https://sf16-music.tiktokcdn-eu.com/obj/tos-alisg-v-2774/owfySAZyzBTNAFXAhGQgCsGAh7cNEWFAWykQEz",
          "url_list": [
            "https://sf16-music.tiktokcdn-eu.com/obj/tos-alisg-v-2774/owfySAZyzBTNAFXAhGQgCsGAh7cNEWFAWykQEz"
          ],
          "url_prefix": null,
          "width": 720
        },
        "suggest_words": {
          "suggest_words": [
            {
              "scene": "search_hint",
              "words": [
                {
                  "word": "Cat",
                  "word_id": "5551788924572171038"
                }
              ]
            }
          ]
        },
        "tag_list": null,
        "theme_tags": [
          "SoundTrack",
          "Game"
        ],
        "title": "Cat",
        "tt_to_dsp_song_infos": [
          {
            "button_type": 2,
            "platform": 1,
            "song_id": "1867885635",
            "token": {
              "apple_music_token": {
                "developer_token": "eyJhbGciOiJFUzI1NiIsImtpZCI6Ikc2Q0dLMjdWQzMifQ.eyJleHAiOjE3OTE4MTg0NTgsImlhdCI6MTc5MTIxMzY1OCwiaXNzIjoiTUo3OTdEOFU2RiJ9.IfpGPhrJ186AnFJY3qqccrBgXqEwJCOQM7ymj2QEzvP0ozPEVgOVCnvq01Kg_o42MwbQvyZbIFjQmxmTHZRiAg"
              }
            }
          },
          {
            "button_type": 2,
            "platform": 2,
            "song_id": "B004R98IIQ"
          },
          {
            "button_type": 2,
            "platform": 3,
            "song_id": "6jKBCAD6bistV2SrVUmKfW"
          },
          "… 3 more items in the full response"
        ],
        "uncert_artists": null,
        "user_count": 38691,
        "vid_volume_info": "{\"Loudness\":-14.2,\"Peak\":1}",
        "video_duration": 60

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в playground.

README по API

TikTok Music Details API

Returns details for one TikTok audio track, including title, artist, album, duration, cover images and the matched full-length song. It needs one input, music_id, the TikTok identifier of the track.

Use cases

  • Read the title, artist and album of a sound that appears in a TikTok video.
  • Check whether a track is a licensed catalog song (is_pgc) or an original sound (is_original_sound).
  • Get the chorus start time and full song length of the matched song to pick a clip segment.
  • Download artist avatar and cover image URLs to show a track card in your own app.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/music-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"music_id": "6943027371519772674"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
music_idstringYesMusic id

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "ai_recommend_music": null,
  "ai_recommend_video": null,
  "behind_the_song_exist": false,
  "cost_time_info": {
    "music_server_cost_time": 243
  },
  "extra": {
    "fatal_item_ids": [],
    "logid": "20261103074355EBF9DC594D9008405170",
    "now": 1793691836000
  },
  "log_pb": {
    "impr_id": "20261103074355EBF9DC594D9008405170"
  },
  "msg": "success",
  "music_chart_rank": {
    "chart_music_info": "{\"currentTabId\":0,\"tabList\":[{\"tabId\":0,\"tabNameKey\":\"music_chart_top_50_title\",…",
    "desc": "Music Charts",
    "link_style": {
      "bg_end_color": 12881901,
      "bg_start_color": 9405693
    }
  },
  "music_info": {
    "album": "Minecraft - Volume Alpha",
    "allow_offline_music_to_detail_page": false,
    "artists": [
      {
        "avatar": {
          "uri": "tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e9a5867e4f1c3c626f9…"
          ],
          "url_prefix": null
        },
        "enter_type": 2,
        "follow_status": 0,
        "follower_status": 0,
        "handle": "c418",
        "is_block": false,
        "is_blocked": false,
        "is_private_account": false,
        "is_verified": true,
        "is_visible": false,
        "nick_name": "C418",
        "sec_uid": "MS4wLjABAAAAxrKNI-I7Qvhqi72NG5QIP9o3LUpcy5rW4JqvEcb_Ajd68cn89E_XMABNYa2mrdUf"
      }
    ],
    "audition_duration": 60,
    "author": "C418",
    "author_deleted": false,
    "author_position": null,
    "avatar_medium": {
      "height": 720,
      "uri": "tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9",
      "url_list": [
        "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e9a5867e4f1c3c626f9…"
      ],
      "url_prefix": null,
      "width": 720
    },
    "avatar_thumb": {
      "height": 720,
      "uri": "tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9",
      "url_list": [
        "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e9a5867e4f1c3c626f9…"
      ],
      "url_prefix": null,
      "width": 720
    },
    "binded_challenge_id": 0,
    "can_be_stitched": true,
    "can_not_reuse": false
  },
  "rec_list": [],
  "similar_music": [],
  "similar_music_ids": null
}

Response fields

FieldMeaning
music_info.id_strThe track ID as a string. Use this form to avoid number rounding in some JSON parsers.
music_info.author / music_info.albumThe artist name and album name shown for the track.
music_info.duration / music_info.audition_durationLength of the track and of its preview, as whole numbers. Both are 60 in this response.
music_info.create_timeUnix timestamp in seconds for when the track was created on TikTok.
music_info.artists[].nick_name / music_info.artists[].handleDisplay name and handle of each artist account linked to the track.
music_info.artists[].is_verifiedWhether the artist account is verified.
music_info.is_pgc / music_info.is_original_sound / music_info.is_commerce_musicFlags for how the track is classified: catalog track, user-made original sound, or commercial music.
music_info.matched_song.titleTitle of the full song that TikTok matched to this audio track.
music_info.matched_song.full_durationLength of the full matched song. The value 186250 matches the millisecond fields beside it.
music_info.matched_song.chorus_info.start_ms / music_info.matched_song.chorus_info.duration_msWhere the chorus starts and how long it lasts, in milliseconds.
music_info.cover_large.url_list[]Cover image URLs for the track at 720x720.

Notes

  • Take music_id from a video's music data, or from TikTok Music Search.
  • Call TikTok Music Video List next to see videos that use the track.
  • music_info.extra and music_chart_rank.chart_music_info are JSON strings. Parse them again to read their contents.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
TikTok$0.001 за запросJSON
TikTok$0.001 за запросJSON
TikTok$0.01 за запросJSON
TikTok$0.001 за запросJSON
TikTok$0.001 за запросJSON
TikTok$0.001 за запросJSON

Руководства:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API TikTok Music Details?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/tiktok/app-v3/music-detail, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API TikTok Music Details?

$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API TikTok Music Details?

Обязательные: music_id (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API TikTok Music Details?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика TikTok или API key?

Нет. TikTok Music Details работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API TikTok.