- MoreAPI接口说明
- 更新记录
- 抖音API
- 获取视频详情POST
- 获取视频详情 V3POST
- 获取视频详情V4POST
- 获取用户信息POST
- 获取用户信息 _V2POST
- 获取用户信息 _V3POST
- 获取用户信息 _V4POST
- 获取直播间信息与视频流直链POST
- 获取视频一级评论POST
- 获取视频子评论POST
- 综合搜索POST
- 获取开放直播间用户列表POST
- 搜索话题POST
- 获取话题视频POST
- 获取视频弹幕POST
- 搜索用户POST
- 搜索用户V2POST
- 搜索用户V3POST
- 搜索直播用户POST
- 搜索直播用户V2POST
- 获取视频短连接POST
- 生成视频抖音码POST
- 获取用户主页发布POST
- 获取直播间商品列表POST
- 搜索视频POST
- 搜索音乐POST
- 获取音乐详情POST
- 获取话题详情POST
- 获取音乐相关视频POST
- 搜索视频V2POST
- 获取用户最新作品V2POST
- 获取用户合集POST
- 获取合集视频列表POST
- 搜索用户指定作品POST
- 用户喜欢的作品POST
- 搜索长尾关键词POST
- 热点讨论POST
- 获取短剧详细信息POST
- 获取短剧视频列表POST
- 获取用户短剧集POST
- 用户橱窗销售信息POST
- 获取合集信息POST
- TikTok
- Lemon8
- 快手API
- 小红书API
- 微博API
- 哔哩哔哩API
- 头条 | 西瓜 API
- 榜单API
- youtube
- cookie池
- 创作者API
获取音乐相关视频
正式环境
正式环境
POST
请求参数
Body 参数application/json
music_id
string
必需
share_text
string
必需
cursor
string
必需
count
string
必需
示例
{
"music_id":"6797687709520365570",
"share_text":"",
"cursor":"",
"count":"10"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/douyin/music_aweme' \
--header 'Content-Type: application/json' \
--data-raw '{
"music_id":"6797687709520365570",
"share_text":"",
"cursor":"",
"count":"10"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
status_code
integer
必需
aweme_list
null
必需
has_more
integer
必需
cursor
integer
必需
ad_info
object
必需
extra
object
必需
log_pb
object
必需
backtrace
string
必需
data
array [object {24}]
必需
global_doodle_config
object
必需
path
string
必需
示例
{ "code": 200, "msg": "success", "data": { "status_code": 0, "music": [ { "id": 6797687709520365570, "id_str": "6797687709520365570", "title": "兰亭序", "author": "周杰伦", "album": "魔杰座", "cover_hd": { "uri": "tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180", "url_list": [ "https://p26.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180.jpeg", "https://p11.douyinpic.com/aweme/1080x1080/tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180.jpeg" ], "width": 720, "height": 720 }, "cover_large": { "uri": "tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180", "url_list": [ "https://p26.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180.jpeg", "https://p11.douyinpic.com/aweme/720x720/tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180.jpeg" ], "width": 720, "height": 720 }, "cover_medium": { "uri": "tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180", "url_list": [ "https://p26.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180.jpeg", "https://p11.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180.jpeg" ], "width": 720, "height": 720 }, "cover_thumb": { "uri": "tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180", "url_list": [ "https://p26.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180.jpeg", "https://p11.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/35e249a7e926449e96c7e542e9ec3180.jpeg" ], "width": 720, "height": 720 }, "play_url": { "uri": "https://sf5-hl-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/a98aab6a827d47eba27a06afdb44a0a1", "url_list": [ "https://sf5-hl-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/a98aab6a827d47eba27a06afdb44a0a1", "https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/a98aab6a827d47eba27a06afdb44a0a1" ], "width": 720, "height": 720, "url_key": "6797687709520365570" }, "schema_url": "", "source_platform": 10033, "start_time": 0, "end_time": 0, "duration": 60, "extra": "{\"reviewed\":0,\"review_unshelve_reason\":0,\"schedule_search_time\":0,\"music_label_id\":1074,\"hit_high_follow_extend\":false,\"hit_high_follow_original\":false,\"dsp_switch\":2,\"beats\":{\"audio_effect_onset\":\"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/oYP1AHbAmQWv65EajGs2FxYbfeAECzAxeKQlFB\",\"beats_tracker\":\"https://sf5-hl-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/okfZgXnAAIlAeCYz1DbBZZdrNGY2LytDCDAguI\",\"energy_trace\":\"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/oULylAIZzAnZgxCdI0CtB81f4CeNZXiDGASSbA\",\"merged_beats\":\"https://sf5-hl-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/ogHAIa12lNxIhIaz6LvKiA5m0AaPfCABFeJ3fC\"},\"douyin_beats_info\":{},\"cover_colors\":{\"rgb\":[144,82,36]},\"is_subsidy_exp\":false,\"aggregate_exempt_conf\":[],\"aed_music_score\":0.07,\"has_edited\":0,\"hotsoon_review_time\":-1,\"aed_singing_score\":0.91,\"activities\":[10006,10004],\"music_tagging\":{\"Languages\":[\"Chinese\"],\"Moods\":[\"Miss\",\"Sorrow\"],\"Genres\":[\"Pop\",\"Chinese Pop\",\"Chinese Style\",\"China-Wave\"],\"Themes\":[\"Autumn\",\"Love\",\"Rainy\"],\"AEDs\":[\"Vocal\"],\"SingingVersions\":[\"republished version\"],\"Instruments\":null},\"is_red\":0,\"is_aed_music\":1,\"with_aed_model\":1,\"is_high_follow_user\":false}", "user_count": 444522, "position": null, "collect_stat": 0, "status": 1, "offline_desc": "", "owner_nickname": "", "is_original": false, "mid": "6797687709520365570", "binded_challenge_id": 0, "redirect": false, "is_restricted": false, "author_deleted": false, "is_del_video": false, "is_video_self_see": fals
修改于 2024-09-25 17:15:56