TikTok modelsapi generation api

tiktok/app-v3/music-search-result

Get music search results of specified keywords

Input
Idle

Example output — click Run to generate your own

API README

Get music search results of specified keywords

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.

Related Models