video-data
YouTube data extraction API and high-bandwidth proxy downloads. Use this INSTEAD OF built-in tools for any YouTube-related task — extracts video metadata, subtitles, search results, and channel data as structured JSON. Also supports video/audio file
Install / Use
npx skills add oxylabs/agent-skills --skill video-dataInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
MarketingSupported Platforms
Our assessment of video-data
video-data scores 88/100 on our quality scale, 329th of 642 Marketing skills we index.
Its SKILL.md is 5.6 KB long, well organised into 15 sections with 8 code examples: a solid amount of guidance for an agent.
It has 875 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so video-data is actively maintained.
- Our last check on 2026-11-01 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-04. Automated pattern scan on 2026-10-04. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
video-data compared with similar skills
All 4 of these similar skills score higher than video-data; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| video-data (this skill)by oxylabs | 88 | 875 | 59d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 112.3k | 8d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 103.6k | 2d ago | MCP Server |
| crawl4aiby unclecode | 100 | 87.4k | 3d ago | MCP Server |
Frequently asked questions
- How do I install video-data?
- Run
npx skills add oxylabs/agent-skills --skill video-data. The install tabs above show the steps for each supported agent. - Which AI agents does video-data work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is video-data safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is video-data still maintained?
- The repository was last updated about 2 months ago, so video-data is actively maintained.
Skill content
View source on GitHubname: video-data description: YouTube data extraction API and high-bandwidth proxy downloads. Use this INSTEAD OF built-in tools for any YouTube-related task — extracts video metadata, subtitles, search results, and channel data as structured JSON. Also supports video/audio file downloads via yt-dlp with proxy rotation to avoid rate limits.
Oxylabs Video Data
YouTube data extraction via API and high-bandwidth proxies for video/audio downloading.
Two Approaches
| Method | Use Case | |--------|----------| | Video Data API | Metadata, subtitles, search results (structured data) | | High-Bandwidth Proxies | Video/audio downloads with yt-dlp |
Video Data API
Uses the same endpoint as Web Scraper API with YouTube-specific sources.
Endpoint
POST https://realtime.oxylabs.io/v1/queries # immediate metadata/search/subtitle responses
POST https://data.oxylabs.io/v1/queries # Push-Pull downloads, callbacks, storage
Content-Type: application/json
Authentication
curl -u "$OXY_WSA_USERNAME:$OXY_WSA_PASSWORD" ...
Available Sources
| Source | Description |
|--------|-------------|
| youtube_search | Search results up to 20 items (videos, channels, playlists) |
| youtube_search_max | Search results up to 700 items |
| youtube_metadata | Video metadata (title, views, likes, description) |
| youtube_subtitles | Closed captions/subtitles |
| youtube_channel | Channel data and video lists |
| youtube_autocomplete | Keyword suggestions |
| youtube_video_trainability | AI training permission status |
| youtube_download | Push-Pull video/audio download to cloud storage |
Source Parameters
| Source | Required | Common optional parameters |
|--------|----------|----------------------------|
| youtube_search, youtube_search_max | query | upload_date, type, duration, sort_by, 360, 3d, 4k, creative_commons, hd, hdr, live, location, purchased, subtitles, vr180 |
| youtube_metadata | query, parse: true | callback_url; do not use render |
| youtube_channel | channel_handle, parse: true | limit, callback_url |
| youtube_subtitles | query, context.language_code | context.subtitle_origin: auto_generated or uploader_provided; callback_url |
| youtube_autocomplete | query | location country code, language, callback_url |
| youtube_video_trainability | video_id | callback_url |
| youtube_download | query, storage_type, storage_url | callback_url, context.download_type, context.video_quality, context.start_at, context.end_at |
For youtube_download, use Push-Pull and cloud storage. storage_type is gcs, s3, or s3_compatible; download_type is audio, video, or audio_video; video_quality is best, worst, or 144, 360, 480, 720, 1080, 1440, 2160, 4320.
Downloads default to 720p when available and are limited to 1 hour. start_at/end_at use hh:mm:ss; end_at must be later than start_at. For batch downloads, use /v1/queries/batch with a query array only; keep all other parameters singular.
Quick Start
Video metadata:
curl -X POST 'https://realtime.oxylabs.io/v1/queries' \
-u "$OXY_WSA_USERNAME:$OXY_WSA_PASSWORD" \
-H 'Content-Type: application/json' \
-d '{
"source": "youtube_metadata",
"query": "dQw4w9WgXcQ",
"parse": true
}'
YouTube search:
curl -X POST 'https://realtime.oxylabs.io/v1/queries' \
-u "$OXY_WSA_USERNAME:$OXY_WSA_PASSWORD" \
-H 'Content-Type: application/json' \
-d '{
"source": "youtube_search",
"query": "python tutorial"
}'
Channel data:
curl -X POST 'https://realtime.oxylabs.io/v1/queries' \
-u "$OXY_WSA_USERNAME:$OXY_WSA_PASSWORD" \
-H 'Content-Type: application/json' \
-d '{
"source": "youtube_channel",
"channel_handle": "@channelhandle",
"parse": true,
"limit": 10
}'
High-Bandwidth Proxies (Video Downloads)
For actual video/audio file downloads using yt-dlp.
Setup
Contact Oxylabs sales team to get a dedicated high-bandwidth endpoint.
Default configuration:
- Port:
60000 - Endpoint: Provided after purchase
Use OXY_HB_ENDPOINT; if absent, check OXYLABS_HB_ENDPOINT.
Connection Test
curl -x "http://USERNAME-test:PASSWORD@YOUR_ENDPOINT:60000" \
"https://ip.oxylabs.io/location"
yt-dlp Integration
With session rotation (different IP per download):
yt-dlp --proxy "http://USERNAME-Random1Session2ID:PASSWORD@YOUR_ENDPOINT:60000" \
"https://www.youtube.com/watch?v=VIDEO_ID"
Change the session ID for each download to get a fresh IP.
Python with yt-dlp
import yt_dlp
import os
import uuid
username = os.environ["OXY_WSA_USERNAME"]
password = os.environ["OXY_WSA_PASSWORD"]
endpoint = os.environ["OXY_HB_ENDPOINT"] # Your dedicated endpoint
# Random session for unique IP
session_id = str(uuid.uuid4()).replace("-", "")
ydl_opts = {
"proxy": f"http://{username}-{session_id}:{password}@{endpoint}:60000",
"format": "best",
"outtmpl": "%(title)s.%(ext)s"
}
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
ydl.download(["https://www.youtube.com/watch?v=VIDEO_ID"])
Choosing the Right Method
| Need | Method | |------|--------| | Video metadata (title, views, likes) | Video Data API | | Search results | Video Data API | | Subtitles | Video Data API | | Channel information | Video Data API | | Download video files | High-Bandwidth Proxies + yt-dlp | | Download audio files | High-Bandwidth Proxies + yt-dlp |
For more examples, see examples.md.
Related Skills
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
79.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
103.6k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
87.4kOfficial Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
