Skip to the content

Scraper API

YouTube

youtube.channelAvailable

YouTube channel

Its name, description, subscribers, video count, country, join date, total views, links, avatar and banner.

Give it a YouTube channel's address, handle or id.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
1, 1 required
Record
24 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/youtube.channel/runs

{
"input": {
"channel": "@NASA"
}
}

sent, and answered

a record of the run24 fields

{
id: "UCLA_DiR1FfKNvjuUpBHmylQ"
url: "https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ"
handle: "@NASA"
handle_url: "https://www.youtube.com/@NASA"
title: "NASA"
description: "NASA's mission is to pioneer the future in space exploration, scientif…
subscriber_count_text: "15.1M subscribers"
subscriber_count: 15100000
video_count_text: "6.2K videos"
… 15 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 24 fields are set down here; the whole record is below.

youtube.com
The page YouTube channel reads, as a browser shows it
The page this scraper reads, photographed in a browser on 18 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Size up a channel
Subscribers, total views, number of videos, country and the date it joined, with its description, links and keywords, in one record.
Shortlist creators
Compare channels by subscriber_count, view_count and video_count before a sponsorship conversation, and keep the links each channel lists.
Follow growth
Read a channel on a schedule and keep the series of subscribers and views. The record also gives the address of the channel's feed.

What you send

A YouTube channel's address, handle or id. It is the one input.

channelstring Required
The channel: its address (youtube.com/@name, /channel/UC…, /c/name, /user/name), its handle (@name) or its id (UC…).

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/youtube.channel/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"channel":"@NASA"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("youtube.channel", {"channel": "@NASA"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("youtube.channel", { channel: "@NASA" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "youtube.channel", map[string]any{"channel": "@NASA"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("youtube.channel", Map.of("channel", "@NASA"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run youtube.channel --input channel=@NASA

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

Its name, description, subscribers, video count, country, join date, total views, links, avatar and banner. A record has 24 fields. One we could not read is null, never an empty string or a zero.

A record youtube.channel returned
{
  "id": "UCLA_DiR1FfKNvjuUpBHmylQ",
  "url": "https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ",
  "handle": "@NASA",
  "handle_url": "https://www.youtube.com/@NASA",
  "title": "NASA",
  "description": "NASA's mission is to pioneer the future in space exploration, scientific discovery, and aeronautics research.\r\n\r\nTo do that, we have worked around the world—and off it—for more than 60 years, searching for answers to fundamental questions … [truncated]",
  "subscriber_count_text": "15.1M subscribers",
  "subscriber_count": 15100000,
  "video_count_text": "6.2K videos",
  "video_count": 6200,
  "country": null,
  "joined_text": null,
  "joined_date": null,
  "view_count_text": null,
  "view_count": null,
  "links": [
    "https://www.nasa.gov",
    "https://x.com/nasa",
    "https://www.facebook.com/NASA"
  ],
  "keywords": [
    "nasa",
    "space",
    "iss"
  ],
  "verified": true,
  "badges": [
    "verified"
  ],
  "is_family_safe": true,
  "avatar": [
    {
      "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s900-c-k-c0x00ffffff-no-rj",
      "width": 900,
      "height": 900
    }
  ],
  "banner": [
    {
      "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
      "width": 1060,
      "height": 175
    },
    {
      "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
      "width": 1138,
      "height": 188
    }
  ],
  "rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=UCLA_DiR1FfKNvjuUpBHmylQ",
  "fetched_at": "2026-11-19T18:07:42.785496Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: description: 364 characters, the first 238 shown; links: 6 items, the first 3 shown; keywords: 21 items, the first 3 shown; banner: 6 items, the first 2 shown.

The fields of a record

idstring
The channel id (UC…).
urlstring
The permanent address, youtube.com/channel/<id>.
handlestring or null
@name
handle_urlstring or null
The channel's address by its handle, youtube.com/@name; null when it has no handle.
titlestring or null
The channel's name.
descriptionstring or null
The channel's description of itself, as text.
subscriber_count_textstring or null
As shown ("4.56M subscribers").
subscriber_countinteger or null
As YouTube publishes it: rounded to three figures.
video_count_textstring or null
As shown ("442 videos"), when the page shows it.
video_countinteger or null
The number in video_count_text, when the text reads as one.
countrystring or null
The country the channel states in its About panel, in English; null when it states none.
joined_textstring or null
When the channel joined YouTube, as its About panel shows it ("Joined Jun 3, 2008").
joined_datedate or null
That day as a date, when the text reads as one.
view_count_textstring or null
The channel's total views as its About panel shows them ("1,136,362,306 views").
view_countinteger or null
The total views as a number.
linkslist of strings
The links the channel lists about itself.
keywordslist of strings
The tags the channel's page declares.
verifiedboolean or null
The channel shows YouTube's verified check.
badgeslist of strings
"verified", "official_artist".
is_family_safeboolean or null
YouTube's own family-safe mark for the channel, as the page declares it.
avatarlist of objects
The channel's picture, in the sizes the page lists, smallest first.Each holds url, width, height.
bannerlist of objects
The banner across the top of the channel's page, in the sizes the page lists, smallest first; empty when it has none.Each holds url, width, height.
rss_urlstring or null
The address of the channel's RSS feed, as the page declares it.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • The subscriber and video counts are the rounded figures YouTube publishes, not exact ones.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does YouTube channel return?

Its name, description, subscribers, video count, country, join date, total views, links, avatar and banner. A record has 24 fields, among them id, url, handle, handle_url, title and description. A value that could not be read is null, never an empty string or a zero.

What do I send?

A YouTube channel's address, handle or id. The input channel is required.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

The subscriber and video counts are the rounded figures YouTube publishes, not exact ones.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id youtube.channel and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs YouTube channel as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Marketing

    Influencer Discovery

    Creators who make videos about your topic, with followers, views, engagement, their links and a published business email.

YouTube

YouTube's public pages, as a visitor who is not signed in sees them.

  • YouTube search

    youtube.search

    A search query. The videos, Shorts, channels and playlists YouTube lists for the query, in its order; or, with type movie, the films of YouTube Movies & TV with their genre, year and credits.

  • YouTube video

    youtube.video

    A YouTube video's address, or its id. Its title, description, channel, dates, length, views, likes, comment count, tags, hashtags, chapters and caption languages.

  • YouTube channel videos

    youtube.channel_videos

    A YouTube channel's address, handle or id. The videos on the channel's Videos tab, newest first.

  • YouTube channel Shorts

    youtube.channel_shorts

    A YouTube channel's address, handle or id. The Shorts on the channel's Shorts tab, newest first: title, views and cover image.

  • YouTube channel live streams

    youtube.channel_streams

    A YouTube channel's address, handle or id. The streams on the channel's Live tab: on air now, scheduled and past, with viewers, views and length.

  • YouTube channel playlists

    youtube.channel_playlists

    A YouTube channel's address, handle or id. The playlists the channel lists on its Playlists tab: title, number of videos and cover image.

  • YouTube playlist

    youtube.playlist

    A YouTube playlist's address, or its id. The videos in the playlist, in its order: title, length, views, age and thumbnail.

  • YouTube transcript

    youtube.transcript

    A YouTube video's address, or its id, and optionally a language. The video's captions as timed segments and as one text, with the language, whether they are auto-generated, and every language the video offers.

  • YouTube comments

    youtube.comments

    A YouTube video's address, or its id. The comments under the video, top or newest first, with replies if you ask for them: text, likes, reply count, time, pinned and hearted marks, and the author's channel.

  • YouTube Music search

    youtube.music_search

    Words to search YouTube Music for: a song, an artist, an album. The top result and the songs, videos, albums, singles, artists, playlists and episodes YouTube Music lists, each with its kind, title, artists, the plays or audience shown, the year for an album, and its address.

YouTube on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.