TikTok Get Music Videos
Retrieve the video list associated with a specific music ID. Parameters: - `music_id` (required, string): ID of the music whose videos you want to retrieve. - `cursor` (optional, integer; default `0`): Pagination cursor. Start with `0`; use the cursor from the previous response to continue to the next page. - `count` (optional, integer; default `10`): Number of items to request. Returns the video-list data for the specified music, together with available response metadata.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
Each call has a fixed charge of 2.07 credits. Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
count | integer | No | 数量/Number | 10 |
cursor | integer | No | 游标/Cursor | 0 |
music_id | string | Yes | 音乐id/Music id | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tiktok_get_music_videos' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"music_id": "xxx"
}
}'No response example available yet.

