YouTube Hashtag Extractor 🎬 Shorts, Transcripts & Countries avatar

YouTube Hashtag Extractor 🎬 Shorts, Transcripts & Countries

Pricing

Pay per usage

Go to Apify Store
YouTube Hashtag Extractor 🎬 Shorts, Transcripts & Countries

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

FlowExtract API

Maintained by Community

Actor stats

2

Bookmarked

6

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

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?

CategoryFields
VideovideoId, VideoURL, Video_title, category / hashtag
ChannelChannel_Name, Channel_Id
Stats & metadataViews, Runtime, published_Date, Description, thumbnail
TranscripthasTranscript, 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

  1. Open YouTube Hashtag Extractor in Apify Console.
  2. Enter one or more hashtags in Hashtag (e.g. #cooking or cooking).
  3. Turn on Shorts only if you want the Shorts feed.
  4. Set Max videos (start small: 5) and pick a Country.
  5. 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"
}
FieldTypeDefaultWhat it does
hashtagarray of strings— (required)One or more hashtags; the # is optional
shortsOnlybooleanfalsetrue reads youtube.com/hashtag/<tag>/shorts; false reads regular videos
maxVideosinteger5Maximum videos or Shorts per hashtag
countryselectUSSets both the proxy exit region and YouTube's locale
Input valueWhat it extracts
#hashtagsVideos under the #hashtags hashtag
cookingVideos 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=***
EndpointMethodPurpose
/heartbeatGETKeep-alive ping
/healthGETReadiness probe
/POSTAccepts a hashtag, streams results back
{
"hashtag": "#hashtags",
"maxVideos": 5,
"shortsOnly": false,
"country": "US"
}
Event typeWhenKey fields
startedRequest acceptedhashtag
hashtag_extractedVideo IDs foundvideoCount
video_processedA video succeededvideoId, data
video_failedA video failedvideoId, error
completedAll doneprocessedCount, successCount, failureCount
errorFatal failureerror

Other Actors you might need

ActorWhat it adds
YouTube Playlist ExtractorEvery video in a YouTube playlist with durations, thumbnails & channel info
YouTube Transcript & Metadata ExtractorTimestamped transcripts, full metadata & comments from any video or Short, also as a live API
YouTube Scraper ProChannels, Videos & Transcripts
YouTube Comments ScraperExtract YouTube comments with author info, likes, timestamps, and nested replies.
YouTube Shorts ScraperKeyword 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 tierProxy used
PayingPremium residential in the selected country
OtherApify residential, built in

Why did my run return fewer results than I asked for?

SituationWhat you seeWhat to do
Hashtag has no videosNo videos found for this hashtagTry a more popular hashtag or a different country
YouTube blocks the requestBlocked warning, run stopsRe-run; the Actor rotates IPs automatically
Video unavailable / no metadataVideo skipped, not chargedNormal — some videos are region-locked or removed
Budget too smallBudget too smallRaise the run's max cost, or lower maxVideos

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

  • 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.