# YouTube Shorts Scraper: Search, Channels & URLs (`kizukidata/youtube-shorts-search`) Actor

Search YouTube Shorts, read channel Shorts tabs, or fetch Shorts by URL without login or API keys. Get views, likes, comment counts, duration, publish date, hashtags, subscriber counts, and optional transcripts. Track only new Shorts on schedules. Not affiliated with YouTube or Google.

- **URL**: https://apify.com/kizukidata/youtube-shorts-search.md
- **Developed by:** [Kizuki](https://apify.com/kizukidata) (community)
- **Categories:** Social media, Videos, AI
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 91.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 short rows

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: Search, Channels & URLs

Extract public metadata and optional spoken transcripts from YouTube Shorts without a login, YouTube API key, or headless browser. Search Shorts by keyword, list any channel's Shorts tab, or fetch specific Shorts by URL and download clean JSON, CSV, or Excel datasets.

Each returned Short includes exact view and like counts, UTC publish date, duration, description, hashtags, channel name, `@handle`, rounded subscriber count, optional comment count, and optional captions (`transcript`). Turn on `onlyNewItems` for scheduled monitoring so repeated runs return and charge only Shorts you have not collected yet. Empty input (`{}`) returns up to 5 sample Shorts for a quick test.

> **Disclosure:** This Actor is an unofficial tool and is not affiliated with, endorsed by, or sponsored by YouTube or Google.

### Input

Provide at least one of **Search queries** (`queries`), **Channels** (`channels`), or **Short URLs or video IDs** (`urls`). You can combine all three in the same run.

#### Example: Search keywords

```json
{
    "queries": ["cat shorts", "cooking hacks"],
    "maxShortsPerQuery": 20,
    "uploadDate": "week",
    "sortBy": "newest",
    "region": "US",
    "maxItems": 40
}
```

#### Example: Channel Shorts tab with comment counts and transcripts

```json
{
    "channels": ["@NASA", "https://www.youtube.com/@MrBeast/shorts"],
    "maxShortsPerQuery": 10,
    "includeCommentCount": true,
    "includeTranscript": true,
    "languages": ["en"],
    "onlyNewItems": true,
    "maxItems": 20
}
```

#### Example: Direct Short URLs

```json
{
    "urls": [
        "https://www.youtube.com/shorts/pb6BtmtnYDI",
        "https://youtu.be/WhNzhnXO16c"
    ],
    "includeCommentCount": true,
    "includeTranscript": true
}
```

#### Input fields

| Field | Default | Description |
|---|---|---|
| `queries` | `[]` | Search queries, up to 20 queries per run (at most 200 characters each). |
| `channels` | `[]` | YouTube channel `@handle`, `/@handle`, `/@handle/shorts`, `/channel/UC...`, or `UC...` channel ID, up to 20 per run. Reads each channel's Shorts tab, newest first. |
| `urls` | `[]` | Direct Short URLs (`/shorts/<id>`, `watch?v=<id>`, `youtu.be/<id>`) or 11-character video IDs, up to 200 per run. |
| `maxItems` | `20` | Total cap across all inputs (1 to 500). Runs stop reading once reached. When all three input lists (`queries`, `channels`, `urls`) are empty, up to 5 sample Shorts are returned. |
| `maxShortsPerQuery` | `20` | Maximum Shorts queued per query or channel (1 to 50). Bounded fairly so the first source cannot consume the whole `maxItems` budget. |
| `uploadDate` | `"any"` | Filter search queries by publish window: `any`, `today`, `week`, `month`, or `year`. Applied to search `queries` and checked against publish dates. |
| `sortBy` | `"relevance"` | Sort order for `queries`: `relevance` or `newest`. |
| `region` | `"US"` | Two-letter ISO country code for search results and channel views (for example `US`, `GB`, `JP`, `DE`). |
| `includeCommentCount` | `false` | Fetch the total comment count for each Short when comments are enabled (`null` when comments are turned off). |
| `includeTranscript` | `false` | Fetch spoken captions/transcript text for Shorts (up to 180 seconds) when captions exist (`null` with a short explanation in `transcriptNote` when unavailable or skipped for videos over 180 seconds). |
| `languages` | `["en"]` | Preferred caption language order (up to 10 ISO codes, for example `["en", "ja"]`) when `includeTranscript` is `true`. Falls back to the video's auto-generated track when none matches. |
| `onlyNewItems` | `false` | Skip Shorts delivered by an earlier run with the same settings (remembered per input for 90 days) and mark newly returned rows with `isNew: true`. Failed status rows are not stored, so they are checked again next time. |
| `proxyConfiguration` | Apify Proxy | Proxy settings (`useApifyProxy`, optional `apifyProxyCountry`, or custom `proxyUrls`). Set `useApifyProxy` to `false` for a direct connection. |

The Actor also accepts common field aliases from other YouTube tools, including `searchQueries` / `search_keywords` / `keywords` (`queries`), `channelUrls` / `channelHandle` / `channelId` (`channels`), `videoUrls` / `startUrls` / `videos` (`urls`), and `maxResultsShorts` / `maxResults` (`maxShortsPerQuery`).

### Output

Every Short produces one flat JSON object in the default dataset. Here is a real row from a channel run with comment counts and spoken transcripts enabled (`transcript` truncated below for readability):

```json
{
    "id": "short:WhNzhnXO16c",
    "type": "short",
    "sourceType": "channel",
    "sourceValue": "@nasa",
    "url": "https://www.youtube.com/shorts/WhNzhnXO16c",
    "videoId": "WhNzhnXO16c",
    "title": "Reflections from the Artemis II Crew",
    "description": "\"We've done this together. We took your hearts with us, and your hearts lifted our hearts.\" - Christina Koch\n\nIn a news conference held earlier today at NASA's Johnson Space Center, the Artemis II astronauts reflected on their test flight around the Moon.\n\nCredit: NASA\n\n#NASA #Artemis #Astronauts #Reflection",
    "publishedAt": "2026-04-16T21:54:39.000Z",
    "publishedText": "Apr 16, 2026",
    "publishedAtIsEstimate": false,
    "durationSeconds": 80,
    "views": 426017,
    "likes": 17143,
    "commentCount": 855,
    "commentsDisabled": false,
    "channelId": "UCLA_DiR1FfKNvjuUpBHmylQ",
    "channelName": "NASA",
    "channelHandle": "@NASA",
    "subscribers": 15100000,
    "subscriberText": "15.1M subscribers",
    "thumbnailUrl": "https://i.ytimg.com/vi/WhNzhnXO16c/oar2.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4qpAxcIARUAAIhC2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLAdjMeGLkZvkcojV_GT_PMB5HoFGg",
    "hashtags": ["#NASA", "#Artemis", "#Astronauts", "#Reflection"],
    "transcript": "We were certainly hooked on this mission... (truncated)",
    "transcriptLanguage": "en",
    "transcriptKind": "manual",
    "transcriptNote": null,
    "query": null,
    "rank": 10,
    "isShort": true,
    "fetchedAt": "2026-11-17T03:56:56.415Z",
    "error": null
}
```

Shorts or queries that cannot be read return an **uncharged** row with `error` set to `{ "type": "...", "message": "..." }` (for example `unavailable`, `blocked`, `rate-limited`, or `request-failed`; metric fields omitted below are `null`):

```json
{
    "id": "query-status:0",
    "type": "status",
    "sourceType": "search",
    "sourceValue": "example query",
    "url": null,
    "videoId": null,
    "fetchedAt": "2026-11-17T03:58:21.289Z",
    "error": {
        "type": "unavailable",
        "message": "YouTube did not return this Short, or a search page the run could read"
    }
}
```

#### Output fields

| Group | Fields | Notes |
|---|---|---|
| Identity & source | `id`, `type`, `sourceType`, `sourceValue`, `url`, `videoId`, `query`, `rank`, `isShort` | `sourceType` is `search`, `channel`, or `url`. `url` uses `/shorts/<id>` for Shorts and `watch?v=<id>` for longer videos (> 180s). `query` is set only for `search` rows. |
| Video metrics | `title`, `description`, `publishedAt`, `publishedText`, `publishedAtIsEstimate`, `durationSeconds`, `views`, `likes`, `hashtags`, `thumbnailUrl` | Exact integer counts when YouTube publishes them (`likes` is `null` if hidden; rounded search-page figures are used when exact counts are absent). `publishedAt` is ISO 8601 UTC. |
| Comments | `commentCount`, `commentsDisabled` | Set when `includeCommentCount` is `true` and comments are open; `null` when turned off or skipped. |
| Channel | `channelId`, `channelName`, `channelHandle`, `subscribers`, `subscriberText` | Public channel identifier and rounded subscriber count (e.g. `15.1M subscribers` -> `15100000`). |
| Transcript | `transcript`, `transcriptLanguage`, `transcriptKind`, `transcriptNote` | Plain caption text, ISO code, `manual` or `auto`, and reason when captions are skipped or unavailable (`no captions available`, `not a Short; use kizukidata/youtube-transcripts`, etc.). |
| Run & status | `fetchedAt`, `isNew`, `error` | `isNew` appears when `onlyNewItems` is `true`. `error` is `null` on successful billable rows. |

### Why use this Actor instead of single-purpose Shorts scrapers?

- **Three workflows in one schema:** Search keywords, track channel `/shorts` tabs, and enrich direct video links into one uniform dataset instead of chaining three separate Actors.
- **Built-in incremental tracking:** Enable `onlyNewItems` to keep state for 90 days and avoid fetching or paying again for previously collected Shorts.
- **Pay-only-on-success transcripts:** Set `includeTranscript: true` to extract spoken captions alongside views, likes, and hashtags in a single run, billed only when caption text is actually returned.
- **No date-filter or comment-count surcharge:** `uploadDate` filtering and `includeCommentCount` do not add separate per-item fees.

### How much does it cost?

YouTube Shorts Scraper uses **pay-per-event** pricing with two events (`short` for each returned video row, and `transcript` only when `includeTranscript` returns spoken caption text), plus the standard Apify Actor start charge (`$0.00005` at the default `512 MB` memory):

| Apify plan | `short` per 1,000 rows | `transcript` (Short transcript) per 1,000 transcripts |
|---|---:|---:|
| **Free** | `$0.80` (`$0.00080`) | `$0.60` (`$0.00060`) |
| **Bronze (Starter)** | `$0.65` (`$0.00065`) | `$0.50` (`$0.00050`) |
| **Silver (Scale)** | `$0.50` (`$0.00050`) | `$0.45` (`$0.00045`) |
| **Gold / Platinum / Diamond** | `$0.40` (`$0.00040`) | `$0.40` (`$0.00040`) |

- **Apify Free plan:** Monthly USD 5 platform credit covers up to **6,250 Shorts** (metadata + comment counts) or up to **3,571 Shorts with transcripts** at the Free tier rate (`$0.80 + $0.60` per 1,000), run start fees aside.
- **When `transcript` is NOT charged:** Rows with `includeTranscript: false`, Shorts without captions, caption reads that fail, and longer videos over 180 seconds (`isShort: false`, skipped with `transcriptNote: "not a Short; use kizukidata/youtube-transcripts"`) never incur the `transcript` event.
- **What is never charged at all:** Unreachable or unavailable items (`error` rows), items skipped by `onlyNewItems`, empty queries/channels, invalid inputs, and results past `maxItems` or outside `uploadDate` cost **$0**.

### Use with AI agents (MCP)

Connect this Actor to Claude, Cursor, or n8n AI agents through the hosted Apify MCP server:

```text
https://mcp.apify.com?tools=fetch-actor-details,kizukidata/youtube-shorts-search
```

- **Claude Code:**
  `claude mcp add apify "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/youtube-shorts-search" -t http`
- **Cursor** (`.cursor/mcp.json`):

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

### Integrations and API

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/kizukidata~youtube-shorts-search/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"queries":["cat shorts"],"maxItems":10}'
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("kizukidata/youtube-shorts-search").call(
    run_input={"channels": ["@NASA"], "maxShortsPerQuery": 10, "includeCommentCount": True, "maxItems": 10}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["videoId"], item["views"], item["likes"], item["title"])
```

#### JavaScript

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

const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('kizukidata/youtube-shorts-search').call({
    urls: ['https://www.youtube.com/shorts/pb6BtmtnYDI'],
    includeTranscript: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Zapier, Make, and n8n

Use the official Apify integration in Zapier, Make, or n8n with **Run Actor** followed by **Get dataset items**. For scheduled competitor tracking, set `onlyNewItems: true` and trigger downstream Slack alerts, Google Sheets rows, or webhooks only when `error` is `null`.

### Limitations & FAQ

- **Public data only:** The Actor does not log in, use cookies, download video/audio media, or transcribe audio without YouTube captions. Private, members-only, or removed Shorts return uncharged status rows.
- **Creator-hidden counts and rounded numbers:** Creators can hide like counts (`likes: null`) or disable comments (`commentsDisabled: true`, `commentCount: null`). Subscriber counts reflect YouTube's public rounded display (`15.1M` -> `15100000`).
- **Search ranking vs `onlyNewItems`:** Do not run two jobs concurrently with the same `onlyNewItems` input; sequential scheduled runs keep state consistent.

### Related Actors

- [YouTube Transcript Scraper: Subtitles, Chapters & Key Moments](https://apify.com/kizukidata/youtube-transcripts): Full video transcripts, timestamps, SRT/VTT subtitles, chapters, and most replayed moments for full-length videos, playlists, and channels.
- [YouTube Channel Scraper & Monitor](https://apify.com/kizukidata/youtube-channel-monitor): Track new channel uploads, About stats, and newest comments with incremental monitoring.
- [YouTube Comments Scraper](https://apify.com/kizukidata/youtube-comments-scraper): top or newest comments and reply rows of videos, Shorts and channels, with `onlyNewItems` for scheduled runs.
- [YouTube Playlist Scraper](https://apify.com/kizukidata/youtube-playlist-chapters-scraper): one row per playlist video with chapters, most replayed moments and an optional transcript.
- [Instagram Post & Reel Details Scraper](https://apify.com/kizukidata/instagram-post-reel-details): captions, hashtags, likes, comments, audio and media URLs of public Instagram posts, carousels and Reels.

# Actor input Schema

## `queries` (type: `array`):

Keywords to search YouTube Shorts for, up to 20 per run (for example "cat shorts" or "asmr"). Leave queries, channels, and urls empty to run one sample query.

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

Channel URLs, @handles, or UC channel IDs (for example "@nasa" or "https://www.youtube.com/@nasa/shorts"), up to 20 per run.

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

Direct YouTube Shorts URLs, watch URLs, or 11-character video IDs, up to 200 per run.

## `maxShortsPerQuery` (type: `integer`):

Maximum Shorts to take from each search query or channel Shorts tab, from 1 to 50. Maximum rows still bounds the whole run.

## `uploadDate` (type: `string`):

Keep Shorts published in a period: any, today, this week, this month, or this year. Checked against each Short's publish date.

## `sortBy` (type: `string`):

relevance keeps YouTube's search order; newest puts recently uploaded Shorts first for search queries.

## `region` (type: `string`):

Two-letter country code (US, GB, JP, ...) used for search and channel requests. Changes regional results, not field formats.

## `includeCommentCount` (type: `boolean`):

Reads one extra page per Short for its exact comment count. Off by default to keep runs fast; commentCount is null when off.

## `includeTranscript` (type: `boolean`):

Fetches each Short's spoken captions as plain text when captions exist. Off by default; transcript is null when off or unavailable.

## `languages` (type: `array`):

Preferred caption language codes in priority order when Include transcript is enabled (for example en, ja, es).

## `onlyNewItems` (type: `boolean`):

Returns and charges only Shorts not delivered by earlier runs with the same input. State is kept for 90 days; failed rows are retried next run.

## `searchMethod` (type: `string`):

Internal search mode selector; keep the default unless troubleshooting.

## `maxItems` (type: `integer`):

Maximum rows written in one run, from 1 to 500. Only successful rows are charged; transcripts incur a separate event only when captions are returned.

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

Proxy settings (useApifyProxy, optional apifyProxyCountry, or custom proxyUrls). Set useApifyProxy to false for a direct connection.

## Actor input object example

```json
{
  "queries": [
    "cat shorts"
  ],
  "channels": [
    "@nasa"
  ],
  "urls": [
    "https://www.youtube.com/shorts/k5Z7sFwFF7Q"
  ],
  "maxShortsPerQuery": 20,
  "uploadDate": "any",
  "sortBy": "relevance",
  "region": "US",
  "includeCommentCount": false,
  "includeTranscript": false,
  "languages": [
    "en"
  ],
  "onlyNewItems": false,
  "searchMethod": "shorts-filter",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Short rows and status rows returned by this run.

## `runSummary` (type: `string`):

Status code, counters and the queries that had no Shorts or were not read.

# 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 = {
    "queries": [],
    "channels": [],
    "urls": [],
    "maxShortsPerQuery": 20,
    "uploadDate": "any",
    "sortBy": "relevance",
    "region": "US",
    "includeCommentCount": false,
    "includeTranscript": false,
    "languages": [
        "en"
    ],
    "onlyNewItems": false,
    "searchMethod": "shorts-filter",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kizukidata/youtube-shorts-search").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 = {
    "queries": [],
    "channels": [],
    "urls": [],
    "maxShortsPerQuery": 20,
    "uploadDate": "any",
    "sortBy": "relevance",
    "region": "US",
    "includeCommentCount": False,
    "includeTranscript": False,
    "languages": ["en"],
    "onlyNewItems": False,
    "searchMethod": "shorts-filter",
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("kizukidata/youtube-shorts-search").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 '{
  "queries": [],
  "channels": [],
  "urls": [],
  "maxShortsPerQuery": 20,
  "uploadDate": "any",
  "sortBy": "relevance",
  "region": "US",
  "includeCommentCount": false,
  "includeTranscript": false,
  "languages": [
    "en"
  ],
  "onlyNewItems": false,
  "searchMethod": "shorts-filter",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call kizukidata/youtube-shorts-search --silent --output-dataset

```

## MCP server setup

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

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/MV7QAhiHmfE5cc1Nz/builds/Hdh6BNtutHQ8yH9xf/openapi.json
