# YouTube Video Details Scraper: Views, Likes, Comments, Tags (`datadesk-io/youtube-video-details-scraper`) Actor

Get full details of any YouTube video from its URL or ID: title, description, views, likes, comment count, publish date, duration, hashtags, tags, category and channel stats (subscribers, verified). Bulk lists, Shorts and live URLs. No API key, no quota. $1 per 1,000 videos.

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

## Pricing

from $0.80 / 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

## YouTube Video Details Scraper: Views, Likes, Comments, Tags

Get the **full details of any YouTube video** from its URL or ID: **title, full description, views, likes, comment count, publish date, duration, hashtags, location, tags and category**, plus **channel name, ID, handle, subscribers and verified badge**. Paste **hundreds of URLs at once** (watch, youtu.be, Shorts, live or embed links). No YouTube API key, no quota, no login. **$1 per 1,000 videos.**

### Try it now (one click)

1. Click **Start**. The prefilled input gets details for 3 famous videos. In our latest check (Nov 17, 2026) it returned **3 videos in about 3 seconds**. An empty input runs a small demo too.
2. Paste your video URLs or IDs (one per line). Any YouTube link format works.
3. Download the results as CSV, Excel or JSON, or get them via API, webhooks, Make or Zapier.

**Price example:** 100 videos = **$0.105**, 1,000 videos = **$1.005** ($1.00 per 1,000 videos + $0.005 per run). Silver and Gold plan users pay 10% and 20% less per video. Apify's free plan includes $5 of usage every month, enough for about 4,995 videos. Runs that find nothing are not charged.

#### Sample of real results

*Real rows from a local test run on Nov 17, 2026 (some columns). Each video also includes the other fields listed below.*

| Title | Views | Likes | Comments | Published | Duration | Channel |
|---|---|---|---|---|---|---|
| Me at the zoo | 448,760,887 | 20,141,077 | 10,000,000 | 2005-04-23 | 0:19 | jawed |
| Rick Astley - Never Gonna Give You Up (Officia… | 1,838,273,317 | 19,509,858 | 2,400,000 | 2009-10-24 | 3:33 | Rick Astley |
| PSY - GANGNAM STYLE(강남스타일) M/V | 6,132,347,914 | 32,414,474 | 5,400,000 | 2012-07-15 | 4:12 | officialpsy |

### What you get

| Field group | Fields |
|---|---|
| Video | video ID, URL, title, full description, thumbnail, hashtags, location |
| Stats | views, likes, comment count |
| Date & length | publish date (ISO), date as shown, relative date, duration (seconds and h:mm:ss), live flag |
| Metadata | tags (keywords) and category when YouTube exposes them, family-safe flag |
| Channel | name, ID, URL, @handle, subscribers (number and text), verified badge |

### Why this Actor

- **No API key or quota:** the YouTube Data API needs a Google Cloud project and caps you at 10,000 units per day; this Actor has no quota.
- **Likes and comment count included:** the numbers most video scrapers skip.
- **Channel stats in the same row:** subscribers and verified badge next to each video, ready for influencer vetting.
- **Cheap:** $1 per 1,000 videos, failed or deleted videos are free.
- **Any link format:** watch, youtu.be, Shorts, live, embed or plain IDs, duplicates removed automatically.

### How to use it

1. Click **Try for free** (or **Start**): the prefilled input runs a quick test.
2. Paste your video URLs or IDs (one per line). Any YouTube link format works.
3. Click **Start** and wait a few seconds.
4. Open the **Output** tab and export as **JSON, CSV, Excel, XML or HTML**, or read the dataset via API.

### Input examples

**Three videos (prefill):**

```json
{"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw", "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "https://youtu.be/9bZkp7q19f0"]}
```

**Shorts and plain IDs:**

```json
{"videoUrls": ["https://www.youtube.com/shorts/aqz-KE-bpKQ", "jNQXAC9IVRw"]}
```

**Big list with a safety cap:**

```json
{"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ", "..."], "maxVideos": 5000}
```

#### Input fields

| Field | Type | Description |
|---|---|---|
| `videoUrls` | array | Videos to get details for: watch, youtu.be, Shorts, live or embed URLs, or 11-character video IDs. One per line. Leave empty for a 3-video demo. |
| `maxVideos` | integer | Hard cap on how many videos are processed in this run (protects your budget when you paste a long list). |

### Output example

*Example record from a local test run (long lists shortened).*

```json
{
  "videoId": "dQw4w9WgXcQ",
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
  "description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️ #RickAstleyNever\nhttp…",
  "viewCount": 1838273317,
  "likeCount": 19509858,
  "commentCount": 2400000,
  "publishDate": "2009-10-24",
  "publishedText": "Oct 24, 2009",
  "publishedRelative": "17 years ago",
  "durationSeconds": 213,
  "duration": "3:33",
  "hashtags": [
    "#OfficialMusicVideo",
    "#NeverGonnaGiveYouUp",
    "#RickAstleyNever"
  ],
  "location": null,
  "keywords": [
    "rick astley",
    "Never Gonna Give You Up",
    "nggyu",
    "never gonna give you up lyrics"
  ],
  "category": "Music",
  "isLive": false,
  "isFamilySafe": true,
  "channelName": "Rick Astley",
  "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
  "channelUrl": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
  "channelHandle": null,
  "channelSubscribers": 4560000,
  "channelSubscribersText": "4.56M subscribers",
  "channelVerified": true,
  "thumbnailUrl": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
  "source": "youtube.com watch page",
  "scrapedAt": "2026-11-17T23:21:17.926613+00:00",
  "isNew": false
}
```

#### Output fields

| Field | Description |
|---|---|
| `videoId` | 11-character YouTube video ID. |
| `url` | Watch URL of the video. |
| `title` | Video title. |
| `description` | Full video description (links and timestamps included). |
| `viewCount` | Total view count. |
| `likeCount` | Like count (exact when YouTube shows it, otherwise rounded, e.g. 20M). |
| `commentCount` | Comment count as shown on YouTube (rounded for big videos, e.g. 10M); null if comments are off. |
| `publishDate` | Upload / premiere date (YYYY-MM-DD). |
| `publishedText` | Date text as shown under the video, e.g. "Apr 23, 2005" or "Premiered Oct 2, 2025". |
| `publishedRelative` | Relative date as shown, e.g. "3 weeks ago". |
| `durationSeconds` | Video length in seconds. |
| `duration` | Video length as h:mm:ss or m:ss. |
| `hashtags` | Hashtags shown above the title. |
| `location` | Location tag shown above the title, if any. |
| `keywords` | Video tags (keywords) set by the uploader, when YouTube exposes them. |
| `category` | YouTube category (e.g. Music, Education), when YouTube exposes it. |
| `isLive` | True for live streams and past live streams. |
| `isFamilySafe` | YouTube family-safe flag, when exposed. |
| `channelName` | Channel name. |
| `channelId` | Channel ID (UC...). |
| `channelUrl` | Channel URL (handle URL when available). |
| `channelHandle` | Channel @handle. |
| `channelSubscribers` | Channel subscriber count (rounded as shown, e.g. 6.74M -> 6740000). |
| `channelSubscribersText` | Subscriber text as shown, e.g. "6.74M subscribers". |
| `channelVerified` | True if the channel has the verified badge. |
| `thumbnailUrl` | Max-resolution thumbnail URL. |
| `source` | Where the data came from. |
| `scrapedAt` | When the video was scraped (ISO 8601 UTC). |
| `isNew` | Internal flag (always false here). |

### Pricing

Pay-per-event: **$0.005** once per run that saves results + **$0.001 per video** ($1.00 / 1,000). Runs that save nothing are not charged.

| Videos saved | Approx. cost |
|---|---|
| 20 | $0.025 |
| 100 | $0.105 |
| 1,000 | $1.005 |
| 10,000 | $10.005 |

### Use cases

- Track views, likes and comments of your own or competitor videos over time (schedule it daily)
- Vet influencers: engagement rate (likes/views) and channel subscribers in one row
- Enrich video lists from our YouTube Search or Channel scrapers with likes, comments and full descriptions
- Collect descriptions, hashtags and tags for YouTube SEO research
- Build video datasets for analytics and AI

### Integrations / API

Works with the Apify API, Schedules, webhooks, Make, Zapier, n8n and MCP. Example:

```bash
curl "https://api.apify.com/v2/acts/datadesk-io~youtube-video-details-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw", "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "https://youtu.be/9bZkp7q19f0"]}'
```

Python:

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("datadesk-io/youtube-video-details-scraper").call(run_input={"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw", "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "https://youtu.be/9bZkp7q19f0"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### MCP

Use this Actor from an MCP client (Cursor, Claude Desktop, etc.) through the Apify MCP server (`datadesk-io/youtube-video-details-scraper`).

### FAQ

**Do I need a YouTube API key?** No. The Actor reads the public watch page data, like a normal visitor.

**Are likes and comment counts exact?** Views are exact. Likes are exact when YouTube shows them, otherwise rounded the way YouTube displays them (e.g. 20M). Comment counts are shown rounded by YouTube for big videos (e.g. 2.4M).

**Why are tags or category sometimes empty?** YouTube does not always expose tags and category to anonymous visitors. All other fields are filled for every public video.

**What happens with private or deleted videos?** They are skipped and not charged.

**What does an empty input do?** It runs a 3-video demo so you can see the output right away.

### Limitations

- Public videos only (no private, members-only or age-restricted data).
- Tags (keywords) and category are filled only when YouTube exposes them to anonymous visitors.
- Need the video list first? Use our YouTube Search Scraper or YouTube Channel Scraper, then paste the URLs here.

### Start now

Click **Start** to run the prefilled example, then adjust the input. Missing a field or filter? Open an issue on the **Issues** tab and tell us what you need.

### Support

Questions, bugs or a missing field? Email **datadesk.io@proton.me** or open an issue on the Actor page.

***

**ES:** Detalles de videos de YouTube por URL: vistas, likes, comentarios, fecha, duración, descripción, etiquetas y suscriptores del canal. $1 por 1.000 videos.
**PT:** Detalhes de vídeos do YouTube por URL: visualizações, likes, comentários, data, duração, descrição, tags e inscritos do canal. US$1 por 1.000 vídeos.

# Actor input Schema

## `videoUrls` (type: `array`):

Videos to get details for: watch, youtu.be, Shorts, live or embed URLs, or 11-character video IDs. One per line. Leave empty for a 3-video demo.

## `maxVideos` (type: `integer`):

Hard cap on how many videos are processed in this run (protects your budget when you paste a long list).

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://www.youtube.com/shorts/aqz-KE-bpKQ",
    "jNQXAC9IVRw"
  ],
  "maxVideos": 500
}
```

# Actor output Schema

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

No description

# 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 = {
    "videoUrls": [
        "https://www.youtube.com/watch?v=jNQXAC9IVRw",
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "https://youtu.be/9bZkp7q19f0"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datadesk-io/youtube-video-details-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 = { "videoUrls": [
        "https://www.youtube.com/watch?v=jNQXAC9IVRw",
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "https://youtu.be/9bZkp7q19f0",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datadesk-io/youtube-video-details-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 '{
  "videoUrls": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://youtu.be/9bZkp7q19f0"
  ]
}' |
apify call datadesk-io/youtube-video-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datadesk-io/youtube-video-details-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/crYnNgNghZsfgydqj/builds/ixnBVx0pwreEeVjXc/openapi.json
