TikTok hub

TikTok video download API

Send a TikTok post link, get the video or photo files back as links you can save, with the post's details alongside.

GET /v1/tiktok/videos/download

11 credits when media is downloaded 1 credit when the post is not found or has no downloadable media

About this endpoint

GET /v1/tiktok/videos/download takes a required url (a TikTok video or photo post link) and an optional region. It is the same lookup as GET /v1/tiktok/videos?downloadMedia=true, with the download always on. data.downloads has one row per file: type (video or image), postId, cdnUrl and originalUrl.

cdnUrl is always on a Social Fetch domain. Normally it is on our media CDN and works until the file's retention ends (90 days). For zero-retention workspaces we keep no copy: the link streams the file through the API and works for 24 hours. Save the file if you need it longer. originalUrl is TikTok's own link and can expire.

The rest of data matches the video lookup: video, author, music, metrics, media and shopProducts. Branch on data.lookupStatus (found or not_found). It costs 11 credits when media is downloaded, and 1 credit when the post is not found or has no downloadable media.

Price

  • 11 credits when media is downloaded
  • 1 credit when the post is not found or has no downloadable media

The cost depends on the request, so there is no flat price per 1,000 requests.

Example request

Send your API key in the x-api-key header. New accounts get 100 free credits, no card needed.

Request
cURL

Example response

A 200 response. Live responses have the same shape with current data.

Request
JSON

TikTok video download API FAQ

How do I download a TikTok video via API?

Call GET /v1/tiktok/videos/download?url= with your Social Fetch API key in x-api-key and the post's link. When data.lookupStatus is found, read data.downloads[].cdnUrl and save each file.

Does it work for TikTok photo posts?

Yes. A photo post returns data.downloads rows with type set to image, and a video returns a row with type set to video.

How long do the download links last?

cdnUrl normally works until the file's retention ends (90 days). For zero-retention workspaces the link streams through the API and works for 24 hours. Save the file if you need it longer.

How much does the TikTok download API cost?

11 credits when media is downloaded, and 1 credit when the post is not found or has no downloadable media. Confirm every response with meta.creditsCharged: that field is the billing source of truth.

How is this different from the TikTok video endpoint?

GET /v1/tiktok/videos returns the post's details and downloads media only when you pass downloadMedia=true. This route always downloads, so it suits jobs where the file is the point.

Do I need TikTok OAuth to download a video?

No. You authenticate to Social Fetch with an API key. The route reads public posts; it doesn't act for a logged-in TikTok user.