Platforms/TikTok/Video

TikTok Video API

GET ยท 1 credit

Send a video's or photo post's id or link, and get its caption, counts, author, sound, hashtags, mentions and caption tracks.

GET /v1/tiktok/videos

What people use it for

  • Performance tracking: read a video's views, likes, shares and saves every day after it goes up.
  • Trend research: see which sounds and hashtags a viral video uses, and where it was posted from.
  • Link enrichment: turn a pasted TikTok link into its caption, cover and author.

How it works with other endpoints

Video ids come from Profile videos, Search and the hashtag and sound endpoints. The same id goes to Video comments and Video transcript. Its music.id goes to Music, and each of its hashtags to Hashtag.

Limits

  • One video or photo post a call.
  • Short links (vm.tiktok.com) aren't taken: use the full link.
  • A deleted video answers 404 NOT_FOUND; a private one answers 403 LOGIN_REQUIRED.

Example request

const url = `${process.env.API_URL}/v1/tiktok/videos?video_id=7587811642650545421`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
video_idNoA video's or photo post's id: the digits after /video/ or /photo/ in its link. Give video_id or url.
urlNoA video's or photo post's link: tiktok.com/@handle/video/<id> or /photo/<id>. Not a short link (vm.tiktok.com): open it, and copy the link it leads to. Give video_id or url.

Example response

{
  "data": {
    "id": "7587811642650545421",
    "url": "https://www.tiktok.com/@mrbeast/video/7587811642650545421",
    "description": "I gave away a private island #challenge",
    "created_at": "2026-11-20T17:00:00Z",
    "duration_seconds": 58,
    "thumbnail": "https://p16-sign.tiktokcdn-us.com/obj/cover-1.jpeg",
    "images": null,
    "views": 48000000,
    "likes": 5200000,
    "comment_count": 41000,
    "shares": 180000,
    "saves": 320000,
    "is_ad": false,
    "author_id": "6614519312189947909",
    "author_handle": "mrbeast",
    "author_name": "MrBeast",
    "author_verified": true,
    "author_followers": 120000000,
    "region": "US",
    "language": "en",
    "hashtags": [
      "challenge"
    ],
    "mentions": [],
    "music": {
      "id": "7676191753623488558",
      "title": "original sound",
      "author": "MrBeast",
      "original": true,
      "duration_seconds": 58,
      "cover": "https://p16-sign.tiktokcdn-us.com/obj/music-cover.jpeg"
    },
    "captions": [
      {
        "language": "eng-US",
        "auto": true
      },
      {
        "language": "spa-ES",
        "auto": true
      }
    ]
  },
  "page": null,
  "meta": {
    "platform": "tiktok",
    "endpoint": "video",
    "params": {
      "video_id": "7587811642650545421"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Which links does it take?

tiktok.com/@handle/video/<id> and /photo/<id> links, or the id alone. Not short links (vm.tiktok.com): open one and copy the link it leads to.

Does it work on photo posts?

Yes. images holds a photo post's images in order, and duration_seconds is 0.

How do I get what's said in it?

captions lists its caption tracks; send the video's id to Video transcript for one as text.

What is the sound?

music: its id, title, author and whether it was made with this video. Send music.id to Music for its audio and how many videos use it.

Works with

On other platforms

Use cases

TikTok guides

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required