# YouTube Video Details Scraper (`logiover/youtube-video-details-scraper`) Actor

Get full metadata for any YouTube video in bulk: title, exact view count, description, tags/keywords, category, publish date, duration, channel and thumbnail. No login, no API key. Feed URLs or IDs. Export to JSON/CSV/Excel.

- **URL**: https://apify.com/logiover/youtube-video-details-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** Social media, Videos, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## YouTube Video Details Scraper 🎬 — Views, Likes, Tags & Metadata (No Login, No API Key)

**Get complete metadata for any YouTube video** in bulk — **exact view count, like count, full description, tags/keywords, category, publish date, duration, channel and thumbnail**. This **YouTube video data scraper** takes video URLs or IDs and exports to **JSON, CSV or Excel**.

No login, no cookies, no Google API key, no quota. Hydrate thousands of video IDs in a single run.

> ✅ No login · No API key · Exact views & likes · Full description & tags · Bulk hydration

---

### Why use this YouTube video details scraper?

- **Exact numbers.** Real view counts (e.g. `9,023,750,780`) and like counts — not the abbreviated `9B` shown in listings.
- **Full description & tags.** The complete video description plus every keyword/tag the creator set — gold for **video SEO**.
- **Rich metadata.** Category, publish & upload date, duration (seconds + formatted), live flag, family-safe flag, channel and thumbnail.
- **Bulk hydration.** Pass thousands of IDs/URLs — ideal downstream of the Channel or Search scrapers.
- **No API quota.** The official YouTube Data API burns quota per video; this has no such cap.

---

### How to scrape YouTube video data (step by step)

No code required. Here's how to **get YouTube video metadata in bulk**:

1. **Open the actor** on Apify and click **Try for free**.
2. **Paste video URLs or IDs** into the `videos` field (watch links, `youtu.be`, Shorts, or bare IDs).
3. *(Optional)* Toggle `includeLikes`.
4. Click **Start**.
5. **Export** the metadata to CSV, Excel or JSON — or pull it via the Apify API.

**Building a pipeline?** Collect IDs with the **YouTube Channel Scraper** or **YouTube Search Scraper**, then hydrate them here into full records.

---

### What data can you extract from a YouTube video?

| Data point | Field | Example |
|------------|-------|---------|
| Title | `title` | `"Luis Fonsi - Despacito"` |
| Views (exact) | `viewCount` | `9023750780` |
| Likes | `likeCount` | `56243495` |
| Description (full) | `description` | `"Despacito disponible ya…"` |
| Tags / keywords | `keywords` | `["despacito","luis fonsi",…]` |
| Category | `category` | `"Music"` |
| Publish date (ISO) | `publishDate` | `"2017-01-12T…"` |
| Duration | `duration` / `lengthSeconds` | `"4:42"` / `282` |
| Channel | `channelTitle` / `channelId` | `"LuisFonsiVEVO"` |
| Thumbnail (max-res) | `thumbnail` | `https://i.ytimg.com/…/maxresdefault.jpg` |

---

### Use cases

- **Video SEO & tag research** — pull the tags, titles and descriptions of top-ranking videos for a keyword.
- **Competitor content analysis** — compare exact views, likes, durations and categories across a set of videos.
- **Dataset enrichment** — hydrate `videoId`s from the Channel/Search scrapers into full records.
- **Trend & performance tracking** — schedule it to snapshot view/like growth over time.
- **AI / analytics pipelines** — clean, structured per-video facts for models and dashboards.

---

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `videos` | `string[]` | — | Video URLs or 11-char IDs. |
| `includeLikes` | `boolean` | `true` | Try to extract the like count (best-effort). |
| `maxResults` | `integer` | `0` | Cap on videos saved. |

#### Example input

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

#### Example output

```json
{
  "videoId": "kJQP7kiw5Fk",
  "title": "Luis Fonsi - Despacito ft. Daddy Yankee",
  "viewCount": 9023750780,
  "likeCount": 56243495,
  "lengthSeconds": 282,
  "duration": "4:42",
  "category": "Music",
  "publishDate": "2017-01-12T00:00:00-08:00",
  "keywords": ["despacito", "luis fonsi", "daddy yankee"],
  "channelTitle": "LuisFonsiVEVO"
}
```

***

### How it works

This **YouTube metadata extractor** loads each video's public watch page and parses the embedded video data (the same the page renders with). That route returns **exact view counts, full descriptions, tags and category** reliably. Like counts are read best-effort from the page data. Built-in retries handle hiccups; private/unavailable videos are skipped with a logged reason.

***

### Frequently asked questions

**Do I need a YouTube API key to get video details?**
No — no key, no login, and no Google API quota.

**Are the view counts exact?**
Yes — exact integers, not the abbreviated counts shown in search/channel listings.

**Can I get the like count?**
Yes, for most videos (`includeLikes: true`). Some creators/categories hide the count, in which case `likeCount` is `null`.

**Can I scrape video tags / keywords for SEO?**
Yes — the `keywords` field returns every tag the creator set.

**Can I scrape video details in bulk?**
Yes — pass thousands of URLs/IDs in one run. Pair with the Channel or Search scraper to collect them.

**Is scraping YouTube video data legal?**
The actor collects only **public** video metadata. Use it in line with YouTube's Terms and applicable laws.

***

### Limits & notes

- Like counts are **best-effort** — most videos expose them, some hide the count (then `null`).
- Private, deleted or age-restricted videos can't be read and are skipped.
- For **comments** use the YouTube Comments Scraper; for a channel's **full video list** use the YouTube Channel Scraper.

***

### The complete YouTube scraping toolkit

- **[YouTube Channel Scraper](https://apify.com/logiover/youtube-channel-scraper)** — all videos of a channel
- **[YouTube Search Scraper](https://apify.com/logiover/youtube-search-scraper)** — find videos by keyword
- **[YouTube Comments Scraper](https://apify.com/logiover/youtube-comments-scraper)** — all comments for a video
- **[YouTube Influencer Discovery](https://apify.com/logiover/youtube-influencer-discovery-scraper)** — creators with engagement & contacts

***

### 💰 Pricing

Pay-per-result — you only pay for the videos you actually get. No proxy or YouTube API costs.

### 🆘 Support

Need engagement rate, comment counts, or chapter/timestamp extraction per video? Open an issue on the actor's page.

# Actor input Schema

## `videos` (type: `array`):

YouTube videos to fetch metadata for. Watch URLs, youtu.be links, Shorts URLs, or bare 11-character video IDs. Add as many as you like.

## `includeLikes` (type: `boolean`):

Also fetch the like count for each video (best-effort — YouTube hides it for some videos/categories, then null).

## `maxResults` (type: `integer`):

Cap on videos saved. 0 = unlimited.

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

Apify Proxy settings. RESIDENTIAL proxy is strongly recommended — it reliably unlocks full details (tags, category, duration, likes) for every video, including music/Vevo videos that block datacenter IPs. Without it, the actor still returns core fields (title, exact views, channel, date) for every video.

## Actor input object example

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "includeLikes": true,
  "maxResults": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `title` (type: `string`):

Video title

## `channelTitle` (type: `string`):

Channel name

## `viewCount` (type: `string`):

Exact view count

## `duration` (type: `string`):

Duration

## `category` (type: `string`):

Video category

## `publishDate` (type: `string`):

Publish date

## `keywords` (type: `string`):

Video tags

## `videoId` (type: `string`):

Video ID

## `url` (type: `string`):

Video URL

## `scrapedAt` (type: `string`):

Timestamp

# 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 = {
    "videos": [
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/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 = {
    "videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/youtube-video-details-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "videos": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call logiover/youtube-video-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=logiover/youtube-video-details-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "YouTube Video Details Scraper",
        "description": "Get full metadata for any YouTube video in bulk: title, exact view count, description, tags/keywords, category, publish date, duration, channel and thumbnail. No login, no API key. Feed URLs or IDs. Export to JSON/CSV/Excel.",
        "version": "1.0",
        "x-build-id": "kQhVoWV6oCaQIV0fz"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/logiover~youtube-video-details-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-logiover-youtube-video-details-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/logiover~youtube-video-details-scraper/runs": {
            "post": {
                "operationId": "runs-sync-logiover-youtube-video-details-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/logiover~youtube-video-details-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-logiover-youtube-video-details-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "videos"
                ],
                "properties": {
                    "videos": {
                        "title": "Video URLs or IDs",
                        "type": "array",
                        "description": "YouTube videos to fetch metadata for. Watch URLs, youtu.be links, Shorts URLs, or bare 11-character video IDs. Add as many as you like.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "includeLikes": {
                        "title": "Include like count",
                        "type": "boolean",
                        "description": "Also fetch the like count for each video (best-effort — YouTube hides it for some videos/categories, then null).",
                        "default": true
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Cap on videos saved. 0 = unlimited.",
                        "default": 0
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Proxy settings. RESIDENTIAL proxy is strongly recommended — it reliably unlocks full details (tags, category, duration, likes) for every video, including music/Vevo videos that block datacenter IPs. Without it, the actor still returns core fields (title, exact views, channel, date) for every video.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
