获取指定关键词的音乐搜索结果/Get music search results of specified keywords
TikTokapi
About
获取指定关键词的音乐搜索结果/Get music search results of specified keywords
Documentation
获取指定关键词的音乐搜索结果/Get music search results of specified keywords
[中文]
用途:
- 获取指定关键词的音乐搜索结果
参数:
- keyword: 关键词
- offset: 偏移量,从0开始,第二页从响应中获取cursor的值作为offset继续请求。
- count: 数量,不要超过20
- filter_by: 过滤类型,0-全部,1-标题,2-作者,默认为0-全部
- sort_type: 排序类型,0-相关度,1-最多使用,2-最新,3-时长最短,4-时长最长,默认为0-相关度
- region: 地区,默认为US-美国,可选值请参考TikTok地区代码或ISO 3166-1 alpha-2国家代码。
返回:
- 音乐搜索结果
[English]
Purpose:
- Get music search results of specified keywords
Parameters:
- keyword: Keyword
- offset: Offset, starting from 0, the second page gets the cursor value from the response as the offset to continue the request.
- count: Number, do not exceed 20
- filter_by: Filter type, 0-All, 1-Title, 2-Author, default is 0-All
- sort_type: Sort type, 0-Relatedness, 1-Most used, 2-Latest, 3-Shortest duration, 4-Longest duration, default is 0-Relatedness
- region: Region, default is US-America, for optional values please refer to TikTok region codes or ISO 3166-1 alpha-2 country codes.
Return:
- Music search results
[示例/Example]
keyword = "Cat" offset = 0 count = 20 filter_by = 0 sort_type = 0 region = "US"
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取指定关键词的音乐搜索结果/Get music search results of specified keywords
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
检测直播间是否在线/Check if live room is onlineTikTokapi批量检测直播间是否在线/Batch check if live rooms are onlineTikTokapi获取内容翻译数据/Get content translation dataTikTokapi创作者搜索洞察/Creator Search InsightsTikTokapi创作者搜索洞察详情/Creator Search Insights DetailTikTokapi创作者搜索洞察趋势/Creator Search Insights TrendTikTokapi创作者搜索洞察相关视频/Creator Search Insights VideosTikTokapi获取指定关键词的综合搜索结果/Get comprehensive search results of specified keywordsTikTokapi