๐Ÿฏ Youtube Scraper (Pay Per Result) avatar
๐Ÿฏ Youtube Scraper (Pay Per Result)
Try for free

Pay $0.50 for 1,000 videos

View all Actors
๐Ÿฏ Youtube Scraper (Pay Per Result)

๐Ÿฏ Youtube Scraper (Pay Per Result)

apidojo/youtube-scraper
Try for free

Pay $0.50 for 1,000 videos

Experience unparalleled efficiency and depth with its ultra-fast capabilities in searching, URL, playlist, channel, and profile scraping. It comes equipped with a variety of filters to customize your data collection precisely. Plus, it's incredibly affordable at only $0.50 per 1000 videos!

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    "https://www.youtube.com/results?search_query=never+gonna+give+you+up",
9    "https://www.youtube.com/watch?v=xuCn8ux2gbs",
10    "https://www.youtube.com/channel/UCsXVk37bltHxD1rDPwtNM8Q",
11    "https://www.youtube.com/watch?v=kXYiU_JCYtU&list=PL6Lt9p1lIRZ311J9ZHuzkR5A3xesae2pk",
12    "https://www.youtube.com/shorts/vVTa1_hm4n4",
13    "https://www.youtube.com/results?search_query=recipes",
14    "https://www.youtube.com/@gordonramsay/shorts"
15  ],
16  "youtubeHandles": [
17    "@MrBeast",
18    "@babishculinaryuniverse"
19  ],
20  "keywords": [
21    "pixel art"
22  ],
23  "uploadDate": "all",
24  "duration": "all",
25  "features": "all",
26  "sort": "r",
27  "maxItems": 1000,
28  "customMapFunction": "(object) => { return {...object} }"
29}
30EOF
31
32# Run the Actor using an HTTP API
33# See the full API reference at https://docs.apify.com/api/v2
34curl "https://api.apify.com/v2/acts/apidojo~youtube-scraper/runs?token=$API_TOKEN" \
35  -X POST \
36  -d @input.json \
37  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 72 monthly users
  • 1 star
  • 96.6% runs succeeded
  • 3.7 hours response time
  • Created in Dec 2023
  • Modified about 20 hours ago