music_idstringbắt buộc
Music id
https://api.sandbase.ai/v1/api/tiktok/app-v3/music-video-listRetrieves a paginated list of videos associated with a specific TikTok audio track. Filter results by music ID and control pagination using cursor values.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns a page of TikTok videos that use a given audio track. Each item in aweme_list holds the video ID, caption, creation time, content type, author, and details about the sound. The only required input is music_id.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/music-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"music_id": "6943027371519772674"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
music_id | string | Yes | Music id |
count | integer | No | Number |
cursor | integer | No | Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"added_sound_music_info": {
"album": "Minecraft - Volume Alpha",
"allow_offline_music_to_detail_page": false,
"artists": [
{
"avatar": {
"uri": "tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9",
"url_list": [
"https://p19-common-sign.tiktokcdn-us.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
}
],
"audition_duration": 60,
"author": "C418",
"author_deleted": false,
"author_position": null,
"avatar_medium": {
"data_size": 0,
"height": 720,
"uri": "tos-maliva-avt-0068/e9a5867e4f1c3c626f99bfe5ddecf9b9",
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/e9a5867e4f1c3c626f9…"
],
"url_prefix": null,
"width": 720
}
},
"ai_remix_info": {
"has_entrance": false
},
"aigc_info": {
"aigc_label_type": 0,
"created_by_ai": false
},
"anchors": null,
"anchors_extras": "",
"animated_image_info": {
"effect": 0,
"type": 0
},
"author": {
"ad_cover_url": null,
"authority_status": 0,
"avatar_168x168": {
"data_size": 0,
"height": 720,
"uri": "tos-useast8-avt-0068-tx2/d940dd5caf8453dceba50b7ed24de018",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d940dd5caf8453…"
],
"url_prefix": null,
"width": 720
},
"avatar_300x300": {
"data_size": 0,
"height": 720,
"uri": "tos-useast8-avt-0068-tx2/d940dd5caf8453dceba50b7ed24de018",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d940dd5caf8453…"
],
"url_prefix": null,
"width": 720
},
"avatar_larger": {
"data_size": 0,
"height": 720,
"uri": "tos-useast8-avt-0068-tx2/d940dd5caf8453dceba50b7ed24de018",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d940dd5caf8453…"
],
"url_prefix": null,
"width": 720
},
"avatar_medium": {
"data_size": 0,
"height": 720,
"uri": "tos-useast8-avt-0068-tx2/d940dd5caf8453dceba50b7ed24de018",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d940dd5caf8453…"
],
"url_prefix": null,
"width": 720
},
"avatar_thumb": {
"data_size": 0,
"height": 720,
"uri": "tos-useast8-avt-0068-tx2/d940dd5caf8453dceba50b7ed24de018",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d940dd5caf8453…"
],
"url_prefix": null,
"width": 720
},
"cha_list": null
},
"author_user_id": 7491661076202816558,
"aweme_acl": {
"download_general": {
"code": 0,
"extra": "#",
"mute": false,
"show_type": 2,
"transcode": 3
},
"download_mask_panel": {
"code": 0,
"extra": "#",
"mute": false,
"show_type": 2,
"transcode": 3
},
"platform_list": null,
"press_action_list": null,
"share_action_list": [
{
"action_id": "create_sticker",
"code": 1,
"extra": "216",
"show_type": 1,
"toast_msg": "Create sticker isn’t available for this video"
}
],
"share_general": {
"code": 0,
"extra": "#",
"mute": false,
"show_type": 2,
"transcode": 3
},
"share_list_status": 0
},
"aweme_id": "7582341697078562079",
"aweme_type": 150,
"banners": [
{
"key": {
"component_key": "bottom_banner_search_rs"
}
}
]
}
],
"can_pin_video": false,
"cursor": 12,
"extra": {
"fatal_item_ids": [],
"logid": "202611030743571E3E334FDA8FA102C913",
"now": 1793691837000
},
"has_more": 1,
"log_pb": {
"impr_id": "202611030743571E3E334FDA8FA102C913"
},
"need_lazy_loading": false,
"status_code": 0,
"status_msg": "",
"version": "v2"
}
| Field | Meaning |
|---|---|
aweme_list[].aweme_id | ID of the video, as a string. Use it to look up the video in other video APIs. |
aweme_list[].desc | Caption of the video, including its hashtags. |
aweme_list[].create_time | Time the video was posted. The value looks like a Unix timestamp in seconds. |
aweme_list[].content_type | Kind of post, for example multi_photo for a photo post or video for a regular video. |
aweme_list[].author_user_id | Numeric ID of the account that posted the video. |
aweme_list[].author.avatar_thumb.url_list | Image links for the poster's avatar. The avatar_168x168, avatar_300x300, avatar_medium and avatar_larger fields hold other sizes of the same image. |
aweme_list[].added_sound_music_info.author | Name of the artist credited for the sound, for example C418. |
aweme_list[].added_sound_music_info.album | Album name of the sound, when TikTok has one. |
aweme_list[].cha_list[].cha_name / aweme_list[].cha_list[].cid | Name and ID of each hashtag attached to the video. |
music_id from a music search or music detail call, for example TikTok Music Search or TikTok Music Details.cursor as 0 for the first page. For the next page, send the cursor value from the previous response. Use count to set how many videos come back per page.aweme_id to TikTok Video Details to get the full record for one video.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/music-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 10,
"cursor": 0,
"music_id": "6943027371519772674"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
music_idstringbắt buộcMusic id
countintegerNumber
Mặc định: 10
cursorintegerCursor, used for paging, the first page is 0, the second page is the cursor value in the first response.
Mặc định: 0
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
TikTok Music Video ListAPI này TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.01 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/app-v3/music-video-list với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.
Bắt buộc: music_id (string). Tùy chọn: count (integer) và cursor (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. TikTok Music Video List chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.