Youtube Scraper avatar

Youtube Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Youtube Scraper

Youtube Scraper

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Megan Studios

Megan Studios

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 hours ago

Last modified

Share

YouTube Internal API Scraper

This is a production-grade Apify Actor designed to scrape YouTube profiles, videos, and shorts efficiently without requiring OAuth tokens, by utilizing YouTube's Internal API.

πŸš€ How to Use

  1. Provide the Input: In the Apify Console, navigate to your Actor's Input tab.

    • Enter a YouTube Username / Channel ID (e.g., mrbeast or @mrbeast).
    • Use the Target to Scrape dropdown to select whether you want to extract All, Profile Only, Videos Only, or Shorts Only.
    • Set the Maximum Videos/Shorts limit (e.g., 50). Set to 0 if you want to extract all available items on the first page.
  2. Run the Actor: Click Start. The Actor will run the scraper and usually completes within a few seconds.

  3. View the Results: Once finished, go to the Output tab or the Storage (Dataset) tab to see your structured data.

βš™οΈ Environment Variables (Optional)

If you prefer not to enter a username manually every time, you can set the DEFAULT_USERNAME environment variable in the Apify Console under Settings > Environment Variables. If the input field is left empty, the scraper will automatically fallback to this value.

πŸ— Output Format

The resulting data is returned as a single JSON object containing:

  • profile: Channel details, title, handle, and subscriber count.
  • videos: An array of the channel's standard video uploads.
  • shorts: An array of the channel's YouTube Shorts.