# YouTube View Counter: Views, Likes and Comment Count

**Use case:** 

Check views, likes and the comment count of YouTube videos in bulk, with publish date and duration. Schedule the task to track how the counters grow.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=9bZkp7q19f0",
    "https://www.youtube.com/watch?v=JGwWNGJdvx8",
    "https://www.youtube.com/watch?v=fJ9rUzIMcZQ"
  ],
  "includeVideo": true,
  "includeChannel": false,
  "includeComments": true,
  "includeTranscript": false,
  "includeSearch": false,
  "language": "en",
  "country": "US",
  "commentsPages": 1
}
```

## Output

```json
{
  "video_id": {
    "label": "Video ID",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "views": {
    "label": "Views",
    "format": "integer"
  },
  "channel_title": {
    "label": "Channel title",
    "format": "string"
  },
  "channel_subscribers": {
    "label": "Subscribers",
    "format": "integer"
  },
  "comments_total": {
    "label": "Comments total",
    "format": "integer"
  },
  "transcript_word_count": {
    "label": "Words",
    "format": "integer"
  },
  "search_self_rank": {
    "label": "Self rank",
    "format": "integer"
  }
}
```

## How it works

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

The YouTube Video Scraper - 5 datasets per URL | $0.60/video Actor is ready to run with the inputs already set for "YouTube View Counter: Views, Likes and Comment Count". [Sign up or log in](https://console.apify.com/create-task-from-example/LCDSRg25TmfHWvBgr) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube View Counter: Views, Likes and Comment Count" task

The YouTube Video Scraper - 5 datasets per URL | $0.60/video Actor will start running based on the input automatically. You can also change all the input fields, like video urls or ids, include video metadata, and more, to match your specific use case.

### 3. Receive the "YouTube View Counter: Views, Likes and Comment Count" 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 video id, title, views, 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 "YouTube View Counter: Views, Likes and Comment Count" task via API](https://apify.com/doesaiknow/youtube-scraper-5-datasets-from-one-video-url.md).

## FAQ

### What does this YouTube view counter return?

The YouTube view counter preset returns views, likes, exact comment count, publish date and duration for its example videos, plus roughly 20 top-level comments from 1 comment page. commentsPages goes up to 10.

### How do I check the total views of YouTube videos?

In the YouTube view counter task, paste video URLs and run; views come back as integers. Large like counts are rounded at the source, so 1.1M likes becomes 1100000.

### Is this a live view count?

YouTube Video Scraper records each counter as a point-in-time value stamped with fetched_at. A video processed in the last 24 hours is re-delivered from cache with its original timestamp.

### Can I track how views grow over time?

Scheduled runs of the YouTube view counter can be compared over time. Space them more than 24 hours apart so each run fetches fresh numbers instead of cached ones.

### How many videos can I check in one run?

The YouTube view counter takes up to 500 video URLs per run, replacing the preset's example URLs. A video pasted twice in different link formats is merged into one row and billed once.

### How much does a view count check cost?

YouTube Video Scraper bills a view count check at $0.60 per video on the free plan and $0.10 or less on paid plans, plus a $0.002 start per run. Duplicates, cache hits and failures skip the per-video event; the $0.002 start still applies.

## About this Actor

This example demonstrates how to use [YouTube Video Scraper - 5 datasets per URL | $0.60/video](https://apify.com/doesaiknow/youtube-scraper-5-datasets-from-one-video-url.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/doesaiknow/youtube-scraper-5-datasets-from-one-video-url.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/doesaiknow/youtube-scraper-5-datasets-from-one-video-url.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`).
