# YouTube Shorts Scraper — Views, Likes, Hashtags & Channels (`jeffev/youtube-shorts-scraper`) Actor

Scrape YouTube Shorts from channels, hashtags and keyword searches: title, views, thumbnail and channel. Detailed mode adds likes, comments, upload date, duration, description, tags, hashtags and channel subscribers. Filter by minimum views.

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

## Pricing

from $0.35 / 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 — Views, Likes, Hashtags & Channels

Scrape **YouTube Shorts** from **keyword searches** (YouTube's Shorts filter), **hashtags** and **channels**: Short ID and URL, title, view count, thumbnail and channel. Turn on **details** for **likes, comments, exact views, upload date, duration, description, tags, hashtags and the channel's subscriber count**.

Built for **trend research and content ideas, influencer discovery, competitor monitoring and social media analytics**.

### Why this one

- **Real Shorts search**: uses YouTube's own "Shorts" search filter, which most scrapers can't, plus hashtag pages and channel Shorts tabs.
- **Fast mode** lists hundreds of Shorts in seconds with views; **detailed mode** adds engagement and the channel's size.
- **Minimum views filter**: filtered Shorts are not charged.
- **No API key, no login**. If YouTube refuses the server, the actor switches to Apify Proxy automatically.

### Input

Viral recipe Shorts with engagement:

```json
{
  "searchQueries": ["easy recipes", "air fryer"],
  "hashtags": ["cooking"],
  "maxShortsPerSource": 100,
  "minViews": 100000,
  "includeDetails": true
}
```

A creator's latest Shorts:

```json
{
  "channels": ["@MrBeast", "https://www.youtube.com/@veritasium"],
  "maxShortsPerSource": 50
}
```

### Output

| Field | Description |
|---|---|
| `shortId`, `url`, `title`, `thumbnail` | Short |
| `viewCount` | views (exact in detailed mode) |
| `channel`, `channelId` | channel |
| `likeCount`, `commentCount`, `uploadDate`, `duration`, `description`, `tags`, `hashtags`, `language` | detailed mode |
| `channelUrl`, `channelFollowers` | detailed mode |
| `source` | search, hashtag or channel that returned it |

### Example output

One real item from a test run (long texts and lists shortened):

```json
{
  "type": "short",
  "shortId": "-EKHnSm6ZOQ",
  "url": "https://www.youtube.com/shorts/-EKHnSm6ZOQ",
  "title": "🤡dalapathi#fitness​#motivation​#trending​ #YouTube​#video​#trending​#video​#motivation​ #shortvideo​",
  "viewCount": 1249130,
  "thumbnail": "https://i.ytimg.com/vi/-EKHnSm6ZOQ/maxresdefault.jpg",
  "channel": "Md Mursalim",
  "channelId": "UCToPHtq44KhUqw9EPB_pOkw",
  "source": "#fitness",
  "description": "🤡dalapathi#fitness​#motivation​#trending​ #YouTube​#video​#trending​#video​#motivation​ #shortvideo​",
  "duration": 16,
  "likeCount": 25164,
  "commentCount": 154,
  "uploadDate": "2026-10-20",
  "tags": [
    "🤡dalapathi#fitness​#motivation​#trending​ #YouTube​#video​#trending​#video​#motivation​ #shortvideo​",
    "YouTube trending",
    "viral fitness"
  ],
  "hashtags": [
    "fitness",
    "motivation",
    "trending"
  ],
  "language": "hi",
  "channelUrl": "https://www.youtube.com/channel/UCToPHtq44KhUqw9EPB_pOkw",
  "channelFollowers": 245000
}
```

### Feedback

Found a problem or need a field? Open an issue in the **Issues** tab: every issue is read and answered. If the actor helped you, a review on the Store helps a lot.

### How much does it cost?

You pay only for results delivered, at a fixed price per item. **Apify platform usage is included** in that price, so there are no compute costs on top. Errors and items that couldn't be found are free.

| What you get | Price | Example |
|---|---|---|
| Short with details | $0.004 each | 1,000 shorts with details = $4.00 |
| Short | $0.0005 each | 1,000 shorts = $0.50 |

The Apify **Free plan includes $5 of monthly credit**, enough for about **1,250 shorts with details** per month at no cost. You can also set a maximum spend per run.

On paid Apify plans it gets cheaper automatically: **10% off on Starter, 20% on Scale and 30% on Business**.

# Actor input Schema

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

Keywords: returns the Shorts YouTube shows for each search (Shorts filter).

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

Hashtags without # (e.g. 'cooking', 'fitness'): returns the Shorts of youtube.com/hashtag/<tag>/shorts.

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

@handles or channel URLs: returns the channel's Shorts, newest first.

## `shortUrls` (type: `array`):

Specific Shorts (youtube.com/shorts/...).

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

Limit per search, hashtag or channel.

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

Open each Short for likes, comments, exact views, upload date, duration, description, tags, hashtags and channel subscribers (slower, priced higher).

## `minViews` (type: `integer`):

Skip Shorts with fewer views.

## `proxy` (type: `object`):

Used only when YouTube refuses the server IP (residential by default).

## Actor input object example

```json
{
  "searchQueries": [
    "easy recipes"
  ],
  "maxShortsPerSource": 30,
  "includeDetails": false
}
```

# Actor output Schema

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

YouTube Shorts.

# 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": [
        "easy recipes"
    ],
    "maxShortsPerSource": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("jeffev/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": ["easy recipes"],
    "maxShortsPerSource": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("jeffev/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": [
    "easy recipes"
  ],
  "maxShortsPerSource": 30
}' |
apify call jeffev/youtube-shorts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jeffev/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/84rChfcElg0oS9Riz/builds/dxCIill6RrQmbBWk7/openapi.json
