音乐作品信息
带 mp3 播放地址与使用量的音乐详情,个别原声不回播放地址时用 `musicAwemeList`;免鉴权版本用 `guestMusicInfo`。
Authorization
bearerAuth AuthorizationBearer <token>
仅在 startServer 传了 token 时生效
In: header
Query Parameters
music_id*string
音乐 ID(mid)
Length
1 <= lengthResponse Body
application/json
application/json
curl -X GET "https://example.com/api/douyin/fetch_music_work?music_id=string"{ "success": true, "data": { "detail_page_labels": null, "disable_music_activity_setting": true, "extra": { "fatal_item_ids": [ null ], "logid": "string", "now": 0 }, "feature_data": {}, "follow_shoot_buttons": null, "high_upload_ratio": 0, "log_pb": { "impr_id": "string" }, "lora_model_ids": null, "msg": "string", "music_activity_resource_infos": null, "music_info": { "album": "string", "artist_user_infos": null, "artists": [ null ], "audition_duration": 0, "author": "string", "author_deleted": true, "author_position": null, "author_status": 0, "avatar_large": { "height": 0, "uri": "string", "url_list": [ "string" ], "width": 0 }, "avatar_medium": { "height": 0, "uri": "string", "url_list": [ "string" ], "width": 0 }, "avatar_thumb": { "height": 0, "uri": "string", "url_list": [ "string" ], "width": 0 }, "binded_challenge_id": 0, "can_background_play": true, "collect_stat": 0, "cover_hd": { "height": 0, "uri": "string", "url_list": [ "string" ], "width": 0 }, "cover_large": { "height": 0, "uri": "string", "url_list": [ "string" ], "width": 0 }, "cover_medium": { "height": 0, "uri": "string", "url_list": [ "string" ], "width": 0 }, "cover_thumb": { "height": 0, "uri": "string", "url_list": [ "string" ], "width": 0 }, "dmv_auto_show": true, "dsp_status": 0, "duration": 0, "end_time": 0, "external_song_info": [ null ], "extra": "string", "id": 0, "id_str": "string", "is_audio_url_with_cookie": true, "is_commerce_music": true, "is_del_video": true, "is_matched_metadata": true, "is_original": true, "is_original_sound": true, "is_pgc": true, "is_restricted": true, "is_video_self_see": true, "luna_info": { "is_luna_user": true }, "lyric_short_position": null, "material_use_count": 0, "mid": "string", "music_caption_url": "string", "music_chart_ranks": null, "music_collect_count": 0, "music_cover_atmosphere_color_value": "string", "music_status": 0, "musician_user_infos": null, "mute_share": true, "offline_desc": "string", "original_musician_display_name": "string", "owner_handle": "string", "owner_id": "string", "owner_nickname": "string", "pgc_music_type": 0, "play_url": { "height": 0, "uri": "string", "url_key": "string", "url_list": [ "string" ], "width": 0 }, "position": null, "prevent_download": true, "prevent_item_download_status": 0, "preview_end_time": 0, "preview_start_time": 0, "reason_type": 0, "redirect": true, "schema_url": "string", "search_impr": { "entity_id": "string" }, "sec_uid": "string", "share_info": { "bool_persist": 0, "share_desc": "string", "share_desc_info": "string", "share_quote": "string", "share_signature_desc": "string", "share_signature_url": "string", "share_title": "string", "share_title_myself": "string", "share_title_other": "string", "share_url": "string", "share_weibo_desc": "string" }, "shoot_duration": 0, "show_origin_clip": true, "source_platform": 0, "start_time": 0, "status": 0, "tag_list": null, "talent_hashtag_name_list": null, "title": "string", "trend_music_start_time": 0, "unshelve_countries": null, "user_count": 0, "video_duration": 0 }, "rec_list": [ null ], "related_effects": null, "related_musics": null, "small_banner": [ null ], "status_code": 0, "trends_infos": null }, "error": { "kind": "validation", "code": "string", "message": "string", "retryable": true, "platform": { "code": "string", "message": "string" }, "http": { "status": 0, "statusText": "string" }, "issues": [ { "path": "string", "message": "string", "received": null } ] }, "message": "string", "meta": { "requestId": "string", "clientId": "string", "platform": "douyin", "endpoint": "string", "durationMs": 0, "attempts": 0, "trace": [ { "url": "string", "method": "string", "status": 0, "durationMs": 0, "reason": "initial", "retryOf": "string" } ] }, "requestPath": "/api/bilibili/fetch_one_video?bvid=BV1xx"}