# YouTube Video Details Scraper - Metadata, Views, Likes, Tags (`alom/youtube-video-details-scraper`) Actor

Paste YouTube video or Shorts URLs and get one row per video: exact views and likes (not "1.8M"), comment count, upload time to the second, duration, description, tags, category, chapters and the channel's subscribers. Any URL form, bare ids via the API. No API key or quota.

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

## Pricing

from $0.35 / 1,000 results

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: Metadata, Views, Likes, Tags

This **YouTube video details scraper** takes a list of **YouTube video URLs** and returns **one row per video** with
the watch page's metadata, with **no API key**: exact views, likes, comment count, upload time, duration, full
description, tags, category, chapters and the channel's subscribers. It is for enriching video lists, influencer
campaign reports and daily tracking. The Free plan's $5 monthly credit covers about 6,200 videos.

- **No API key, no quota, no login.** It reads what youtube.com shows a logged-out visitor.
- **Exact numbers:** `viewCount` 1,832,701,208, not "1.8B views"; upload time to the second.
- **Any URL form:** `watch?v=`, `youtu.be/`, `/shorts/`, `/embed/`, `m.youtube.com`; bare video ids through the API.
- **Long lists:** 80 videos in 53 s in our test, 5 at a time by default.
- **$0.80 per 1,000 videos on the Free plan, $0.35 on Business.**

### How to get YouTube video details in 3 steps

1. Paste **video URLs** (e.g. `https://www.youtube.com/watch?v=dQw4w9WgXcQ`), one per line, or upload a list.
2. Press **Start**. 2 videos take a few seconds.
3. Open the **Output** tab, or export to CSV, Excel or JSON.

### Related actors

- [YouTube Scraper](https://apify.com/alom/youtube-scraper): channels, videos, Shorts, search, playlists and comments in one Actor
- [YouTube Channel Scraper](https://apify.com/alom/youtube-channel-scraper): every video of a channel, with the channel's stats on every row
- [YouTube Shorts Scraper](https://apify.com/alom/youtube-shorts-scraper): Shorts by keyword or channel, with views and likes
- [YouTube Comments Scraper](https://apify.com/alom/youtube-comments-scraper): comments and replies of any video or Short
- [YouTube Playlist Scraper](https://apify.com/alom/youtube-playlist-scraper): every video of a playlist, in playlist order
- [YouTube Channel Email Scraper](https://apify.com/alom/youtube-channel-finder): creators by keyword, with the emails they publish

### What can you use it for?

- **Enriching a list of videos:** views, likes and dates for links you collected elsewhere (a spreadsheet, a CRM,
  a campaign report).
- **Influencer campaign reporting:** how the sponsored videos performed, with exact counts.
- **Tracking:** schedule the same list daily to follow views and likes over time.
- **Content research:** titles, tags, categories, lengths and chapters of the videos that work.

### Input

| Field | What it does |
|---|---|
| `startUrls` | Video or Shorts URLs. |
| `videoUrls` | API only: plain strings, URLs or bare 11-character video ids. |
| `maxConcurrency` | Videos processed at the same time. Default 5. |

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

`urls` (plain strings) is understood too, so input from other YouTube scrapers usually works as is.

### Output example

```json
{
    "type": "video",
    "id": "dQw4w9WgXcQ",
    "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "title": "Never Gonna Give You Up",
    "text": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNev…",
    "viewCount": 1832701208,
    "likes": 19490934,
    "commentsCount": 2400000,
    "date": "2009-10-25T06:57:33.000Z",
    "dateIsExact": true,
    "duration": "00:03:33",
    "durationSeconds": 213,
    "category": "Music",
    "keywords": [
        "rick astley",
        "Never Gonna Give You Up",
        "nggyu",
        "…"
    ],
    "hashtags": [
        "#OfficialMusicVideo",
        "#NeverGonnaGiveYouUp",
        "#RickAstleyNever",
        "#RickAstley",
        "#WheneverYouNeedSomebody"
    ],
    "chapters": [],
    "thumbnailUrl": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hq720.jpg",
    "isMembersOnly": false,
    "isAgeRestricted": false,
    "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "channelName": "Rick Astley",
    "channelUrl": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
    "numberOfSubscribers": 4550000,
    "isChannelVerified": true,
    "detailsScraped": true,
    "input": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "scrapedAt": "2026-11-01T14:19:21.666Z"
}
```

Shorts have `"type": "shorts"`. `commentsCount` is rounded the way YouTube shows it ("2.4M"). Values YouTube doesn't show (likes hidden by the creator, comments turned off) are
`null`, never a made-up `0`.

### How much does it cost?

Pay per result, platform usage (compute and proxy) included. One result = one video row.

| Apify plan | Price per 1,000 videos |
|---|---|
| Free | $0.80 |
| Starter (Bronze) | $0.55 |
| Scale (Silver) | $0.45 |
| Business (Gold) and above | $0.35 |

Videos that fail (deleted, private, a wrong id) produce no row and no charge.

#### Paid add-on (optional)

| Add-on | What each video gets | Price |
|---|---|---|
| Channel details (`addChannelDetails`) | The channel's subscribers, description, country, join date, total videos and views, avatar and banner, plus `channelEmails` and `channelDescriptionLinks` from its description | $1.00 per 1,000 channels, once per channel per run |

Off by default; switch it on in the input's **Paid add-ons** section. It is charged on top of the row's own price, only
with a delivered row and never past your run's spending limit. Until December 4, 2026 it is free to try: its price starts that day.

### Limitations

- **Private, deleted and members-only videos** have no public details; they are named in the status message and the
  `NOT_FOUND` record.
- **Age-restricted videos** may miss some fields for logged-out visitors.
- Subscriber counts are rounded the way YouTube shows them ("4.55M").
- This Actor takes video URLs. For all videos of a channel use the YouTube Channel Scraper, for a playlist the
  YouTube Playlist Scraper.

### FAQ

**Do I need a YouTube account or an API key?** No.

**Is it legal?** It collects publicly visible data. You are responsible for how you use it, including data
protection rules for personal data.

**Why did my run say "partial"?** Some videos could not be finished (for example the run hit its timeout).
Everything scraped so far is in the dataset; the status message says what was missed.

### More scrapers from the same developer

- [YouTube Scraper](https://apify.com/alom/youtube-scraper): videos, channels, Shorts, comments and community posts without the API quota
- [YouTube Channel Scraper](https://apify.com/alom/youtube-channel-scraper): every video of a channel with the channel's stats
- [YouTube Playlist Scraper](https://apify.com/alom/youtube-playlist-scraper): all videos of any playlist, in order
- [YouTube Channel Email Scraper](https://apify.com/alom/youtube-channel-finder): YouTube creators by keyword, with the emails they publish
- [YouTube Comments Scraper](https://apify.com/alom/youtube-comments-scraper): comments and replies of any video, top or newest first
- [YouTube Shorts Scraper](https://apify.com/alom/youtube-shorts-scraper): Shorts from any channel or keyword search
- [TikTok Video Downloader](https://apify.com/alom/tiktok-video-downloader): public TikTok videos as MP4 files from post and short links, with a direct download link
- [Google Trends API & Scraper](https://apify.com/alom/google-trends-scraper): interest over time, regions, related queries and Trending Now

### Feedback

Missing a field, found a bug, or need a feature? Open an issue in the **Issues** tab and I'll take a look. If this
Actor saved you time, a short review on the Store page helps other people find it.

# Actor input Schema

## `startUrls` (type: `array`):

Video or Shorts URLs (<code>youtube.com/watch?v=…</code>, <code>youtu.be/…</code>, <code>youtube.com/shorts/…</code>), one per line, or upload a list. Through the API, bare 11-character video ids work in <code>videoUrls</code>.

## `addChannelDetails` (type: `boolean`):

Fill the channel fields of every video: subscribers, description, country, join date, total videos and views, avatar and banner, plus <code>channelEmails</code> and <code>channelDescriptionLinks</code> from the channel's description. Read from the channel's page once per channel per run, and charged once per channel.

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

How many videos are processed at the same time.

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

The default (Apify datacenter proxy) works for YouTube and is included in the price. If YouTube starts blocking it, the run switches to residential proxies on its own and says so in the log.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    },
    {
      "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw"
    }
  ],
  "addChannelDetails": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("alom/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 = { "startUrls": [
        { "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" },
        { "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw" },
    ] }

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

```

## MCP server setup

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