Skip to main content
POST
TikTok music search

Authorizations

Authorization
string
header
required

A Mouter API key or OAuth access token.

Headers

Idempotency-Key
string

Reuse the key with the same credential and input when retrying the same submission.

Required string length: 1 - 128

Body

application/json
query
string
required

Keyword / Keyword

filter_by
integer

Filter type / Filter type / Filter type, 0-All, 1-Title, 2-Author, default is 0-All

region
string

Region / Region / Region, default is US-America, for optional values please refer to TikTok region codes or ISO 3166-1 alpha-2 country codes.

sort_type
integer

Sort type / Sort type / Sort type, 0-Relatedness, 1-Most used, 2-Latest, 3-Shortest duration, 4-Longest duration, default is 0-Relatedness

limit
integer
default:20

Maximum records returned in this response. The platform explicitly fills the stated default; a shorter page can still have continuation.

Required range: x >= 1
cursor
string | null

Opaque platform continuation bound to this exact tool, owner, query, filters, source and credentials. Omit/null starts a new collection.

Response

Existing task returned for an idempotent retry. An available result matches the output schema shown here.

code
integer
required
message
string
required
Allowed value: ""
data
object
required
request_id
string | null
required