TikTok API

Get the metadata and stats of a TikTok video by ID or link, its transcript from the captions TikTok shows (JSON segments, text, SRT or WebVTT), its comments page by page, and a public profile with its videos, newest first, as clean JSON.

Overview and use cases on the TikTok API page; response format, pagination and errors are the same for every API (conventions).

Get a TikTok video

GET/v1/tiktok/videos/{video_id}2 credits / call

Description, hashtags, creation date, duration, author, sound, views, likes, comments, shares and saves of a video, and the languages of its captions.

ParameterInTypeDefaultDescription
video_id*pathstring—Numeric video ID: the number at the end of a video link (use /resolve for a short link)
curl "https://api.scrapecrate.com/v1/tiktok/videos/7707741942771191054" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "data": {
    "video_id": "7707741942771191054",
    "url": "https://www.tiktok.com/@examplecreator/video/7707741942771191054",
    "description": "I tried every street food in one day #food #travel",
    "hashtags": [
      "food",
      "travel"
    ],
    "created_at": "2026-11-12T18:15:41Z",
    "duration": 58,
    "language": "en",
    "location": "US",
    "is_ad": false,
    "author": {
      "username": "examplecreator",
      "nickname": "Example Creator",
      "user_id": "6614519312189947909",
      "sec_uid": "MS4wLjABAAAAexample",
      "verified": true
    },
    "music": {
      "id": "7707742031128333070",
      "title": "original sound",
      "author": "Example Creator",
      "is_original": true
    },
    "view_count": 12200000,
    "like_count": 831800,
    "comment_count": 26700,
    "share_count": 89100,
    "save_count": 55231,
    "thumbnail_url": "https://p16-sign.tiktokcdn.com/example-cover.jpeg",
    "has_captions": true,
    "caption_languages": [
      "en-US"
    ]
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 2,
    "credits_remaining": 9999
  }
}

Resolve a TikTok link

GET/v1/tiktok/resolve2 credits / call

Turns any TikTok link (video, profile, vm.tiktok.com or vt.tiktok.com short link) into the video ID or the username the other endpoints take.

ParameterInTypeDefaultDescription
url*querystring—A TikTok video or profile link
curl "https://api.scrapecrate.com/v1/tiktok/resolve?url=https%3A%2F%2Fvm.tiktok.com%2FZMexample%2F" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "data": {
    "type": "video",
    "video_id": "7707741942771191054",
    "username": "examplecreator",
    "url": "https://www.tiktok.com/@examplecreator/video/7707741942771191054"
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 2,
    "credits_remaining": 9999
  }
}

Get a TikTok transcript

GET/v1/tiktok/videos/{video_id}/transcript2 credits / call

The transcript of a video from the captions TikTok shows (`source`: asr for TikTok's auto-captions, creator, translation), as timed segments and plain text, with the caption languages available. A video without captions answers 404 (not billed).

ParameterInTypeDefaultDescription
video_id*pathstring—Numeric video ID
langquerystring—Caption language (en or en-US); default: the video's first caption track
formatqueryjson | text | srt | vttjsonjson (segments + text), text, srt or vtt (the subtitle file in text)
curl "https://api.scrapecrate.com/v1/tiktok/videos/7707741942771191054/transcript" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "data": {
    "video_id": "7707741942771191054",
    "language": "en-US",
    "source": "asr",
    "text": "I tried every street food in one day. This one is the best so far.",
    "segments": [
      {
        "text": "I tried every street food in one day.",
        "start": 0,
        "duration": 2.58
      },
      {
        "text": "This one is the best so far.",
        "start": 2.581,
        "duration": 4.08
      }
    ],
    "available_languages": [
      {
        "language": "en-US",
        "source": "asr"
      }
    ]
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 2,
    "credits_remaining": 9999
  }
}

List TikTok video comments

GET/v1/tiktok/videos/{video_id}/comments2 credits / call

Comments of a video with author, likes, reply count, date, pinned and liked-by-creator flags, page by page: follow `pagination.next_cursor`. `meta.total_comments` is TikTok's count.

ParameterInTypeDefaultDescription
video_id*pathstring—Numeric video ID
limitqueryinteger (1–50)20Comments per page (max 50)
cursorquerystring—pagination.next_cursor of the previous page
curl "https://api.scrapecrate.com/v1/tiktok/videos/7707741942771191054/comments" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "data": [
    {
      "comment_id": "7707754063504524062",
      "text": "The last one looked amazing",
      "author": {
        "username": "foodfan",
        "nickname": "Food Fan"
      },
      "like_count": 28259,
      "reply_count": 20,
      "published_at": "2026-11-12T19:02:10Z",
      "is_pinned": false,
      "liked_by_creator": true
    }
  ],
  "pagination": {
    "next_cursor": "eyJwIjoyfQ",
    "has_more": true
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 2,
    "credits_remaining": 9999
  }
}

Get a TikTok profile

GET/v1/tiktok/users/{username}2 credits / call

Nickname, bio, link, avatar, verified and private flags, followers, following, likes and video count of a public account.

ParameterInTypeDefaultDescription
username*pathstring—Username, with or without @
curl "https://api.scrapecrate.com/v1/tiktok/users/%40examplecreator" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "data": {
    "username": "examplecreator",
    "user_id": "6614519312189947909",
    "sec_uid": "MS4wLjABAAAAexample",
    "nickname": "Example Creator",
    "bio": "Street food every day",
    "bio_link": "https://example.com",
    "avatar_url": "https://p16-sign.tiktokcdn.com/example-avatar.jpeg",
    "verified": true,
    "is_private": false,
    "created_at": "2018-10-17T09:12:00Z",
    "follower_count": 148000000,
    "following_count": 346,
    "like_count": 1600000000,
    "video_count": 491
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 2,
    "credits_remaining": 9999
  }
}

List a TikTok profile's videos

GET/v1/tiktok/users/{username}/videos2 credits / call

The public videos of an account, newest first, with views, likes, comments, shares and saves, page by page: follow `pagination.next_cursor`. A private account answers 404.

ParameterInTypeDefaultDescription
username*pathstring—Username, with or without @
limitqueryinteger (1–30)15Videos per page (max 30)
cursorquerystring—pagination.next_cursor of the previous page
curl "https://api.scrapecrate.com/v1/tiktok/users/%40examplecreator/videos" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "data": [
    {
      "video_id": "7707741942771191054",
      "url": "https://www.tiktok.com/@examplecreator/video/7707741942771191054",
      "description": "I tried every street food in one day #food #travel",
      "created_at": "2026-11-12T18:15:41Z",
      "duration": 58,
      "view_count": 12200000,
      "like_count": 831800,
      "comment_count": 26700,
      "share_count": 89100,
      "save_count": 55200,
      "thumbnail_url": "https://p16-sign.tiktokcdn.com/example-cover.jpeg",
      "has_captions": true,
      "is_pinned": false
    }
  ],
  "pagination": {
    "next_cursor": "eyJwIjoyfQ",
    "has_more": true
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 2,
    "credits_remaining": 9999
  }
}