# YouTube Shorts Scraper - Recent Shorts from Public Channels (`tidytools/youtube-shorts-channel`) Actor

Get the newest Shorts from public YouTube channel URLs or handles. Set tabs to shorts in API input. No login; up to 100 per channel page. Successful list rows use the engine's Video event ($1 per 1,000).

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

## Pricing

from $0.80 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Shorts Scraper for Public Channels

Get a list of recent Shorts from **public YouTube channels**. Paste a channel URL such as `https://www.youtube.com/@mkbhd`, a handle such as `@veritasium`, or a `/channel/UC...` URL. The form starts with the Shorts tab selected, channel info off, and three public channel examples. It uses the same engine and prices as YouTube Channel Scraper.

### What it does

For each public channel, this Actor reads the visible Shorts tab and returns recent video rows with a Shorts URL, title, channel, and any view count and thumbnail YouTube exposes. Optional channel information and full video details use the shared YouTube Channel Scraper engine.

### How to use

Enter one or more public channel URLs or handles in the form and leave the Shorts tab selected. For API calls, set `tabs:["shorts"]` explicitly; the form selection does not set an API default. Start with a small `maxVideos` value, then open the Dataset and `SUMMARY` links in the run output. The example below requests up to three Shorts from one channel.

### Input

For API calls, **always send `tabs:["shorts"]` explicitly**:

```json
{"urls":["https://www.youtube.com/@mkbhd"],"tabs":["shorts"],"includeChannelInfo":false,"maxVideos":3}
```

Use channel URLs or handles for this Shorts list. A playlist URL or a single video URL is accepted by the shared engine, but it follows its own playlist or video path and **does not become a Shorts channel list**. When an API request omits `tabs`, the engine may read regular videos. The form's default is a convenience for form users, not an API guarantee. You can enter multiple channels; the engine removes duplicates.

`maxVideos` defaults to 30 per channel tab (form prefill 10), with a maximum of 100. `videoDetails` is off by default; turn it on to read each Short's page for extra fields. `includeChannelInfo` is off by default; turn it on for one separate channel row per channel. `onlyNewVideos` and `monitorName` support scheduled monitoring. `maxResults` caps returned video rows.

### Output

The Dataset link returns the raw rows. Its Shorts view highlights title, URL, channel, views, thumbnail, row type, and error; the Channels and All fields views show other columns. These views do not filter rows. For a public channel with `tabs:["shorts"]`, successful list rows have `type:"video"`, `contentType:"short"`, `detailLevel:"list"`, `videoId`, a `/shorts/` `url`, `title`, `viewCount` (when shown), `thumbnailUrl`, `channelId`, `channelName`, `input`, `success:true`, and `charged:true`. For example, a shortened illustration of the row shape is:

```json
{"type":"video","contentType":"short","detailLevel":"list","videoId":"R6yNUnRXZ64","url":"https://www.youtube.com/shorts/R6yNUnRXZ64","title":"iPhone Duo is here","charged":true}
```

The title and counts above illustrate the engine's October 2026 fixture; they are not a live result. Full details can add `likeCount`, `publishedAt`, `description`, `tags`, and other fields when YouTube exposes them. Failed inputs and unreadable pages produce free rows with `success:false`, `charged:false`, `errorType`, and `error`; a run can also return no rows. When channel info is enabled, channel rows have `type:"channel"`. `SUMMARY` reports totals and input notes. The raw Dataset link includes any error or optional channel rows; it is not a filtered Shorts-only view.

### Pricing

The variant inherits the engine's billing events and tier prices exactly. At the FREE/BRONZE rate, a successful list Short uses one `video` event at **$0.001** ($1 per 1,000); a Short read with full video details uses one `video-details` event at **$0.002** instead. An optional channel info row uses one `channel` event at **$0.002**. Failed, filtered, duplicate, or previously seen rows have no event. No new event or price is introduced.

With the example input above, at most three successful list rows means at most three `video` events ($0.003 at the FREE/BRONZE rate); fewer Shorts or an unreadable page means fewer or zero events. Apify proxy use, if selected, is billed separately by Apify.

### Limitations

This reads public channel pages without logging in or using YouTube's internal API. One public tab page shows at most 100 Shorts; this Actor does not claim a complete channel history. A channel may have no visible Shorts, and network blocks may prevent reading a page. Live completeness across multiple channels still needs deployment QA.

### FAQ

**Why did my API run include regular videos?** Send `tabs:["shorts"]` explicitly. Without it, the shared engine may read the regular videos tab.

**Why are there non-Short rows in the Dataset?** The Dataset and its views do not filter output. A playlist or single-video input follows its own path; enabled channel information adds channel rows, and failed inputs add free error rows. Check `type`, `contentType`, and `success` when consuming rows.

**Why are views or publish dates missing?** YouTube does not expose every field on every public Shorts list. Turn on `videoDetails` to request more fields from individual pages; a blocked page can still leave fields unavailable.

# Actor input Schema

## `urls` (type: `array`):

Use public YouTube channel URLs or handles only for Shorts lists, such as https://www.youtube.com/@mkbhd, @veritasium or a /channel/UC... URL. API calls must explicitly include tabs:\["shorts"]. The shared engine also accepts playlist and single-video URLs, but those inputs do not become Shorts channel lists.

## `tabs` (type: `array`):

Select Shorts for public channel lists. API calls must explicitly include tabs:\["shorts"]; when tabs is omitted, the shared engine may return regular videos. Playlists and single videos ignore this setting.

## `maxVideos` (type: `integer`):

The newest N videos of each channel tab or playlist (0 = channel info only). YouTube's public pages show at most 100; more would need YouTube's internal API, which robots.txt disallows, so we do not use it.

## `videoDetails` (type: `boolean`):

Off: each video comes from the channel or playlist list (title, views rounded as YouTube shows them, e.g. 4.1M, duration, age such as "3 days ago"; $1 per 1,000). On: each video's page is read too, adding exact views, likes, publish date and time, category, tags, hashtags, chapters, full description, caption languages and live status ($2 per 1,000, charged instead). Video links in the input always get full details.

## `includeChannelInfo` (type: `boolean`):

Optional channel info row (off by default): subscribers, total views, video count, join date, country, description, external links, keywords, avatar and banner ($2 per 1,000 channels).

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

A date (2026-09-01) or a period (7 days, 2 weeks, 3 months). In list mode YouTube shows only an age such as "2 weeks ago", so the cut-off is approximate; with full details (and for Shorts, whose lists show no age) it uses the exact publish date. Older videos are skipped and free.

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

For scheduled runs: return (and charge) only videos that earlier runs with the same monitor name did not see, and each channel info row only once. The first run returns everything and saves the baseline.

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

Separate monitors keep separate memories (letters, digits and dashes). Only used with monitoring on.

## `maxResults` (type: `integer`):

The run stops after this many video rows (channel rows are not counted). A cost cap on top of Apify's maximum charge per run.

## `httpVia` (type: `string`):

Every request uses our own user agent and follows youtube.com/robots.txt, with no cookies, login or browser. If YouTube refuses one network (consent page, bot check, HTTP 429), Auto retries the page from our servers.

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

Only used for requests sent from Apify's network. Apify proxy usage is billed to your Apify account.

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

How many YouTube pages are read at the same time.

## Actor input object example

```json
{
  "urls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@veritasium",
    "https://www.youtube.com/@NASA"
  ],
  "tabs": [
    "shorts"
  ],
  "maxVideos": 10,
  "videoDetails": false,
  "includeChannelInfo": false,
  "onlyNewVideos": false,
  "monitorName": "default",
  "maxResults": 1000,
  "httpVia": "auto",
  "maxConcurrency": 5
}
```

# Actor output Schema

## `shorts` (type: `string`):

No description

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

No description

# 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 = {
    "urls": [
        "https://www.youtube.com/@mkbhd",
        "https://www.youtube.com/@veritasium",
        "https://www.youtube.com/@NASA"
    ],
    "tabs": [
        "shorts"
    ],
    "maxVideos": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("tidytools/youtube-shorts-channel").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 = {
    "urls": [
        "https://www.youtube.com/@mkbhd",
        "https://www.youtube.com/@veritasium",
        "https://www.youtube.com/@NASA",
    ],
    "tabs": ["shorts"],
    "maxVideos": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("tidytools/youtube-shorts-channel").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 '{
  "urls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@veritasium",
    "https://www.youtube.com/@NASA"
  ],
  "tabs": [
    "shorts"
  ],
  "maxVideos": 10
}' |
apify call tidytools/youtube-shorts-channel --silent --output-dataset

```

## MCP server setup

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

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/hWPtsxLv7IiMJ7TnH/builds/2Mwi8hif69zdqr6r0/openapi.json
