YouTube Hashtag Search Scraper
Pricing
from $0.01 / 1,000 results
YouTube Hashtag Search Scraper
Collect videos and Shorts posted under any YouTube hashtag. Get title, link, views, publish date, duration, description and channel. Choose videos, Shorts or both. No login or API key. Bulk input, auto proxy fallback. Export JSON, CSV or Excel.
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer
Data Minds
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
๐ What is YouTube Hashtag Search Scraper?
โก Many hashtags in one run ยท ๐ฌ Videos, Shorts or both ยท ๐ฆ Export to JSON, CSV or Excel ยท ๐ค Works with AI agents
YouTube Hashtag Search Scraper collects the videos and Shorts posted under any YouTube hashtag and returns one clean row per item. Enter one or more hashtags or hashtag links, press Start, and you get titles, views, publish dates, channels and links, with likes, comments, tags and channel details when you switch them on. It suits creators, marketers and analysts, and you need no YouTube API key.
- ๐ See what works under a hashtag: compare views, likes, comments and publish dates across videos and Shorts.
- ๐ค Find creators in a niche: list the channels behind a hashtag with subscribers, country and joined date.
- ๐ Plan your content: read the titles, tags, hashtags used and categories of videos that already perform.
- ๐ Track a campaign or brand hashtag: collect everything posted under it and repeat the run on a schedule.
- ๐ฏ Keep only what matters: filter by title words, minimum views, publish age and video length.
- ๐ค Keep it running: send the rows to your sheet, your app or your AI agent.
๐ฆ What data can YouTube Hashtag Search Scraper extract?
Every row in the results table is one video or Short. The fields are grouped below; the main ones are described in the Output section. Fields marked with an option name appear only when that option is on.
| Data | Fields |
|---|---|
| ๐ Link and ID | url, id, kind (video or short), hashtag |
| ๐ Title and text | title, description (with Include full details) |
| ๐ Views | viewCount, viewCountText |
| ๐ Likes and comments | likeCount, commentCount (with Include likes, comments and subscribers) |
| ๐ Publish time | publishedAt, publishedTimeText |
| ๐ Length | durationSeconds, durationText |
| ๐ท Thumbnail and badges | thumbnailUrl, badges |
| ๐ Tags and category | hashtags, tags, category (with Include full details) |
| ๐ค Channel | channel.id, channel.title, channel.handle, channel.thumbnailUrl |
| โญ Channel audience | channel.subscriberCount, channel.isVerified (with likes, comments and subscribers) |
| ๐ Channel profile | channel.country, channel.joinedDate, channel.viewCount, channel.videoCount, channel.description (with Include channel details) |
| ๐ Language | detectedLanguage (with Detect language) |
| ๐ฆ Collection time | scrapedAt |
With Include full details on, you also get YouTube video tags and category for every item, and the thumbnail link of each video is always included. Turn on Detect language for YouTube video language detection from the title and description.
โ Note: Likes are the rounded number YouTube shows, for example 3.9K is saved as 3900. Comment counts are empty when comments are turned off, and like counts are empty when likes are hidden.
โ What can't YouTube Hashtag Search Scraper extract?
- โ Private or removed videos.
- โ Comment texts. You get the comment count only.
- โ Video files or transcripts.
For more YouTube data, try YouTube Shorts Scraper or YouTube Search API.
๐ How to scrape YouTube hashtags
YouTube Hashtag Search Scraper is designed for an easy start, even if you have never extracted data from the web before.
- ๐ Create a free Apify account using your email.
- ๐ Open YouTube Hashtag Search Scraper and go to the Input tab.
- ๐ฅ Add one hashtag per line, with or without
#, or paste a full hashtag page link. - ๐ฏ Choose Content type (all, videos or Shorts) and set Max items per hashtag.
- ๐ Click Start and wait for the run to finish.
- ๐ค Open the Output tab to view the items as a table, or download them as JSON, CSV, Excel, XML or HTML.
๐ Quick start: the default input collects 10 items each for
funnyandmakeup.
{"urls": ["funny", "https://www.youtube.com/hashtag/makeup"],"maxItemsPerKeyword": 10}
๐ฐ How much does it cost to scrape YouTube hashtags?
YouTube Hashtag Search Scraper uses a pay per event model, with prices from $0.002 per result ($2.00 per 1,000 results) on the Gold plan. You pay for each video or Short saved to the dataset. Apify platform usage is billed in addition.
| Apify plan | Price per result | Price per 1,000 results |
|---|---|---|
| ๐ Free | $0.003 | $3.00 |
| ๐ฅ Bronze | $0.0027 | $2.70 |
| ๐ฅ Silver | $0.0024 | $2.40 |
| ๐ฅ Gold | $0.002 | $2.00 |
Each run also has one start event of $0.00005, which covers the default 1 GB of memory. Every saved result is also charged a dataset item event of $0.00001, so the cost per result is the plan price in the table plus $0.00001. The result price in the table above is the main_result event.
๐งฎ How much will scraping YouTube hashtags cost?
Results multiplied by the price of your plan (main_result price only, start event and dataset item event not included):
| Results | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| 100 | 100 x $0.003 = $0.30 | 100 x $0.0027 = $0.27 | 100 x $0.0024 = $0.24 | 100 x $0.002 = $0.20 |
| 1,000 | 1,000 x $0.003 = $3.00 | 1,000 x $0.0027 = $2.70 | 1,000 x $0.0024 = $2.40 | 1,000 x $0.002 = $2.00 |
| 10,000 | 10,000 x $0.003 = $30.00 | 10,000 x $0.0027 = $27.00 | 10,000 x $0.0024 = $24.00 | 10,000 x $0.002 = $20.00 |
๐ Is scraping YouTube hashtags free?
You can start for free. The Apify Free plan includes $5 of monthly credit. At the Free price of $0.003 per result, $5 / $0.003 = about 1,666 results before platform usage. Paid plans lower the price per result, as the table shows.
โ Good to know: a run stops cleanly when your spend limit is reached, and the rows saved so far stay in the dataset.
๐ง Input
Add the hashtags you want to read, then narrow the results with optional filters. Set the input in the Input tab or send it as JSON through the API. Only urls is required. The limit applies to each hashtag separately, so 3 hashtags with a limit of 20 return up to 60 items.
| Field | Type | Default | What it does |
|---|---|---|---|
urls | array of strings | none (at least 1) | Hashtags, one per line, with or without #, or full hashtag page links such as https://www.youtube.com/hashtag/funny. Each one is collected separately. |
maxItemsPerKeyword | integer | 10 | Stop after this many items for each hashtag, from 0 to 100000. 0 collects everything available. |
contentType | string | all | all returns videos and Shorts mixed, videos only regular videos, shorts only Shorts. |
includeDetails | boolean | true | Adds description, tags, category, hashtags used, channel, exact publish date and exact view count. Turn off for a faster run with basic fields. |
includeStats | boolean | false | Adds like count, comment count and the channel's subscriber count and verified badge. Makes the run a little slower. |
includeChannel | boolean | false | Adds the channel's country, joined date, total views, total videos and description. |
detectLanguage | boolean | false | Adds the language of each item, guessed from its title and description. Empty when the text is too short. |
titleFilter | string | none | Keep only items whose title contains any of these words (comma separated). |
excludeWords | string | none | Drop items whose title contains any of these words (comma separated). |
publishedWithinDays | integer | 0 | Keep only items published in the last N days. 0 means any age. |
minViews | integer | 0 | Keep only items with at least this many views. 0 means no minimum. |
minDurationSeconds | integer | 0 | Keep only items at least this long. 0 means no minimum. |
maxDurationSeconds | integer | 0 | Keep only items at most this long. 0 means no maximum. |
proxyConfiguration | object | none | Optional network settings for the run. The defaults work for most runs. |
Minimal input:
{"urls": ["funny"]}
Advanced input: up to 20 videos longer than five minutes from the last 30 days for two hashtags, with likes, comments and channel details:
{"urls": ["travel", "#foodie"],"contentType": "videos","maxItemsPerKeyword": 20,"publishedWithinDays": 30,"minDurationSeconds": 300,"includeStats": true,"includeChannel": true}
Filters are applied before the limit counts, so you still get your full number of matching items when YouTube lists enough of them. Very narrow filters, such as a short publish window plus a high minimum views, can return few or no items. See the input tab for the full schema.
๐ก Tip: Start with a low
maxItemsPerKeywordto check the sample, then raise it for the full run.
๐ค Output
Results are stored in a dataset, which you can open in the Output or Storage tab. View them as a table or JSON, pick only the fields you need, and download them as JSON, CSV, Excel, XML or HTML. The table has ready-made views for the overview, channel, views and engagement, and descriptions.
Through the API, read the rows from this URL pattern:
https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
Add &view=overview (or channel, engagement, description) to get one of the views.
The main fields of each row:
| Field | Type | Description |
|---|---|---|
hashtag | string | The hashtag the item was found under (lowercase, no #). |
id | string | YouTube video or Short ID. |
kind | string | video or short. |
url | string | Link to the video or Short. |
title | string | Title of the item. |
description | string | Full description. Empty when full details are off. |
thumbnailUrl | string | Largest available thumbnail. |
channel | object | The channel that published the item: id, title, handle, thumbnailUrl, plus subscriber and channel detail fields when those options are on. |
viewCount | integer | Number of views. |
viewCountText | string | View count as shown on YouTube. |
publishedAt | string | Exact publish time in UTC (ISO 8601). Empty when full details are off. |
publishedTimeText | string | Relative publish time as shown on YouTube. |
durationSeconds | integer | Length in seconds. |
durationText | string | Length as m:ss or h:mm:ss. |
badges | array | Badges shown on the video, such as New or 4K. |
hashtags | array | Hashtags written in the title and description. |
tags | array | Keywords the creator set on the video. |
category | string | YouTube category of the video. |
likeCount | integer | Likes as shown by YouTube (rounded). Needs Include likes, comments and subscribers. |
commentCount | integer | Number of comments. Needs Include likes, comments and subscribers. |
detectedLanguage | string | Language code guessed from title and description. Needs Detect language. |
scrapedAt | string | When the item was collected (ISO 8601, UTC). |
An abridged example row (illustrative values):
{"hashtag": "funny","id": "BZHfHaVrh4I","kind": "video","url": "https://www.youtube.com/watch?v=BZHfHaVrh4I","title": "Best funny videos compilation","description": "#funny #memes","thumbnailUrl": "https://i.ytimg.com/vi/BZHfHaVrh4I/hq720.jpg","channel": {"id": "UCUUoOFcTRLKXabJMoLy_W-g","title": "Top American Compilation","handle": "TopAmericanCompilation-77","thumbnailUrl": null},"viewCount": 1500295,"viewCountText": "1,500,295 views","publishedAt": "2026-09-11T11:53:15.000Z","publishedTimeText": "1 month ago","durationSeconds": 757,"durationText": "12:37","badges": ["New"],"hashtags": ["funny", "memes"],"tags": ["funny", "comedy"],"category": "Comedy","scrapedAt": "2026-11-20T15:00:00.000Z"}
Each run also saves a small run summary in the key-value store under the key RUN_SUMMARY:
| Field | Type | Description |
|---|---|---|
inputs | integer | Number of hashtags in the run. |
rows | integer | Items saved to the dataset. |
ok | integer | Hashtags that returned items. |
skipped | integer | Hashtags with no results or never reached. |
failed | integer | Hashtags that could not be collected. |
seconds | number | Run time in seconds. |
spendLimitReached | boolean | True when the run stopped because of your spend limit. |
message | string | The final status message of the run. |
๐ก Tips and advanced usage
โก How to get faster or cheaper results
- โก Switch off Include full details if you only need titles, links and views.
- ๐ง Leave likes, comments and channel details off unless you need them.
- ๐ฏ Start with a small Max items per hashtag and raise it once the results look right.
- ๐ Use Published within the last (days) on a schedule to read only the newest items.
๐ How to build a YouTube hashtag tracker
Run the Actor on a schedule and compare the rows between runs. Views, likes and comments of each item, together with the hashtag field, are easy to chart in a sheet or dashboard. Sort by viewCount to find the most viewed videos and Shorts in your niche.
๐ฏ How to do YouTube trend research with hashtags
Pick the hashtags of your niche, collect their videos and Shorts, and sort by viewCount and publishedAt to see what is rising now.
๐ข How to run a YouTube competitor analysis
Collect a competitor's brand hashtag and compare views, likes, comments and posting dates with your own hashtag.
๐ค How to find influencers on YouTube
Turn on likes, comments and subscribers and channel details to see which channels use a hashtag, with their subscriber counts and countries. This makes influencer discovery on YouTube a matter of sorting a table.
๐งฉ How to run many hashtags in one run
Add all your hashtags to one run, one per line. Every row has a hashtag field that tells you where it came from, and the run summary shows how many hashtags returned items.
๐ฆ How to export a YouTube hashtag to CSV
Open the Output tab of the finished run, choose Export, select CSV and pick the fields you need. You can download YouTube hashtag data the same way as JSON, Excel, XML or HTML and keep one row per item. For scheduled exports, use the API or an integration instead.
๐ฌ How to collect only Shorts or only videos
Set Content type to shorts to keep only Shorts, or to videos to skip them. The default all returns both, and the kind field of every row tells them apart. Set a YouTube video length filter with the minimum and maximum length in seconds to keep only short clips or long videos.
๐ Why did I get fewer items than my limit?
YouTube lists only so many items per hashtag for the chosen content type, and your filters may skip some. The run status says when a hashtag ran out of items before your limit. Remove a filter, switch to all, or add more hashtags, then run a small test again.
โ Known issues
- โ Shorts often have no description or tags on YouTube itself, so those fields can be empty for them.
- โ A hashtag that does not exist may be skipped and reported in the run log.
๐ Integrations and API
๐ Can I use YouTube Hashtag Search Scraper as an API?
Yes. Start runs, read results and schedule jobs through the Apify API. Use your token from Settings > API & Integrations.
| Action | Method and URL |
|---|---|
| ๐ Start a run | POST https://api.apify.com/v2/actors/data_minds~youtube-hashtag-search-scraper/runs |
| โก Run and get the results in one call | POST https://api.apify.com/v2/actors/data_minds~youtube-hashtag-search-scraper/run-sync-get-dataset-items |
| ๐ฅ Read results of a run | GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json |
| ๐ OpenAPI definition | GET https://api.apify.com/v2/actors/data_minds~youtube-hashtag-search-scraper/builds/default/openapi.json |
curl
curl -X POST "https://api.apify.com/v2/actors/data_minds~youtube-hashtag-search-scraper/run-sync-get-dataset-items" \-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"urls": ["travel", "#foodie"], "maxItemsPerKeyword": 20, "includeStats": true}'
Python
To scrape a YouTube hashtag with Python, use the apify-client package:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("data_minds/youtube-hashtag-search-scraper").call(run_input={"urls": ["travel", "#foodie"], "maxItemsPerKeyword": 20, "includeStats": True})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["hashtag"], item["title"], item["viewCount"])
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('data_minds/youtube-hashtag-search-scraper').call({urls: ['travel', '#foodie'],maxItemsPerKeyword: 20,includeStats: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
CLI
$echo '{"urls": ["travel", "#foodie"], "maxItemsPerKeyword": 20, "includeStats": true}' | apify call data_minds/youtube-hashtag-search-scraper --silent --output-dataset
The one-call endpoint suits runs that finish in about five minutes. Use the start-a-run endpoint for longer jobs. More code is on the API tab.
๐งฉ Can I connect YouTube Hashtag Search Scraper to other apps?
Yes. Connect it with Make, Zapier, n8n, Slack, Google Sheets, Google Drive, Airbyte, GitHub and more through Apify integrations. Use webhooks to send new YouTube hashtag data to your team whenever a run finishes. Use schedules to run the scraper every day or week.
๐ค Can I use YouTube Hashtag Search Scraper with AI agents (MCP server)?
Yes. AI agents can call it directly through the hosted Apify MCP server. The Server tab of this Actor shows the same connection settings.
{"mcpServers": {"apify": {"type": "http","url": "https://mcp.apify.com?tools=data_minds/youtube-hashtag-search-scraper"}}}
The hosted server signs you in with OAuth the first time you connect, so no API token belongs in this configuration. If your client cannot use OAuth, send the header Authorization: Bearer <YOUR_APIFY_TOKEN>.
๐ Other YouTube scrapers
| Scraper | What it does |
|---|---|
| ๐ YouTube Search API | Searches YouTube by keyword and returns videos, Shorts, channels or playlists with views, likes, comments, description, hashtags, subscribers, country and contact links. |
| ๐ YouTube Shorts Scraper | Collects Shorts from YouTube channels: views, exact likes, comments, dates, hashtags, tags, category, engagement, transcripts and channel details. |
| ๐ YouTube Trending Shorts Scraper | Finds trending YouTube Shorts for any keyword or hashtag: views, likes, comments, views per day, viral score, engagement rate, channel and publish date. |
โ FAQ
๐ก Is it legal to scrape YouTube hashtags?
Web scraping is generally legal if you extract publicly available data. However, you should respect personal data, for example under GDPR, and intellectual property regulations, only collect personal data with a legitimate reason, and take YouTube's Terms of Service into account before you run it.
๐ง How does YouTube Hashtag Search Scraper work?
You add hashtags or hashtag links, choose videos, Shorts or both, optionally set filters and a limit per hashtag, and press Start. The Actor returns the public videos and Shorts it finds under each hashtag as one row per item, and every row says which hashtag it came from.
๐ฏ Why use it instead of the official YouTube Data API?
It needs no Google project or API key: you give hashtags and get rows with views, publish dates, channels and links. You can add likes, comments, tags and channel details with switches, filter by title, views, age and length, schedule runs, and download the data in common formats.
๐ Can I use YouTube Hashtag Search Scraper as an API?
Yes. Start a run with the Apify API, pass your hashtags as JSON, and read the dataset items when it finishes. A one-call endpoint returns results directly for short runs, and an OpenAPI definition is available. Ready-made curl, Python, JavaScript and CLI examples are in the Integrations and API section above.
๐ค Can I use YouTube Hashtag Search Scraper with AI agents (MCP server)?
Yes. Add the hosted Apify MCP server URL with the tools parameter set to data_minds/youtube-hashtag-search-scraper, and your AI assistant can run the Actor and read the results. The first connection signs you in with OAuth. The Server tab of the Actor shows the same connection settings.
๐งฉ Can I connect it to Google Sheets, Make or Zapier?
Yes. Apify integrations connect the Actor with Google Sheets, Make, Zapier, n8n, Slack and many other tools. Schedule a run, then use a webhook or an integration to send each new batch of videos and Shorts to your sheet, chat or workflow automatically when the run finishes.
๐ Why did I get fewer items than my limit?
YouTube lists only a limited number of items per hashtag for the chosen content type, and your filters may skip some. The run status tells you when a hashtag ran out of items. Relax the minimum views, publish window or length, try the all content type, or add more hashtags.
๐ Why do the numbers differ from what YouTube shows?
Likes are the rounded number YouTube shows to visitors, for example 3.9K is saved as 3900. Counts also change over time as people keep watching, so a later run can return higher views. Comment counts are empty when comments are turned off, and like counts are empty when likes are hidden.
โ Why is the Actor not working or returning nothing?
Check the spelling of the hashtag and relax your filters first. Open the hashtag page in a private browser window: if you cannot see videos there, the Actor cannot either. If the hashtag is public and the run still returns nothing, report it on the Issues tab.
๐ฌ Support and feedback
Found a bug or have a feature request? Please create an issue on the Issues tab.
Need a custom solution or more data? Contact us at hello.dataminds@gmail.com.
Built and maintained by data_minds. This Actor is an independent tool and is not affiliated with, endorsed by or sponsored by YouTube or Google.