# TikTok Video Stats by URL — Views, Likes, Comments & Shares

**Use case:** 

Pull the engagement numbers of specific TikTok posts without copying them by hand, here the Guinness World Records most-viewed-video post and a TikTok In The Mix clip. Each row has the caption, hashtags, playCount, diggCount, commentCount, shareCount, collectCount, repostCount, upload date, author and music details.

## Input

```json
{
  "urls": [
    "https://www.tiktok.com/@guinnessworldrecords/video/7172183875538488582",
    "https://www.tiktok.com/@tiktok/video/7650573331304860958"
  ],
  "scrapeRelatedVideos": false,
  "resultsPerPage": 10,
  "enrichRelatedVideos": true,
  "shouldDownloadVideos": false,
  "videoDownloadQuality": "best",
  "shouldDownloadCovers": false,
  "shouldDownloadSlideshowImages": false,
  "shouldDownloadMusic": false,
  "videoKvStoreIdOrName": "tiktok-videos",
  "downloadSubtitlesOptions": "NEVER_DOWNLOAD_SUBTITLES",
  "subtitleLanguages": [
    "en",
    "es"
  ],
  "transcriptionModel": "base",
  "transcriptionLanguage": "auto",
  "shouldGetTranscript": false,
  "scrapeAuthorProfile": true,
  "resolvePinnedStatus": true,
  "maxConcurrency": 4,
  "maxRetries": 3,
  "requestDelaySecs": 0,
  "requestTimeoutSecs": 40,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "videoMeta.coverUrl": {
    "label": "Cover",
    "format": "image"
  },
  "authorMeta.name": {
    "label": "Author",
    "format": "text"
  },
  "text": {
    "label": "Caption",
    "format": "string"
  },
  "createTimeISO": {
    "label": "Created",
    "format": "string"
  },
  "playCount": {
    "label": "Views",
    "format": "integer"
  },
  "diggCount": {
    "label": "Likes",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comments",
    "format": "integer"
  },
  "shareCount": {
    "label": "Shares",
    "format": "integer"
  },
  "collectCount": {
    "label": "Saves",
    "format": "integer"
  },
  "videoMeta.duration": {
    "label": "Length (s)",
    "format": "number"
  },
  "isRelatedVideo": {
    "label": "Related video",
    "format": "boolean"
  },
  "webVideoUrl": {
    "label": "Post URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The TikTok Video Scraper Actor is ready to run with the inputs already set for "TikTok Video Stats by URL — Views, Likes, Comments & Shares". [Sign up or log in](https://console.apify.com/create-task-from-example/y8ha0El2mnYMqZd2j) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "TikTok Video Stats by URL — Views, Likes, Comments & Shares" task

The TikTok Video Scraper Actor will start running based on the input automatically. You can also change all the input fields, like 🎬 tiktok video urls, 🧲 scrape related videos, and more, to match your specific use case.

### 3. Receive the "TikTok Video Stats by URL — Views, Likes, Comments & Shares" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as cover, author, caption, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "TikTok Video Stats by URL — Views, Likes, Comments & Shares" task via API](https://apify.com/crawl_craft/tiktok-video-scraper.md).

## About this Actor

This example demonstrates how to use [TikTok Video Scraper](https://apify.com/crawl_craft/tiktok-video-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/crawl_craft/tiktok-video-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/crawl_craft/tiktok-video-scraper.md

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`).
