YouTube Hashtag Extractor 🎬 Shorts, Transcripts & Countries
Pricing
Pay per usage
YouTube Hashtag Extractor 🎬 Shorts, Transcripts & Countries
Extract videos or Shorts from any YouTube hashtag with full metadata and timestamped transcripts: title, channel, views, runtime, description and thumbnail. Pick a country to match regional results. Several hashtags per run, also callable as an API.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
FlowExtract API
Maintained by CommunityActor stats
2
Bookmarked
6
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
YouTube Hashtag Extractor pulls videos or Shorts from any YouTube hashtag and enriches each one with full metadata and a clean, timestamped transcript — title, channel, views, runtime, description and thumbnail. Give it a hashtag and a country and get structured, ready-to-use data.
Perfect for content researchers, social media marketers and data analysts who need hashtag-level video data and transcripts without opening hundreds of videos by hand.
What does YouTube Hashtag Extractor do?
- Any hashtag, several per run — with or without the
#. - Videos or Shorts — the hashtag page or its dedicated Shorts feed.
- Transcripts included — full text plus timestamped segments, language and auto-generated flag.
- Country-aware — one setting aligns the proxy region and YouTube's locale, so results match what viewers in that country see.
- Callable as an API — stream results from another Actor or app over HTTP.
What data can you extract from YouTube hashtags?
| Category | Fields |
|---|---|
| Video | videoId, VideoURL, Video_title, category / hashtag |
| Channel | Channel_Name, Channel_Id |
| Stats & metadata | Views, Runtime, published_Date, Description, thumbnail |
| Transcript | hasTranscript, transcriptText, transcriptLanguage, isAutoGenerated, timestamps |
Why scrape YouTube hashtags?
Hashtags group videos by topic — one of the fastest ways to see what is being published around a subject.
- Trend research — see which videos and creators dominate a hashtag right now.
- Content analysis — pull transcripts in bulk to analyze topics, keywords and messaging.
- Competitor monitoring — track who publishes under hashtags in your niche.
- Shorts discovery — target a hashtag's Shorts feed for short-form research.
- Localized insights — compare hashtag results across countries.
Why use YouTube Hashtag Extractor on Apify?
Running it on Apify gives you API access, scheduling, monitoring, integrations (Make, Zapier, n8n, webhooks) and proxy rotation without managing infrastructure.
How to scrape YouTube hashtags
- Open YouTube Hashtag Extractor in Apify Console.
- Enter one or more hashtags in Hashtag (e.g.
#cookingorcooking). - Turn on Shorts only if you want the Shorts feed.
- Set Max videos (start small:
5) and pick a Country. - Click Start, then download the results as JSON, CSV or Excel, or fetch them over the API.
How much does it cost to scrape YouTube hashtags?
Runs are billed through your Apify plan. Start with maxVideos: 5 to see the cost of a run in the Console before scaling up. Any change to the pricing is shown in the Apify Store before you run.
Input and output examples
Input
{"hashtag": ["#cooking"],"shortsOnly": true,"maxVideos": 25,"country": "FR"}
| Field | Type | Default | What it does |
|---|---|---|---|
hashtag | array of strings | — (required) | One or more hashtags; the # is optional |
shortsOnly | boolean | false | true reads youtube.com/hashtag/<tag>/shorts; false reads regular videos |
maxVideos | integer | 5 | Maximum videos or Shorts per hashtag |
country | select | US | Sets both the proxy exit region and YouTube's locale |
| Input value | What it extracts |
|---|---|
#hashtags | Videos under the #hashtags hashtag |
cooking | Videos under the #cooking hashtag |
Output
{"videoId": "n4Q-Y8O5_Hk","VideoURL": "https://www.youtube.com/watch?v=n4Q-Y8O5_Hk","category": "#hashtags","Video_title": "What is a Hashtag (#) and Why Do We Need It?","Channel_Id": "UCCvjioedUfclrYgLSawypfQ","Channel_Name": "Popupsmart","Views": "2559 views","Runtime": "0:51","published_Date": "2022-09-28T06:00:26-07:00","Description": "A hashtag is a word or phrase preceded by the \"#\" symbol...","thumbnail": "https://i.ytimg.com/vi_webp/n4Q-Y8O5_Hk/maxresdefault.webp","hasTranscript": true,"transcriptText": "Let's talk about hashtags. A hashtag is a word phrase preceded by the hash symbol...","transcriptLanguage": "en","isAutoGenerated": false,"timestamps": [{ "time": "0:00", "text": "Let's talk about hashtags." },{ "time": "0:02", "text": "A hashtag is a word phrase\npreceded by the hash symbol." }],"hashtag": "#hashtags"}
Call it as an API
The Actor also runs as an HTTP server that another Actor or app can call to stream results as NDJSON:
https://YOUR_USERNAME--youtube-hashtag-extractor.apify.actor?token=***
| Endpoint | Method | Purpose |
|---|---|---|
/heartbeat | GET | Keep-alive ping |
/health | GET | Readiness probe |
/ | POST | Accepts a hashtag, streams results back |
{"hashtag": "#hashtags","maxVideos": 5,"shortsOnly": false,"country": "US"}
| Event type | When | Key fields |
|---|---|---|
started | Request accepted | hashtag |
hashtag_extracted | Video IDs found | videoCount |
video_processed | A video succeeded | videoId, data |
video_failed | A video failed | videoId, error |
completed | All done | processedCount, successCount, failureCount |
error | Fatal failure | error |
Other Actors you might need
| Actor | What it adds |
|---|---|
| YouTube Playlist Extractor | Every video in a YouTube playlist with durations, thumbnails & channel info |
| YouTube Transcript & Metadata Extractor | Timestamped transcripts, full metadata & comments from any video or Short, also as a live API |
| YouTube Scraper Pro | Channels, Videos & Transcripts |
| YouTube Comments Scraper | Extract YouTube comments with author info, likes, timestamps, and nested replies. |
| YouTube Shorts Scraper | Keyword Search, Views & Date Filter |
Frequently asked questions
Do I need a YouTube account?
No. The Actor extracts publicly visible hashtag data — no login or account is required.
Can I scrape multiple hashtags in one run?
Yes. Pass an array in the hashtag field and each hashtag is processed in turn.
What's the difference between videos and Shorts?
By default the Actor returns regular videos from the hashtag page. Set shortsOnly: true to read the hashtag's dedicated Shorts feed instead.
Why do results change when I change the country?
YouTube personalizes hashtag results by region. The country setting aligns the proxy IP and YouTube's locale, so a run for FR reflects what a viewer in France sees.
What happens if a video has no transcript?
The video is still returned, with hasTranscript: false. Metadata is always attempted.
Which proxy does it use?
Proxy is handled automatically: a residential proxy in the selected country, so the IP and YouTube locale always match.
| User tier | Proxy used |
|---|---|
| Paying | Premium residential in the selected country |
| Other | Apify residential, built in |
Why did my run return fewer results than I asked for?
| Situation | What you see | What to do |
|---|---|---|
| Hashtag has no videos | No videos found for this hashtag | Try a more popular hashtag or a different country |
| YouTube blocks the request | Blocked warning, run stops | Re-run; the Actor rotates IPs automatically |
| Video unavailable / no metadata | Video skipped, not charged | Normal — some videos are region-locked or removed |
| Budget too small | Budget too small | Raise the run's max cost, or lower maxVideos |
Is it legal to scrape YouTube hashtags?
The Actor extracts publicly visible data — what any visitor sees in a browser. Comply with YouTube's Terms of Service and data-protection rules (GDPR, CCPA), don't use the data for spam or unsolicited outreach, and respect creators' rights when reusing transcripts. This is not legal advice.
Can I use YouTube Hashtag Extractor in Make, Zapier, n8n or my own code?
Yes — through Apify's integrations, the Apify API and client libraries, or the HTTP interface above.
Support
- 🌐 Website: flowextractapi.com
- 📧 Email: support@flowextractapi.com
- 💬 GitHub: FlowExtractAPI
- 💼 LinkedIn: flowextract-api
- 🐦 X (Twitter): @FlowExtractAPI
- 📱 Facebook: flowextractapi
- 🎵 TikTok: @flowextractapi
Legal & compliance
- Public data only — data visible to any visitor, no login, no cookies.
- Rate limiting — modest request rates with back-off.
- Data protection — no storage of personal information or unauthorized data collection.
- Commercial use — suitable for business intelligence and research.
- No affiliation with or endorsement by YouTube or Google is implied.
YouTube Hashtag Extractor — by FlowExtract API. Turn any website into structured data.