# TikTok Video Scraper - Views, Likes, Shares & Comments by URL (`clearfetch/tiktok-video-scraper`) Actor

Get full public stats for any TikTok video link without login: views, likes, shares, comments, saves, post time, duration, caption, hashtags, sound and author stats. Share links and photo posts work. No cookies or proxy.

- **URL**: https://apify.com/clearfetch/tiktok-video-scraper.md
- **Developed by:** [Nada Hanad](https://apify.com/clearfetch) (community)
- **Categories:** Social media, Videos
- **Stats:** 11 total users, 5 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, Shares & Comments by URL

Paste TikTok video links, get each video's full public stats without logging in: views, likes, shares, comments,
saves, exact post time, duration, caption, hashtags, mentions, sound, and the author's followers and likes.
**$1.00 per 1,000 videos.** Share links and photo posts work. No cookies, no proxy, no browser.

### What data you get

One row per video, same columns every time:

- `playCount`, `diggCount` (likes), `shareCount`, `commentCount`, `collectCount` (saves), `repostCount`
- `createTimeISO`, `durationSeconds`, `text` (caption), `hashtags`, `mentions`, `textLanguage`, `locationCreated`,
  `isAd`, `isAiGenerated` (TikTok's own AI label)
- Sound: `musicTitle`, `musicAuthor`, `musicOriginal` (the creator's own audio or not), `musicUrl`, `musicId`
- Author: `authorUsername`, `authorNickname`, `authorFollowers`, `authorFollowing`, `authorLikes`,
  `authorVideoCount`, `authorVerified`, `authorId`, `authorSecUid`
- `coverUrl`, `webVideoUrl`, `id`

### How to use

1. Paste video links, one per line: full links, share links (vm.tiktok.com/..., tiktok.com/t/...), photo posts or
   bare video ids.
2. Run it.
3. Download JSON, CSV or Excel, or pull the rows through the API.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `postURLs` | array | — | Video links, share links or ids. Also `urls`, `videoUrls`, `startUrls`. |
| `includeRaw` | boolean | `false` | Add TikTok's untouched objects as `raw`. |
| `maxConcurrency` | integer | `3` | Pages read in parallel. |
| `timeoutSecs` | integer | `30` | Per request. |
| `proxyConfiguration` | object | off | Not needed. |

### Output example

A real row from a run with `"postURLs": ["https://www.tiktok.com/@nasa/video/7665075736742530317"]` (media links shortened):

```json
{
  "ok": true,
  "type": "video",
  "id": "7665075736742530317",
  "webVideoUrl": "https://www.tiktok.com/@nasa/video/7665075736742530317",
  "text": "Something big just landed on TikTok.",
  "createTime": 1784664542,
  "createTimeISO": "2026-07-21T20:09:02.000Z",
  "playCount": 1400000,
  "diggCount": 94400,
  "shareCount": 3130,
  "commentCount": 2857,
  "collectCount": 6994,
  "repostCount": 0,
  "durationSeconds": 25,
  "hashtags": [],
  "mentions": [],
  "isAd": false,
  "isAiGenerated": false,
  "locationCreated": "US",
  "textLanguage": "en",
  "musicId": "7665075815390645006",
  "musicTitle": "original sound",
  "musicAuthor": "NASA",
  "musicOriginal": true,
  "musicUrl": "https://www.tiktok.com/music/-7665075815390645006",
  "coverUrl": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx...",
  "authorUsername": "nasa",
  "authorNickname": "NASA",
  "authorId": "7664638705177150477",
  "authorSecUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
  "authorVerified": true,
  "authorFollowers": 1900000,
  "authorFollowing": 23,
  "authorLikes": 9800000,
  "authorVideoCount": 49,
  "authorProfileUrl": "https://www.tiktok.com/@nasa",
  "source": "url",
  "sourceValue": null,
  "sourceRank": null,
  "detailed": true,
  "detailError": null,
  "inputUrl": "https://www.tiktok.com/@nasa/video/7665075736742530317",
  "scrapedAt": "2026-09-29T13:51:41.268Z"
}
```

A link that is not a TikTok video, or a video that is deleted or private, comes back as one row with `ok: false`
and a plain reason, such as `video not found or not public`. Those rows are free.

### Pricing

**$1.00 per 1,000 videos**: one charge per video row written. Failed links and the same video given twice are free.

Paid Apify plans pay less: 10% off on Bronze, 20% on Silver and 30% on Gold and higher tiers.

Apify also charges a run-start fee of $0.00005 per started GB of allocated memory (minimum one event), including runs that produce no chargeable results.

### Use cases

- **Campaign reporting**: views, likes, shares and saves for every video in a campaign, on a schedule.
- **Influencer vetting**: real engagement on the videos a creator sends you.
- **Enrich a spreadsheet of links** with full public stats for dashboards and research.

### FAQ

**Can it find videos for me?** No, this one reads the videos you give it. To find videos, use the
[TikTok Profile Scraper](https://apify.com/clearfetch/tiktok-profile-scraper) for an account's latest videos or the
[TikTok Scraper](https://apify.com/clearfetch/tiktok-scraper) for hashtags and sounds.

**Do I need a proxy or cookies?** No. Everything comes from public TikTok pages that load without an account.
The proxy option exists for very large scheduled volumes only.

**Is it legal?** It reads only public pages, the same ones anyone sees without logging in. You are responsible
for how you use the data, including data protection rules for personal data such as usernames.

### Integrations

Run it from the Apify API or a client library, schedule it in Apify Console, or connect it to n8n, Make,
Zapier or any MCP client through Apify's integrations. Results are available as JSON, CSV, Excel and through
the dataset API.

### More tools from clearfetch

- [TikTok Scraper](https://apify.com/clearfetch/tiktok-scraper): hashtags, profiles, sounds and video stats in one Actor
- [TikTok Profile Scraper](https://apify.com/clearfetch/tiktok-profile-scraper): followers, likes and the latest videos of any account
- [TikTok Comments Scraper](https://apify.com/clearfetch/tiktok-comments-scraper): every comment and reply under a video
- [Google Trends Scraper](https://apify.com/clearfetch/google-trends-scraper): interest over time, by region and related queries, plus today's trending searches

### Changelog

- **1.0.0** (2026-09) — first release: full stats per video link, share links and photo posts.

# Actor input Schema

## `postURLs` (type: `array`):

Full stats for specific videos. Full links, share links (vm.tiktok.com/..., tiktok.com/t/...), photo posts and bare video ids work. Also accepts "urls", "videoUrls" and "startUrls" (which may mix hashtag, profile, sound and video links).

## `includeRaw` (type: `boolean`):

Adds the untouched objects TikTok returned as "raw", for fields this Actor does not map. Makes each row several times larger.

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

How many pages to read at once.

## `timeoutSecs` (type: `integer`):

Per request. Pages TikTok returns without data are retried before an item is reported as failed.

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

Not needed: TikTok serves these pages to Apify's own servers. Turn it on only for very large volumes if you start seeing rate-limit errors.

## Actor input object example

```json
{
  "postURLs": [
    "https://www.tiktok.com/@tiktok/video/7106594312292453675"
  ],
  "includeRaw": false,
  "maxConcurrency": 3,
  "timeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Video rows (type "video"): views, likes, shares, comments, saves, post time, duration, hashtags, sound and author stats. Summary rows (type "hashtag", "profile", "sound"): total views and video counts, followers, likes and bio. Inputs that could not be read appear with ok=false and a reason, and are not charged.

# 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 = {
    "postURLs": [
        "https://www.tiktok.com/@tiktok/video/7106594312292453675"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("clearfetch/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 = {
    "postURLs": ["https://www.tiktok.com/@tiktok/video/7106594312292453675"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("clearfetch/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 '{
  "postURLs": [
    "https://www.tiktok.com/@tiktok/video/7106594312292453675"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call clearfetch/tiktok-video-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,clearfetch/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/vwAm9ZNcf0sNom7Ai/builds/SFB1EJ6EackQnaQyl/openapi.json
