YouTube Video Details Scraper avatar
YouTube Video Details Scraper

Pricing

$4.50/month + usage

Go to Apify Store
YouTube Video Details Scraper

YouTube Video Details Scraper

Developed by

Neuro Scraper

Neuro Scraper

Maintained by Community

"๐ŸŽฌ Scrape YouTube video details in seconds! This actor extracts ๐Ÿ”‘ info like title, description, views ๐Ÿ‘€, likes ๐Ÿ‘, upload date ๐Ÿ“…, and channel details ๐Ÿ“บ โ€” perfect for research, analytics, or content tracking. Get unlimited data for low cost per month ๐Ÿค‘๐Ÿ˜ฑ "

0.0 (0)

Pricing

$4.50/month + usage

0

1

1

Last modified

a day ago

๐ŸŽฏ YouTube Video Metadata Scraper

Lightning-fast extraction of detailed YouTube video data into JSON for analytics, automation, or reporting.

๐Ÿ“– Summary

Scrape metadata from YouTube videos or playlists including title, channel, views, likes, tags, description, and more.

๐Ÿ’ก Use Cases

  • Extract video details for analytics dashboards
  • Monitor competitor channels or video performance
  • Generate structured reports from playlists
  • Automate content research

โšก Quick Start โ€” Apify Console

  1. Go to the Actor page in Apify Console.
  2. Click Run.
  3. Paste an array of YouTube URLs in startUrls.
  4. (Optional) Enable Apify Proxy or provide custom proxies in the Proxy panel.
  5. Click Start.

โšก Quick Start โ€” CLI + API

CLI

$apify run --actor <ACTOR_ID> -p input.json

Python API (apify-client)

from apify_client import ApifyClient
client = ApifyClient('<APIFY_TOKEN>')
run_input = {
'startUrls': ['https://www.youtube.com/watch?v=dQw4w9WgXcQ'],
'proxyConfiguration': {'useApifyProxy': True}
}
run = client.acts.run_actor('<ACTOR_ID>', run_input=run_input)
print(run['defaultDatasetId'])

๐Ÿ“ Inputs

  • startUrls: List of YouTube video or playlist URLs.
  • proxyConfiguration: Object to configure proxy usage.

โš™๏ธ Configuration

๐Ÿ”‘ Name๐Ÿ“ Typeโ“ Requiredโš™๏ธ Default๐Ÿ“Œ Example๐Ÿ“ Notes
startUrlsarrayโœ… Yesnull["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]List of target YouTube URLs
proxyConfigurationobjectโš™๏ธ Optional{}{ "useApifyProxy": true }Proxy settings for requests
ALL_RESULTSdataset/key-valueโš™๏ธ OptionaldefaultALL_RESULTSKey for storing all output data

Console example: Paste startUrls in input JSON panel or set APIFY_TOKEN env variable in Actor settings.

๐Ÿ“ค Outputs

  • Dataset: JSON objects for each video containing metadata.

Example output item:

{
"title": "Example Video",
"channel": "Channel Name",
"channel_id": "UC1234567890",
"views": 12345,
"likes": 678,
"dislikes": 10,
"upload_date": "20250101",
"duration": 300,
"tags": ["tag1", "tag2"],
"categories": ["Entertainment"],
"description": "Video description...",
"thumbnail": "https://example.com/thumb.jpg",
"age_limit": 0,
"comment_count": 45,
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}

๐Ÿ”‘ Environment Variables

  • APIFY_TOKEN โ€” your Apify account token.

โ–ถ๏ธ How to Run

  • Console: Run Actor โ†’ paste input JSON โ†’ Start.
  • CLI: apify run --actor <ACTOR_ID> -p input.json
  • apify-client: See Python example above.

โฐ Scheduling & Webhooks

  • Configure schedules in the Scheduler panel.
  • Add webhooks in Webhook settings to trigger external callbacks.

๐Ÿž Logs & Troubleshooting

  • โŒ Missing URLs โ†’ ensure startUrls is provided.
  • โš ๏ธ Proxy errors โ†’ check proxy configuration and credentials.
  • โš ๏ธ Private video errors โ†’ may require login cookies.

๐Ÿ”’ Permissions & Storage Notes

  • Actor stores output in default dataset; ensure access to Apify storage.
  • Proxy credentials should be stored as secrets.

๐Ÿ†• Changelog / Versioning Tip

  • Increment version for major feature additions.
  • Patch releases for bug fixes.

๐ŸŒ Proxy Configuration

  • Enable Apify Proxy: In Console, go to Proxy panel โ†’ toggle Use Apify Proxy โœ…
  • Custom Proxy: Set HTTP_PROXY / HTTPS_PROXY env vars, e.g., http://<PROXY_USER:PROXY_PASS@HOST:PORT>
  • Security: Always store credentials as secrets ๐Ÿ”’
  • TODO: Add advanced rotating proxy patterns if scraping large playlists.

๐Ÿ“š References

๐Ÿง Inferred from main.py

  • Supports multiple YouTube URLs or playlist links.
  • Uses optional proxy configuration.
  • Extracts detailed video metadata.
  • TODO: Confirm support for private videos requiring login cookies.

input.example.json

{ "startUrls": [ "https://www.youtube.com/watch?v=dQw4w9WgXcQ" ], "proxyConfiguration": { "useApifyProxy": true } }


CONFIG.md

Configuration Reference

๐Ÿ”‘ Name๐Ÿ“ Typeโ“ Requiredโš™๏ธ Default๐Ÿ“Œ Example๐Ÿ“ Notes
startUrlsarrayโœ… Yesnull["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]List of target YouTube URLs
proxyConfigurationobjectโš™๏ธ Optional{}{ "useApifyProxy": true }Proxy settings for requests
ALL_RESULTSdataset/key-valueโš™๏ธ OptionaldefaultALL_RESULTSKey for storing all output data

Example Console input:

{
"startUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]
}