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

YouTube Shorts from search terms, hashtags, channels or Shorts links: title, exact views, likes and comment count, upload date, description, hashtags, channel and subscribers. Find viral Shorts by upload date and minimum views. No login, no API key. $0.50 per 1,000 Shorts.

- **URL**: https://apify.com/lieund/youtube-shorts-scraper.md
- **Developed by:** [Mon Data Tools](https://apify.com/lieund) (community)
- **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 shorts

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 Shorts Scraper

Get **YouTube Shorts with their stats** from **search terms, hashtags, channels or Shorts links** in one run: title, **exact views, likes and comment count**, upload date, description, hashtags, channel and subscriber count, as clean JSON, CSV or Excel.

No login, no YouTube API key and no quota. Keep only the Shorts that matter with **Only Shorts uploaded in the last (days)** and **Minimum views**: Shorts left out are not charged.

### What you can use it for

- **Trend research:** the Shorts that took off this week for a topic or hashtag (set *last 7 days* and *minimum views*).
- **Competitor tracking:** a rival channel's latest Shorts with views, likes, comments and upload date.
- **Influencer and creator research:** who makes the most viewed Shorts for a keyword, and how big their channels are.
- **Content ideas:** titles, hooks, descriptions and hashtags of the Shorts that perform.
- **Reporting and AI:** feed Shorts lists to a spreadsheet, a dashboard or an AI agent.
- **Monitoring:** schedule it daily to collect new Shorts on a hashtag or from a list of channels.

### How to use it

1. Add **search terms** (like `cooking hacks`), **hashtags** (like `cooking` or `#cooking`) and/or **channels or Shorts links**: links like `https://www.youtube.com/@MrBeast`, `https://www.youtube.com/hashtag/cooking` or `https://www.youtube.com/shorts/dnbLdUyozKM`.
2. Set **max Shorts per search, hashtag or channel**.
3. Optionally set **Only Shorts uploaded in the last (days)** and **Minimum views**.
4. Keep **Include full details** on for exact views, likes, comments, upload date and the full description. Turn it off for faster runs with list data only.
5. Click **Start**. In our test on Apify, 30 Shorts from a search, a hashtag and a channel, with full details and a 30-day filter, took about 7 seconds.

### Output

One result per Short:

```json
{
  "videoId": "vkAEhHAgnCk",
  "url": "https://www.youtube.com/shorts/vkAEhHAgnCk",
  "title": "Don't Let It Hit the Baby! 😱",
  "channelName": "Tukang ngoceh",
  "channelId": "UCBIeTNge4JJyzweqJB_TrpQ",
  "channelUrl": "https://www.youtube.com/channel/UCBIeTNge4JJyzweqJB_TrpQ",
  "viewCount": 4866553,
  "likeCount": 90331,
  "commentCount": 84,
  "publishedDate": "2026-11-06",
  "description": "Airplane Trips, Flights & Travel Adventures ...",
  "hashtags": ["#airplane", "#flight", "#travel", "#travelshorts"],
  "subscriberCountText": "478K subscribers",
  "subscriberCount": 478000,
  "thumbnailUrl": "https://i.ytimg.com/vi/vkAEhHAgnCk/frame0.jpg",
  "fullDetails": true,
  "rank": 1,
  "source": "#travel",
  "scrapedAt": "2026-11-24T08:50:02.009Z"
}
```

| Field | Meaning |
|---|---|
| `viewCount`, `likeCount` | Exact numbers with *Include full details* on. Without it, views are rounded as YouTube lists them (16M) and likes are empty |
| `commentCount` | Comments, rounded the way YouTube shows them (10K) |
| `publishedDate` | Upload date (YYYY-MM-DD) |
| `hashtags` | Hashtags written in the title and description |
| `fullDetails` | `true` when the Short's own page was read. `false` means list data only: title, rounded views, thumbnail and sometimes the channel |
| `rank` | Position in the search results, hashtag page or channel (1 = first) |
| `source` | The search term, hashtag or link the Short came from |

A Short found by two searches is saved once. Download results as JSON, CSV, Excel or HTML, or read them through the Apify API.

### Integrations

- **Schedules:** run it every day with [Apify schedules](https://docs.apify.com/platform/schedules) to track a hashtag or a list of channels.
- **Google Sheets, Slack, email, CRM:** send Shorts anywhere with [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier) or [n8n](https://docs.apify.com/platform/integrations/n8n).
- **Your own app:** get a [webhook](https://docs.apify.com/platform/integrations/webhooks) when a run finishes, then read the dataset through the API.
- **AI agents:** let AI agents run this Actor through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).

### Pricing

**$0.50 per 1,000 Shorts**, with a near-zero start fee and no monthly fee. The price is the same with or without full details. Shorts left out by your filters, and Shorts that do not exist or are private, cost nothing. Use **Max Shorts per search, hashtag or channel** to get only what you need. If you set **Max cost per run**, the Actor stops before going over it.

### Related

- [YouTube Video Scraper](https://apify.com/lieund/youtube-video-scraper): long-form videos with exact views, likes, upload date and length from searches, channels and playlists.
- [YouTube Comments Scraper](https://apify.com/lieund/youtube-comments-scraper): comments and replies from videos, Shorts, channels and searches.
- [Google Trends Scraper](https://apify.com/lieund/google-trends-scraper): see how search interest in a topic changes over time.
- [Google Autocomplete Scraper](https://apify.com/lieund/google-autocomplete-scraper): find what people search on YouTube and Google.

### Notes

- Data comes from the public pages of YouTube. The Actor does not log in and needs no proxy or API key.
- Channel links give the channel's latest Shorts from its *Shorts* tab.
- A hashtag page shows a few dozen Shorts; when you ask for more, the Actor adds Shorts from a YouTube search for the hashtag.
- YouTube decides which Shorts a search returns, so results can differ between runs. For some search terms YouTube shows few or no Shorts when not logged in; the run log then suggests a hashtag, which usually works better (for example #morningroutine instead of "morning routine").
- YouTube sometimes refuses to show a Short's own page to cloud servers. Such Shorts are still saved with list data only and `fullDetails: false` (or left out, not charged, when *Only Shorts uploaded in the last (days)* needs their date). The run log tells you how many.
- Filters are applied to the Shorts found, so with filters you may get fewer Shorts than the max. Raise the max to look through more.
- Without full details, the channel can be empty for some Shorts and the upload date is always empty.
- Results include the public name, ID and link of the channel that posted each Short. When a channel belongs to a person, this can be personal data: use it only for a lawful purpose, such as research or analytics. You are responsible for how you use the data.

# Actor input Schema

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

Get the Shorts YouTube shows for each search term, in YouTube's order.

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

Optional. Hashtags like cooking or #cooking: takes the Shorts on the hashtag page, then more from a search for the hashtag.

## `sources` (type: `array`):

Optional. Channel links (https://www.youtube.com/@MrBeast: takes the channel's latest Shorts), hashtag links, or links to single Shorts. Mix as many as you like.

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

How many Shorts to take from each search term, hashtag or channel (newest first). 0 means all: searches can return hundreds, so set "Max cost per run" too.

## `uploadedWithinDays` (type: `integer`):

Optional. Keep only Shorts uploaded in this many days (by upload date; turns on full details). Shorts left out are not charged, so you may get fewer than the max.

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

Optional. Keep only Shorts with at least this many views. Shorts left out are not charged.

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

Open each Short for the exact view, like and comment counts, upload date, full description, hashtags, channel and subscriber count. Turn off for faster runs with list data only (title, rounded views, thumbnail). The price is the same either way.

## Actor input object example

```json
{
  "searchQueries": [
    "cooking hacks"
  ],
  "maxShortsPerSource": 10,
  "includeDetails": true
}
```

# Actor output Schema

## `shorts` (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": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("lieund/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": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("lieund/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": 10
}' |
apify call lieund/youtube-shorts-scraper --silent --output-dataset

```

## MCP server setup

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