YouTube Video Details Scraper | Views, Tags & Chapters avatar

YouTube Video Details Scraper | Views, Tags & Chapters

Pricing

from $2.30 / 1,000 videos

Go to Apify Store
YouTube Video Details Scraper | Views, Tags & Chapters

YouTube Video Details Scraper | Views, Tags & Chapters

Get YouTube video details by URL or ID: exact view, like and comment counts, tags, chapters, category, publish date, duration, description and channel with subscribers. Watch, Shorts, live and youtu.be links, many videos per run, unavailable videos free, no login or API key.

Pricing

from $2.30 / 1,000 videos

Rating

0.0

(0)

Developer

Flowo

Flowo

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

YouTube Video Details Scraper | Views, Tags & Chapters

Get the details of YouTube videos from a list of URLs or video IDs: exact view count, like count and comment count, creator tags, chapters with start times, category, publish date, duration and the full description. Each row also carries the channel (name, @handle, subscriber count, verified badge), collaborators and flags such as Short, live now, age-restricted and unlisted. One row per video, no login or API key.

What does YouTube Video Details Scraper do?

You give it YouTube video links in any form (watch, youtu.be, Shorts, live, embed, m. and music.youtube.com URLs) or bare 11-character video IDs. It returns one dataset row per unique video with 40 fields of public metadata. It is made for people who already have the videos — marketers tracking campaign or influencer videos, data teams enriching a video list from a spreadsheet, and AI agents that got a video link and need its metadata in one call. It does not search YouTube, crawl channels or download transcripts.

How to scrape YouTube video details

How YouTube Video Details Scraper works: Reads video IDs from any YouTube URL form and drops duplicates; Requests each video's details from YouTube's own web API, 8 at a time; Adds chapters, channel d

  1. Open the actor in Apify Console.
  2. Paste your video URLs or IDs into Videos (URLs or IDs), one per line. Mixed URL forms and duplicates are fine.
  3. Keep the default Residential proxy (under Advanced).
  4. Click Start. A video takes about a second; a 1,000-video run finishes in a few minutes.
  5. Download the dataset as JSON, CSV or Excel, or open the Overview and Channels views in the Output tab.

How much does it cost to scrape YouTube?

Price per event by Apify plan:

EventFreeBronzeSilverGold and above
Video$2.70 per 1,000$2.565 per 1,000$2.43 per 1,000$2.295 per 1,000
Actor start$0.00005$0.00005$0.00005$0.00005

A test run with the API example input below returned 4 rows in 21 s.

One paid video event = one video row in the dataset. You pay only for videos that are returned:

  • videos that are unavailable, private, removed or never existed are skipped with a warning and not charged;
  • videos YouTube keeps blocking after retries are skipped and not charged;
  • channel, playlist, search and non-YouTube URLs are skipped without any request and not charged;
  • the same video given several times (for example as a URL and as an ID) is fetched and charged once.

Cost scenarios on the Free plan ($0.0027 per video plus the $0.00005 actor start event at the default memory):

ScenarioVideo eventsCost
One video looked up by an AI agent1$0.00275
A campaign list of 100 videos100$0.27005
A spreadsheet of 1,000 videos1,000$2.70005
A daily run over 10,000 videos10,000$27.00005

Input

YouTube Video Details Scraper input example: Videos (URLs or IDs)

FieldTypeDescription
videosarray of strings, requiredVideo URLs or bare 11-character IDs, one per line. Accepted: any watch, youtu.be, Shorts, live, embed, m. or music.youtube.com URL (in a watch URL with &list= only the video is used). Channel, playlist and search URLs are skipped with a warning. Duplicates are fetched once.
proxyConfigurationobject, optionalDefault: Apify Residential proxy, country US. A datacenter proxy or no proxy is allowed, but YouTube bot-checks those IPs and about 40% of videos are then lost (skipped, not charged). The proxy country decides which region-blocked videos still return a view count.

startUrls (an array of strings or { "url": "…" } objects) is also accepted as an alias for videos; it is merged after videos.

Example input:

{
"videos": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://youtu.be/ix9cRaBkVe0",
"https://www.youtube.com/shorts/qvA302qITPg",
"jNQXAC9IVRw"
]
}

What data can you extract from YouTube videos?

YouTube Video Details Scraper output example: Thumbnail, Title, Channel, Views, Likes, Comments

FieldWhat it holds
id, url, titleVideo ID, canonical watch URL https://www.youtube.com/watch?v=<id>, title
descriptionFull description as written by the creator (null when empty)
durationSecondsLength in seconds (null while a stream is live)
publishedAt, uploadedAtPublish and upload date and time, ISO 8601 in UTC
dateTextDate as shown under the video, in English
categoryYouTube category, e.g. Music, Education
tags, hashtags, superTitleCreator tags, hashtags above the title, the full text above the title
chapters, chapterCountChapters as { title, startSeconds } and their number
imageUrlLargest thumbnail
viewCount, likeCount, commentCountExact counts
commentsDisabled, allowRatingsComments turned off; likes enabled
channelId, channelName, channelHandle, channelUrlThe uploading channel
channelSubscriberCount, channelSubscriberTextSubscribers, parsed from the rounded text (4.56M → 4560000) and as shown
channelVerified, channelAvatarUrlVerified badge, avatar image
collaboratorsChannels of a collaboration video: name, channelId, handle, subscriberText (uploader first)
isShort, isLiveContent, isLiveNow, liveStartedAt, liveEndedAtShort, stream and live status and times
isAgeRestricted, isFamilySafe, isUnlistedStatus flags
availableCountryCountNumber of countries where the video is available
missingPartsParts that could not be fetched after retries (pageDetails, commentCount); empty when complete
scrapedAtWhen the row was extracted

A real row (description, tags and chapters shortened):

{
"id": "ix9cRaBkVe0",
"url": "https://www.youtube.com/watch?v=ix9cRaBkVe0",
"title": "Python Full Course for free 🐍",
"description": "#python #tutorial #beginners \nPython tutorial for beginners' full course 2024 …",
"durationSeconds": 43200,
"publishedAt": "2024-08-20T13:00:54.000Z",
"uploadedAt": "2024-08-20T13:00:54.000Z",
"dateText": "Aug 20, 2024",
"category": "Education",
"tags": ["Python tutorial", "python course", "python programming", "python"],
"hashtags": [],
"superTitle": "Intro to Coding Courses 👨‍💻",
"chapters": [
{ "title": "1.python tutorial for beginners", "startSeconds": 0 },
{ "title": "2.variables", "startSeconds": 349 },
{ "title": "3.type casting", "startSeconds": 965 }
],
"chapterCount": 77,
"imageUrl": "https://i.ytimg.com/vi/ix9cRaBkVe0/maxresdefault.jpg",
"viewCount": 13428482,
"likeCount": 377706,
"commentCount": 23205,
"commentsDisabled": false,
"channelId": "UC4SVo0Ue36XCfOyb5Lh1viQ",
"channelName": "Bro Code",
"channelHandle": "@BroCodez",
"channelUrl": "https://www.youtube.com/@BroCodez",
"channelSubscriberCount": 3440000,
"channelSubscriberText": "3.44M subscribers",
"channelVerified": true,
"channelAvatarUrl": "https://yt3.ggpht.com/ytc/AIdro_mPFVsxROj1dOtTWc9iNBwDYV4z42Q8LPokBSewiW9pCSg=s176-c-k-c0x00ffffff-no-rj",
"collaborators": [],
"isShort": false,
"isLiveContent": false,
"isLiveNow": false,
"liveStartedAt": null,
"liveEndedAt": null,
"isAgeRestricted": false,
"isFamilySafe": true,
"isUnlisted": false,
"allowRatings": true,
"availableCountryCount": 249,
"missingParts": [],
"scrapedAt": "2026-11-11T00:21:13.161Z"
}

Use cases

  • Campaign and influencer tracking — schedule a daily run over the same list and build a time series of exact views, likes, comments and channel subscribers.
  • Enriching a video list — turn 500 mixed URLs and IDs from a sheet or a CRM into one clean row per live video; dead links are skipped and free.
  • Content and SEO analysis — compare tags, category, chapters, hashtags, duration and the Short flag of competitor videos.
  • Shorts and live streams — /shorts/ and /live/ links work like normal ones, with isShort, isLiveNow and liveStartedAt.
  • AI agents — fetch the metadata of a video link in one call.

Limitations

  • Only videos you list: no YouTube search, channel crawling, playlists, comments text or transcripts.
  • channelSubscriberCount is parsed from the rounded number YouTube shows, not the exact count. Dislikes are not available (YouTube removed them).
  • Fields can be empty: likeCount is null when the creator disabled ratings; commentCount is null when comments are off, for live streams, age-restricted videos or when the count could not be fetched; viewCount can be null for videos region-blocked in the proxy country; durationSeconds is null while a stream is live; channelHandle is null for system channels such as YouTube Movies; channelAvatarUrl is null for collaboration videos.
  • Age-restricted videos return a full row with isAgeRestricted: true, but without commentCount and dateText.
  • Private, removed and non-existent videos return no row (YouTube gives no details for them).
  • Texts such as dateText and channelSubscriberText are always in English.
  • Members-only videos, upcoming premieres and scheduled streams were not tested: they return a row only when YouTube gives their details, and counts or duration may be null.

Tips and troubleshooting

  • Fewer rows than inputs? Check the run log: every skipped input gets a warning (not a video URL, unavailable, or blocked), and the status message counts them. Duplicates are merged into one row.
  • The run failed at once? videos is empty or none of its lines is a YouTube video URL or ID — channel and playlist URLs are not accepted.
  • Keep the Residential proxy. On datacenter IPs YouTube bot-checks requests and many videos are skipped.
  • missingParts is not empty? One part of the page could not be fetched after retries; the core fields (title, views, tags, duration) are still there. Run the video again to fill it.
  • Region-blocked video without views? Set the proxy country to a country where the video is available.
  • Large lists: set a maximum cost per run; the run stops cleanly when it is reached and does not request the remaining videos.

API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in Console → Settings → API & Integrations.

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/youtube-video-details-scraper").call(run_input={
"videos": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://youtu.be/ix9cRaBkVe0",
"https://www.youtube.com/shorts/qvA302qITPg",
"jNQXAC9IVRw",
],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Node.js (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/youtube-video-details-scraper').call({
"videos": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://youtu.be/ix9cRaBkVe0",
"https://www.youtube.com/shorts/qvA302qITPg",
"jNQXAC9IVRw",
],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

HTTP — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: run asynchronously):

curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~youtube-video-details-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"videos":["https://www.youtube.com/watch?v=dQw4w9WgXcQ","https://youtu.be/ix9cRaBkVe0","https://www.youtube.com/shorts/qvA302qITPg","jNQXAC9IVRw"]}'

AI agents (MCP). Add the actor as a tool of the Apify MCP server. Claude Code:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/youtube-video-details-scraper"

Claude Desktop, Cursor or VS Code: {"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/youtube-video-details-scraper"}}}. Then ask, for example:

  • "Get views, likes, comment count and tags of https://youtu.be/dQw4w9WgXcQ"
  • "List the chapters with start times of the YouTube video ix9cRaBkVe0"
  • "Is youtube.com/shorts/qvA302qITPg a Short, and how many subscribers does its channel have?"

Integrations. Run it on a schedule with Apify Schedules and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see Apify integrations.

FAQ

Is it legal to scrape YouTube video details?
The actor reads only public video metadata that YouTube shows to any visitor without login. You are responsible for how you use the data and for complying with YouTube's terms and the laws that apply to you, such as GDPR for personal data.

Do I need a YouTube API key or an account?
No. The actor needs no login, cookies or API key.

How is it different from other YouTube scrapers?
Each row combines tags, chapters with start seconds, category, the exact comment count, collaborators and flags like isShort, isAgeRestricted and availableCountryCount, and duration is given in seconds. It accepts a single video URL, with no minimum number of videos. The price is $2.70 per 1,000 videos, against $4.00 per 1,000 for the most used general YouTube scraper, and videos that are not found are not charged.

Can I scrape YouTube Shorts and live streams?
Yes. Paste /shorts/ or /live/ URLs; the row has isShort, isLiveNow, liveStartedAt and liveEndedAt.

Why is the comment count null for some videos?
YouTube does not show a comment count when comments are turned off, for streams that are live now (they have live chat) and for age-restricted videos.

Also useful