music_idstringจำเป็น
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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก 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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
music_idstringจำเป็นMusic id
countintegerNumber
ค่าเริ่มต้น: 10
cursorintegerCursor, used for paging, the first page is 0, the second page is the cursor value in the first response.
ค่าเริ่มต้น: 0
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok Music Video ListAPI นี้ 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
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/app-v3/music-video-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: music_id (string). ตัวเลือก: count (integer) และ cursor (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok Music Video List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก