Apify Youtube Scraper avatar

Apify Youtube Scraper

Pricing

from $2.00 / 1,000 video scrapeds

Go to Apify Store
Apify Youtube Scraper

Apify Youtube Scraper

Pricing

from $2.00 / 1,000 video scrapeds

Rating

0.0

(0)

Developer

Abdelkader BENAISSI

Abdelkader BENAISSI

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

3 days ago

Last modified

Categories

Share

YouTube Scraper

Scrape YouTube video metadata over plain HTTP — no headless browser, no API key, no waiting. Search any keywords or point it at a channel's /videos page and get back one dataset row per video: title, channel, view count, duration, publish time, description snippet, watch URL and thumbnail.

Built for AI agents, trend research, competitor monitoring and content pipelines that need YouTube metadata as structured data without burning compute on a browser.

What it does

  • Search mode — query like python tutorial returns matching videos.
  • Channel mode — pass a channel URL (https://www.youtube.com/@mkbhd/videos, /channel/<id>/videos, /c/<name>/videos) to scrape that channel's latest videos.
  • HTTP-only parsing — fetches the page and extracts YouTube's embedded ytInitialData JSON: fast (about a second per scrape) and cheap to run.
  • Clean fields — view counts parsed to integers (1.2M views → 1200000), titles/channel names joined from text runs, thumbnails with a maxresdefault fallback.
  • Robust — unparsable videos are skipped with a warning, one bad entry never kills the run; consent/rate-limit pages are detected and reported instead of crashing.

Input

FieldDescription
querySearch keywords or a YouTube channel URL (required)
maxResultsMax videos to return, 1–100 (default 20)

Example input:

{
"query": "python tutorial",
"maxResults": 20
}

Channel example:

{
"query": "https://www.youtube.com/@mkbhd/videos",
"maxResults": 20
}

Output

One dataset row per video:

FieldDescription
videoId / videoUrlYouTube video ID / watch URL
titleVideo title
channelName / channelIdChannel name / ID
viewCountViews as an integer (null when not shown)
durationDuration as shown, e.g. 12:34 (null for live streams)
publishedAtRelative publish time, e.g. 3 days ago
descriptionDescription snippet
thumbnailUrlThumbnail image URL

Pricing

EventPrice
Video scraped$0.002 per video successfully scraped

You are only charged for videos that are scraped and delivered to the dataset — failed or skipped entries cost nothing. (Apify platform usage costs are paid by you as usual.)