YouTube Research Scraper - Videos, Channels & Search avatar

YouTube Research Scraper - Videos, Channels & Search

Pricing

from $1.50 / 1,000 base video rows

Go to Apify Store
YouTube Research Scraper - Videos, Channels & Search

YouTube Research Scraper - Videos, Channels & Search

Collect YouTube video and channel research data for content analysis, competitor monitoring, and lead research. Export structured metadata for automation workflows.

Pricing

from $1.50 / 1,000 base video rows

Rating

0.0

(0)

Developer

kane liu

kane liu

Maintained by Community

Actor stats

0

Bookmarked

10

Total users

2

Monthly active users

5 hours ago

Last modified

Share

YouTube Research & Transcript Scraper

Search YouTube, export channel video lists, enrich selected videos, and collect transcripts without setting up the YouTube Data API.

This Apify Actor is built for YouTube research workflows where you do not want to scrape everything at the most expensive level. Start with broad discovery, shortlist the videos that matter, then run metadata enrichment or transcript extraction only on that smaller set.

Best for

  • YouTube keyword research and topic mapping
  • competitor and creator channel monitoring
  • content audits for brands, agencies, and media teams
  • transcript collection for LLM, RAG, summarization, and qualitative research pipelines
  • building structured YouTube datasets from search results, channel pages, and known video URLs

How it works

The Actor accepts three input types. You can use one, two, or all three in the same run.

InputUse it whenResult source
searchQueriesYou want to discover videos by topic or keywordYouTube search results
channelUrlsYou want recent videos from one or more channelsChannel /videos pages with browse continuation, plus RSS fallback when needed
videoUrlsYou already know the exact videos to processDirect video metadata paths with fallback metadata extraction
includeTrendingYou want popular videos for a market (gl)Topic hubs (gaming, sports, news, podcasts, live, learning, fashion) — classic /feed/trending was removed by YouTube

Rows are deduplicated by videoId, so the same video is only pushed once even if it appears in multiple inputs.

At least one of searchQueries, channelUrls, videoUrls, or includeTrending must be set. Empty input is rejected so the Actor does not create a misleading dataset row or charge for a helper item.

Comments (full coverage)

Set includeComments: true on a shortlist (videoUrls recommended). The worker paginates InnerTube /next for top-level comments and reply threads (modern commentEntityPayload text). Use maxComments: 0 / maxRepliesPerComment: 0 for exhaustive crawls within safety caps (20k tops / 2k replies per thread). includeRelated attaches watch-page related videos on each row.

More Actors like this

Looking for another social / video scraper, or a specialized Actor outside YouTube? Use a dedicated Actor when one exists — structured fields, better coverage, usually lower cost.

Similar social & content Actors

Prefer another specialized scraper?

Jobs & Freelance

E-commerce

Real Estate

Travel & Stays

Ads Intelligence

Local & Maps

General Tools

→ See the full catalog in Related Actors below, or browse apify.com/lentic_clockss.


How to use (no code required)

  1. Click "Try for Free" at the top of this page
  2. Add at least one input: searchQueries, channelUrls, videoUrls, and/or turn on includeTrending
  3. Keep scrapeDetails / includeTranscript / includeComments off for cheap discovery; turn them on only for a shortlist
  4. Click Start — rows appear in the Dataset tab
  5. Download as JSON, CSV, or Excel, or call the Standby API for small interactive requests

Tip: discover broadly first, then enrich or pull transcripts only for the videos you actually need — that keeps cost and runtime down.


1. Discover videos cheaply

Use searchQueries or channelUrls first. Keep scrapeDetails and includeTranscript off while you are still exploring.

{
"searchQueries": ["ai workflow automation", "youtube competitor analysis"],
"maxResults": 50
}

This gives you a clean shortlist with titles, URLs, channels, thumbnails, rough publish text, durations, view counts when available, and descriptions when present in the search result.

2. Review and shortlist

Filter the dataset outside the Actor. Pick only the videos you actually need for deeper work.

Useful shortlist signals:

  • topic relevance from title and description
  • creator or company from channelName
  • popularity from viewCount
  • freshness from publishedText or publishedAt
  • video length from duration or durationSeconds

3. Enrich selected videos

Use videoUrls with scrapeDetails when you need stronger metadata for specific videos.

{
"videoUrls": [
"https://www.youtube.com/watch?v=XVv6mJpFOb0",
"https://youtu.be/dQw4w9WgXcQ"
],
"scrapeDetails": true
}

scrapeDetails may improve or fill:

  • publishedAt
  • category
  • description
  • viewCount

It is best used after shortlisting because it performs extra requests per video.

4. Collect transcripts only when needed

Use includeTranscript for videos where you actually need text, timestamps, or LLM-ready content.

{
"videoUrls": [
"https://www.youtube.com/watch?v=XVv6mJpFOb0"
],
"scrapeDetails": true,
"includeTranscript": true,
"transcriptLanguage": "en"
}

When a transcript is available, the row includes timestamped transcript segments and a combined plain-text transcript. If YouTube does not provide captions for the video, or the captions cannot be fetched, the Actor still returns the video row without transcript fields.

Input reference

FieldTypeDefaultDescription
searchQueriesarray of stringsemptyYouTube search keywords. Each query runs separately and can return up to maxResults videos. Best for discovery and SEO or market research.
channelUrlsarray of stringsemptyYouTube channel inputs. Supports @handle, UC channel IDs, and common youtube.com channel, c, and user URLs. Returns recent public videos; RSS fallback is used when the channel page does not expose rows.
videoUrlsarray of stringsemptyExact YouTube videos to process. Supports 11-character video IDs and common watch, shorts, embed, live, and youtu.be URL formats. Best for enrichment and transcripts.
maxResultsinteger50Maximum videos per search query or channel. It does not multiply direct videoUrls; each provided video URL is processed once.
scrapeDetailsbooleanfalseFetches richer metadata for each row. Use on shortlists or smaller runs.
includeTranscriptbooleanfalseAttempts transcript extraction for each video. Use on targeted runs because this is the heaviest mode.
transcriptLanguagestringenPreferred transcript language code, such as en, es, fr, de, ja, or pt. If that language is unavailable, the Actor can fall back to the first available caption track.
includeCommentsbooleanfalseFull comment pagination (+ nested replies). Prefer with videoUrls.
maxCommentsinteger0Max top-level comments; 0 = all (cap 20000).
includeCommentRepliesbooleantrueExpand reply threads with full pagination.
maxRepliesPerCommentinteger0Max replies per thread; 0 = all (cap 2000).
commentSortstringtoptop or newest.
includeRelatedbooleanfalseAttach related/recommended videos per watch page.
maxRelatedinteger20Cap related videos per source video.
includeTrendingbooleanfalseDiscover popular videos via topic hubs for gl.
trendingMaxResultsinteger50Cap for topic-hub discovery.
gl / hlstringUS / enMarket / UI language for search, comments, and topic hubs.

Input examples

Search by keyword

{
"searchQueries": ["supply chain automation"],
"maxResults": 25
}

Export latest channel videos

{
"channelUrls": ["https://www.youtube.com/@freecodecamp"],
"maxResults": 100
}

Process known videos

{
"videoUrls": [
"https://www.youtube.com/watch?v=XVv6mJpFOb0",
"https://youtu.be/PXMJ6FS7llk"
],
"scrapeDetails": true
}

Transcript run for a shortlist

{
"videoUrls": [
"https://www.youtube.com/watch?v=XVv6mJpFOb0"
],
"includeTranscript": true,
"transcriptLanguage": "en"
}

Mixed discovery run

{
"searchQueries": ["ai sales outreach"],
"channelUrls": ["https://www.youtube.com/@HubSpot"],
"maxResults": 30
}

Output fields

Each dataset item is one YouTube video row. The Actor does not write helper rows for empty input.

Core fields

FieldTypeDescription
recordVersionstringOutput contract version, currently 1.0.
enrichmentLevelstringbase, detail, or transcript. Shows how far the row was enriched.
videoIdstringYouTube video ID.
titlestringVideo title.
urlstringCanonical YouTube watch URL.
channelNamestringChannel or author name when available.
channelIdstringYouTube channel ID when available.
channelUrlstringChannel URL when available.
viewCountintegerView count when available. May be 0 when the source does not expose it.
durationstringHuman-readable duration from listing pages when available.
durationSecondsintegerDuration in seconds when available.
publishedTextstringRelative publish text from listing pages, such as 2 weeks ago, when available.
publishedAtstringPublish date when available. Detail mode can improve this field.
descriptionstringSearch snippet, RSS description, or fuller video description depending on source and enrichment.
thumbnailUrlstringVideo thumbnail URL.
categorystringVideo category when detail metadata is available.
isLivebooleanWhether the source marks the video as live content.
sourcestringSource path used for the row: search, channel, or detail.
scrapedAtstringISO timestamp when the row was created.

Transcript fields

Transcript fields appear only when includeTranscript is true and captions are successfully returned.

FieldTypeDescription
transcriptarrayTimestamped caption segments. Each segment has text, start, and duration.
transcriptLanguagestringLanguage code of the transcript actually returned.
transcriptTextstringFull transcript joined into one plain-text string.

Example transcript segment:

{
"text": "Welcome back to the channel.",
"start": 12.4,
"duration": 3.2
}

Standby API

The Actor includes a Standby API for small interactive requests. The same validation rules apply as normal runs.

EndpointMethodUse
/GETReadiness check
/search?query=python%20automation&maxResults=10GETSearch videos
/channel?url=https://www.youtube.com/@freecodecamp&maxResults=10GETList recent channel videos
/video?url=XVv6mJpFOb0GETFetch one direct video
/runPOSTRun the normal Actor input JSON through Standby

Limits and practical notes

  • Transcripts are not guaranteed. They depend on whether YouTube exposes captions for the video and whether those captions can be fetched.
  • includeTranscript can still return a valid video row without transcript fields.
  • Search and channel rows may have lighter metadata than direct detail rows.
  • maxResults applies per search query and per channel URL.
  • Channel scraping works best with public channels and common YouTube URL formats.
  • Very large transcript runs are slower and more expensive than discovery runs. Shortlist first when possible.
  • YouTube page structure and availability can change. If a source path fails for a specific video or channel, try the most direct input type, especially videoUrls for known videos.

Pricing model

The Actor uses tiered pay-per-event charging with these event keys:

  1. apify-default-dataset-item — base video rows for search and channel discovery
  2. youtube-video-detail — detailed video rows when detail enrichment succeeds
  3. youtube-video-transcript — transcript-ready rows when transcript extraction succeeds

Charge tier follows what was actually delivered for each row. Discover broadly first, then run detail or transcript modes only on a shortlist.

Check the Apify Store pricing panel for the current event prices before running large jobs.

Local tests

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt pytest
pytest -q

Why use this Actor

This Actor is focused on research, not just bulk scraping. It separates discovery, detail enrichment, and transcript extraction so you can control speed, dataset size, and cost.

Use it when you need structured YouTube data for market research, creator research, competitor monitoring, content strategy, or LLM-ready transcript workflows without maintaining your own YouTube scraping stack.

Operational hardening

This Actor emits structured progress logs so long runs are easier to diagnose from Apify logs and Insights:

  • progress_event=run_input_ready after the input is normalized.
  • progress_event=source_start / source_done / source_error for search, channel, and video sources.
  • progress_event=detail_enrich_start / detail_enrich_done for optional video detail enrichment.
  • progress_event=transcript_start / transcript_done for optional transcript extraction.
  • progress_event=row_push_start / row_push_done for dataset writes and billing-event boundaries.
  • progress_event=run_summary_ready before RUN_SUMMARY is written.

HTTP requests use curl_cffi Chrome impersonation plus coherent browser headers, consent cookies, InnerTube client context, and YouTube-specific JSON headers to reduce obvious datacenter/client-fingerprint mismatches while keeping the Actor lightweight and API-first.

Live-view web server OpenAPI schema

This Actor includes a real Actor Standby / Live-view web server schema at:

.actor/openapi.json

The schema is published and validated through .actor/actor.json:

{
"usesStandbyMode": true,
"webServerSchema": "./openapi.json"
}

Documented Standby endpoints:

  • GET / - service information and Apify readiness-probe response
  • GET /health - health check
  • GET /input-example - quick YouTube research request examples
  • GET /openapi.json - returns the OpenAPI document packaged with the Actor
  • GET /search and POST /search - runs a bounded YouTube search
  • GET /channel - scans a YouTube channel
  • GET /video - processes one exact video URL or ID
  • POST /run - runs the Actor with the full YouTube Research Scraper input contract

For low-cost validation, use POST /search with a small maxResults value and includeTranscript: false.


All 77 public Actors from [lentic_clockss]. Click a name to open the Store detail page.

Jobs & Freelance

Real Estate

E-commerce

Travel & Stays

Social & Content

Ads Intelligence

Local & Maps

General Tools

→ Browse the full profile: apify.com/lentic_clockss