# TikTok views counter for any video URL

**Use case:** 

Gets the stats of TikTok videos from their URLs: views, likes, comments, shares, saves, caption, music, hashtags and author. Paste your own video links to track how they perform over time.

## Input

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@zachking/video/6768504823336815877",
    "https://www.tiktok.com/@zachking/video/7655004069190192398",
    "https://www.tiktok.com/@nasa/video/7665075736742530317"
  ],
  "maxItems": 50
}
```

## Output

```json
{
  "coverUrl": {
    "label": "Cover",
    "format": "image"
  },
  "authorUsername": {
    "label": "Author"
  },
  "description": {
    "label": "Caption"
  },
  "createdAt": {
    "label": "Posted",
    "format": "date"
  },
  "playCount": {
    "label": "Plays",
    "format": "number"
  },
  "likeCount": {
    "label": "Likes",
    "format": "number"
  },
  "commentCount": {
    "label": "Comments",
    "format": "number"
  },
  "shareCount": {
    "label": "Shares",
    "format": "number"
  },
  "saveCount": {
    "label": "Saves",
    "format": "number"
  },
  "durationSeconds": {
    "label": "Duration (s)",
    "format": "number"
  },
  "authorFollowers": {
    "label": "Author followers",
    "format": "number"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## 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 views counter for any video URL". [Sign up or log in](https://console.apify.com/create-task-from-example/M3jboOgP0ALt2Mh22) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "TikTok views counter for any video URL" task

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

### 3. Receive the "TikTok views counter for any video URL" 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 views counter for any video URL" task via API](https://apify.com/piotrv1001/tiktok-video-scraper.md).

## FAQ

### What stats does the TikTok views counter return?

The TikTok views counter task returns each video's views, likes, comments, shares, saves, caption, hashtags, mentions, music, duration, posting date and cover image, plus the author's username.

### Which TikTok links can I paste?

The TikTok views counter task accepts full video or photo post links, share links like vm.tiktok.com or tiktok.com/t/, and bare video IDs, one per line. Each link gives one row.

### How do I track a TikTok video's views over time?

The TikTok views counter task can be scheduled hourly or daily in Apify with the same links. Compare views and likes per video ID across runs to see how fast each video grows.

### Does it include the creator's follower count?

The TikTok views counter task adds the author's followers, following, total likes, video count, verified status and bio to every row, so you can compare a video's views with the account size.

### How is the TikTok views counter billed?

The TikTok views counter task is billed per video saved, plus a tiny start fee per run. Max videos caps how many links are processed; raise it when you paste more than 50.

### Can I send TikTok stats to Google Sheets?

The TikTok views counter task results can be exported as JSON, CSV, Excel, XML or HTML, sent to Google Sheets, or fetched through the Apify API and integrations such as Make, Zapier and n8n.

## About this Actor

This example demonstrates how to use [TikTok Video Scraper](https://apify.com/piotrv1001/tiktok-video-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/piotrv1001/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/piotrv1001/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`).
