YouTube Video Content Gap Analysis Scraper avatar

YouTube Video Content Gap Analysis Scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store
YouTube Video Content Gap Analysis Scraper

YouTube Video Content Gap Analysis Scraper

Collect public video records from YouTube channel Videos pages or search results and save transparent cross-source topic comparisons separately from the dataset.

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

Google API

Google API

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

What this Actor does

YouTube Video Content Gap Analysis Scraper collects public video cards from channel Videos pages or YouTube search results, then compares topics found across the supplied sources. The dataset contains one row per video. The run output contains shared topics and candidate topics that appear in one sample but not another.

A candidate topic missing from a sample is only an observation about those sampled videos. It is not evidence of audience demand, popularity, ranking, or private channel performance.

Input

Provide public channel URLs in channelUrls or startUrls, or handles in channelHandles. You can also use YouTube search URLs or queries; direct video URLs are not supported. maxItems caps rows across the run, and maxVideosPerSource limits cards collected from each source.

{"channelUrl":"https://www.youtube.com/@ExampleCreator","maxItems":25,"maxVideosPerSource":10}
{"queries":["creative technology tutorials"],"maxItems":20,"maxVideosPerSource":10,"includeHashtags":true}

You can combine channel and search sources in one run. deduplicate removes repeated video IDs, while includeMedia, includeLinks, and includeHashtags control optional image, channel-link, and hashtag fields.

{
"startUrls": [
{"url":"https://www.youtube.com/@ExampleCreator"},
{"url":"https://www.youtube.com/results?search_query=creative+technology"}
],
"maxItems": 30,
"maxVideosPerSource": 10
}

Use channelUrls to sample several public channels:

{"channelUrls":["https://www.youtube.com/@NASA","https://www.youtube.com/@SpaceX"],"maxItems":4,"maxVideosPerSource":2}

Or supply handles without a full URL (the @ prefix is optional):

{"channelHandles":["NASA","SpaceX"],"maxItems":20,"maxVideosPerSource":10}

The Actor reads the first public response for each source. It does not load continuation pages or fetch individual video pages.

Dataset output

Each video row includes videoId, videoUrl, title, description snippet, duration, displayed and approximate view counts, publication text, thumbnails, badges, hashtags, live/upcoming/premiere signals, and a nested channel object when available.

{
"videoId": "a1B2c3D4e5F",
"videoUrl": "https://www.youtube.com/watch?v=a1B2c3D4e5F",
"title": "Creative tools explained #creative",
"descriptionSnippet": "A public description excerpt.",
"durationText": "12:34",
"viewCountText": "1.2M views",
"viewCountEstimate": 1200000,
"viewCountIsApproximate": true,
"publishedAtText": "3 days ago",
"hashtags": ["creative"],
"channel": {
"channelName": "Example Creator",
"handle": "@ExampleCreator",
"subscriberCountText": "12.3K subscribers",
"subscriberCountIsApproximate": true
}
}

Rounded counts retain their displayed labels and are marked approximate. Relative dates remain text; no exact timestamp is inferred. Optional values appear only when visible on the public page.

Content-gap comparison and cost

Review the run output for the topic comparison, including shared topics and candidate gaps by source. The comparison uses terms found in sampled titles, card-description snippets, and hashtags; it does not assess full video content.

Check the Actor's Pricing tab for current Actor and Apify platform charges. Run volume depends on the number of sources and the per-source video limit.

Authorized YouTube Data API mode (default off)

youtubeDataApiMode is false by default. When set to true, the Actor uses a separate authorized adapter backed by search.list, videos.list, and channels.list. The original public HTML parser is unchanged and remains the path for every existing run.

{"youtubeDataApiMode":true,"queries":["nasa rocket"],"maxItems":10}

Credential — one documented mechanism: a protected environment secret. Set APIFY_SECRET_YOUTUBE_DATA_API_KEY (or YOUTUBE_DATA_API_KEY) in your own authorized Apify project; apify@3.7.2 has no Actor.getSecret(). Keys are never accepted as Actor input, never placed in a request URL (they travel only in the X-Goog-Api-Key header), and never written to datasets, logs, key-value-store records, or QA artifacts. With no configured secret the run makes zero requests and emits zero rows.

Bounds and provenance: at most 2 queries and at most 10 unique video IDs. Candidate videos are emitted in the provider's actual search-result order; duplicate IDs within a query are skipped, sidebar/recommendation containers are never treated as results, and missing results are never padded. Titles, URLs, channel attribution, and timestamps are source-backed. viewCount is the exact API-supplied count (not an estimate); absent statistics stay absent. publishedAt preserves the source timestamp precision verbatim.

No derived scores: API mode never computes a content-gap, demand, popularity, ranking, or market-opportunity score from YouTube API metrics, and it never presents an official YouTube measurement. The topicComparison artifact is explicitly non-computed in this mode (topicCount: 0). The broader content-gap analysis capability remains PARTIAL/UNVERIFIED until an authorized methodology with rights review supports its conclusions. YouTube quota (search requests are accounted separately) and a data-retention review are required before enabling this mode.

Coverage and responsible use

Only standard public video cards from the first response are included; Shorts shelves and advertisements are excluded. Results can vary by locale and public page. Follow YouTube's terms and applicable laws when using the data.