Back to catalog

Tikhub · Social

获取音乐搜索/Fetch music search

[中文] ### 用途: - 获取抖音 App 中音乐内容的搜索结果。 - 支持关键词、排序方式、筛选条件等。 ### 备注: - 本接口专注于音乐类内容搜索,不包含其他类型内容。 - 初次请求时 cursor 传 0,searchid 传空字符串。 - 返回内容包含音乐基本信息、作者信息、封面、播放地址、标签等。 ### 参数: - keyword: 搜索关键词,例如 "游戏背景音乐" - cursor: 翻页游标(首次请求传 0,翻页时使用上次响应的 cursor) - sorttype: 排序方式 - 0: 综合排序 - 1: 最多点赞 - 2: 最新发布 - publishtime: 发布时间筛选 - 0: 不限 - 1: 最近一天 - 7: 最近一周 - 180: 最近半年 - filterduration: 视频时长筛选 - 0: 不限 - 0-1: 1 分钟以内 - 1-5: 1-5 分钟 - 5-10000: 5 分钟以上 - contenttype: 内容类型筛选 - 0: 不限 - 1: 视频 - 2: 图片 - 3: 文章 - searchid: 搜索ID(分页时使用) ### 请求体示例: ### 返回(部分常用字段,实际返回字段更多,一切以实际响应为准): - music: 音乐结果列表 - idstr: 音乐ID(字符串格式) - title: 音乐标题 - author: 音乐作者昵称 - album: 所属专辑(如果有) - playurl.urllist: 音乐播放地址列表 - duration: 音乐时长(秒) - coverthumb.urllist: 缩略封面图片列表 - covermedium.urllist: 中尺寸封面图片列表 - coverlarge.urllist: 高清封面图片列表 - usercount: 使用该音乐的作品数量 - isoriginal: 是否原创音乐 - iscommercemusic: 是否为商业授权音乐 - lyricurl: 歌词文件链接(如果有) - strongbeaturl.urllist: 音乐节奏点文件链接 - tags: 音乐标签 - 如:主题(如游戏、Vlog)、情绪(如Funny)、风格(如8-bit, Electronic) - artists: 音乐关联的创作者列表(如果有) - artistname: 艺人昵称 - uid: 艺人UID - covercolorhsv: 封面主色调HSV值 - canbackgroundplay: 是否支持后台播放 # [English] ### Purpose: - Fetch music content search results from Douyin App. - Supports filtering by keyword, sort type, etc. ### Notes: - This API focuses on music content search, excluding other types. - Set cursor to 0 and searchid to an empty string for the first request. - Response includes music basic info, artist info, covers, play URLs, tags, etc. ### Parameters: - keyword: Search keyword, e.g., "game background music" - cursor: Pagination cursor (0 for first request) - sorttype: Sorting method - 0: Comprehensive - 1: Most likes - 2: Latest - publish_time: Publish time filter - 0: Unlimited - 1: Last day - `

Private Gateway connection

Data below comes from the configured private Gateway. Provider activation remains governed by its evidence and policy gates.

unverifiedRequest shape unavailableUnverified
Published API evidence
Public metadata only. Response bodies, credentials, and internal review notes are never displayed.

No verification date is claimed. No response capture is claimed.

Request parameters

  • backtrace body · optional

    翻页回溯标识,用于翻页,从上一次请求返回的响应中获取 / Backtrace for pagination, obtained from the last response

  • content_type body · optional

    内容类型:0=不限 1=视频 2=图片 3=文章 / Content type: 0=All, 1=Video, 2=Picture, 3=Article

  • cursor body · optional

    偏移游标,用于翻页,从上一次请求返回的响应中获取 / Offset cursor for pagination, obtained from the last response

  • filter_duration body · optional

    视频时长过滤:0=不限 0-1=一分钟以内 1-5=一到五分钟 5-10000=五分钟以上 / Video duration filter: 0=Unlimited, 0-1=Within 1 minute, 1-5=1 to 5 minutes, 5-10000=More than 5 minutes

  • keyword body · optional

    关键词 / Keyword

  • publish_time body · optional

    发布时间筛选:0=不限 1=最近一天 7=最近一周 180=最近半年 / Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year

  • search_id body · optional

    搜索ID,用于翻页,从上一次请求返回的响应中获取 / Search ID for pagination, obtained from the last response

  • sort_type body · optional

    排序方式:0=综合排序 1=最多点赞 2=最新发布 / Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest

Sign in to run this operation, inspect live eligibility, and see governed execution and audit evidence. Sign in.