# YouTube Channel Videos Scraper: Shorts, Lives & Transcripts (`leanpilar/youtube-channel-videos`) Actor

List every video, Short and live stream of YouTube channels or playlists with title, date, views and duration. Free date filter, optional full details and transcripts, and only-new-videos mode for schedules.

- **URL**: https://apify.com/leanpilar/youtube-channel-videos.md
- **Developed by:** [Lean Pilar](https://apify.com/leanpilar) (community)
- **Categories:** Videos, Social media, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 videos

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## YouTube Channel Videos Scraper: Shorts, Lives & Transcripts

List every video, Short and live stream of any YouTube channel or playlist, newest first. You get title, link, publish date, views, duration and thumbnail for each one, plus channel name, handle and subscriber count. Turn on extras to add the exact upload date, full description, tags, category and the full transcript.

No YouTube API key, no login, no quota.

### What you can do with it

- **Track competitors and creators.** Schedule it daily with **Only new videos** and get just the uploads since the last run.
- **Build a content database.** Pull a channel's full back catalogue (up to 20,000 per tab) with views and dates.
- **Feed AI tools.** Add transcripts to summarize, search or chunk a channel's videos.
- **Find what works.** Sort a channel's videos or Shorts by views to see its top performers.

### Input

| Field | What it does |
|---|---|
| Channels or playlists | `@handle`, channel link (`/@name`, `/channel/UC...`, `/c/name`, `/user/name`), channel ID or playlist link. One per line. |
| What to list | Videos, Shorts, Live streams (past, live now and upcoming). |
| Max results per channel and type | Newest first. 0 = everything. |
| Published after | A date (`2026-01-31`) or a period (`30 days`, `2 weeks`, `6 months`). Free: listing stops at the first older video. |
| Add video details | Exact upload date, exact views, duration, full description, tags, category. |
| Add transcripts | Full transcript text, in your preferred languages, optionally with timestamps or as SRT. |
| Only new videos | Skips videos this monitor already delivered. Use a different monitor name per watch list. |

Example:

```json
{
  "channels": ["@veritasium", "https://www.youtube.com/@mkbhd"],
  "contentTypes": ["videos", "shorts"],
  "maxResultsPerChannel": 50,
  "publishedAfter": "30 days"
}
```

### Output

One row per video:

```json
{
  "status": "ok",
  "videoId": "JsBZOcqZerk",
  "title": "The Insane Real Engineering of the Nazi Enigma Machine",
  "url": "https://www.youtube.com/watch?v=JsBZOcqZerk",
  "contentType": "video",
  "publishedText": "1 month ago",
  "publishedDate": "2026-10-19",
  "publishedDateIsApproximate": true,
  "viewCount": 22000000,
  "durationSeconds": 2862,
  "thumbnailUrl": "https://i.ytimg.com/vi/JsBZOcqZerk/hq720.jpg",
  "isLiveNow": false,
  "isUpcoming": false,
  "channelId": "UCHnyfMqiRRG1u-2MsSQLbXA",
  "channelName": "Veritasium",
  "channelHandle": "@veritasium",
  "channelSubscribers": 21400000
}
```

With **Add video details** the date is exact (`publishedDateIsApproximate: false`) and you also get `description`, `keywords`, `category` and exact `viewCount`. With **Add transcripts** you get `transcript`, `transcriptLanguage` and `transcriptIsAutoGenerated`.

### Pricing

Pay only for what you get:

| Event | Price |
|---|---|
| Video listed | $0.50 per 1,000 videos |
| Video details | $1.50 per 1,000 videos (only when turned on) |
| Transcript | $1.50 per 1,000 transcripts (only when one exists) |

A channel's last 100 videos cost $0.05. With details and transcripts, $0.35.

### Notes and limits

- Channel pages show relative dates ("3 weeks ago"), so without details the date and the **Published after** cut are approximate. Shorts have no date on the channel page, so they are date-filtered only with details on.
- View counts on the listing are rounded ("22M views"); details give the exact number.
- Private, members-only and age-restricted videos may have no details or transcript. Their listing row is still returned.

### Use it from your code

```bash
curl -X POST "https://api.apify.com/v2/acts/leanpilar~youtube-channel-videos/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channels": ["@veritasium"], "maxResultsPerChannel": 20}'
```

### More tools from the same developer

- [YouTube Transcript & Subtitles Scraper](https://apify.com/leanpilar/youtube-transcripts): transcripts of videos, channels, playlists and Shorts.
- [Google AI Mode & AI Overview Scraper](https://apify.com/leanpilar/google-ai-answer-tracker): AI answers with cited sources and brand mentions.
- [Google Trends Scraper](https://apify.com/leanpilar/google-trends): interest over time, by region, related queries and trending searches.
- [Google Ads Transparency Scraper](https://apify.com/leanpilar/google-ads-transparency): every Google ad a competitor runs, with text, landing page, regions and dates.
- [Google Hotels Scraper](https://apify.com/leanpilar/google-hotels): hotel prices and every booking site's price for your dates.
- [Funded Startups Feed (SEC Form D)](https://apify.com/leanpilar/funded-startups): companies that just raised money, with executives and phone.
- [Substack Scraper](https://apify.com/leanpilar/substack-scraper): posts with full text, comments, search and top newsletters.

# Actor input Schema

## `channels` (type: `array`):

One per line: @handles, channel links (youtube.com/@name, /channel/UC..., /c/name, /user/name), channel IDs or playlist links.

## `contentTypes` (type: `array`):

Channel tabs to read. Playlists ignore this.

## `maxResultsPerChannel` (type: `integer`):

Newest first. 0 means everything (up to 20,000).

## `publishedAfter` (type: `string`):

Only videos newer than this: a date like 2026-01-31, or a period like "30 days", "2 weeks", "6 months". Listing stops at the first older video, so you only pay for what you get. Channel pages show relative dates ("3 weeks ago"), so the cut is approximate unless 'Add video details' is on. Shorts are only date-filtered with details on.

## `addVideoDetails` (type: `boolean`):

Exact upload date, exact views and duration, full description, tags and category. Extra charge per video (see Pricing).

## `addTranscripts` (type: `boolean`):

Full transcript text of each video. Charged only when a transcript exists.

## `transcriptLanguages` (type: `array`):

Language codes in order of preference (en, de, hr...). Empty or not available: the spoken language.

## `transcriptWithTimestamps` (type: `boolean`):

Also return the lines with start time and duration.

## `transcriptSrt` (type: `boolean`):

Also return the transcript as an SRT subtitle file text.

## `onlyNewVideos` (type: `boolean`):

Skip videos this monitor already delivered in earlier runs. Schedule it daily to get just the new uploads.

## `monitorName` (type: `string`):

Keeps a separate memory of delivered videos per name.

## `maxConcurrency` (type: `integer`):

How many videos to fetch details or transcripts for at the same time.

## `proxyConfiguration` (type: `object`):

Used to read channel pages. Details and transcripts always use residential proxy, included in the price.

## Actor input object example

```json
{
  "channels": [
    "@veritasium",
    "https://www.youtube.com/@mkbhd",
    "UCsXVk37bltHxD1rDPwtNM8Q"
  ],
  "contentTypes": [
    "videos",
    "shorts"
  ],
  "maxResultsPerChannel": 50,
  "addVideoDetails": false,
  "addTranscripts": false,
  "transcriptLanguages": [],
  "transcriptWithTimestamps": false,
  "transcriptSrt": false,
  "onlyNewVideos": false,
  "monitorName": "default",
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `videos` (type: `string`):

One row per video, Short or live stream. Rows with status ok are charged; error and noVideos rows are free.

## `summary` (type: `string`):

Counts by status, charged events and request statistics.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "channels": [
        "@veritasium"
    ],
    "contentTypes": [
        "videos",
        "shorts"
    ],
    "maxResultsPerChannel": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("leanpilar/youtube-channel-videos").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "channels": ["@veritasium"],
    "contentTypes": [
        "videos",
        "shorts",
    ],
    "maxResultsPerChannel": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("leanpilar/youtube-channel-videos").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "channels": [
    "@veritasium"
  ],
  "contentTypes": [
    "videos",
    "shorts"
  ],
  "maxResultsPerChannel": 50
}' |
apify call leanpilar/youtube-channel-videos --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,leanpilar/youtube-channel-videos"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/4VdtbaH7s20UnhlPX/builds/bIQAzUGbXYeHIejvi/openapi.json
