YouTube Channel ID Scraper
Pricing
$7.99/month + usage
YouTube Channel ID Scraper
✅ No proxy is required to scrape the data. Extract official YouTube Channel IDs from channel, handle, or video URLs. Supports multiple links, returns clean structured output, and works without login or cookies. Ideal for analytics, automation, and channel identification.
Pricing
$7.99/month + usage
Rating
5.0
(1)
Developer

Alpha Scraper
Actor stats
0
Bookmarked
4
Total users
2
Monthly active users
8 days ago
Last modified
Categories
Share
📺 YouTube Channel ID Scraper
🚀 Overview
YouTube Channel ID Scraper is a powerful Apify actor designed to extract official YouTube Channel IDs and essential public metadata from any type of YouTube URL.
✅ No proxy is required to scrape the data ✅
Whether you provide:
- A channel URL
- A custom handle (@username)
- Or even a video URL
…the actor reliably identifies the true YouTube Channel ID (UC…) associated with it.
- ✅ No login required
- ✅ No cookies required
- ✅ Works with public URLs
- ✅ Fast & scalable
🧠 What This Actor Provides
This actor helps you resolve YouTube channel identities accurately by converting human-friendly URLs into machine-reliable Channel IDs.
🎯 Supported URL Types
- Channel handle URLs (
@username) - Channel ID URLs (
/channel/UC...) - Video URLs (
/watch?v=...) - Shortened or redirected YouTube links
🧩 Input Configuration
🔹 Required Input
The actor requires at least one YouTube URL.
📥 Input Field
| Field | Type | Required | Description |
|---|---|---|---|
startUrls | Array | ✅ Yes | One or more YouTube URLs |
📌 Input Sample
{"startUrls": [{ "url": "https://www.youtube.com/@tseries" },{ "url": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA" },{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }]}
📦 Output Data Explained
For each input URL, the actor generates one output record.
🧾 Output Fields
| Field Name | Description |
|---|---|
youtubeChannelUrl | The original YouTube URL you provided as input |
channelId | The resolved official YouTube Channel ID (starts with UC...) |
📝 Example Output Record
[{"youtubeChannelUrl": "https://www.youtube.com/@tseries","channelId": "UChz5aEi3dfrDVC8-YJsMUDA"},{"youtubeChannelUrl": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA","channelId": "UCAiLfjNXkNv24uhpzUgPa6A"},{"youtubeChannelUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","channelId": "UCuAXFkgsw1L7xaCfnd5JJOw"}]
📤 Output Format
-
Each result is pushed as an individual dataset item
-
All results are also visible together in the actor run logs
-
Easy to export as:
- JSON
- CSV
- Excel
- API responses
🌟 Key Features
- ✨ Extracts true YouTube Channel IDs
- ✨ Accepts mixed URL formats
- ✨ Handles multiple URLs at once
- ✨ Clean & structured output
- ✨ No authentication needed
- ✨ Suitable for automation & pipelines
💡 Benefits & Advantages
🟢 Why Use This Actor?
-
🔐 Stable Channel Identification Channel IDs never change, unlike usernames.
-
📊 Perfect for Data Pipelines Ideal for analytics, monitoring, syncing, or enrichment.
-
⚡ Saves Time No manual lookup or verification needed.
-
🔁 Batch Friendly Works with one URL or hundreds.
-
🧩 Works with Video URLs Automatically links videos back to their channels.
🧪 Common Use Cases
- 📈 YouTube analytics
- 📣 Influencer research
- 🧠 Brand monitoring
- 📊 Channel databases
- 🤖 Automation workflows
- 🗂 Content indexing
⚠️ Possible Errors & How to Avoid Them
❌ Error: channelId is null
Possible Causes
- URL is invalid or incomplete
- URL is not a YouTube page
- Page is private, deleted, or unavailable
- Temporary connectivity issue
How to Avoid
- Use full, valid YouTube URLs
- Ensure the content is public
- Avoid malformed or shortened links
❌ Error: No output records
Possible Causes
startUrlsfield is missing- Input array is empty
How to Avoid
- Always include at least one URL in
startUrls
⚠️ Best Practice Tip
If you submit multiple URLs, always verify that each one is a valid YouTube link before running the actor.
🧠 Best Practices for Best Results
- ✅ Use full URLs
- ✅ Mix channels & videos freely
- ✅ Run in batches for large lists
- ✅ Store Channel IDs for long-term use
- ✅ Re-run anytime (IDs do not expire)
📌 Notes & Limitations
- This actor only returns publicly available information
- Private or restricted content may not resolve
- Output depends on the availability of the target page
🏁 Summary
YouTube Channel ID Scraper is a reliable, clean, and automation-ready solution for converting any YouTube URL into a stable Channel ID.
If your workflow depends on accurate channel identification, this actor is built exactly for that purpose. 🚀📺