tiktok_trending_music
List up to 100 trending tracks from TikTok's Commercial Music Library (not paginated; TikTok's field names). To attach one when publishing, pass a song_clip_id — from trending_song_clip (the short popular part) or full_duration_song_clip (whole track) — as platforms.tiktok.audio_id in post_publish. Durations are in seconds. Only for TikTok profiles connected on or after 2026-09-30 (Business API); older connections get 422 until reconnected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile_id": "<profile_id>"
},
"name": "tiktok_trending_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| genre | No | Genre filter, e.g. POP, ROCK, HIP_HOP/RAP, ELECTRONIC, JAZZ. Omit to rank all genres together | |
| date_range | No | Ranking window (default 7DAY) | |
| profile_id | Yes | Profile hashid of a TikTok profile | |
| country_code | No | ISO 3166-1 alpha-2 country whose chart to return (default US) |