# TikTok Video Scraper 🎬 (views, likes, shares, saves by URL) (`tagadanar/tiktok-video-scraper`) Actor

TikTok video stats and details by link: exact views, likes, comments, shares and saves, caption, hashtags, mentions, author, sound, duration, cover and post date. Short links, photo carousels and bare IDs work. No login, no cookies.

- **URL**: https://apify.com/tagadanar/tiktok-video-scraper.md
- **Developed by:** [Tagada Data](https://apify.com/tagadanar) (community)
- **Categories:** Social media, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Scraper: views, likes, comments, shares and saves by URL

Paste TikTok video links and get one clean row per video: views, likes, comments, shares and saves, caption, hashtags, mentions, post date, author (with follower count), sound, duration, cover image, where it was posted from, and TikTok's ad and AI-generated labels.

Short share links (`vm.tiktok.com/...`, `vt.tiktok.com/...`), photo carousel links and bare video IDs work too. Every link that TikTok shows as deleted, private or missing is named in the run status, with its reason, and costs nothing.

$1 per 1,000 videos, platform usage included. No login, no cookies, no API key.

### What you get

One row per video or photo post:

| Field | Description |
| --- | --- |
| `id`, `url` | Video ID and its canonical link (`/@author/video/<id>`, or `/photo/<id>` for carousels) |
| `postType` | `video` or `photo` (photo carousel) |
| `description` | The caption |
| `hashtags`, `mentions` | Hashtags (lower case, without `#`) and the @handles tagged in the caption |
| `createTime`, `createTimeUnix` | When it was posted (ISO and Unix seconds) |
| `authorHandle`, `authorNickname`, `authorId`, `authorSecUid` | Who posted it |
| `authorVerified`, `authorPrivate` | Blue check, private account |
| `authorFollowers`, `authorLikes`, `authorVideos` | The author's totals at capture time |
| `plays`, `likes`, `comments`, `shares`, `saves`, `reposts` | The counts TikTok serves on the video page, as plain numbers (not "1.2M") |
| `engagementRate` | `(likes + comments + shares + saves) / plays`, 4 decimals |
| `durationSeconds`, `width`, `height`, `definition` | Video length and resolution |
| `musicId`, `musicTitle`, `musicAuthor`, `musicOriginal`, `musicDurationSeconds` | The sound, and whether it is the creator's original sound |
| `coverUrl` | Cover image (a signed TikTok CDN link that expires after a few days) |
| `videoPlayUrl`, `videoPlayUrlExpiresAt` | The play address on TikTok's CDN when the page carries one. It expires after about 48 hours and only plays with TikTok's own session cookies, so treat it as a reference, not a download link |
| `imageCount`, `imageUrls` | Photo carousels: the number of images and their (signed, expiring) URLs |
| `locationCreated` | Country code the post was made from, e.g. `US` |
| `textLanguage` | Caption language |
| `isAd` | TikTok's ad / promoted flag |
| `aiGenerated` | TikTok's AI-generated content label |
| `diversificationLabels` | TikTok's own content labels, e.g. `["Sports", "Traditional Sports"]` |
| `duetEnabled`, `stitchEnabled` | Whether duets and stitches are allowed |
| `input` | What you entered for this row |
| `capturedAt` | When the row was collected |

#### Example row (real, from a run on 2026-10-30, URLs shortened)

```json
{
  "id": "7200360993149553925",
  "url": "https://www.tiktok.com/@apifylife/video/7200360993149553925",
  "postType": "video",
  "description": "opening your inbox has never been this exciting 💕 #prague #startup #valentinesday ",
  "hashtags": ["prague", "startup", "valentinesday"],
  "mentions": [],
  "createTime": "2023-02-15T12:38:08.000Z",
  "createTimeUnix": 1676464688,
  "authorHandle": "apifylife",
  "authorNickname": "apifylife",
  "authorId": "7095709566285480965",
  "authorSecUid": "MS4wLjABAAAA7WOWqJOZ4iuicJVczzlLX0JU9d14WgxcCtmkvFqTqJKBkL85ISMQ0U8EQIA3mbj-",
  "authorVerified": false,
  "authorPrivate": false,
  "authorFollowers": 193,
  "authorLikes": 2557,
  "authorVideos": 52,
  "plays": 1502,
  "likes": 155,
  "comments": 1,
  "shares": 2,
  "saves": 1,
  "reposts": 0,
  "engagementRate": 0.1059,
  "durationSeconds": 22,
  "width": 576,
  "height": 1024,
  "definition": "540p",
  "musicId": "7200360999089687301",
  "musicTitle": "original sound",
  "musicAuthor": "apifylife",
  "musicOriginal": true,
  "musicDurationSeconds": 22,
  "coverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-p-0068/b025a70f...~tplv-tiktokx-origin.image?...",
  "videoPlayUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast2a/...",
  "videoPlayUrlExpiresAt": "2026-11-01T21:27:42.000Z",
  "imageCount": null,
  "imageUrls": null,
  "locationCreated": "CZ",
  "textLanguage": "en",
  "isAd": false,
  "aiGenerated": false,
  "diversificationLabels": ["Diary & VLOG", "Daily Life", "Lifestyle"],
  "duetEnabled": true,
  "stitchEnabled": true,
  "input": "https://www.tiktok.com/@apifylife/video/7200360993149553925",
  "capturedAt": "2026-10-30T21:27:20.219Z"
}
```

### Who uses this

- **Influencer marketing teams and agencies.** Report on a campaign's posts: views, likes, comments, shares and saves per video, plus the sound used and the posting date.
- **Brands and social media managers.** Track how your own videos and your competitors' perform, on a schedule.
- **UGC and creator platforms.** Verify the stats creators submit, from the links they send (short share links included).
- **Researchers and analysts.** Build a dataset of specific videos with captions, hashtags, mentions, content labels and posting country.
- **Music and sound marketers.** See which sound a video used and whether it is an original sound.

### Input

| Field | What it does |
| --- | --- |
| TikTok videos | Video links, one per line: `https://www.tiktok.com/@olympics/video/7208589533632269574`, photo carousel links (`/@user/photo/...`), short share links (`vm.tiktok.com/...`, `vt.tiktok.com/...`, `tiktok.com/t/...`) or bare video IDs (`7208589533632269574`). Up to 5,000 per run |

Example:

```json
{
  "videos": [
    "https://www.tiktok.com/@olympics/video/7208589533632269574",
    "https://vt.tiktok.com/ZSDHmaujt/",
    "7050551461734042926"
  ]
}
```

Duplicates are looked up once, including a short link that leads to a video already in your list. Tracking parameters (`?is_from_webapp=1...`) are ignored.

### Pricing

Pay per video delivered, platform usage included, plus a flat start fee per run.

| Plan | Per 1,000 videos | Run start |
| --- | --- | --- |
| Free | $1.00 | $0.001 |
| Bronze | $0.90 | $0.001 |
| Silver | $0.80 | $0.001 |
| Gold | $0.70 | $0.001 |

Links that TikTok shows as deleted, private or missing, dead short links, and anything that is not a TikTok video link cost nothing beyond the run start. Set a maximum charge per run and the actor stops when it is reached.

### When a link gives no row

The run status names every link that gave no row and why, and the key-value store record `NOT_DELIVERED` lists each one with its reason:

- **TikTok says the post does not exist** (deleted, removed by TikTok, or an ID that never existed).
- **TikTok would not show the post**, with TikTok's own code and message (for example a private post).
- **The short link leads to no post** (expired or mistyped short code).
- **Not a TikTok video link** (a profile link, another site, a typo).

### Limits and honest caveats

- **Counts are the ones TikTok puts on the public video page.** For very popular videos TikTok itself rounds them (e.g. `204900000` views), which is what the app shows too.
- **No comments text, no video download, no transcript.** This actor reads the public video page only. The `videoPlayUrl` is TikTok's own play address and it expires; downloading the file is out of scope.
- **Video lists are not discovered here.** Give the video links you already have (from a profile, a hashtag page, a campaign sheet). TikTok's search and feed endpoints are behind request signing that this actor does not try to bypass.
- **Speed.** A short run read 27 links in about 3.5 seconds; long runs are slower because the platform throttles CPU after the first minute. If a run hits its timeout, the links not reached are named in the status and you are not charged for them.

### FAQ

**Do I need a TikTok account, cookies or an API key?** No.

**How do I get the views and likes of many TikTok videos at once?** Paste all the links in the TikTok videos field, one per line, and run. Export the dataset as CSV, Excel or JSON.

**Do short links from the TikTok app work?** Yes. `vm.tiktok.com`, `vt.tiktok.com` and `tiktok.com/t/` links are followed to the video they point to.

**Can I track a video's views over time?** Yes: save the input as a task and schedule it. Each run adds a dated snapshot (`capturedAt`).

**Does it work for photo carousels?** Yes. They come back with `postType: "photo"`, the image count and the image URLs.

**What about the author's profile?** Each row carries the author's handle, IDs, verified badge and follower, like and video totals. For full profile details (bio, link in bio, business category), use our TikTok Profile Scraper.

# Changelog

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

# Actor input Schema

## `videos` (type: `array`):

TikTok video links, one per line: https://www.tiktok.com/@olympics/video/7208589533632269574, photo carousel links (/@user/photo/...), short share links (vm.tiktok.com/..., vt.tiktok.com/..., tiktok.com/t/...) or bare video IDs. Up to 5,000 per run; duplicates are looked up once.

## Actor input object example

```json
{
  "videos": [
    "https://www.tiktok.com/@olympics/video/7208589533632269574",
    "https://www.tiktok.com/@billieeilish/video/7050551461734042926",
    "7553874290735729940"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

One item per TikTok video in the default dataset.

# 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 = {
    "videos": [
        "https://www.tiktok.com/@olympics/video/7208589533632269574",
        "https://www.tiktok.com/@billieeilish/video/7050551461734042926",
        "7553874290735729940"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/tiktok-video-scraper").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 = { "videos": [
        "https://www.tiktok.com/@olympics/video/7208589533632269574",
        "https://www.tiktok.com/@billieeilish/video/7050551461734042926",
        "7553874290735729940",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/tiktok-video-scraper").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 '{
  "videos": [
    "https://www.tiktok.com/@olympics/video/7208589533632269574",
    "https://www.tiktok.com/@billieeilish/video/7050551461734042926",
    "7553874290735729940"
  ]
}' |
apify call tagadanar/tiktok-video-scraper --silent --output-dataset

```

## MCP server setup

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

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/frYahgNj3vr1dCzcQ/builds/yJfKwOVp4zZUbFrKi/openapi.json
