YouTube Channel ID Scraper avatar

YouTube Channel ID Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
YouTube Channel ID Scraper

YouTube Channel ID Scraper

YouTube Channel ID Scraper extracts YouTube channel IDs from channel and video URLs. Process one or multiple public YouTube links and get structured channel ID data for research, data enrichment, channel mapping, and automated YouTube workflows.

Pricing

from $1.50 / 1,000 results

Rating

5.0

(1)

Developer

Alpha Scraper

Alpha Scraper

Maintained by Community

Actor stats

0

Bookmarked

13

Total users

1

Monthly active users

13 days ago

Last modified

Share

πŸ” YouTube Channel ID Scraper – Overview

YouTube Channel ID Scraper extracts the official YouTube channel ID associated with a provided YouTube channel URL or video URL. It is designed for users who need a reliable way to turn YouTube URLs into structured channel identifiers for research, lead organization, channel analysis, data collection, and other workflows involving YouTube channel discovery.

Instead of manually opening pages and searching for a channel identifier, you can provide one or multiple YouTube URLs through the Actor input. The Actor returns a simple structured result containing the original URL and the discovered YouTube channel ID.

The Actor works with public YouTube pages and does not require users to provide a YouTube login or cookies. The easiest workflow is straightforward: add your YouTube channel or video URLs to Start URLs, run the Actor, and review the resulting dataset.

πŸ“Œ Key Features

  • Extracts YouTube channel IDs from channel URLs
  • Extracts the related channel ID from YouTube video URLs
  • Accepts one or multiple YouTube URLs
  • Returns structured JSON records
  • Preserves the submitted YouTube URL in the output
  • Does not require login or cookies
  • No proxy is required according to the Actor configuration
  • Useful for channel discovery, research, organization, and automation
  • Simple one-field input design

πŸ”Ή YouTube Channel ID Scraper – Key Features

The YouTube Channel ID Scraper focuses on one specific task: identifying the channel ID associated with a YouTube URL. This focused design keeps the input simple and the output easy to understand.

A YouTube channel ID is a stable identifier used to distinguish a channel from its display name, handle, or custom URL. This can be useful when working with YouTube data where a unique channel identifier is more practical than a human-readable channel name.

🎯 Channel ID Extraction

The Actor looks for the channel identifier exposed by the public YouTube page associated with the supplied URL. This allows channel URLs and video URLs to be used as starting points.

πŸ”— Channel and Video URL Support

The input accepts both YouTube channel URLs and YouTube video URLs. When a video page exposes the owning channel identifier, the Actor returns that channel ID in the output.

πŸ“₯ Multiple URL Processing

You can submit one URL or a list of URLs through the Start URLs field. This makes the Actor useful for processing a small research list as well as larger collections of YouTube links.

🧩 Simple Structured Results

Every processed URL produces a compact result containing the submitted YouTube URL and its corresponding channel ID when one can be resolved.

πŸ’‘ Why Use This Actor?

  • Save time when collecting channel identifiers manually
  • Convert channel and video URLs into structured channel ID data
  • Prepare YouTube URLs for downstream datasets or workflows
  • Organize channel references using a consistent identifier
  • Identify the channel behind a YouTube video URL
  • Keep your extraction workflow focused on essential channel identification data

πŸ“Š YouTube Channel ID Scraper – What Data You Can Extract

The YouTube Channel ID Scraper intentionally produces a small dataset rather than attempting to collect unrelated YouTube information.

For each submitted URL, the result contains two main fields.

Output fieldDescription
youtubeChannelUrlThe YouTube URL submitted for processing
channelIdThe YouTube channel ID identified from the associated public page

The channelId value normally follows the familiar YouTube channel ID format beginning with UC. When the Actor cannot identify a channel ID from the requested page, the value can be returned as null.

This behavior is important for automation because a missing result is represented directly in the structured output instead of pretending that an identifier was successfully discovered.

πŸ†” Understanding the Channel ID

A YouTube channel ID is different from a channel name or handle. A channel may have a recognizable public name or a URL based on an @handle, while the channel ID provides a distinct identifier associated with that channel.

For example, a channel URL such as:

https://www.youtube.com/@tseries

can be processed to identify its underlying channel ID.

Likewise, a YouTube video URL can be used to identify the channel associated with that video when the public page exposes the relevant channel information.

πŸ“¦ Output / Data Fields

  • youtubeChannelUrl β€” original URL supplied in startUrls
  • channelId β€” resolved YouTube channel identifier
  • null channelId β€” indicates that the identifier could not be resolved from the requested page

πŸš€ YouTube Channel ID Scraper – How to Use It

Using the Actor requires only one input field: Start URLs.

1. Add Your YouTube URLs

Open the Actor input and add one or more YouTube channel or video URLs to the Start URLs field.

Examples include:

https://www.youtube.com/@tseries
https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA
https://www.youtube.com/watch?v=dQw4w9WgXcQ

2. Run the Actor

Start the Actor after your URLs have been added. The Actor processes the supplied pages and attempts to resolve the associated YouTube channel ID.

3. Review the Dataset

The results are written as structured records. Each record keeps your original URL together with the extracted channel ID.

4. Use the Results in Your Workflow

The resulting channel IDs can then be used as structured references in your own research, data preparation, channel organization, or other YouTube-related workflows.

βš™οΈ How It Works

  • You provide one or more YouTube channel or video URLs
  • The Actor requests the associated public page
  • The page is checked for an available YouTube channel identifier
  • The channel ID is extracted when available
  • A structured result is returned for each submitted URL
  • When no channel ID can be resolved, the result can contain null

πŸ”Ž How to Scrape a YouTube Channel ID from a Channel URL

The easiest way to scrape a YouTube channel ID is to provide the channel URL directly through Start URLs.

For example:

{
"startUrls": [
{
"url": "https://www.youtube.com/@tseries"
}
]
}

The Actor processes the public page and returns the submitted URL together with the associated channel identifier.

A simple output example is:

{
"youtubeChannelUrl": "https://www.youtube.com/@tseries",
"channelId": "UCxxxxxxxxxxxxxxxxxxxxxx"
}

The exact channel ID depends on the YouTube page being processed.

This approach is useful when you already have channel URLs but need the underlying YouTube channel ID as a consistent data point.

🎬 Can I Get a Channel ID from a YouTube Video URL?

Yes. The YouTube Channel ID Scraper accepts YouTube video URLs as well as channel URLs.

For example:

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

For a publicly accessible video page that exposes its owning channel information, the Actor can return the channel ID associated with that video.

This makes the Actor useful when your starting dataset contains videos rather than channel pages. Instead of first manually identifying the video owner, you can use the video URL as the input and let the Actor attempt to resolve the channel identifier.

Keep in mind that the Actor only returns what can be resolved from the requested public page. If the page cannot be accessed or does not expose the required identifier, channelId may be null.

🧾 YouTube Channel ID Scraper – Input

The Actor currently exposes one required input field.

🟒 startUrls

This is a list of one or more YouTube channel or video URLs.

PropertyTypeRequiredDescription
startUrlsArrayYesOne or more YouTube channel or video URLs to process

Supported input examples include:

https://www.youtube.com/@tseries
https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA
https://www.youtube.com/watch?v=dQw4w9WgXcQ

The input accepts URL entries in the standard Apify request-list format.

πŸ“₯ Input

  • Add one or multiple YouTube URLs to Start URLs
  • Channel URLs are supported
  • Video URLs are supported
  • The field is required to run a normal extraction
  • No additional keyword, channel name, or ID field is required

πŸ“€ YouTube Channel ID Scraper – Output

The output is designed to remain compact and automation-friendly.

A successful result can look like this:

{
"youtubeChannelUrl": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA",
"channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA"
}

For a video URL, the structure remains the same:

{
"youtubeChannelUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"channelId": "UCxxxxxxxxxxxxxxxxxxxxxx"
}

When the Actor cannot resolve a channel identifier, the result may look like:

{
"youtubeChannelUrl": "https://www.youtube.com/example",
"channelId": null
}

This makes it easy to identify successful and unsuccessful channel ID resolutions when processing a larger URL list.

πŸ“Š Output / Data Summary

  • youtubeChannelUrl β€” submitted YouTube URL
  • channelId β€” resolved channel identifier
  • Output records are suitable for structured dataset workflows
  • Unresolved channel identifiers are represented as null
  • No unrelated profile, video, comment, subscriber, or engagement fields are added

πŸ’Ό YouTube Channel ID Scraper – Use Cases

The focused output makes the Actor useful for several practical YouTube data workflows.

πŸ”¬ YouTube Research

Researchers can convert lists of public YouTube channel URLs into channel ID references for more organized analysis and dataset preparation.

πŸ—‚οΈ Channel Data Organization

If your existing dataset contains YouTube URLs, adding a channel ID creates a consistent identifier that can help organize records.

πŸŽ₯ Video-to-Channel Mapping

A list of video URLs can be processed to identify the channel associated with each public video page when the channel information is available.

πŸ“ˆ YouTube Data Preparation

Channel IDs can be useful as identifiers when preparing YouTube-related datasets for analysis or downstream processing.

🧹 URL List Normalization

Instead of keeping only human-readable YouTube links, you can add a structured channel identifier to each URL record.

πŸ€– Workflow Automation

The Actor can serve as a focused step inside a broader YouTube research workflow where the required input is already a list of channel or video URLs.

🎯 Use Cases

  • YouTube channel research
  • Video-to-channel identification
  • Channel dataset preparation
  • URL enrichment
  • YouTube lead research
  • Channel reference organization
  • Data cleaning and normalization
  • Structured YouTube data workflows

πŸ’° YouTube Channel ID Scraper – Pricing

No fixed public price or custom pricing amount is specified in the provided Actor configuration.

For the exact cost of a run, check the current pricing information shown by Apify for the Actor and your selected execution settings. Actual platform costs can depend on how you run and use the Actor.

πŸ’‘ Pricing Note

  • The provided Actor files do not define a public fixed price
  • Check the Apify Console for the current applicable run cost
  • Do not assume a price from this README unless it is displayed in the Actor Store

πŸ› οΈ Tips and Important Notes

For the best results, use valid and publicly accessible YouTube channel or video URLs.

A channel URL is generally the most direct input when your goal is to retrieve a specific channel's ID. Video URLs are helpful when your source data is based on videos and you need to identify their associated channel.

Because the Actor works from the public page available for the submitted URL, results can depend on whether the requested page is accessible and contains enough public information to resolve the channel identifier.

  • Use complete YouTube URLs whenever possible
  • Keep one URL per Start URL entry
  • Use channel URLs when you already know the target channel
  • Use video URLs when your source dataset consists of videos
  • Review records where channelId is null

⚠️ When a Channel ID May Be Missing

A null channel ID does not necessarily mean that the YouTube URL is unrelated to a channel. It means the Actor could not resolve a channel identifier from the page it processed.

Possible reasons include an unavailable page, an inaccessible request, or insufficient public page information.

❓ Frequently Asked Questions

What is a YouTube Channel ID Scraper?

A YouTube Channel ID Scraper is a tool that extracts the channel ID associated with a YouTube channel or video URL. This Actor accepts YouTube URLs and returns structured channel identification data.

What URLs does the YouTube Channel ID Scraper support?

The Actor supports YouTube channel URLs and YouTube video URLs through the required startUrls input field.

Can I scrape a YouTube channel ID from an @handle URL?

Yes. A public YouTube channel URL using an @handle can be provided as a Start URL, and the Actor attempts to resolve its underlying channel ID.

Can I get a channel ID from a YouTube video URL?

Yes. A YouTube video URL can be supplied, and the Actor attempts to identify the channel associated with the public video page.

What data does the YouTube Channel ID Scraper return?

The output contains youtubeChannelUrl and channelId. These are the two user-facing data fields produced by the Actor.

What happens when the channel ID cannot be found?

The channelId value can be returned as null. This indicates that the channel ID could not be resolved from the requested page.

Do I need a YouTube login or cookies?

No login or cookies are required as part of the Actor's normal public URL workflow.

Do I need to configure a proxy?

No proxy is required according to the Actor's provided input configuration.

Can I submit multiple YouTube URLs?

Yes. The startUrls field accepts an array, allowing multiple channel or video URLs to be processed in one Actor run.

Is this Actor suitable for extracting subscriber counts, video titles, comments, or channel descriptions?

No. The Actor is specifically focused on channel ID identification and does not claim to extract subscriber counts, comments, video metadata, channel descriptions, or other extended YouTube datasets.

Can I use the results for YouTube data research?

Yes. The structured channel ID output can be useful for research, URL enrichment, channel organization, and other workflows that require a consistent YouTube channel identifier.

πŸ“Œ Support

The YouTube Channel ID Scraper is intentionally simple: provide YouTube channel or video URLs, run the Actor, and review the structured channel ID results.

When using the Actor, start with a small set of URLs so you can verify the returned data before processing a larger dataset. Pay particular attention to records where channelId is null, especially when working with pages that may be unavailable or do not expose the expected public channel information.

If you encounter an issue with the Actor or have a suggestion for improving the user experience, you can report it through the appropriate Apify support or issue channel.