Download TikTok video
Download a TikTok video to account file storage with a signed URL and download code.
← All TikTok endpoints · Capability overview
/v1/tiktok/video/downloadhttps://api.vee3.io/v1/tiktok/video/download
Download a TikTok video to account file storage with a signed URL and download code.
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
tiktok.download_videoParameters4 fields
video_idstringOptionalTikTok video id.
max length 32
video_urlstringOptionalTikTok video URL.
max length 2048
quality"standard" | "hd"OptionalVideo quality to download. 'standard' is default quality; 'hd' is high definition. Only one selected quality is downloaded.
Default: "standard"
file_namestringOptionalOptional account-relative storage path for the video. If omitted, the file is stored under downloads/ with a generated name.
max length 255
Response13 fields
tiktok_download_idstringUnique TikTok download operation identifier, prefix td_.
file_urlstringSigned download URL from account file storage.
file_namestringAccount-relative path where the file was stored.
file_size_bytesintegerDownloaded file size in bytes.
content_typestringMIME type of the downloaded file.
retained_untilstringISO 8601 timestamp when account storage retention expires.
download_codestringShort code to pass to the @vee3/cli `vee3-get-file` command.
download_idstringStable identifier for the reserved agent download session.
expires_atstringISO 8601 timestamp when the download code can no longer be resolved (60 minutes after reserve).
install_commandstringOne-time command to install the Vee3 CLI (`npm install -g @vee3/cli`). On networks that inspect HTTPS, install may require Node 22.15+ with NODE_OPTIONS=--use-system-ca.
commandstringSuggested terminal command for downloading to a local path.
troubleshootingstringWhat to do if installation or downloading fails: re-read this tool's description via meta-tools.describe for setup and troubleshooting steps.
qualityenumEcho of the requested video quality (standard or hd).
HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, tiktok_not_configured, tiktok_upstream_error, tiktok_download_empty, tiktok_hd_unavailable, uploaded_file_name_in_use, internal_error