TikTok Video Downloader - MP4 or MP3 avatar

TikTok Video Downloader - MP4 or MP3

Pricing

from $1.00 / 1,000 megabyte downloadeds

Go to Apify Store
TikTok Video Downloader - MP4 or MP3

TikTok Video Downloader - MP4 or MP3

Paste public TikTok video links and get each video as an MP4, or just its sound as an MP3. Each file is stored in the run with a direct download link. No login, no cookies. You pay per megabyte of file delivered, and links that fail cost nothing per megabyte.

Pricing

from $1.00 / 1,000 megabyte downloadeds

Rating

0.0

(0)

Developer

Dami's Studio

Dami's Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

TikTok Video Downloader

Paste the link of a public TikTok video and you get it as an MP4, or only its sound as an MP3. Each file is saved in the run's key-value store, and its row in the dataset carries a direct download link.

You pay for the megabytes you receive. A link that fails, or a video over your size limit, is skipped and not billed per megabyte.

Input

{ "urls": ["https://www.tiktok.com/@hankgreen1/video/7047596209028074758"] }
FieldDefaultWhat it does
urlsnoneOne link per line, each to a single TikTok video (tiktok.com/@name/video/...).
quality1080best, 1080, 720, 480 or 360. The number is the short side of the picture, so 1080 means 1080x1920 for a vertical video. If a video doesn't come in that quality, you get the closest one it has.
audioOnlyfalseOnly the video's sound, as a 128 kbit/s MP3.
maxMegabytes500Your limit per video. A bigger video is skipped before anything is downloaded.

This actor takes TikTok links only. A Facebook or X link is refused before anything is fetched, with a pointer to our Facebook Video Downloader or X Video Downloader. YouTube links go in our YouTube Downloader.

What you get

One dataset row per delivered file:

{
"url": "https://www.tiktok.com/@hankgreen1/video/7047596209028074758",
"host": "tiktok",
"title": "TikTok video #7047596209028074758",
"author": "hankgreen1",
"durationSeconds": 21.27,
"resolution": "576x1024",
"format": "mp4",
"fileSizeBytes": 5076682,
"billedMegabytes": 6,
"mediaKey": "tiktok-7047596209028074758.mp4",
"mediaUrl": "https://api.apify.com/v2/key-value-stores/.../records/tiktok-7047596209028074758.mp4"
}

When a video has no caption, TikTok gives it no title, so the row says TikTok video #<id> as above. resolution and durationSeconds are measured on the file you receive, not copied from the page. billedMegabytes is the file size rounded up to whole megabytes, where a megabyte is 1,000,000 bytes.

You get the stream TikTok plays in the app, not the copy its own download button makes with the moving TikTok logo. If a video already has the logo in the picture, as the one above does, it stays: that video carries it in every version TikTok serves.

The video is H.264 where TikTok offers it, because every player opens it. The catch: TikTok's H.264 copy can be about three times the size of its H.265 one (5.1 MB against 1.8 MB for the video above), and you pay per megabyte.

Links that don't work out are listed in the ERRORS record of the same key-value store, each with a plain reason. They never show up in the dataset. If not one link could be downloaded, the run ends as Failed instead of Succeeded, so a scheduled job or an integration notices.

Billing

Each delivered file is charged once, for its size in megabytes rounded up: the 5.08 MB video above counts as 6 MB. The price per megabyte for your Apify plan is on the Pricing tab.

A link that fails, a video over your maxMegabytes, or one that doesn't fit the run costs nothing per megabyte. If you set a maximum charge for the run, the actor checks it before each download and skips a video it can't pay for rather than going over.

Big files

One run holds files up to about 70% of its memory, so 716 MB at the default 1024 MB. A bigger video is refused with a message that names the memory to use. TikTok videos rarely come close.

What it doesn't do

  • Other sites. TikTok only; see the links above for Facebook, X and YouTube. Instagram and Vimeo are not supported by any of them.
  • Private posts, or posts only friends can see. There's no account and no cookies behind this.
  • Some posts that are only available in certain countries. Those fail with a message that says so.
  • Photo posts and slideshows. There is no video in them.
  • Whole profiles, sounds or hashtags. One link, one video.
  • Lives while they are still live.

The videos belong to the people who posted them. Download only what you own or have permission to use, and stay within TikTok's terms.

FAQ

Do I need an account, cookies or an API key? No. The link is the whole input.

Can I send lots of links in one run? Yes. They are downloaded one after another, and a short clip takes 5 to 10 seconds. The default run timeout is 30 minutes, so give a very big batch more.

Will a smaller memory setting save money? No. It doesn't change the price, and at 512 MB the same batch took about 75% longer in testing.

Why is my video 540p when I asked for 1080? Many TikToks are only available at 540p or 576p, and you get the best the video has up to your setting.

Where are the files? In the run's key-value store. mediaUrl in each row is a direct link, and mediaKey is the key if you'd rather fetch it through the API. How long the store is kept depends on your Apify plan, so download what you need.