# TikTok Video Details: Views, Likes, Comments & Shares (`siteacs/tiktok-video-details`) Actor

TikTok video scraper by URL: views, likes, comments, shares and saves, duration, create time, description, hashtags, music, author basics (username, verified, followers), cover URLs and region. Deleted and private videos are free.

- **URL**: https://apify.com/siteacs/tiktok-video-details.md
- **Developed by:** [SiteAcs](https://apify.com/siteacs) (community)
- **Categories:** Social media, Videos, Developer tools
- **Features:** Limited permissions
- **Stats:** 4 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.30 / 1,000 videos

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## TikTok Video Details: Views, Likes, Comments & Shares

Paste TikTok video URLs (or short links, or numeric video ids) and get one row per video with its views, likes,
comments, shares and saves, duration, create time, description, hashtags, the sound (title, author, original or
not), the author's public basics (username, display name, verified, followers), cover image URLs and the region TikTok
shows. A TikTok video scraper for stats and engagement by URL: no login, no API key, no browser.

For an agent or script: pass `{"urls": ["https://www.tiktok.com/@user/video/ID", "..."]}`; read the dataset rows where
`status` is `ok` (the only ones charged). Other rows say why a link failed.

Use it to track the views and likes of your own, a client's or a competitor's TikTok videos over time, to check
influencer campaign posts in bulk, to enrich a list of TikTok links with authors, dates and hashtags, or to find
which links in a list are deleted or private.

**You pay only for videos with details.** Deleted and private videos, bad URLs and anything that fails are listed in
the output for free. No start fee.

- **Em português:** dados de vídeos do TikTok por URL, em massa: visualizações, curtidas, comentários,
  compartilhamentos e salvamentos, duração, data, descrição, hashtags, música e dados públicos do autor.
- **En español:** datos de vídeos de TikTok por URL, en masa: visualizaciones, me gusta, comentarios, compartidos y
  guardados, duración, fecha, descripción, hashtags, música y datos públicos del autor.

### What you get

One dataset row per video:

| Field | What it holds |
|---|---|
| `input`, `videoId`, `url` | The line you gave, TikTok's video id and the video's page URL |
| `status`, `reason` | `ok` when the details are in the row; otherwise why not (see **Status**) |
| `views`, `likes`, `comments`, `shares`, `saves`, `reposts` | The engagement stats the video page shows (views, likes, comments and shares rounded as the app shows them, see **Limits**; saves exact) |
| `durationSeconds` | Length in seconds (`null` for a photo post) |
| `createTime`, `createTimeUnix` | When the video was posted, ISO 8601 in UTC and as a Unix timestamp |
| `description`, `hashtags`, `mentions` | The creator's caption text, its hashtags (without #) and tagged @usernames |
| `musicTitle`, `musicAuthor`, `musicOriginal`, `musicId`, `musicAlbum`, `musicDurationSeconds`, `musicPlayUrl` | The sound: title, artist or creator, `true` when TikTok marks the sound as original (first posted as a video's own audio, possibly by another user), and a link to its audio file (expires) |
| `authorUsername`, `authorNickname`, `authorVerified`, `authorFollowers`, `authorLikes`, `authorVideos`, `authorId`, `authorUrl` | The author's public profile basics |
| `coverUrl`, `originCoverUrl`, `dynamicCoverUrl` | Cover image, first frame and animated cover (TikTok signs these links; they expire after some days) |
| `width`, `height`, `definition` | Video size and quality, e.g. 720p |
| `isPhotoPost`, `photoCount` | `true` for a photo carousel post, and how many images it has |
| `isAd` | `true` when TikTok marks the post as an ad |
| `isAiGenerated` | `true` when the post carries TikTok's AI-generated content label |
| `region` | Country code TikTok shows for where the video was posted |
| `language` | Language TikTok detected for the description |
| `captionLanguages` | Languages of the captions TikTok publishes for the video, spoken language first |
| `scrapedAt` | When the row was read (UTC) |

Example row (from a test run, cover URLs shortened):

```json
{
  "input": "https://www.tiktok.com/@scout2015/video/6718335390845095173",
  "videoId": "6718335390845095173",
  "url": "https://www.tiktok.com/@scout2015/video/6718335390845095173",
  "status": "ok",
  "reason": null,
  "description": "Scramble up ur name & I’ll try to guess it😍❤️ #foryoupage #petsoftiktok #aesthetic",
  "hashtags": ["foryoupage", "petsoftiktok", "aesthetic"],
  "mentions": [],
  "createTime": "2019-07-27T13:32:38Z",
  "createTimeUnix": 1564234358,
  "durationSeconds": 10,
  "views": 160000,
  "likes": 35200,
  "comments": 5478,
  "shares": 1525,
  "saves": 651,
  "reposts": 0,
  "authorUsername": "scout2015",
  "authorNickname": "Scout, Suki & Stella",
  "authorVerified": true,
  "authorFollowers": 9000000,
  "authorLikes": 108400000,
  "authorVideos": 3090,
  "authorId": "53279706535428096",
  "authorUrl": "https://www.tiktok.com/@scout2015",
  "musicId": "6689804660171082501",
  "musicTitle": "original sound",
  "musicAuthor": "tiff",
  "musicOriginal": true,
  "musicAlbum": null,
  "musicDurationSeconds": 10,
  "musicPlayUrl": "https://v77.tiktokcdn.com/4148cda3...",
  "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068/2367c7d4...",
  "originCoverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068/8ac0190d...",
  "dynamicCoverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068/dc1c2b31...",
  "width": 576,
  "height": 1024,
  "definition": "540p",
  "isPhotoPost": false,
  "photoCount": null,
  "isAd": false,
  "isAiGenerated": false,
  "region": "US",
  "language": "en",
  "captionLanguages": [],
  "scrapedAt": "2026-11-12T00:40:12Z"
}
```

Download the results as JSON, CSV, Excel or HTML, or read them through the Apify API. The **Videos** view shows the
counts in a table; **Author and music** shows the rest.

#### Status

A free row keeps only `input`, `videoId`, `url`, `status`, `reason` and `scrapedAt`. Counts, description, author and
sound are filled only on charged rows.

| `status` | Charged | What it means |
|---|---|---|
| `ok` | yes | The details are in the row |
| `unavailable` | no | Deleted, removed or never posted, or a short link that leads nowhere; `reason` has TikTok's own message |
| `private` | no | The video or the account is private, or the video is visible only to its author |
| `incomplete` | no | TikTok returned the video without one of views, likes, comments or shares |
| `blocked`, `empty`, `timeout`, `error` | no | TikTok refused the page or answered without the video on 6 IPs in a row, or did not answer in time |
| `invalid_input` | no | Not a TikTok video URL or id, or a profile, hashtag or sound URL (list the video URLs instead) |

### How to use it

1. Paste URLs into **TikTok video URLs or ids**, one per line (use **Bulk edit** for long lists). Any of these works:
   `tiktok.com/@user/video/...`, `tiktok.com/@user/photo/...`, `vm.tiktok.com/...`, `vt.tiktok.com/...`,
   `tiktok.com/t/...`, `m.tiktok.com/v/....html`, or a bare numeric video id. The same video given twice is read once.
2. Click **Start**. In testing, 220 videos took 100 seconds at the default 256 MB and 5 videos at a time (about 8,000
   an hour). A run stops after 10 hours by default.

Input example:

```json
{
  "urls": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.tiktok.com/@nasa/video/7676868860749827342",
    "https://www.tiktok.com/@tedtoks/video/7628787318513552670"
  ]
}
```

### Options

- **Videos at a time** (default 5, up to 20): how many videos are read in parallel.
- **Proxy** (default: Apify datacenter proxy): a page TikTok refuses is retried on another IP, up to 6 times.

### How it works

For each video the actor loads the public video page once, the same page a logged-out visitor sees, and reads the
data TikTok embeds in it for its own player (the `__UNIVERSAL_DATA_FOR_REHYDRATION__` JSON). No login, no cookies
from you, no headless browser, and nothing from comments or viewers. When TikTok answers with its "Please wait..."
check page or a server error, the request is repeated from another datacenter IP.

Tested on 220 links (news, sport, food, beauty, finance, science and comedy creators, in English, Portuguese, Spanish
and German, plus a photo post, a short link and 20 made-up ids) on Apify's datacenter proxy: every video that still
exists came back `ok` with views, likes, comments, shares and saves, and no page was refused. The 20 made-up ids and
3 videos deleted or made private since the list was built came back free with TikTok's message. On 18 videos fetched
again from another network minutes later, views, likes, shares, saves, duration, date, author and sound matched;
comment counts differed by up to 2% on two videos (TikTok shows slightly different comment counts by country).

### Pricing

**$0.30 per 1,000 videos** ($0.0003 per video with details), no start fee. Every other row is free. Set **Maximum
cost per run** in the run options and the run stops before going over it.

### Limits

- Single videos only. A profile, hashtag or sound URL comes back `invalid_input`: list its video URLs.
- Views, likes, comments and shares (and author followers and likes) are rounded the way the TikTok app shows them:
  from 10,000 up to one decimal of K or M, so 561.2K comes back as 561,200 and 2.5M as 2,500,000. Below 10,000 they
  are exact, and saves are always exact. The page holds no more precise figure (both of its count fields are rounded).
  Counts are taken at the moment of the run.
- The author fields are the public profile basics shown on the video page; no bio, no contact data, no followers'
  data. No comment text and no commenter names.
- Cover image links are signed by TikTok and expire; download the images soon if you need them.
- Residential proxy is not needed. If you choose it, it runs within a traffic budget per run (5 MB plus 20 KB per
  video with details; a page is about 95 KB), and past the budget the videos left come back `blocked` (free).

### FAQ

**Do I need a TikTok account or API key?** No. The actor reads the public video page.

**Can I use it for engagement rate?** Yes: `likes`, `comments`, `shares` and `saves` against `views` give the
engagement rate per video; mind the rounding of large counts (see **Limits**).

**How do I track views over time?** Schedule the actor on the same list (Apify Schedules) and compare `views`,
`likes`, `comments` and `shares` between runs.

**Does it download the video?** No. It returns data and cover image links, not the video file.

**Can I get the transcript or subtitles?** Run the same URL list through
[TikTok Transcript Scraper](https://apify.com/siteacs/tiktok-transcript-scraper): the captions TikTok publishes, as
text and timestamped segments. `captionLanguages` here tells you which videos have them.

**Need a creator's whole video list or other TikTok data?** This actor takes video links only; list a creator's
video URLs from your own source and pass them here.

**Is there a version for YouTube?** Yes: [YouTube Video Details](https://apify.com/siteacs/youtube-video-details).

# Changelog

This Actor's version history is a separate document: https://apify.com/siteacs/tiktok-video-details/changelog.md

# Actor input Schema

## `urls` (type: `array`):

One per line: a video URL (tiktok.com/@user/video/...), a photo post URL (tiktok.com/@user/photo/...), a short link (vm.tiktok.com/..., vt.tiktok.com/..., tiktok.com/t/...) or a numeric video id. Use Bulk edit to paste a long list. Duplicates are read once. Profile, hashtag and sound URLs are not expanded: list their video URLs.

## `maxConcurrency` (type: `integer`):

How many videos are read in parallel.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy (the default) reads TikTok video pages; a page TikTok refuses is retried on another IP, up to 6 times. Residential proxy is not needed and is capped per run (about 20 KB of traffic per charged video plus 5 MB).

## Actor input object example

```json
{
  "urls": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.tiktok.com/@nasa/video/7676868860749827342"
  ],
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

One item per video: status, views, likes, comments, shares, saves, duration, create time, author and description (every field in the full item).

## `authorMusic` (type: `string`):

The author's public basics, the sound, hashtags, covers and region.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "https://www.tiktok.com/@nasa/video/7676868860749827342"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("siteacs/tiktok-video-details").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": [
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "https://www.tiktok.com/@nasa/video/7676868860749827342",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("siteacs/tiktok-video-details").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.tiktok.com/@nasa/video/7676868860749827342"
  ]
}' |
apify call siteacs/tiktok-video-details --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,siteacs/tiktok-video-details"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/74MNaBFQ6psFmBDsu/builds/fsLFOzZ4EauwqrXVI/openapi.json
