
YouTube Shorts Scraper
Pricing
$5.00/month + usage

YouTube Shorts Scraper
πΉ YouTube Shorts Data Scraper π€ | Quickly extract video Title π, Channel π―, Views π, Likes π, Comments π¬, Shares π, Upload Date β° & Tags π·οΈ. Ideal for content research, analytics, and automating data collection! π Get more data in least price β€οΈ
0.0 (0)
Pricing
$5.00/month + usage
0
6
3
Last modified
21 hours ago
π― YouTube Shorts Metadata Scraper
Lightning-fast extraction of detailed YouTube Shorts video data into JSON for analytics, automation, or reporting.
π Summary
Scrape metadata from YouTube Shorts or playlists including title, channel, views, likes, tags, description, and more.
π‘ Use Cases
- Monitor trending Shorts for analytics dashboards
- Track competitor channel performance
- Automate content research for Shorts
- Generate structured reports from playlists or multiple videos
β‘ Quick Start β Apify Console
- Go to the Actor page in Apify Console.
- Click Run.
- Paste an array of YouTube Shorts 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/shorts/dQw4w9WgXcQ'],'proxyConfiguration': {'useApifyProxy': True}}run = client.acts.run_actor('<ACTOR_ID>', run_input=run_input)print(run['defaultDatasetId'])
π Inputs
startUrls
: List of YouTube Shorts 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/shorts/dQw4w9WgXcQ"] | List of target YouTube Shorts 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 Shorts video containing metadata.
Example output item:
{"title": "Example Shorts Video","description": "Short video description...","duration": 25,"upload_date": "20250101","url": "https://www.youtube.com/shorts/dQw4w9WgXcQ","tags": ["fun", "shorts"],"views": 12345,"likes": 678,"dislikes": 10,"comment_count": 45,"category": ["Entertainment"],"thumbnail": "https://example.com/thumb.jpg","shares": 5,"engagement_ratio": 0.058,"channel_name": "Channel Name","channel_id": "UC1234567890","channel_url": "https://www.youtube.com/channel/UC1234567890","channel_handle": "@channelhandle","subscribers": 10000,"thumbnails": [],"thumbnail_url_hq": "https://example.com/thumb_hq.jpg","audio_track": "Song Name","artist": "Artist Name","album": "Album Name","language": "en","subtitles": ["en"],"is_short": true}
π 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 Shorts URLs or playlists.
- Uses optional proxy configuration.
- Extracts detailed Shorts metadata including engagement and channel info.
- TODO: Confirm support for private videos requiring login cookies.
input.example.json
{ "startUrls": [ "https://www.youtube.com/shorts/dQw4w9WgXcQ" ], "proxyConfiguration": { "useApifyProxy": true } }
CONFIG.md
Configuration Reference
π Name | π Type | β Required | βοΈ Default | π Example | π Notes |
---|---|---|---|---|---|
startUrls | array | β Yes | null | ["https://www.youtube.com/shorts/dQw4w9WgXcQ"] | List of target YouTube Shorts 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/shorts/dQw4w9WgXcQ"]}