YouTube Video Details Scraper
Pricing
$4.50/month + usage
YouTube Video Details Scraper
"π¬ 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 π€π± "
Pricing
$4.50/month + usage
Rating
5.0
(1)
Developer

Neuro Scraper
Actor stats
0
Bookmarked
6
Total users
0
Monthly active users
2 months ago
Last modified
Categories
Share
ee# π― 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
- Go to the Actor page in Apify Console.
- Click Run.
- Paste an array of YouTube URLs in
startUrls. - (Optional) Enable Apify Proxy or provide custom proxies in the Proxy panel.
- Click Start.
β‘ Quick Start β CLI + API
CLI
$apify run --actor <ACTOR_ID> -p input.json
Python API (apify-client)
from apify_client import ApifyClientclient = 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 |
|---|---|---|---|---|---|
startUrls | array | β Yes | null | ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"] | List of target YouTube URLs |
proxyConfiguration | object | βοΈ Optional | {} | { "useApifyProxy": true } | Proxy settings for requests |
ALL_RESULTS | dataset/key-value | βοΈ Optional | default | ALL_RESULTS | Key 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
startUrlsis 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_PROXYenv 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 |
|---|---|---|---|---|---|
startUrls | array | β Yes | null | ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"] | List of target YouTube URLs |
proxyConfiguration | object | βοΈ Optional | {} | { "useApifyProxy": true } | Proxy settings for requests |
ALL_RESULTS | dataset/key-value | βοΈ Optional | default | ALL_RESULTS | Key for storing all output data |
Example Console input:
{"startUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]}