The catalogue is chosen by the video’s network, not by a parameter. A Douyin creator cannot place a TikTok sound and vice versa, so a suggestion from the wrong catalogue would be impossible to act on rather than merely weak.
Request
string
required
Link to the video to match sounds against.
number
default:"10"
How many suggestions to return, 1 to 20. Does not change the price: cost is set by how many sounds are listened to and judged, which is fixed.
boolean
default:"false"
Restrict to Commercial Music Library tracks. Set this for business accounts, which can only legally use cleared audio.
Response
string
Which catalogue was searched,
tiktok or douyin.object
{ id, url, durationSec } for the video analyzed.object[]
Ranked sounds, best fit first.
number
How many sounds were scored to produce this list.
string[]
Honest notes about the run, for example when the pool was thinner than usual.
Example
Response (truncated)
Notes
- First call in a new niche is slow. Sounds we have never heard have to be listened to. Those readings are cached permanently, so the same niche is much faster afterwards.
- No usable sound is a
200with an empty array and no charge. - Preview URLs expire, usually within hours.
- On Douyin there is no genre metadata to draw on, so fit is judged from the audio itself.