# YouTube Hashtag Shorts/Videos Scraper #️⃣📺 (All-in-one) (`scrapestorm/youtube-hashtag-shorts-videos-scraper-all-in-one`) Actor

Get Unlimited YouTube Trends Access with Our Alternative API: 🧑‍💻 Seamlessly crawl and scrape YouTube Trending Videos/Shorts by hashtag, to retrieve and download essential information such as the title 📺, view count 👀, and Short URL 📊, with no restrictions or quotas 🚫.

- **URL**: https://apify.com/scrapestorm/youtube-hashtag-shorts-videos-scraper-all-in-one.md
- **Developed by:** [Storm_Scraper](https://apify.com/scrapestorm) (community)
- **Categories:** Social media, Videos, SEO tools
- **Features:** Limited permissions
- **Stats:** 49 total users, 5 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Hashtag Shorts/Videos Scraper

The YouTube Hashtag Short/Video Scraper is a powerful tool designed to extract detailed data from specific YouTube Short/Video with the provided keyword you give. By providing the hashtag_keyword, you can retrieve:

```
Short/Video Titles 📛  
Short/Video URLs 🌐  
Thumbnail URLs 🖼️   
View Count (both text and numeric) 👁️‍🗨️  
Additional Information about the Short/Video and the Short/Video  
```

This scraper allows you to collect key data points from YouTube Short/Video using the hashtag_keyword without hitting any limits or quotas.

If you only want results with shorts 📹, instead of 'All (Videos/shorts)' 🎥, please use this dedicated actor for that 🎬:

- [YouTube Hashtag Shorts Scraper #️⃣📺](https://apify.com/scrapestorm/youtube-hashtag-shorts-scraper)

### 🛠️ How to Use

- Enter Data: Provide the Bulk hashtag_keyword you wish to scrape Short/Video with, along with the maximum number of items (Short/Video) you wish to retrieve.

- Start Scraping: Click the "Start" button to begin the scraping process. The tool will navigate the platform, gather Short/Video data, and store it.

- Download Your Data: After the extraction is complete, you can download the results in various formats such as JSON, CSV, XML, HTML Table, etc.

### Why Scrape YouTube Short/Video Using Hashtag Keywords? ✨🚀

Scraping YouTube Short/Video with hashtag keywords is useful for:

```
- Trending Content 📈: Track popular videos and trends in real time.
- Content Research 🔍: Quickly gather videos from specific niches.
- Competitive Analysis 🏁: Analyze competitors’ performance and strategies.
- Marketing Insights 💡: Monitor campaigns and audience engagement.
```

### 💸 Pricing

This scraper operates on a subscription basis at a cost of $19.99/month.

### Related Actors

If you're interested in other YouTube or Facebook scraping solutions, check out these related tools:

- [YouTube Email Extractor 📩📍 (Email Only)](https://apify.com/scrapestorm/youtube-email-extractor)
- [💬 YouTube Comments Scraper](https://apify.com/scrapestorm/youtube-comments-scraper---rental-fast-and-cheap)
- [🏎 YouTube Scraper (By Keyword) ](https://apify.com/scrapestorm/youtube)
- [🔴 Youtube Channel Scraper (Rental)](https://apify.com/scrapestorm/youtube-channel-scraper)
- [🌐 Youtube Shorts Scraper 📺 (Rental)](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Facebook Ads Library Scraper 🎯📈](https://apify.com/scrapestorm/facebook-ads-library-scraper)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)
- [Jobs.ch Search Scraper (Fast & Cheap) 💼 🇨🇭](https://apify.com/scrapestorm/jobs-ch-search-scraper-fast-cheap)
- [Builtin Jobs Scraper 🔍💼](https://apify.com/scrapestorm/builtin-jobs-scraper)
- [Bundesagentur für Arbeit (Arbeitsagentur) Scraper 🇩🇪 💼 Cheap](https://apify.com/scrapestorm/bundesagentur-fur-arbeit-arbeitsagentur-scraper-cheap)
- [SimplyHired Jobs Scraper 💼🔎📈 - Faster & Cheaper](https://apify.com/scrapestorm/simplyhired-jobs-scraper---faster-cheaper)
- [Seek Job / JobStreet Scraper (Advanced & Cheap) 💼](https://apify.com/scrapestorm/seek-job-jobstreet-scraper-advanced-cheap)
- [Practo Doctor Scraper 👨‍⚕️ - Fast & Cheap](https://apify.com/scrapestorm/practo-doctor-scraper---fast-cheap)
- [PropertyFinder Search Scraper 🏡 🏘️ - Cheap](https://apify.com/scrapestorm/propertyfinder-search-scraper---cheap)
- [PropertyFinder Agent - Cheap 🏷️ 🏠👨‍💼](https://apify.com/scrapestorm/propertyfinder-agent---cheap)
- [🛍️ Dubizzle Search Scraper - Cheap 🏷️](https://apify.com/scrapestorm/dubizzle-search-scraper---cheap)
- [Zillow Agent Scraper (All-in-one) 🏡📧📞🤖](https://apify.com/scrapestorm/zillow-agent-scraper-all-in-one)
- [Pinterest Profiles Search Scraper 🖼️👥🔍](https://apify.com/scrapestorm/pinterest-profiles-search-scraper)
- [Pinterest Boards Search Scraper 🎨🔍](https://apify.com/scrapestorm/pinterest-boards-search-scraper)
- [Pinterest Pins/Videos Search Scraper 🎨🔍](https://apify.com/scrapestorm/pinterest-pins-videos-search-scraper)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Zillow (Find a Home Improvement Agent) 🛠️)](https://apify.com/scrapestorm/zillow-find-a-home-improvement-agent)

***

### 🔑 YouTube Hashtag Short/Video Scraper Input

The YouTube Hashtag Short/Video Extractor requires a specific input format. Provide a JSON object with the hashtag_keyword to fetch shorts with and the max_items field to specify the number of shorts you want to scrape.

```
{
    "hashtag_keyword": "makeup",
    "max_items": 200
}

```

### 📊 YouTube Hashtag Short/Video Scraper Data Output

The YouTube Hashtag Short/Video Scraper will extract the following information for each video and store it in the Apify dataset.
After the run is complete, you can download the data in various formats (JSON, CSV, XML, RSS, or HTML Table).

```
    {
        "ID": 1,
        "Title": "Lil bros standing on business 💀 (via nextupaffilliated/IG) #shorts #football #highlights #kids #nfl",
        "View Count": "7,291,126 views",
        "Short/Video URL": "https://www.youtube.com/watch?v=mQZrJku2P2M",
        "Thumbnail URL": "https://i.ytimg.com/vi/mQZrJku2P2M/hqdefault.jpg?sqp=-oaymwFBCNACELwBSFryq4qpAzMIARUAAIhCGADYAQHiAQoIGBACGAY4AUAB8AEB-AHOBYACgAqKAgwIABABGGIgZShTMA8=&rs=AOn4CLAHEw2Qd54iyrMz-jg_jwDZZB2acg",
        "Short/Video ID": "mQZrJku2P2M"
    },
    {
        "ID": 2,
        "Title": "QB made a business decision after watching that hit 😳 (via julian_baldi/IG) #shorts #football #nfl",
        "View Count": "3,625,191 views",
        "Short/Video URL": "https://www.youtube.com/watch?v=Z-RBlRcpXEQ",
        "Thumbnail URL": "https://i.ytimg.com/vi/Z-RBlRcpXEQ/hqdefault.jpg?sqp=-oaymwFBCNACELwBSFryq4qpAzMIARUAAIhCGADYAQHiAQoIGBACGAY4AUAB8AEB-AHOBYACgAqKAgwIABABGGUgXShZMA8=&rs=AOn4CLAkFk0nSDpYJ-ZLl0d-g8WwOkbKqQ",
        "Short/Video ID": "Z-RBlRcpXEQ"
    }

```

### 📫 Support

😊 Leave us a star ⭐⭐⭐⭐⭐ if you are satisfied with the product!
🌍 For any questions, specific needs or issues, please reach out through Apify's platform or via email - [Storm_Scraper 🌪️🌩️](https://apify.com/scrapestorm)

# Actor input Schema

## `hashtagKeywords` (type: `array`):

List of hashtag keywords to scrape from YouTube. Each keyword is scraped separately, up to maxItemsPerKeyword items per keyword.

## `contentType` (type: `string`):

Choose 'All' to scrape the regular hashtag page (videos and shorts mixed), or 'Shorts' to scrape only the Shorts tab for the hashtag.

## `maxItemsPerKeyword` (type: `integer`):

Maximum number of videos/shorts to scrape per hashtag keyword.

## Actor input object example

```json
{
  "hashtagKeywords": [
    "makeup"
  ],
  "contentType": "shorts",
  "maxItemsPerKeyword": 100
}
```

# Actor output Schema

## `overview` (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 = {
    "hashtagKeywords": [
        "makeup"
    ],
    "contentType": "shorts",
    "maxItemsPerKeyword": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/youtube-hashtag-shorts-videos-scraper-all-in-one").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 = {
    "hashtagKeywords": ["makeup"],
    "contentType": "shorts",
    "maxItemsPerKeyword": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/youtube-hashtag-shorts-videos-scraper-all-in-one").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 '{
  "hashtagKeywords": [
    "makeup"
  ],
  "contentType": "shorts",
  "maxItemsPerKeyword": 100
}' |
apify call scrapestorm/youtube-hashtag-shorts-videos-scraper-all-in-one --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapestorm/youtube-hashtag-shorts-videos-scraper-all-in-one"
        }
    }
}
```

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/xwr0cWKia51VEg4bA/builds/pM0LVzFehXsuajuOV/openapi.json
