Download TikTok video

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

← All TikTok endpoints · Capability overview

GET/v1/tiktok/video/download

https://api.vee3.io/v1/tiktok/video/download

10 tokens

Download 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_video
Parameters4 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 signed download URLs only. 'file' returns inline base64 when the file is under 10 MB. 'both' returns signed URLs plus inline base64 when small enough.

Default: "both"

include_hdplaybooleanOptional

When true, also download the high-definition hdplay variant. Defaults to false.

Default: false

Response4 fields
download_idstring

Unique download identifier, prefix td_.

return_modeenum

Echo of the requested delivery mode.

playstring

Signed download URL for the standard-quality video.

hdplaystring

Signed download URL for the high-definition video when include_hdplay is true.

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