YouTube Video Details Scraper with Most Replayed Heatmap avatar

YouTube Video Details Scraper with Most Replayed Heatmap

Pricing

from $0.50 / 1,000 videos

Go to Apify Store
YouTube Video Details Scraper with Most Replayed Heatmap

YouTube Video Details Scraper with Most Replayed Heatmap

Get views, likes, comment count, description, tags, channel and YouTube's Most Replayed heatmap for any YouTube video URL or ID. No Data API key or quota. From $0.50 per 1,000 videos; failed videos are not billed.

Pricing

from $0.50 / 1,000 videos

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

What is YouTube Video Details Scraper?

YouTube Video Details Scraper returns views, likes, comment count, description, tags, channel and YouTube's "Most replayed" heatmap for any public YouTube video — from $0.50 per 1,000 videos ($0.95 on the Free plan), with no YouTube Data API key, no daily quota and no browser. Failed videos are not billed. Paste a video URL or ID and get one structured row per video: title, exact view and like counts, full description, uploader-set keywords, category, channel name/ID/URL, subscriber count text, publish date, duration and more. Point it at any YouTube video and run it on Apify with scheduling, API access and monitoring built in. Give Track growth between runs a store name and schedule it: every row then also says how many views, likes and comments the video gained since the previous check. Turn on Add thumbnail change dates to see when each video's thumbnail was last set and whether it was set again after the video went public. It is built for content researchers, SEO and metadata auditors, and developers building AI agents.

Under the hood it reads the same ytInitialPlayerResponse block the youtube.com watch page embeds for itself, plus the youtubei/v1/next endpoint the page calls for the sidebar and comments panel — so there is nothing to authenticate and no per-request cost from Google.

Why use YouTube Video Details Scraper?

  • Content research — pull view/like counts, tags and descriptions across a competitor's or influencer's catalog to spot what performs.
  • Clips and editing feedback — the "Most replayed" heatmap and its top 3 peaks show which moments viewers rewatch, in the same row as the counts.
  • SEO and metadata audits — check whether a channel's videos have keywords, a filled-in description and a matching category.
  • Monitoring and reporting — schedule a run to track view/like growth on a set of videos over time.
  • AI agent tooling — let an agent look up "how many views does this video have" without writing any scraping code.

How to use YouTube Video Details Scraper

  1. Click Try for free (or Run if you already have it open).
  2. In Videos, paste one or more YouTube URLs or bare video IDs.
  3. Optionally set Max concurrency, Language and Region. Leave Proxy configuration on its default (Residential) for platform runs.
  4. Click Start and watch rows appear in the Dataset tab as they're fetched.
  5. Export the results as JSON, CSV, Excel or HTML, or pull them via the API.

Input

FieldTypeDescription
videosarrayVideo IDs or URLs (watch, shorts, youtu.be). Default: ["dQw4w9WgXcQ"].
monitorStoreNamestringOptional. Track growth between runs under this name (letters, digits, hyphens). See Track growth between runs.
includeThumbnailChangesbooleanOptional. Adds when the current thumbnail was stored and whether it was set again after publishing. See Thumbnail change dates. Default false.
proxyModestringauto, always or never — see Proxy requirement below. Default auto.
proxyConfigurationobjectWhich Apify Proxy group to use when proxyMode needs one. Default: Residential proxy.
maxConcurrencyintegerVideos fetched in parallel, 1–10. Default 3.
languagestringUI language code, e.g. category name. Default en.
regionstring2-letter country code. Default US.

See the Input tab for the full schema with examples.

Example input

{
"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ", "jNQXAC9IVRw"],
"maxConcurrency": 3
}

Track growth between runs

Give Track growth between runs (monitorStoreName) a name, e.g. my-videos, and schedule the run (hourly, daily). The Actor keeps each video's last view, like and comment counts in your own named key-value store. Every later run with the same name adds to each row:

FieldMeaning
firstChecktrue when no earlier run with this name checked the video (gains are null then)
previousCheckAt, hoursSincePreviousWhen the video was checked before, and how long ago
viewsGained, likesGained, commentsGainedChange since that check. Views and likes are exact; YouTube rounds comment counts above 1,000
viewsPerHourviewsGained divided by hoursSincePrevious
{
"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ", "jNQXAC9IVRw"],
"monitorStoreName": "my-videos"
}

Growth tracking costs nothing extra: the price per video is the same with or without it. OUTPUT.monitor sums the gains of the run (videosTracked, firstChecks, withPreviousCheck, viewsGained, likesGained, commentsGained), and the Growth since last run dataset view shows them as a table.

"Most replayed" moments

For videos with enough views YouTube draws a "Most replayed" graph over the progress bar. Each row carries it: mostReplayedSeconds is where YouTube puts its "Most replayed" label, replayPeaks the three most replayed segments after the opening (the first seconds are high on almost every video because playback starts there), and heatmap all segment intensities from 0 to 1 (about 100 equal segments of heatmapSegmentSeconds each). Use it to find the moments viewers rewatch — for clips, Shorts, thumbnails or editing feedback. It comes in the same request as the like and comment counts, so it adds no time or cost; for videos without a graph the fields stay empty.

Real values for dQw4w9WgXcQ (read 16 November 2026; heatmap shortened to its first 4 of 100 values):

"mostReplayedSeconds": 2.14,
"replayPeaks": [
{ "startSeconds": 2.14, "endSeconds": 4.28, "intensity": 0.423 },
{ "startSeconds": 4.28, "endSeconds": 6.42, "intensity": 0.353 },
{ "startSeconds": 6.42, "endSeconds": 8.56, "intensity": 0.301 }
],
"heatmap": [1, 0.423, 0.353, 0.301],
"heatmapSegmentSeconds": 2.14

Thumbnail change dates

Turn on Add thumbnail change dates (includeThumbnailChanges) to learn when each video's current thumbnail was put on YouTube's image server and whether the creator set it again after the video went public, which is useful for thumbnail A/B-testing research on competitors. The Actor sends one small HEAD request per video to i.ytimg.com and reads the time YouTube stores with the image; there is no extra charge. Each row gets:

  • thumbnailUpdatedAt: when the current thumbnail was stored (ISO time). For most videos this is the upload, minutes or hours before the publish time.
  • thumbnailChangedAfterPublish: true when it was stored more than 1 hour after publishDate, false when it was not. This means the thumbnail was set again: usually a new picture, but it can be the same picture uploaded again (Internet Archive copies show both). When publishDate has no time of day, the answer is given only when it is certain; otherwise null.
  • thumbnailChangedHoursAfterPublish: hours between going public and the thumbnail being set again.

Real values for dQw4w9WgXcQ (read 29 November 2026; published 2009-10-24T23:57:33-07:00): "thumbnailUpdatedAt": "2025-06-09T09:40:10.000Z", "thumbnailChangedAfterPublish": true. OUTPUT.thumbnails counts the dated videos and those set again. For a small share of videos YouTube's image server gives no time; those rows keep null.

Proxy requirement

YouTube's watch page and its /player//next endpoints can return a "Sign in to confirm you're not a bot" page to requests coming from Apify's own datacenter IP ranges — this comes and goes (a run can succeed for hours, then start failing without any code change). The Proxy mode input controls how the Actor reacts:

  • Auto (default) — every request is tried directly first, with zero proxy cost; the moment YouTube blocks a direct request, the Actor switches to Apify Proxy (see Proxy configuration) for the rest of that run, so later videos don't re-pay the failed-direct attempt.
  • Always — skip the direct attempt and route everything through the proxy from the start.
  • Never — always request directly, even if that means some videos come back with an error.

When the proxy is in play, the Actor also minimizes what goes through it: it prefers the small /youtubei/v1/player call (a few KB) over the ~1 MB watch page, and never sends the (surprisingly large, ~370-420 KB) /next call through it: once a run is on the proxy, /next is still tried directly (a block usually hits the player call, not /next), and if YouTube refuses it the row ships without the optional fields it adds (exact subscriber-count text, comment count, a like-count fallback, the "Most replayed" graph).

Output

One row per video:

{
"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...",
"keywords": ["rick astley", "Never Gonna Give You Up", "rick roll"],
"category": "Music",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channelName": "Rick Astley",
"channelUrl": "https://www.youtube.com/@RickAstleyYT",
"subscriberCountText": "4.54M subscribers",
"publishDate": "2009-10-24T23:57:33-07:00",
"uploadDate": "2009-10-24T23:57:33-07:00",
"viewCount": 1815026601,
"likeCount": 19386875,
"commentCountText": "2.4M",
"durationSeconds": 213,
"isLive": false,
"isLiveContent": false,
"isPrivate": false,
"isFamilySafe": true,
"isUnlisted": false,
"thumbnailUrl": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/maxresdefault.webp",
"chapters": [],
"hashtags": [
"#RickAstleyNever",
"#RickAstley",
"#NeverGonnaGiveYouUp",
"#WheneverYouNeedSomebody",
"#OfficialMusicVideo"
],
"error": null,
"scrapedAt": "2026-09-13T00:00:00.000Z"
}

You can download the dataset in various formats such as JSON, CSV, Excel or HTML.

Data table

FieldDescription
videoId, url, titleVideo identity
description, keywords, categoryFull description (up to 5000 chars), uploader-set tags and YouTube category
channelId, channelName, channelUrl, subscriberCountText, subscriberCountUploading channel; subscriberCount is the number behind YouTube's rounded text (4.54M → 4540000)
publishDate, uploadDate, durationSecondsTiming
viewCount, likeCount, commentCountText, commentCountEngagement; commentCount is exact below 1,000 and rounded by YouTube above
firstCheck, previousCheckAt, hoursSincePrevious, viewsGained, likesGained, commentsGained, viewsPerHourOnly with monitorStoreName: growth since the previous check
isLive, isLiveContent, isPrivate, isFamilySafe, isUnlistedStatus flags
thumbnailUrlHighest-resolution thumbnail
chapters, hashtagsBest-effort, parsed from the description text
mostReplayedSeconds, replayPeaks, heatmap, heatmapSegmentSecondsYouTube's "Most replayed" graph: the labelled peak, the 3 most replayed segments (startSeconds, endSeconds, intensity 0–1) and all ~100 segment intensities. Empty when YouTube shows no graph (videos with few views). Last columns
thumbnailUpdatedAt, thumbnailChangedAfterPublish, thumbnailChangedHoursAfterPublishOnly with includeThumbnailChanges: when the current thumbnail was stored and whether it was set again after publishing
errorNull on useful result rows; failures are written to the ERRORS key-value record

Run it from code

Replace YOUR_APIFY_TOKEN with your Apify API token (or set APIFY_TOKEN in your environment). Input field names are the ones in the Input table above.

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('webdatatools/youtube-video-details').call({
videos: ['https://www.youtube.com/watch?v=dQw4w9WgXcQ', 'jNQXAC9IVRw'],
maxConcurrency: 3,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].title, items[0].viewCount, items[0].likeCount);
// Schedule this one: each run also returns views/likes/comments gained since the previous run.
const tracked = await client.actor('webdatatools/youtube-video-details').call({
videos: ['https://www.youtube.com/watch?v=dQw4w9WgXcQ'],
monitorStoreName: 'my-videos',
});
const { items: growth } = await client.dataset(tracked.defaultDatasetId).listItems();
console.log(growth.map((v) => [v.title, v.viewsGained, v.viewsPerHour]));

Python (pip install apify-client):

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('webdatatools/youtube-video-details').call(
run_input={'videos': ['https://www.youtube.com/watch?v=dQw4w9WgXcQ'], 'maxConcurrency': 3},
)
for item in client.dataset(run['defaultDatasetId']).iterate_items():
print(item['title'], item['viewCount'], item['likeCount'])

Apify CLI (npm install -g apify-cli, then apify login):

$echo '{"videos":["dQw4w9WgXcQ"],"maxConcurrency":3}' | apify call webdatatools/youtube-video-details --output-dataset

Diagnostics and error messages

Failed inputs and failed videos are written to the ERRORS key-value record, never to the billable dataset. Each entry has a stable errorCode, and OUTPUT.errorCodes counts them:

CodeMeaningWhat to do
INVALID_INPUTNot a YouTube video ID or URLUse a watch, Shorts or youtu.be link, or the 11-character ID
VIDEO_UNAVAILABLEYouTube says the video is unavailable, private or removed (its own words are in error)Check the video in a browser
LOAD_FAILEDYouTube blocked or did not answer the requests (proxyMode: "never", or a bot check)Keep proxyMode on auto and run again
NO_DETAILSYouTube answered without a titleRun again later

These are the messages the Actor emits:

WhereMessage (as emitted)Meaning
ERRORS recordInvalid YouTube video ID or URL.The input item is not a recognisable video ID or URL. Not billed.
error fieldYouTube's own playability reason (private, removed, age-restricted and similar), or Video is unavailable, private or has been removedYouTube returned no usable player data for the video. Not billed.
error fieldCould not load video data: HTTP <status> (or Non-JSON response)The watch page and the player API request failed. Not billed.
error fieldCould not find video data on the watch page or the player API (layout changed or blocked)Both sources answered but contained no video data. Not billed.
Run statusNo valid YouTube video ID or URL in the input. No result was charged. See ERRORS.Every input was invalid. The run ends SUCCEEDED with OUTPUT.zeroResultReason: "INVALID_INPUT".
Run statusInvalid input: Input "videos" is empty … / Invalid input: monitorStoreName …Empty input or a tracking store this Actor cannot open. The run ends SUCCEEDED with zeroResultReason: "INVALID_INPUT", before any request or charge.
OUTPUT.zeroResultReasonVIDEO_INPUT_ERROREvery video was unavailable, private or removed (your input). The run ends SUCCEEDED; no result was charged.
OUTPUT.stoppedForTimetrue (and zeroResultReason: "TIME_LIMIT" if nothing was saved)The run timeout was near: no new videos were started, the videos already read were saved and charged, OUTPUT.timeSkippedVideos were not started and not charged. Raise Timeout in Run options for a long list. OUTPUT.deadlineSource says where the limit came from.
Run statusNo usable video details returned: YouTube did not serve the video data. See ERRORS.YouTube blocked or did not answer for any video (LOAD_FAILED / NO_DETAILS). The run FAILS (zeroResultReason: "SOURCE_FAILED"). Start fees may still apply.
OUTPUT recorderrorCodes, monitor, partial, budgetSkippedVideos, resumedRows, deliveryUnconfirmedresumedRows counts videos saved before a migration or resurrect; they are included in resultRows and not charged again. partial is true when any diagnostic or budget skip happened. budgetSkippedVideos counts videos not fetched because of the run's spending limit. deliveryUnconfirmed means a dataset upload result is uncertain; it is not retried automatically.

Pricing

This Actor uses Pay-per-event pricing per returned video, plus $0.00005 per run start:

Apify planFreeBronzeSilverGold, Platinum, Diamond
Per 1,000 videos$0.95$0.80$0.65$0.50

Failed and invalid videos are not charged, and growth tracking adds nothing. There is no separate compute-unit charge on top — the price already covers it.

Apify Proxy adds a small infrastructure cost on top of that, paid from your Apify plan's proxy allowance rather than charged to the caller. With the default Auto proxy mode, that cost is $0 whenever YouTube isn't currently blocking the run's IP (the common case). Measured live: in Auto mode with a block triggered mid-run, and in Always mode (proxy used for every request), proxy data transfer cost ~$0.00007 per video in both cases — the Actor's direct-first strategy and its preference for the small /player call over the ~1 MB watch page and the ~400 KB /next call keep this small even in the worst case, well inside the Residential free-plan allowance (20 GB/month).

YouTube Video Details Scraper vs. the YouTube Data API

The official YouTube Data API v3 videos.list endpoint requires a Google Cloud project, an API key, and burns your daily quota (10,000 units — a few thousand video reads) fast. This Actor reads the same public data the youtube.com watch page loads for itself, with no key, no quota, and results delivered as a ready-to-export dataset.

YouTube Video Details Scraper vs. other video detail Actors

Prices are each Actor's Free-plan price per 1,000 videos from its pricing tab; features are what its live input schema and README document. Checked November 15, 2026.

YouTube Video Details Scraper (this)thenetaji/youtube-video-details-scraperdelicious_zebu/youtube-video-data-scraperaolmo/youtube-video-details
Price per 1,000 videos$0.95 ($0.50 Gold+)$0.95 ($0.50 Gold+)$1.20 ($0.50 Gold+)$1.00 + $0.50 per 1,000 changed videos
Views, likes, description, tags, channelYesDocumentedDocumentedDocumented
Growth since the previous runYes, no extra chargeNot documentedNot documented (README suggests scheduling)Documented (viewsChange, charged per changed video)
Failed videos not charged, stable error codesYes (ERRORS, errorCode)Invalid and unavailable videos skippedNot documentedNot documented
"Most replayed" moments (heatmap)Yes, no extra chargeNot documentedNot documentedNot documented
When the thumbnail was set again after publishingYes, no extra charge (29 Nov 2026 check)Not documentedNot documentedNot documented

Choose this Actor to watch a list of videos for growth at the leader's price with no charge for changes.

Dedicated "Most replayed" Actors

Two Store Actors do only the "Most replayed" graph. Prices and monthly users from their Store pages, read 1 December 2026:

ActorPrice per 1,000 (Free / Gold)Monthly usersWhat they document beyond the heatmap
karamelo/youtube-most-replayed-scraper-heatmap-extractor$5.00 / $1.60 per result35"Most replayed" segment marker times, plus title, views, likes and comments
neverempty/youtube-most-replayed-scraper$5.00 / $3.65 per video with a heatmap24channel and playlist input, the chapter and caption line at each peak, timestamped links; videos without a heatmap are free

This Actor returns the heatmap and its top 3 peaks together with the full video details for $0.95 / $0.50 per video. It charges a video without a graph like any other video, and it does not add chapters or caption lines.

Using YouTube Video Details Scraper with AI agents / MCP

Connect your MCP client to the official Apify MCP server, authorize your Apify account, and select webdatatools/youtube-video-details.

This Actor is published with Pay-per-event pricing and limited permissions, so it is directly callable through the Apify MCP Server and AI agent frameworks that support Apify tools — an agent can ask "how many views and likes does this video have" and get structured JSON back without any custom scraping code.

FAQ

How much does a typical run cost? You pay per useful result row: 1,000 videos cost $0.95 on the Free plan and $0.50 on Gold and above, plus $0.00005 per run start. Failed rows and diagnostic rows are not written to the dataset and are not billed. Set Max total charge on the run to cap spend: the Actor reads the remaining budget before it fetches anything, skips videos beyond it, and reports them as budgetSkippedVideos in OUTPUT.

What if the run is migrated or restarted? Each saved video is recorded in the run's own CRAWL_PROGRESS record. When Apify moves the run to another server, or you resurrect a finished run, the restarted run skips those videos: no new request, no second row and no second result charge (Apify may charge the $0.00005 run start again). OUTPUT.resumedRows shows how many were saved before the restart. Up to 0.4, a resurrected 3-video run saved 6 rows and charged 6 (run MXP5mTIZj9m0VCKqf, 29 Nov 2026).

Is this legal? The Actor reads publicly visible video metadata the same way a browser loading youtube.com does. Respect YouTube's Terms of Service and applicable data-protection law for how you store and use the results.

What about private, deleted or unavailable videos? Failed requests and invalid inputs go into the ERRORS key-value record, outside the billable dataset. A run with no usable videos fails; mixed runs retain usable videos and report diagnostics. Start fees may still apply. Read OUTPUT for requested and attempted videos, result and diagnostic rows, budget skips and partial-output status. An uncertain dataset upload is reported as deliveryUnconfirmed and is not retried automatically.

What happens with age-restricted videos? If YouTube exposes usable public metadata, it is returned. Restrictions, unavailable videos and access blocks can prevent extraction; these failures are reported in ERRORS. Field availability is not guaranteed.

Why is likeCount sometimes approximate? YouTube's watch page exposes an exact like count for almost every video. On the rare video where that field is missing, the Actor falls back to the like button's own compact count/accessibility text, which can be off by a handful due to normal live-count drift between the two page loads.

Are chapters always filled in? No — chapters are parsed on a best-effort basis from timestamp lines in the description (the same convention YouTube's own chapter-list detector uses), and only returned when at least two distinct timestamps are found. Many videos have no chapter list at all, so this is often an empty array.

Will large batches get rate-limited? The Actor routes requests through Apify Proxy when YouTube blocks direct requests (see Proxy requirement above). All parallel requests share one keep-alive proxy session, so the run does not pay a new connection setup per video; after a block the Actor switches to a fresh session once, even when several parallel requests hit the same block. For very large batches, keep maxConcurrency at 2–3; on an HTTP 429 the Actor waits 5 seconds and retries once before giving up on that page.

How do I know if a competitor changed a video's thumbnail? Turn on Add thumbnail change dates. thumbnailChangedAfterPublish: true means the thumbnail was set again more than 1 hour after the video went public, and thumbnailUpdatedAt says when. It works on the whole back catalogue in one run, with no earlier run needed. It cannot tell a new picture from the same picture uploaded again.

Can I use this in n8n, Make or Zapier? Yes — call the Actor via its Apify API endpoint from any of these tools' native Apify integration or a generic HTTP node, or trigger it from a webhook.

If this Actor saved you time, a short review on its Apify Store page helps other users find it. Nothing is offered in return.

Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:

Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.

Website & domain intelligence

Content for AI, LLMs and RAG

Search, video and social

Leads, jobs and company data

Developer, app and research data

Support

Found a bug or have a feature request? Open an issue on the Actor's Issues tab in Apify Console. Custom scraping solutions are also available on request.

If this Actor is useful to you, you can leave a review on its Apify Store page. Nothing is offered in return.