backtracestring
Backtrace for pagination, obtained from the last response
ค่าเริ่มต้น: ""
https://api.sandbase.ai/v1/api/douyin/search/music-searchReturns music search results from Douyin based on keywords and filters such as sort type, content type, and duration.
[
{
"data": {
"ad_info": {},
"cursor": 10,
"extra": {
"fatal_item_ids": [],
"logid": "202608201746586EB121083447BAD02630",
"now": 1787219219000,
"scenes": null,
"search_request_id": ""
},
"global_doodle_config": {
"keyword": "猫咪"
},
"has_more": 1,
"log_pb": {
"impr_id": "202608201746586EB121083447BAD02630",
"stab_extra": {
"traffic_identification": "normal"
}
},
"music": [
{
"album": "",
"artist_user_infos": null,
"artists": [],
"audition_duration": 19,
"author": "宋智敏",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0,
"can_background_play": true,
"collect_stat": 0,
"cover_color_hsv": {
"h": 35,
"s": 11,
"v": 88
},
"cover_hd": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_large": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_medium": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_thumb": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"dmv_auto_show": false,
"dsp_status": 10,
"duration": 19,
"end_time": 0,
"external_song_info": [],
"extra": "{\"dsp_switch\":0,\"has_edited\":0,\"reviewed\":0,\"music_tagging\":{\"Languages\":[\"non_vocal\"],\"Moods\":[\"Happy\",\"Cute\"],\"Genres\":null,\"Themes\":[\"Spring\",\"Summer\"],\"AEDs\":[\"non_vocal\"],\"SingingVersions\":[\"Seed\"],\"Instruments\":null},\"is_subsidy_exp\":false,\"aggregate_exempt_conf\":[],\"peak\":\"1.0618203\",\"cover_c…",
"id": 7259250675263719000,
"id_str": "7259250675263719484",
"is_audio_url_with_cookie": false,
"is_commerce_music": false,
"is_del_video": false,
"is_matched_metadata": false,
"is_original": false,
"is_original_sound": false,
"is_pgc": true,
"is_restricted": false,
"is_video_self_see": false,
"luna_info": {
"has_copyright": false,
"is_luna_user": false
},
"lyric_short_position": null,
"mid": "7259250675263719484",
"music_chart_ranks": null,
"music_collect_count": 0,
"music_cover_atmosphere_color_value": "",
"music_image_beats": {
"music_image_beats_url": {
"height": 720,
"uri": "tos-cn-v-2774c002/ooIZIAAAZYTLC4nl7eBJbZlBwATt3DAgDyLGBf",
"url_list": [
"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/ooIZIAAAZYTLC4nl7eBJbZlBwATt3DAgDyLGBf"
],
"width": 720
}
},
"music_status": 1,
"…": "29 more fields in the full response"
},
{
"album": "搞怪猫咪跳",
"artist_user_infos": null,
"artists": [],
"audition_duration": 59,
"author": "黄锦城",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0,
"can_background_play": true,
"collect_stat": 0,
"cover_color_hsv": {
"h": 32,
"s": 27,
"v": 46
},
"cover_hd": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_large": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_medium": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_thumb": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"dmv_auto_show": false,
"dsp_status": 10,
"duration": 59,
"end_time": 0,
"external_song_info": [],
"extra": "{\"review_unshelve_reason\":0,\"is_aed_music\":0,\"peak\":\"1.0480095\",\"dsp_switch\":0,\"has_edited\":0,\"schedule_search_time\":0,\"loudness\":\"-12.240083\",\"beats\":{\"audio_effect_onset\":\"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o8AEtABhEFC9dCAgEZiDCHe9lvWAtrpK0AMfB0\",\"beats_tracker\":\"https://sf…",
"id": 7568318771121097000,
"id_str": "7568318771121096731",
"is_audio_url_with_cookie": false,
"is_commerce_music": false,
"is_del_video": false,
"is_matched_metadata": false,
"is_original": false,
"is_original_sound": false,
"is_pgc": true,
"is_restricted": false,
"is_video_self_see": false,
"luna_info": {
"has_copyright": false,
"is_luna_user": false
},
"lyric_short_position": null,
"mid": "7568318771121096731",
"music_chart_ranks": null,
"music_collect_count": 0,
"music_cover_atmosphere_color_value": "",
"music_image_beats": {
"music_image_beats_url": {
"height": 720,
"uri": "tos-cn-v-2774c002/ocBAKiZj2h70BW9AsfdASdW2QhiPgAAEz0NtEy",
"url_list": [
"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/ocBAKiZj2h70BW9AsfdASdW2QhiPgAAEz0NtEy"
],
"width": 720
}
},
"music_status": 1,
"…": "29 more fields in the full response"
},
"… 8 more items in the full response"
],
"music_header_info_list": [],
"music_info_list": [
{
"card_type": 999,
"dynamic_patch": {
"card_type_name": "music_channel",
"height": 84,
"origin_type": 3,
"raw_data": "{\"music\":{\"id\":7259250675263719484,\"id_str\":\"7259250675263719484\",\"title\":\"我养的可爱猫咪 \",\"author\":\"宋智敏\",\"album\":\"\",\"cover_hd\":{\"uri\":\"tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.j…",
"schema": "aweme://lynxview/?channel=fe_lynx_main_v2_normal&bundle=music-card-vertical%2Ftemplate.js&group=fe_lynx_main_v2_normal&dynamic=1&ab_params=music_play_background_ab,enable_music_media_player,enable_music_media_player_ios,enable_client_music_log&surl=https%3A%2F%2Flf-sourcecdn-tos.bytegecko.com%2Fobj%…"
},
"music": {
"album": "",
"artist_user_infos": null,
"artists": [],
"audition_duration": 19,
"author": "宋智敏",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0,
"can_background_play": true,
"collect_stat": 0,
"cover_color_hsv": {
"h": 35,
"s": 11,
"v": 88
},
"cover_hd": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_large": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_medium": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_thumb": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"dmv_auto_show": false,
"dsp_status": 10,
"duration": 19,
"end_time": 0,
"external_song_info": [],
"extra": "{\"dsp_switch\":0,\"has_edited\":0,\"reviewed\":0,\"music_tagging\":{\"Languages\":[\"non_vocal\"],\"Moods\":[\"Happy\",\"Cute\"],\"Genres\":null,\"Themes\":[\"Spring\",\"Summer\"],\"AEDs\":[\"non_vocal\"],\"SingingVersions\":[\"Seed\"],\"Instruments\":null},\"is_subsidy_exp\":false,\"aggregate_exempt_conf\":[],\"peak\":\"1.0618203\",\"cover_c…",
"id": 7259250675263719000,
"id_str": "7259250675263719484",
"is_audio_url_with_cookie": false,
"is_commerce_music": false,
"is_del_video": false,
"is_matched_metadata": false,
"is_original": false,
"is_original_sound": false,
"is_pgc": true,
"is_restricted": false,
"is_video_self_see": false,
"luna_info": {
"has_copyright": false,
"is_luna_user": false
},
"lyric_short_position": null,
"mid": "7259250675263719484",
"music_chart_ranks": null,
"music_collect_count": 0,
"music_cover_atmosphere_color_value": "",
"music_image_beats": {
"music_image_beats_url": {
"height": 720,
"uri": "tos-cn-v-2774c002/ooIZIAAAZYTLC4nl7eBJbZlBwATt3DAgDyLGBf",เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a page of Douyin music search results for a search keyword. Each result is a music track with its author, duration, cover images and lyric URL. You can narrow results with sort_type, content_type, publish_time and filter_duration.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/music-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
backtrace | string | No | Backtrace for pagination, obtained from the last response |
content_type | string | No | Content type filter |
cursor | integer | No | Pagination cursor (0 for first request) |
filter_duration | string | No | Video duration filter |
keyword | string | No | Search keyword, e.g., "game background music" |
publish_time | string | No | Publish time filter |
search_id | string | No | Search ID for pagination |
sort_type | string | No | Sorting method |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ad_info": {},
"cursor": 10,
"extra": {
"fatal_item_ids": [],
"logid": "20261103153219CE98A368E9F20E36B9C7",
"now": 1793691139000,
"scenes": null,
"search_request_id": ""
},
"global_doodle_config": {
"keyword": "猫咪"
},
"has_more": 1,
"log_pb": {
"impr_id": "20261103153219CE98A368E9F20E36B9C7",
"stab_extra": {
"traffic_identification": "normal"
}
},
"music": [
{
"album": "",
"artist_user_infos": null,
"artists": [],
"audition_duration": 18,
"author": "念能先生",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0,
"can_background_play": true,
"collect_stat": 0,
"cover_color_hsv": {
"h": 53,
"s": 15,
"v": 96
},
"cover_hd": {
"height": 720,
"uri": "tos-cn-v-2774c002/ogCeF4XyiLHA6aOAIVIGYBeSIAQ4AAHeBaIVPz",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/ogCeF4XyiLHA6aOAIVIGY…"
],
"width": 720
}
}
],
"music_header_info_list": [],
"music_info_list": [
{
"card_type": 999,
"dynamic_patch": {
"card_type_name": "music_channel",
"height": 84,
"origin_type": 3,
"raw_data": "{\"music\":{\"id\":7702401322850748456,\"id_str\":\"7702401322850748456\",\"title\":\"小猫咪(剪…",
"schema": "aweme://lynxview/?channel=fe_lynx_main_v2_normal&bundle=music-card-vertical%2Fte…"
},
"music": {
"album": "",
"artist_user_infos": null,
"artists": [],
"audition_duration": 18,
"author": "念能先生",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0
},
"musics": null
}
],
"qc": "",
"render_type": 0,
"search_channel": "aweme_music"
}
| Field | Meaning |
|---|---|
music[].id / music[].id_str | Track ID as a number and as a string. Use the string form to avoid number precision problems. |
music[].author | Name of the track's author or artist. |
music[].duration / music[].audition_duration | Length values for the track, as whole numbers. They match each other in the sample items. |
music[].cover_hd / cover_large / cover_medium / cover_thumb | Cover image in four sizes. Each has url_list with image URLs, plus uri, width and height. |
music[].lyric_url | Link to the lyric file for the track. |
music[].is_original / is_original_sound / is_pgc / is_commerce_music | Flags that describe the track type, such as original audio, PGC or commercial music. |
music_info_list[].dynamic_patch.raw_data | JSON string of a music card. It holds the track title (the title key), which the main music[] items in this trimmed response do not show. |
has_more | Value 1 means more results are available for the next page. |
cursor | Cursor value returned for the next page request. This response returned 10. |
log_pb.impr_id | Search request ID for this response. It matches extra.logid in this sample. |
cursor as 0 for the first page. For the next page, pass the cursor value from the response.backtrace and search_id from the previous response.has_more to see whether another page exists.$0.01 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/douyin/search/music-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cursor": 0,
"keyword": "猫咪",
"backtrace": "",
"search_id": "",
"sort_type": "0",
"content_type": "0",
"publish_time": "0",
"filter_duration": "0"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
backtracestringBacktrace for pagination, obtained from the last response
ค่าเริ่มต้น: ""
content_typestringContent type filter
ค่าเริ่มต้น: "0"
cursorintegerPagination cursor (0 for first request)
ค่าเริ่มต้น: 0
filter_durationstringVideo duration filter
ค่าเริ่มต้น: "0"
keywordstringSearch keyword, e.g., "game background music"
ค่าเริ่มต้น: "猫咪"
publish_timestringPublish time filter
ค่าเริ่มต้น: "0"
search_idstringSearch ID for pagination
ค่าเริ่มต้น: ""
sort_typestringSorting method
ค่าเริ่มต้น: "0"
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"ad_info": {},
"cursor": 10,
"extra": {
"fatal_item_ids": [],
"logid": "202608201746586EB121083447BAD02630",
"now": 1787219219000,
"scenes": null,
"search_request_id": ""
},
"global_doodle_config": {
"keyword": "猫咪"
},
"has_more": 1,
"log_pb": {
"impr_id": "202608201746586EB121083447BAD02630",
"stab_extra": {
"traffic_identification": "normal"
}
},
"music": [
{
"album": "",
"artist_user_infos": null,
"artists": [],
"audition_duration": 19,
"author": "宋智敏",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0,
"can_background_play": true,
"collect_stat": 0,
"cover_color_hsv": {
"h": 35,
"s": 11,
"v": 88
},
"cover_hd": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_large": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_medium": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_thumb": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"dmv_auto_show": false,
"dsp_status": 10,
"duration": 19,
"end_time": 0,
"external_song_info": [],
"extra": "{\"dsp_switch\":0,\"has_edited\":0,\"reviewed\":0,\"music_tagging\":{\"Languages\":[\"non_vocal\"],\"Moods\":[\"Happy\",\"Cute\"],\"Genres\":null,\"Themes\":[\"Spring\",\"Summer\"],\"AEDs\":[\"non_vocal\"],\"SingingVersions\":[\"Seed\"],\"Instruments\":null},\"is_subsidy_exp\":false,\"aggregate_exempt_conf\":[],\"peak\":\"1.0618203\",\"cover_c…",
"id": 7259250675263719000,
"id_str": "7259250675263719484",
"is_audio_url_with_cookie": false,
"is_commerce_music": false,
"is_del_video": false,
"is_matched_metadata": false,
"is_original": false,
"is_original_sound": false,
"is_pgc": true,
"is_restricted": false,
"is_video_self_see": false,
"luna_info": {
"has_copyright": false,
"is_luna_user": false
},
"lyric_short_position": null,
"mid": "7259250675263719484",
"music_chart_ranks": null,
"music_collect_count": 0,
"music_cover_atmosphere_color_value": "",
"music_image_beats": {
"music_image_beats_url": {
"height": 720,
"uri": "tos-cn-v-2774c002/ooIZIAAAZYTLC4nl7eBJbZlBwATt3DAgDyLGBf",
"url_list": [
"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/ooIZIAAAZYTLC4nl7eBJbZlBwATt3DAgDyLGBf"
],
"width": 720
}
},
"music_status": 1,
"…": "29 more fields in the full response"
},
{
"album": "搞怪猫咪跳",
"artist_user_infos": null,
"artists": [],
"audition_duration": 59,
"author": "黄锦城",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0,
"can_background_play": true,
"collect_stat": 0,
"cover_color_hsv": {
"h": 32,
"s": 27,
"v": 46
},
"cover_hd": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_large": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_medium": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_thumb": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"dmv_auto_show": false,
"dsp_status": 10,
"duration": 59,
"end_time": 0,
"external_song_info": [],
"extra": "{\"review_unshelve_reason\":0,\"is_aed_music\":0,\"peak\":\"1.0480095\",\"dsp_switch\":0,\"has_edited\":0,\"schedule_search_time\":0,\"loudness\":\"-12.240083\",\"beats\":{\"audio_effect_onset\":\"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o8AEtABhEFC9dCAgEZiDCHe9lvWAtrpK0AMfB0\",\"beats_tracker\":\"https://sf…",
"id": 7568318771121097000,
"id_str": "7568318771121096731",
"is_audio_url_with_cookie": false,
"is_commerce_music": false,
"is_del_video": false,
"is_matched_metadata": false,
"is_original": false,
"is_original_sound": false,
"is_pgc": true,
"is_restricted": false,
"is_video_self_see": false,
"luna_info": {
"has_copyright": false,
"is_luna_user": false
},
"lyric_short_position": null,
"mid": "7568318771121096731",
"music_chart_ranks": null,
"music_collect_count": 0,
"music_cover_atmosphere_color_value": "",
"music_image_beats": {
"music_image_beats_url": {
"height": 720,
"uri": "tos-cn-v-2774c002/ocBAKiZj2h70BW9AsfdASdW2QhiPgAAEz0NtEy",
"url_list": [
"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/ocBAKiZj2h70BW9AsfdASdW2QhiPgAAEz0NtEy"
],
"width": 720
}
},
"music_status": 1,
"…": "29 more fields in the full response"
},
"… 8 more items in the full response"
],
"music_header_info_list": [],
"music_info_list": [
{
"card_type": 999,
"dynamic_patch": {
"card_type_name": "music_channel",
"height": 84,
"origin_type": 3,
"raw_data": "{\"music\":{\"id\":7259250675263719484,\"id_str\":\"7259250675263719484\",\"title\":\"我养的可爱猫咪 \",\"author\":\"宋智敏\",\"album\":\"\",\"cover_hd\":{\"uri\":\"tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.j…",
"schema": "aweme://lynxview/?channel=fe_lynx_main_v2_normal&bundle=music-card-vertical%2Ftemplate.js&group=fe_lynx_main_v2_normal&dynamic=1&ab_params=music_play_background_ab,enable_music_media_player,enable_music_media_player_ios,enable_client_music_log&surl=https%3A%2F%2Flf-sourcecdn-tos.bytegecko.com%2Fobj%…"
},
"music": {
"album": "",
"artist_user_infos": null,
"artists": [],
"audition_duration": 19,
"author": "宋智敏",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0,
"can_background_play": true,
"collect_stat": 0,
"cover_color_hsv": {
"h": 35,
"s": 11,
"v": 88
},
"cover_hd": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_large": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_medium": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"cover_thumb": {
"height": 720,
"uri": "tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg",
"https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/oUAbhexQCElZ2nNQImHANpAIFTDtvkSNgABeIm.jpeg"
],
"width": 720
},
"dmv_auto_show": false,
"dsp_status": 10,
"duration": 19,
"end_time": 0,
"external_song_info": [],
"extra": "{\"dsp_switch\":0,\"has_edited\":0,\"reviewed\":0,\"music_tagging\":{\"Languages\":[\"non_vocal\"],\"Moods\":[\"Happy\",\"Cute\"],\"Genres\":null,\"Themes\":[\"Spring\",\"Summer\"],\"AEDs\":[\"non_vocal\"],\"SingingVersions\":[\"Seed\"],\"Instruments\":null},\"is_subsidy_exp\":false,\"aggregate_exempt_conf\":[],\"peak\":\"1.0618203\",\"cover_c…",
"id": 7259250675263719000,
"id_str": "7259250675263719484",
"is_audio_url_with_cookie": false,
"is_commerce_music": false,
"is_del_video": false,
"is_matched_metadata": false,
"is_original": false,
"is_original_sound": false,
"is_pgc": true,
"is_restricted": false,
"is_video_self_see": false,
"luna_info": {
"has_copyright": false,
"is_luna_user": false
},
"lyric_short_position": null,
"mid": "7259250675263719484",
"music_chart_ranks": null,
"music_collect_count": 0,
"music_cover_atmosphere_color_value": "",
"music_image_beats": {
"music_image_beats_url": {
"height": 720,
"uri": "tos-cn-v-2774c002/ooIZIAAAZYTLC4nl7eBJbZlBwATt3DAgDyLGBf",
"url_list": [
"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/ooIZIAAAZYTLC4nl7eBJbZlBwATt3DAgDyLGBf"
],
"width": 720
}
},
"music_status": 1,
"…": "29 more fields in the full response"
},
"musics": null
},
{
"card_type": 999,
"dynamic_patch": {
"card_type_name": "music_channel",
"height": 84,
"origin_type": 3,
"raw_data": "{\"music\":{\"id\":7568318771121096731,\"id_str\":\"7568318771121096731\",\"title\":\"搞怪猫咪跳\",\"author\":\"黄锦城\",\"album\":\"搞怪猫咪跳\",\"cover_hd\":{\"uri\":\"tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS…",
"schema": "aweme://lynxview/?channel=fe_lynx_main_v2_normal&bundle=music-card-vertical%2Ftemplate.js&group=fe_lynx_main_v2_normal&dynamic=1&ab_params=music_play_background_ab,enable_music_media_player,enable_music_media_player_ios,enable_client_music_log&surl=https%3A%2F%2Flf-sourcecdn-tos.bytegecko.com%2Fobj%…"
},
"music": {
"album": "搞怪猫咪跳",
"artist_user_infos": null,
"artists": [],
"audition_duration": 59,
"author": "黄锦城",
"author_deleted": false,
"author_position": null,
"binded_challenge_id": 0,
"can_background_play": true,
"collect_stat": 0,
"cover_color_hsv": {
"h": 32,
"s": 27,
"v": 46
},
"cover_hd": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_large": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_medium": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"cover_thumb": {
"height": 720,
"uri": "tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg",
"https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/o4MgAGARQC7EMQQYa8zYaNKBeDecDAW9AfFAXS.jpeg"
],
"width": 720
},
"dmv_auto_show": false,
"dsp_status": 10,
"duration": 59,
"end_time": 0,
"external_song_info": [],
"extra": "{\"review_unshelve_reason\":0,\"is_aed_music\":0,\"peak\":\"1.0480095\",\"dsp_switch\":0,\"has_edited\":0,\"schedule_search_time\":0,\"loudness\":\"-12.240083\",\"beats\":{\"audio_effect_onset\":\"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o8AEtABhEFC9dCAgEZiDCHe9lvWAtrpK0AMfB0\",\"beats_tracker\":\"https://sf…",
"id": 7568318771121097000,
"id_str": "7568318771121096731",
"is_audio_url_with_cookie": false,
"is_commerce_music": false,
"is_del_video": false,
"is_matched_metadata": false,
"is_original": false,
"is_original_sound": false,
"is_pgc": true,
"is_restricted": false,
"is_video_self_see": false,
"luna_info": {
"has_copyright": false,
"is_luna_user": false
},
"lyric_short_position": null,
"mid": "7568318771121096731",
"music_chart_ranks": null,
"music_collect_count": 0,
"music_cover_atmosphere_color_value": "",
"music_image_beats": {
"music_image_beats_url": {
"height": 720,
"uri": "tos-cn-v-2774c002/ocBAKiZj2h70BW9AsfdASdW2QhiPgAAEz0NtEy",
"url_list": [
"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/ocBAKiZj2h70BW9AsfdASdW2QhiPgAAEz0NtEy"
],
"width": 720
}
},
"music_status": 1,
"…": "29 more fields in the full response"
},
"musics": null
},
"… 8 more items in the full response"
],
"qc": "",
"render_type": 0,
"search_channel": "aweme_music",
"status_code": 0
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Music SearchAPI นี้ Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/search/music-search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: backtrace (string), content_type (string), cursor (integer), filter_duration (string), keyword (string) และ publish_time (string) และอีก 2 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Music Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก