Download TikTok music from video

Download music from a TikTok video with optional signed URL and inline delivery.

← All TikTok endpoints · Capability overview

GET/v1/tiktok/music/download-from-video

https://api.vee3.io/v1/tiktok/music/download-from-video

10 tokens

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_video
Parameters3 fields
video_idstringOptional

TikTok video id.

max length 32

video_urlstringOptional

TikTok video URL.

max length 2048

return_mode"url" | "file" | "both"Optional

How 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_idstring

Unique download identifier, prefix td_.

return_modeenum

Echo of the requested delivery mode.

music_infoobject
1 field

Music metadata with a signed download URL.

playstring

Signed 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