TikTok API

TikTok Video download API

Get the playable media files behind a TikTok video URL: the clean no-watermark MP4 and the cover image, with duration and pixel dimensions, plus the watermarked MP4 TikTok's own save button produces when the serving source has it. A photo-mode post has no video: for one, videoUrl and sdVideoUrl carry the post's music (an audio file) and watermarkedUrl is usually absent, or the call may answer not found; use tiktok.photos for its images.

$0.76/1k req, pay per request, no subscription.

I gave away my private island | TikTok
tiktok.com/@mrbeast/video/7654638524729216287

@mrbeast

Follow

I gave away my private island

Share to

RepostEmbed
Save video

1080x1920 · 0:58

What the API returned
{
"id": "7654638524729216287",
"videoUrl": "https://v16-webapp.tiktok.com/video/tos/useast5/mrbeast-7654638524729216287-nowm/?x-signature=Nk3pQr5s",
"watermarkedUrl": "https://v16-webapp.tiktok.com/video/tos/useast5/mrbeast-7654638524729216287-wm/?x-signature=Ot6uVw8x",
"image": "https://p16-sign-va.tiktokcdn.com/tos-useast5-p-0068-tx/mrbeast-cover-7654638524729216287~tplv-obj.jpeg?x-signature=Pq9rSt2u",
"durationSeconds": 58.3,
"width": 1080,
"height": 1920,
"caption": "I gave away my private island",
... 14 more fields
}
Uptime
100.00%
30d · 307,736 calls
Requests
312,044
30d · weekly, last 12 wks
Response
1.2s
median · 30d

Status

Loading status...

Get outage emails for this endpoint

See every endpoint on the status page

Pricing and providers

TikTok Video download API pricing: one API, 6 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$7.60
$0.76/1k req, only for what you use. No monthly plan.
Your first 131 requests are free with the $0.10 starting balance.

Try it

Get TikTok video download in one request

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `height` or `width`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 16 of 25 fields. See every field

{
  "found": true,
  "data": {
    "id": "7654638524729216287",
    "videoUrl": "https://v16-webapp.tiktok.com/video/tos/useast5/mrbeast-7654638524729216287-nowm/?x-signature=Nk3pQr5s",
    "watermarkedUrl": "https://v16-webapp.tiktok.com/video/tos/useast5/mrbeast-7654638524729216287-wm/?x-signature=Ot6uVw8x",
    "image": "https://p16-sign-va.tiktokcdn.com/tos-useast5-p-0068-tx/mrbeast-cover-7654638524729216287~tplv-obj.jpeg?x-signature=Pq9rSt2u",
    "durationSeconds": 58.3,
    "width": 1080,
    "height": 1920,
    "caption": "I gave away my private island",
    "url": "https://www.tiktok.com/@mrbeast/video/7654638524729216287",
    "createdUtc": 1758758400,
    "region": "US",
    "authorHandle": "mrbeast",
    "authorName": "MrBeast",
    "authorUserId": "6759339930298942501"
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-12-02 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • urlstring

    https://www.tiktok.com/@mrbeast/video/7654638524729216287

    Full TikTok video URL. Share links and tracking query params are fine.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `height` or `width`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata
  • authorFollowersintegercan require

    The author's follower count at the time of the request. Null when the serving source does not report it.

  • authorHandlestring

    mrbeast

    Author's TikTok handle, without the leading @.

  • authorImagestring

    Author's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact. Populated whenever the provider has data for the entity.

  • authorNamestring

    MrBeast

    Author's display name.

  • authorUserIdstring

    6759339930298942501

    Author's numeric TikTok user id.

  • authorVerifiedbooleancan require

    Whether the author's account carries a TikTok verification badge. Null when the serving source does not report it.

  • captionstring

    I gave away my private island

    Post caption.

  • createdUtcnumber

    1758758400

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • durationSecondsnumber

    58.3

    Length of the video in seconds.

  • hashtagsstring[]

    Hashtags carried in the caption, without the leading #. Empty when the post uses none; @-mentions are excluded.

  • heightintegercan require

    1920

    Pixel height of the file in videoUrl.

  • idstring

    7654638524729216287

    TikTok video id. Populated whenever the provider has data for the entity.

  • imagestring

    https://p16-sign-va.tiktokcdn.com/tos-useast5-p-0068-tx/mrbeast-cover-7654638524729216287~tplv-obj.jpeg?x-signature=Pq9rSt2u

    Cover image for the video. A signed, short-lived TikTok CDN URL, often served as HEIC rather than JPEG, so fetch it promptly and transcode if you need broad browser support.

  • regionstring

    US

    Two-letter region code the video was published from.

  • sdVideoUrlstring

    Standard-resolution H.264 MP4 without the watermark (often 720p), playable in every browser; the same file as videoUrl when the source has no higher-resolution file. On a photo-mode post, the post's music. Signed and short-lived on the same terms as videoUrl.

  • soundAuthorstring

    Credited author of the sound. Populated whenever the provider has data for the entity.

  • soundClipIdstring

    Id of the sound the video uses. Pass it to tiktok.song or tiktok.song_videos as clipId. Populated whenever the provider has data for the entity.

  • soundTitlestring

    Name of the sound. "original sound" means the creator's own audio rather than a licensed track. Some sources answer in another language ("原声" for original sound). Populated whenever the provider has data for the entity.

  • urlstring

    https://www.tiktok.com/@mrbeast/video/7654638524729216287

    Canonical TikTok URL of the video.

  • videoUrlstring

    https://v16-webapp.tiktok.com/video/tos/useast5/mrbeast-7654638524729216287-nowm/?x-signature=Nk3pQr5s

    Direct MP4 without the TikTok watermark or handle overlay, at the highest resolution the source has: often 1080p and often encoded as H.265 (HEVC), which some browsers such as Firefox cannot play; use sdVideoUrl for those. On a photo-mode post it is the post's music, an audio file (MP4 or MP3), not a video. A signed, short-lived TikTok CDN URL, so fetch it promptly; the query params are the signature and must be kept intact. Send no cookies with the request - a tt_chain_token cookie makes the CDN answer 403. Still returned when the creator has turned off downloads: it is then the clean file TikTok streams for playback. Populated whenever the provider has data for the entity.

  • watermarkedUrlstringcan require

    https://v16-webapp.tiktok.com/video/tos/useast5/mrbeast-7654638524729216287-wm/?x-signature=Ot6uVw8x

    Direct MP4 carrying TikTok's watermark and the creator's handle, the same file TikTok's own save button produces. Signed and short-lived on the same terms as videoUrl. Absent when the creator has turned off downloads, because TikTok then publishes no watermarked file. Usually absent on a photo-mode post.

  • widthintegercan require

    1080

    Pixel width of the file in videoUrl.

top level
  • foundboolean

    true

    False when the post is deleted or private. A photo-mode post can also come back false; when it comes back true, videoUrl and sdVideoUrl carry its music, not a video, and watermarkedUrl is usually absent (use tiktok.photos for its images).

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

Selling this API? See the full schema your endpoint must return.

FAQ

About the TikTok Video download API

The AnyAPI TikTok Video download API returns TikTok video download data as normalized JSON from one POST call to /v1/run/tiktok.video_download. Get the playable media files behind a TikTok video URL: the clean no-watermark MP4 and the cover image, with duration and pixel dimensions, plus the watermarked MP4 TikTok's own save button produces when the serving source has it. A photo-mode post has no video: for one, videoUrl and sdVideoUrl carry the post's music (an audio file) and watermarkedUrl is usually absent, or the call may answer not found; use tiktok.photos for its images. AnyAPI routes each request across 6 sources and falls back automatically when one fails. It costs from $0.76 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of TikTok video download calls through AnyAPI succeeded, with a median response time of 1.2 seconds across 307,736 measured calls.

It costs from $0.76 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Get the playable media files behind a TikTok video URL: the clean no-watermark MP4 and the cover image, with duration and pixel dimensions, plus the watermarked MP4 TikTok's own save button produces when the serving source has it. A photo-mode post has no video: for one, videoUrl and sdVideoUrl carry the post's music (an audio file) and watermarkedUrl is usually absent, or the call may answer not found; use tiktok.photos for its images. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of TikTok video download calls through AnyAPI succeeded, with a median response time of 1.2 seconds across 307,736 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 131 TikTok Video download calls at $0.00076 each.

AnyAPI asks the next of its 6 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/tiktok.video_download with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.