# YouTube Shorts Scraper: Keyword, Hashtag & Channel + Likes (`datadesk-io/youtube-shorts-scraper`) Actor

Scrape YouTube Shorts by keyword, hashtag or channel: title, URL, views, likes, comment count, publish date, duration, description, hashtags and channel subscribers. Daily alerts for new Shorts. No API key, no login. $1 per 1,000 Shorts.

- **URL**: https://apify.com/datadesk-io/youtube-shorts-scraper.md
- **Developed by:** [DataDesk](https://apify.com/datadesk-io) (community)
- **Categories:** Videos, Social media
- **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 shorts

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: Keyword, Hashtag & Channel + Likes

Scrape **YouTube Shorts by keyword, hashtag or channel** and get, for every Short: **title, URL, views, likes, comment count, publish date, full description, hashtags** and the **channel name, handle, subscribers and verified badge**. Run many keywords, hashtags and channels at once, and schedule **daily alerts for new Shorts**. No YouTube API key, no login. **$1 per 1,000 Shorts.**

### Try it now (one click)

1. Click **Start**. The prefilled input finds 20 Shorts for "cooking hacks" with full details. In our latest check (Nov 17, 2026) it returned **20 Shorts in about 7 seconds**. An empty input runs a small demo too.
2. Add keywords, hashtags and/or channels, and choose how many Shorts per source.
3. Download the results as CSV, Excel or JSON, or get them via API, webhooks, Make or Zapier.

**Price example:** 100 Shorts = **$0.105**, 1,000 Shorts = **$1.005** ($1.00 per 1,000 Shorts + $0.005 per run). Silver and Gold plan users pay 10% and 20% less per Short. Apify's free plan includes $5 of usage every month, enough for about 4,995 Shorts. Runs that find nothing are not charged.

#### Sample of real results

*Real rows from a local test run on Nov 17, 2026 (some columns). Each Short also includes the other fields listed below.*

| Source | Title | Views | Likes | Comments | Published | Channel |
|---|---|---|---|---|---|---|
| cooking hacks | 4 kitchen hacks nobody taught you! #shorts | 1971 | 15 | None | 2026-11-17 | Tanya Morozova |
| cooking hacks | 10 Genius Kitchen Hacks That Will Change How Y… | 2,529,992 | 69,245 | 570 | 2026-07-27 | Tips\&Hacks |
| @mkbhd | The Wildest Camera Robot | 9,009,695 | 306,934 | 5100 | 2026-08-25 | Marques Brownlee |
| @mkbhd | This iPhone Duo Animation 👀 | 7,505,473 | 152,955 | 4900 | 2026-09-09 | Marques Brownlee |

### What you get

| Field group | Fields |
|---|---|
| Short | video ID, Shorts URL, title, full description, hashtags, thumbnail |
| Engagement | views, likes, comment count |
| Date & length | publish date, date as shown, relative date, duration (when YouTube exposes it) |
| Channel | name, ID, URL, @handle, subscribers, verified badge |
| Context | source type (search/hashtag/channel), keyword or channel, position |

### Why this Actor

- **Three ways to find Shorts:** keyword search (Shorts filter), hashtag pages and channel Shorts tabs, all in one run.
- **Engagement included:** likes and comment count for every Short, not just views.
- **Trend tracking:** schedule daily with "Only new Shorts" to get just the Shorts published since the last run.
- **Cheap:** $1 per 1,000 Shorts with full details.
- **No API key or quota.**

### How to use it

1. Click **Try for free** (or **Start**): the prefilled input runs a quick test.
2. Add keywords, hashtags and/or channels, and choose how many Shorts per source.
3. Click **Start** and wait a few seconds.
4. Open the **Output** tab and export as **JSON, CSV, Excel, XML or HTML**, or read the dataset via API.

### Input examples

**Keyword (prefill):**

```json
{"searchQueries": ["cooking hacks"], "maxShortsPerSource": 20}
```

**Hashtags and channels:**

```json
{"hashtags": ["fitness", "recipes"], "channelUrls": ["@mkbhd"], "maxShortsPerSource": 100}
```

**Fast list without details:**

```json
{"searchQueries": ["iphone tips"], "maxShortsPerSource": 500, "includeDetails": false}
```

**Daily alert for new Shorts of competitors:**

```json
{"channelUrls": ["@competitor1", "@competitor2"], "onlyNewShorts": true, "alertsKey": "competitors"}
```

#### Input fields

| Field | Type | Description |
|---|---|---|
| `searchQueries` | array | Find Shorts by keyword (YouTube search with the Shorts filter). One keyword per line. If all sources are empty, a demo search for "cooking hacks" runs. |
| `hashtags` | array | Get Shorts from hashtag pages (with or without #), e.g. fitness, #recipes. |
| `channelUrls` | array | Get the Shorts tab of channels: channel URL, @handle or channel ID (UC...). |
| `maxShortsPerSource` | integer | Hard cap per source (and on cost). |
| `includeDetails` | boolean | Open each Short to add likes, comment count, publish date, full description, hashtags and channel subscribers. Off = faster list with title, views and URL only (same price). |
| `onlyNewShorts` | boolean | Return only Shorts not seen in previous runs with the same alerts key. Schedule daily to track new Shorts for a keyword, hashtag or channel. |
| `alertsKey` | string | Name for this alert memory (use a different key per watch list). |

### Output example

*Example record from a local test run (long lists shortened).*

```json
{
  "title": "The Wildest Camera Robot",
  "viewCount": 9009695,
  "likeCount": 306934,
  "commentCount": 5100,
  "publishDate": "2026-08-25",
  "durationSeconds": 82,
  "description": "It can do flips, etc…",
  "hashtags": null,
  "channelName": "Marques Brownlee",
  "channelId": "UCBJycsmduvYEL83R_U4JriQ",
  "channelUrl": "https://www.youtube.com/@mkbhd",
  "channelHandle": "@mkbhd",
  "channelSubscribers": 21400000,
  "channelVerified": true,
  "videoId": "v-_d2e7x4KA",
  "url": "https://www.youtube.com/shorts/v-_d2e7x4KA",
  "isShort": true,
  "thumbnailUrl": "https://i.ytimg.com/vi/v-_d2e7x4KA/maxresdefault.jpg",
  "sourceType": "channel",
  "sourceValue": "@mkbhd",
  "position": 5,
  "publishedText": "Aug 25, 2026",
  "publishedRelative": "2 months ago",
  "duration": "1:22",
  "category": "Science & Technology",
  "isLive": false,
  "isFamilySafe": true,
  "channelSubscribersText": "21.4M subscribers",
  "source": "youtube.com Shorts",
  "scrapedAt": "2026-11-17T23:28:57.174063+00:00",
  "isNew": false
}
```

#### Output fields

| Field | Description |
|---|---|
| `videoId` | 11-character YouTube video ID. |
| `url` | youtube.com/shorts/ URL of the Short. |
| `title` | Video title. |
| `description` | Full video description (links and timestamps included). |
| `viewCount` | View count (exact with details on; rounded as shown in lists, e.g. 2.5M, when details are off). |
| `likeCount` | Like count (exact when YouTube shows it, otherwise rounded, e.g. 20M). |
| `commentCount` | Comment count as shown on YouTube (rounded for big videos, e.g. 10M); null if comments are off. |
| `publishDate` | Upload / premiere date (YYYY-MM-DD). |
| `publishedText` | Date text as shown under the video, e.g. "Apr 23, 2005" or "Premiered Oct 2, 2025". |
| `publishedRelative` | Relative date as shown, e.g. "3 weeks ago". |
| `durationSeconds` | Video length in seconds. |
| `duration` | Video length as h:mm:ss or m:ss. |
| `hashtags` | Hashtags shown above the title. |
| `location` | Location tag shown above the title, if any. |
| `keywords` | Video tags (keywords) set by the uploader, when YouTube exposes them. |
| `category` | YouTube category (e.g. Music, Education), when YouTube exposes it. |
| `isLive` | True for live streams and past live streams. |
| `isFamilySafe` | YouTube family-safe flag, when exposed. |
| `channelName` | Channel name. |
| `channelId` | Channel ID (UC...). |
| `channelUrl` | Channel URL (handle URL when available). |
| `channelHandle` | Channel @handle. |
| `channelSubscribers` | Channel subscriber count (rounded as shown, e.g. 6.74M -> 6740000). |
| `channelSubscribersText` | Subscriber text as shown, e.g. "6.74M subscribers". |
| `channelVerified` | True if the channel has the verified badge. |
| `thumbnailUrl` | Thumbnail image URL. |
| `source` | Where the data came from. |
| `scrapedAt` | When the video was scraped (ISO 8601 UTC). |
| `isNew` | True when alerts mode (only new Shorts) is on. |
| `sourceType` | Where the Short was found: search, hashtag or channel. |
| `sourceValue` | The keyword, #hashtag or channel from your input. |
| `position` | Rank of the Short in that source (1 = first). |
| `isShort` | Always true. |

### Pricing

Pay-per-event: **$0.005** once per run that saves results + **$0.001 per Short** ($1.00 / 1,000). Runs that save nothing are not charged.

| Shorts saved | Approx. cost |
|---|---|
| 20 | $0.025 |
| 100 | $0.105 |
| 1,000 | $1.005 |
| 10,000 | $10.005 |

### Use cases

- Find viral Shorts and trends in your niche (views, likes, comments)
- Influencer discovery: channels behind top Shorts, with subscriber counts
- Monitor competitor channels for new Shorts every day
- Content research: titles, hashtags and descriptions that work
- Build Shorts datasets for analytics and AI

### Integrations / API

Works with the Apify API, Schedules, webhooks, Make, Zapier, n8n and MCP. Example:

```bash
curl "https://api.apify.com/v2/acts/datadesk-io~youtube-shorts-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"searchQueries": ["cooking hacks"], "maxShortsPerSource": 20}'
```

Python:

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("datadesk-io/youtube-shorts-scraper").call(run_input={"searchQueries": ["cooking hacks"], "maxShortsPerSource": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### MCP

Use this Actor from an MCP client (Cursor, Claude Desktop, etc.) through the Apify MCP server (`datadesk-io/youtube-shorts-scraper`).

### FAQ

**Do I need a YouTube API key?** No. The Actor reads public YouTube pages like a normal visitor.

**How many Shorts can I get per keyword?** Usually hundreds; YouTube decides how deep search and hashtag pages go. Channel Shorts tabs can be paged through completely.

**Why is a like count sometimes empty?** Some creators hide likes. All other fields are still filled.

**What does "Include full details" change?** On (default): each Short is opened to add likes, comments, date, description and channel stats. Off: a fast list with title, views (rounded) and URL. Same price.

**What does an empty input do?** It runs a demo search for "cooking hacks" (20 Shorts).

### Limitations

- Public Shorts only.
- Likes may be hidden by the creator; comment counts are rounded by YouTube for big Shorts (e.g. 4.8K).
- Duration is filled only when YouTube exposes it to anonymous visitors (often empty for Shorts).
- Search and hashtag depth is decided by YouTube.

### Start now

Click **Start** to run the prefilled example, then adjust the input. Missing a field or filter? Open an issue on the **Issues** tab and tell us what you need.

### Support

Questions, bugs or a missing field? Email **datadesk.io@proton.me** or open an issue on the Actor page.

***

**ES:** Extrae YouTube Shorts por palabra clave, hashtag o canal con vistas, likes, comentarios, fecha y suscriptores del canal. $1 por 1.000 Shorts.
**PT:** Extraia YouTube Shorts por palavra-chave, hashtag ou canal com visualizações, likes, comentários, data e inscritos do canal. US$1 por 1.000 Shorts.

# Actor input Schema

## `searchQueries` (type: `array`):

Find Shorts by keyword (YouTube search with the Shorts filter). One keyword per line. If all sources are empty, a demo search for "cooking hacks" runs.

## `hashtags` (type: `array`):

Get Shorts from hashtag pages (with or without #), e.g. fitness, #recipes.

## `channelUrls` (type: `array`):

Get the Shorts tab of channels: channel URL, @handle or channel ID (UC...).

## `maxShortsPerSource` (type: `integer`):

Hard cap per source (and on cost).

## `includeDetails` (type: `boolean`):

Open each Short to add likes, comment count, publish date, full description, hashtags and channel subscribers. Off = faster list with title, views and URL only (same price).

## `onlyNewShorts` (type: `boolean`):

Return only Shorts not seen in previous runs with the same alerts key. Schedule daily to track new Shorts for a keyword, hashtag or channel.

## `alertsKey` (type: `string`):

Name for this alert memory (use a different key per watch list).

## Actor input object example

```json
{
  "searchQueries": [
    "cooking hacks",
    "iphone tips"
  ],
  "hashtags": [
    "fitness",
    "recipes"
  ],
  "channelUrls": [
    "https://www.youtube.com/@MrBeast",
    "@mkbhd"
  ],
  "maxShortsPerSource": 200,
  "includeDetails": true,
  "onlyNewShorts": false
}
```

# Actor output Schema

## `results` (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 = {
    "searchQueries": [
        "cooking hacks"
    ],
    "maxShortsPerSource": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datadesk-io/youtube-shorts-scraper").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 = {
    "searchQueries": ["cooking hacks"],
    "maxShortsPerSource": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datadesk-io/youtube-shorts-scraper").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 '{
  "searchQueries": [
    "cooking hacks"
  ],
  "maxShortsPerSource": 20
}' |
apify call datadesk-io/youtube-shorts-scraper --silent --output-dataset

```

## MCP server setup

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

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/RD4LKgs3smVR9rHBw/builds/S9dudGRAXHgTBq5UV/openapi.json
