VOOZH about

URL: https://apify.com/crawlerbros/youtube-hashtag-scraper

โ‡ฑ YouTube Hashtag Scraper ยท Apify


Pricing

from $3.00 / 1,000 results

Go to Apify Store

YouTube Hashtag Scraper

Scrape YouTube videos and Shorts by hashtag. Extract all videos tagged with specific hashtags including views, channel info, and metadata.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

8 days ago

Last modified

Share

Scrape YouTube videos and Shorts by hashtag. Provide one or more hashtags and extract all tagged videos including title, channel info, view counts, publish time, duration, and more โ€” without needing cookies or a browser.

Features

  • Scrape videos from any YouTube hashtag page (youtube.com/hashtag/<tag>)
  • Supports both regular videos and Shorts
  • Filter by content type: All, Videos only, or Shorts only
  • Paginate through all available results up to your configured limit
  • Multi-market support (US, UK, Germany, India, Japan, Brazil, France, Spain, South Korea, Russia)
  • HTTP-only approach โ€” no browser overhead, fast and cost-efficient
  • Clean output with no null fields

Input

FieldTypeDefaultDescription
hashtagsstring[](required)Hashtags to scrape. Include or omit the # prefix (e.g. #programming or programming).
maxResultsPerHashtaginteger50Maximum videos to return per hashtag (1โ€“500).
contentTypestringallContent to collect: all, videos (regular only), or shorts (Shorts only).
marketstringUSCountry/region for localized results: US, GB, DE, IN, JP, BR, FR, ES, KR, RU.

Output

Each row in the dataset represents one video or Short:

FieldTypeDescription
hashtagstringNormalized hashtag (no # prefix).
positioninteger1-indexed position within the hashtag results.
videoIdstringYouTube video ID (use with youtube.com/watch?v=<videoId>).
titlestringVideo title.
channelNamestringName of the channel that posted the video.
channelIdstringYouTube channel ID (e.g. UCxxxxxx).
channelUrlstringFull URL to the channel page.
viewCountTextstringHuman-readable view count (e.g. 1.2M views).
publishedTimeTextstringRelative publish time (e.g. 3 days ago). Regular videos only.
durationTextstringVideo duration (e.g. 12:34). Regular videos only.
thumbnailUrlstringURL of the highest-resolution thumbnail.
isShortbooleantrue if the item is a YouTube Short; false for regular videos.
badgesstring[]Optional content badges (e.g. ["CC", "4K"]). Omitted when empty.
scrapedAtstringISO 8601 UTC timestamp of when the data was collected.

Fields that cannot be populated are omitted from the output rather than returned as null.

Example Output

[
{
"hashtag":"programming",
"position":1,
"videoId":"dQw4w9WgXcQ",
"title":"Learn Python in 10 Minutes",
"channelName":"Code Academy",
"channelId":"UC1234567890",
"channelUrl":"https://www.youtube.com/@codeacademy",
"viewCountText":"2.4M views",
"publishedTimeText":"1 month ago",
"durationText":"10:42",
"thumbnailUrl":"https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
"isShort":false,
"scrapedAt":"2026-06-19T10:00:00+00:00"
},
{
"hashtag":"programming",
"position":2,
"videoId":"abcde12345",
"title":"#coding life ๐Ÿ–ฅ๏ธ",
"viewCountText":"58K views",
"thumbnailUrl":"https://i.ytimg.com/vi/abcde12345/hqdefault.jpg",
"isShort":true,
"scrapedAt":"2026-06-19T10:00:00+00:00"
}
]

FAQ

Do I need cookies or a YouTube account? No. YouTube hashtag pages are fully public. This actor uses HTTP requests only โ€” no browser, no login, no cookies required.

Why are some fields missing from Shorts? YouTube's Shorts cards don't expose channel info, duration, or publish time in the same way as regular videos. The scraper only outputs fields that actually contain data โ€” no null/empty placeholders.

How many results can I get per hashtag? Up to 500 per hashtag. YouTube typically loads around 24 videos per page; the scraper automatically paginates using YouTube's InnerTube API to collect more.

What does the market setting do? It sets the gl (country) and hl (language) parameters on the request, which changes the regional ranking and language of results. Use US for English results.

Can I scrape multiple hashtags at once? Yes โ€” just add multiple entries to the hashtags list. The actor scrapes each hashtag sequentially and combines all results in the output dataset.

What content types are available?

  • all โ€” Scrapes the "All" tab (regular videos) plus the "Shorts" tab.
  • videos โ€” Scrapes only the "All" tab, skipping Shorts.
  • shorts โ€” Fetches only the "Shorts" tab content.

What if a hashtag has no videos? The actor logs a warning and continues to the next hashtag โ€” it won't crash the run.

YouTube Scraper Suite

This actor is part of a complete YouTube data extraction toolkit. Explore the full suite:

ActorDescription
YouTube Channel ScraperChannel metadata, subscriber counts, and full video catalogs
YouTube Channel Scraper FastStreamlined channel scraper for high-volume and speed-sensitive workflows
YouTube Comment ScraperComments, replies, likes, author info, and pinned/hearted status
YouTube Email ScraperCreator contact emails from channel pages, Instagram, TikTok, and Linktree
YouTube Hashtag ScraperVideos and Shorts tagged with specific hashtags
YouTube Playlist ScraperAll videos and metadata from any YouTube playlist
YouTube Search ScraperSearch results including videos, channels, and playlists
YouTube Shorts ScraperShorts from channels or hashtags with full view and like metadata
YouTube Transcript ScraperTimed transcripts and captions with optional Whisper AI fallback
YouTube Trending ScraperRanked trending videos by category โ€” Gaming, Music, News, Movies
YouTube Video Details ScraperComprehensive video metadata, chapters, endscreen, captions, and comments
YouTube Video DownloaderDownload videos, playlists, and channels in any quality with metadata

You might also like

YouTube Hashtag Video & Shorts Scraper ๐ŸŽฅ

easyapi/youtube-hashtag-video-shorts-scraper

Scrape YouTube videos and Shorts by hashtag - Extract comprehensive video data including titles, views, channel info, and more. Perfect for content analysis and market research.

YouTube Hashtag Scraper (Videos & Shorts)

lurkapi/youtube-hashtag-scraper

Scrape videos and Shorts from YouTube hashtag pages. Get titles, channels, views, duration, thumbnails, and more.

Youtube Video Scraper By Hashtag

scraper-engine/youtube-video-scraper-by-hashtag

Extract YouTube video data by hashtags ๐ŸŽฏ. The YouTube Video Scraper by Hashtag collects titles, channels, views, tags, and URLs from videos using specific hashtags. Perfect for hashtag research, trend analysis, and YouTube SEO optimization. ๐Ÿš€

๐Ÿ‘ User avatar

Scraper Engine

9

YouTube Video Scraper By Hashtag

api-empire/youtube-video-scraper-by-hashtag

YouTube Video Scraper By Hashtag extracts videos linked to any YouTube hashtag. Collect titles, creators, views, likes, thumbnails, tags, and metadata. Ideal for trend research, content analysis, competitor tracking, and workflows needing structured hashtag-based YouTube data.

Youtube Hashtag Videos Urls Scraper

sasky/youtube-hashtag-videos-urls-scraper

Scrapes Youtube videos URLs related to a given hashtag

Abdulrahman

15

YouTube Video Scraper By Hashtag

simpleapi/youtube-video-scraper-by-hashtag

YouTube Video Scraper by Hashtag extracts videos associated with any YouTube hashtag, capturing titles, descriptions, creators, metrics, timestamps, and video URLs. Perfect for trend tracking, content research, hashtag analysis, and automating structured YouTube hashtag-based data collection.