Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
cursor
传 0,search_id
传空字符串。0
: 综合排序1
: 最多点赞2
: 最新发布0
: 不限1
: 最近一天7
: 最近一周180
: 最近半年0
: 不限0-1
: 1 分钟以内1-5
: 1-5 分钟5-10000
: 5 分钟以上0
: 不限1
: 视频2
: 图片3
: 文章payload = {
"keyword": "游戏背景音乐",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "0",
"search_id": ""
}
music
: 音乐结果列表id_str
: 音乐ID(字符串格式)title
: 音乐标题author
: 音乐作者昵称album
: 所属专辑(如果有)play_url.url_list
: 音乐播放地址列表duration
: 音乐时长(秒)cover_thumb.url_list
: 缩略封面图片列表cover_medium.url_list
: 中尺寸封面图片列表cover_large.url_list
: 高清封面图片列表user_count
: 使用该音乐的作品数量is_original
: 是否原创音乐is_commerce_music
: 是否为商业授权音乐lyric_url
: 歌词文件链接(如果有)strong_beat_url.url_list
: 音乐节奏点文件链接tags
: 音乐标签artists
: 音乐关联的创作者列表(如果有)artist_name
: 艺人昵称uid
: 艺人UIDcover_color_hsv
: 封面主色调HSV值can_background_play
: 是否支持后台播放cursor
to 0 and search_id
to an empty string for the first request.0
: Comprehensive1
: Most likes2
: Latest0
: Unlimited1
: Last day7
: Last week180
: Last half year0
: Unlimited0-1
: Under 1 minute1-5
: 1 to 5 minutes5-10000
: Over 5 minutes0
: Unlimited1
: Video2
: Image3
: Articlepayload = {
"keyword": "game background music",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "0",
"search_id": ""
}
music
: List of music search resultsid_str
: Music ID (as string)title
: Music titleauthor
: Music author's nicknamealbum
: Album name (if any)play_url.url_list
: List of music play URLsduration
: Duration in secondscover_thumb.url_list
: List of thumbnail cover URLscover_medium.url_list
: List of medium-sized cover URLscover_large.url_list
: List of large-sized cover URLsuser_count
: Number of videos using this musicis_original
: Whether it is original musicis_commerce_music
: Whether it is commercial musiclyric_url
: Lyrics file URL (if available)strong_beat_url.url_list
: Beat timing file URLstags
: Music tagsartists
: List of associated artists (if any)artist_name
: Artist nameuid
: Artist UIDcover_color_hsv
: Dominant HSV color of the covercan_background_play
: Whether background playback is supportedAuthorization: Bearer ********************
{
"keyword": "猫咪",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "0",
"search_id": ""
}
curl --location --request POST 'https://api.tikhub.io/api/v1/douyin/search/fetch_music_search' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"keyword": "猫咪",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "0",
"search_id": ""
}'
{
"code": 200,
"request_id": "string",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "2025-09-16 03:14:36",
"time_stamp": 1758017676,
"time_zone": "America/Los_Angeles",
"docs": "string",
"router": "",
"params": {},
"data": null
}