Get Videos Using Sound Track
tiktok_music_postsFetch public TikTok videos using a specific numeric music_id (2 credits per video).
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": {
"music_id": "<music_id>"
},
"name": "tiktok_music_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Videos per page (max 30) | |
| cursor | No | Pagination cursor | |
| music_id | Yes | Numeric TikTok music_id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msg | No | Human-readable status message. | |
| code | Yes | Gateway status code (0 indicates success). | |
| data | Yes | Paginated list of public short-form videos with engagement metrics and pagination cursor. |