Download TikTok music from video
Download music from a TikTok video with optional signed URL and inline delivery.
← All TikTok endpoints · Capability overview
/v1/tiktok/music/download-from-videohttps://api.vee3.io/v1/tiktok/music/download-from-video
Download music from a TikTok video with optional signed URL and inline delivery.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
download_tiktok_music_from_videoParameters3 fields
video_idstringOptionalTikTok video id.
max length 32
video_urlstringOptionalTikTok video URL.
max length 2048
return_mode"url" | "file" | "both"OptionalHow to deliver the result. 'url' returns a signed download URL only. 'file' returns inline base64 when the file is under 10 MB. 'both' returns the signed URL plus inline base64 when small enough.
Default: "both"
Response4 fields
download_idstringUnique download identifier, prefix td_.
return_modeenumEcho of the requested delivery mode.
music_infoobject1 fieldMusic metadata with a signed download URL.
music_infoobjectplaystringSigned download URL for the music file.
HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, tiktok_not_configured, tiktok_upstream_error, tiktok_download_empty, internal_error
On HTTP 200 (success body): inline_file_unavailable