GET /v1/tiktok/app/v3/fetch_music_search_result
Get music search results of specified keywords
stable · 2 credits per success
Get music search results of specified keywords;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…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| count | integer | query | no | 数量 | 20 |
| offset | integer | query | no | 偏移量 | 0 |
| region | string | query | no | 地区 | US |
| keyword | string | query | yes | 关键词 | Cat |
| filter_by | integer | query | no | 过滤类型 | 0 |
| sort_type | integer | query | no | 排序类型 | 0 |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.