Scraper API
YouTubeyoutube.channel_videosAvailable
YouTube channel videos
The videos on the channel's Videos tab, newest first.
Give it a YouTube channel's address, handle or id.
1 unit a record, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a record
- Inputs
- 2, 1 required
- Record
- 17 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/youtube.channel_videos/runs
sent, and answered
a record of the run17 fields
ok1 unit a record
A record this scraper returned for this input. The first 9 of its 17 fields are set down here; the whole record is below.

What it is used for
- List a channel's uploads
- Every video on a channel's Videos tab, newest first: id, title, duration, views, when it was published and its thumbnails.
- See what performs
- Sort a channel's videos by
view_countand read the titles and lengths of the ones that travel. One record per video, ready for a table. - Catch new uploads
- Run it on a schedule and pass on the ids you have not seen. Follow with the video scraper for the full record of each.
What you send
A YouTube channel's address, handle or id. These are its 2 inputs, as its schema has them.
channelstring Required- The channel: its address (youtube.com/@name, /channel/UC…, /c/name, /user/name), its handle (@name) or its id (UC…).
max_resultsinteger Optional- The most videos to return, newest first. The tab loads 30 at a time, so a larger number takes longer.Default
30
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_videos/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"channel":"@RickAstleyYT"}}'
# 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_videos", {"channel": "@RickAstleyYT"})
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_videos", { channel: "@RickAstleyYT" });
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_videos", map[string]any{"channel": "@RickAstleyYT"})
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_videos", Map.of("channel", "@RickAstleyYT"));
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_videos --input channel=@RickAstleyYTInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The videos on the channel's Videos tab, newest first. A record has 17 fields. One we could not read is null, never an empty string or a zero.
{
"position": 1,
"id": "PXC_PYeB6F8",
"url": "https://www.youtube.com/watch?v=PXC_PYeB6F8",
"title": "Rick Astley - Angels On My Side (Live at The O2, London, April 2026)",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channel_name": "Rick Astley",
"published_text": "4mo ago",
"duration_text": "3:51",
"duration_seconds": 231,
"view_count_text": "123K",
"view_count": 123000,
"view_count_exact": false,
"badges": [],
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/PXC_PYeB6F8/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLD7bnGmc-SJ__t5X8D9q1HOZipHrA",
"width": 360,
"height": 202
},
{
"url": "https://i.ytimg.com/vi/PXC_PYeB6F8/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDjichxht-_GtPETZ7g8ZB6-E32BQ",
"width": 720,
"height": 404
}
],
"is_live": null,
"live_viewers": null,
"is_upcoming": null
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
positioninteger- Its place among the returned videos, from 1, in the tab's order (newest first).
idstring- The video id.
urlstring- The video's address: youtube.com/watch?v=<id>.
titlestring or null- The title as shown.
channel_idstring or null- The id (UC…) of the channel whose tab was read.
channel_namestring or null- That channel's name.
published_textstring or null- As shown ("4mo ago").
duration_textstring or null- The length as shown on the thumbnail ("12:44").
duration_secondsinteger or null- The length in seconds, read from
duration_text; null when no length is shown. view_count_textstring or null- As shown; the tab shows a rounded count beside a play icon ("123K").
view_countinteger or null- The views as a number, when the text reads as one: the rounded figure the tab shows ("123K" is 123000).
view_count_exactboolean or null- True when YouTube showed the count in full, false when it showed it rounded (123K); null when no count was read.
badgeslist of strings- The labels shown on the video's thumbnail, other than its length.
thumbnailslist of objects- The video's thumbnail, in the sizes the page lists, smallest first.Each holds
url,width,height. is_liveboolean or null- On air now (a stream on the Live tab); null where the tab does not say.
live_viewersinteger or null- People watching now, for a stream that is on air.
is_upcomingboolean or null- A stream or premiere that is scheduled and has not started;
published_textthen holds the scheduled time as shown.
Units and limits
- Counted per record
- Billed per record: a run that returns data costs 1 unit for each record 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
- 30 videos by default and up to 300 a run. The view counts are the rounded figures the tab shows.
The bounds its schema sets
max_results- 1 to 300; 30 unless you say otherwise
Questions
What does YouTube channel videos return?
The videos on the channel's Videos tab, newest first. A record has 17 fields, among them position, id, url, title, channel_id and channel_name. 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. Optional: max_results.
How is it counted?
Billed per record: a run that returns data costs 1 unit for each record 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.
How much does one run return?
Its schema sets these bounds: max_results 1 to 300 (30 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
30 videos by default and up to 300 a run. The view counts are the rounded figures the tab shows.
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_videos and the same input. It costs what the same API call costs.
YouTube
YouTube's public pages, as a visitor who is not signed in sees them.
YouTube search
youtube.searchA 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.videoA 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
youtube.channelA YouTube channel's address, handle or id. Its name, description, subscribers, video count, country, join date, total views, links, avatar and banner.
YouTube channel Shorts
youtube.channel_shortsA 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_streamsA 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_playlistsA 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.playlistA YouTube playlist's address, or its id. The videos in the playlist, in its order: title, length, views, age and thumbnail.
YouTube transcript
youtube.transcriptA 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.commentsA 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_searchWords 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.
- Industry
- Social and video
- 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.