YouTube scraper

YouTube scraper: videos, Shorts and streams from searches, channels, playlists and hashtags. Views, likes, comments count, publish time, duration, tags, plus channel subscribers, total views and country. Same input and output as the popular YouTube Scraper. Free until Nov 18, then $0.90 per 1,000.

Run YouTube scraper on Apify

What it's for

Price

Call it with curl

curl -X POST "https://api.apify.com/v2/acts/wulfcare~youtube-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN"   -H "content-type: application/json"   -d '{"searchQueries":["python tutorial"],"maxResults":20}'

Call it from Python

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("wulfcare/youtube-scraper").call(run_input={'searchQueries': ['python tutorial'], 'maxResults': 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

Use it from an AI agent

Add this MCP server to Claude, Cursor or any MCP client: https://mcp.apify.com?tools=wulfcare/youtube-scraper

Related scrapers

YouTube transcriptsYouTube comments

Replace YOUR_APIFY_TOKEN with the token from your Apify account. Prices are for Apify's free plan and can change.