Youtube Scraping Tool avatar

Youtube Scraping Tool

Pricing

Pay per usage

Go to Apify Store
Youtube Scraping Tool

Youtube Scraping Tool

YouTube Scraping Tool lets you search and extract YouTube videos quickly and efficiently. Collect metadata for both regular videos and Shorts, with automated pagination handling and full statistics.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Alexander

Alexander

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

3 days ago

Last modified

Categories

Share

URL: https://requests/youtube-scraping-tool

Overview

YouTube Scraping Tool allows you to search and collect YouTube videos efficiently.
Supports both regular videos and Shorts, automatically handles pagination, and provides detailed metadata and statistics for each video.

Key Features

  • Search by one or multiple keywords (search_queries).
  • Limit the number of videos per query (max_videos).
  • Detects video type: regular or shorts.
  • Collects video metadata:
    • Title, URL, and Channel name
    • Views and view text
    • Publication date
    • Duration (formatted and in seconds)
    • Thumbnail
    • Video type (regular / short)
  • Automatic handling of pagination with continuation tokens.
  • Saves results to Dataset and full JSON (OUTPUT.json).
  • Generates statistics including:
    • Total videos collected
    • Total views
    • Unique channels
    • Shorts vs regular videos
    • Oldest and newest video dates

Input Parameters

ParameterTypeDescriptionExample
search_queriesstring or array[string]Search keywords (comma-separated string or array)"Python tutorial, Django"
max_videosintegerMaximum number of videos per query10

Output

  • Dataset: Each video object is saved individually.
  • OUTPUT.json: Complete JSON including results, metadata, and statistics.

Example Video Object

{ "videoId": "abc123", "title": "Python Tutorial for Beginners", "url": "https://www.youtube.com/watch?v=abc123", "channelName": "Tech Channel", "views": 12345, "viewsText": "12,345 views", "publishedAt": "2024-03-15", "duration": "10:35", "durationSeconds": 635, "thumbnail": "https://i.ytimg.com/vi/abc123/hqdefault.jpg", "query": "Python tutorial", "video_type": "regular", "timestamp": "2026-04-03T12:00:00Z" }

Usage Examples

Single query

{ "search_queries": "Python tutorial", "max_videos": 5 }

Multiple queries

{ "search_queries": ["Python tutorial", "Django framework"], "max_videos": 10 }

Notes

  • Automatically handles pagination to retrieve multiple pages of results.
  • Differentiates between Shorts and regular videos based on YouTube data.
  • Includes logging of progress and top videos in Actor logs.

This actor is perfect for content research, competitor analysis, or building YouTube datasets.