YouTube Hashtag Video & Shorts Ranking Scraper
Look up one or more YouTube hashtags and get the videos and Shorts currently ranked under them, in order, with view count, channel, duration and the hashtag's own total video and channel counts.
Open in Apify Store$0.99 / 1K on Free
Short answer
YouTube Hashtag Video & Shorts Ranking Scraper is an Apify Store Actor for YouTube data that returns 40 published output fields, including videoId, title, url, channelName. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 9 input settings; one is required (hashtags). It covers 7 of the 8 core YouTube fields this site tracks. Last updated Nov 5, 2026.
From the public Store listing and published build schema, synced 2026-11-12.What it returns
40 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.
hashtagpositiontypevideoIdtitleurlchannelNameviewCountpublishedAthashtagUrlhashtagTitlevideoCountTextvideoCountchannelCountTextchannelCountrecordTypesuccesschannelIdchannelUrlchannelHandlechannelAvatarUrlchannelSubscriberCountTextchannelSubscriberCountviewCountTextlikeCountTextlikeCountcommentCountTextcommentCountpublishedTimeTextdurationText
Show the other 10 fields
durationSecondsthumbnailUrlisShortdescriptionkeywordscategorybadgesscrapedAterrorCodeerror
Not in the schema among the core YouTube fields: transcript. The field matrix shows which other tools return them.
How it differs from the other YouTube Actors
Every field it publishes also appears in at least one of the other 16 catalogue Actors for YouTube with a schema, so pick on price, input options and the fields below.
Pick another Actor if you need
| Actor | Fields it adds | Price / 1K |
|---|---|---|
| YouTube Search Results & Entity Type Scraper | channelVerified, tags, isLive, isUpcoming | $0.99 |
| YouTube Shorts Metadata Extractor for Channels & Hashtags | uploadDate, publishDate, captionLanguages, channelUsername | $0.99 |
| YouTube Channel Video Catalog & Profile Scraper | authorMetadata.subscriberCount, isLive, isUpcoming, isMembersOnly | $0.99 |
| YouTube Caption & Whisper AI Transcript Extractor | transcript_language, segment_count, transcript_available, transcript_source | $0.99 |
| YouTube Trending Feed Extractor by Category & Market | sourceName, countryCode, trackId, artistId | $0.99 |
Input
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| hashtags | array | Yes | – | Hashtags to scrape. Accepts a bare tag, a #tag, or a full youtube.com/hashtag/<tag> URL. Up to 200 unique tags per run. |
| maxResultsPerHashtag | integer | No | 50 | Maximum records to return per hashtag after sorting and filters. YouTube's hashtag feed is a ranked sample, so large values may return fewer rows. |
| contentType | string | No | all | Which cards to return: regular videos, Shorts, or both. |
| market | string | No | US | Country/region used for the hashtag feed. It changes which videos rank and the default language. |
| language | string | No | auto | Language used for YouTube labels, counts and dates. Auto follows the selected market. |
| includeVideoDetails | boolean | No | true | Fetch each video's detail data to fill exact views, likes, comments, subscriber counts, publish date, description, keywords, category and Shorts channel metadata. Slower but more complete. |
| sortBy | string | No | default | Order the collected results within each hashtag. Default keeps YouTube's first-seen feed order. |
| minViewCount | integer | No | – | Drop videos with fewer than this many views. Turns on detail enrichment so compact Shorts labels are not mis-filtered. |
| publishedAfter | string | No | – | Only keep videos published on or after this date (YYYY-MM-DD). Turns on detail enrichment. |
Example input
Built from the input form's published example values and defaults.
{
"hashtags": [
"programming"
],
"maxResultsPerHashtag": 2,
"contentType": "videos",
"market": "US",
"language": "auto",
"includeVideoDetails": false,
"sortBy": "default"
} Run it from code or an AI agent
The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.
Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
"hashtags": [
"programming"
],
"maxResultsPerHashtag": 2,
"contentType": "videos",
"market": "US",
"language": "auto",
"includeVideoDetails": False,
"sortBy": "default"
}
run = client.actor("dataspryva/youtube-hashtag-video-and-shorts-ranking-scraper").call(run_input=run_input)
if run is None:
raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item) pip install apify-client
JavaScript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
"hashtags": [
"programming"
],
"maxResultsPerHashtag": 2,
"contentType": "videos",
"market": "US",
"language": "auto",
"includeVideoDetails": false,
"sortBy": "default"
};
const run = await client.actor("dataspryva/youtube-hashtag-video-and-shorts-ranking-scraper").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items); npm install apify-client
cURL
curl -X POST "https://api.apify.com/v2/actors/dataspryva~youtube-hashtag-video-and-shorts-ranking-scraper/run-sync-get-dataset-items" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"hashtags":["programming"],"maxResultsPerHashtag":2,"contentType":"videos","market":"US","language":"auto","includeVideoDetails":false,"sortBy":"default"}' Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).
MCP (AI agents)
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=dataspryva/youtube-hashtag-video-and-shorts-ranking-scraper",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
} Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.
What a run costs
The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.
| Apify plan | Per 1,000 | 10,000 results | 100,000 results |
|---|---|---|---|
| Free plan | $0.99 | $9.90 | $99 |
| Starter plan | $0.82 | $8.20 | $82 |
| Scale plan | $0.66 | $6.60 | $66 |
| Business plan | $0.49 | $4.90 | $49 |
- Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
- The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
- Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
- Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.
Where it fits among YouTube routes
It ranks 5 of 17 catalogue Actors for YouTube on the published formula (fields, price, reliability, freshness). Its line is highlighted on the map.
- 1 YouTube Search Results & Entity Type Scraper 42 output fields, pay per event 7 of 8 core fields
$0.99 / 1K - 2 YouTube Shorts Metadata Extractor for Channels & Hashtags 38 output fields, pay per event 7 of 8 core fields
$0.99 / 1K - 3 YouTube Channel Video Catalog & Profile Scraper 49 output fields, pay per event 6 of 8 core fields
$0.99 / 1K - 5 YouTube Hashtag Video & Shorts Ranking Scraper 40 output fields, pay per event 7 of 8 core fields
$0.99 / 1K - + 7 other Store tools, combined Reference only 8 of 8 core fields
from $0.01 / 1K - API YouTube Data API v3 Public API fields not compared
Stops are fields. A ring means the field is in that route's published output schema; no ring means the line passes without it. Bold labels are the core fields for this website, the rest are fields that differ between routes. A white capsule means every data line stops there. The red line is the official API; its field coverage is not compared. A crossed red line means there is no open official API.
Official route: YouTube Data API v3
Public API. The Data API exposes public video, channel, playlist and comment data. Each project receives a daily quota measured in units.
No per-call fee is published; the constraint is the daily quota. Extra quota is not self-serve.
Other Store tools for YouTube
Reference only, from their public listings.
| Tool | Fields | Price / 1K |
|---|---|---|
| Youtube Channel Video Scraper | 23 | $1.00 |
| YouTube Video Transcript | 25 | $5.00 |
| YouTube Scraper: Videos, Channels & Search | 14 | $0.50 |
| YouTube Video Downloader | 26 | $5.00 |
| Youtube Video/Shorts Details Scraper Pro | 7 | $0.01 |
What people use it for
YouTube hashtag records include video and Shorts positions, titles, URLs, channels, views and durations, alongside the hashtag's video and channel totals. Comparing which videos rank under specific tags is its focus, while the catalogue's search, channel and trending tools organize discovery around different feeds.
Supply hashtags as bare tags, tags with a hash sign or full YouTube hashtag URLs.
- Compare position, title and channelName across hashtags to identify videos appearing in several tag feeds.
- Use type, viewCount and durationSeconds to compare the videos and Shorts collected under a hashtag.
- Track videoCount and channelCount across saved collections using hashtag and scrapedAt.
- Hashtag ranking analysis
- Video discovery
Tips
- Set contentType to regular videos, Shorts or both to scope the cards returned.
- Use maxResultsPerHashtag to cap records after sorting and filtering, allowing for fewer results when YouTube's ranked sample is smaller.
Other catalogue Actors for YouTube
YouTube Search Results & Entity Type Scraper
Search YouTube by keyword for videos, Shorts, channels, or playlists, with view counts, duration, and channel details, filterable by upload date,…
YouTube Shorts Metadata Extractor for Channels & Hashtags
Pull Shorts from a channel's Shorts tab, a hashtag feed, or specific Shorts links, with views, likes, comment counts, upload dates and channel…
YouTube Channel Video Catalog & Profile Scraper
Get a YouTube channel's profile details (subscribers, description, links, verification) together with its video, Shorts, playlist or live-stream…
YouTube Caption & Whisper AI Transcript Extractor
Get timestamped transcripts from YouTube videos in your preferred language, with optional AI transcription for videos that have no captions at…
YouTube Trending Feed Extractor by Category & Market
Get video lists for YouTube's Gaming, Music, News, Movies and Trending sections in any of 31 regional markets, with views, duration and channel…
YouTube Playlist Contents & Channel Playlist Finder
List every video in a YouTube playlist, or discover every public playlist a channel owns, with titles, durations, thumbnails, and playlist metadata.
Similar Actors
YouTube Channel Video Feed Quick Scraper
Quickly list any YouTube channel's videos, sorted newest, most popular or oldest, with channel subscriber count, verification and optional Shorts,…
YouTube Video Metadata & Chapter Extractor
Get full metadata for any YouTube video or Short: channel info, chapters, endscreen elements, caption track list, related videos and comments,…
YouTube Video, Playlist & Channel Downloader with Metadata
Download YouTube videos from direct links, playlists, channels, or search phrases at your chosen quality, with a public file link plus title,…
YouTube SponsorBlock Segments Scraper
Get community-reported SponsorBlock segments for any YouTube video: sponsor reads, intros, outros, self-promos, filler, highlights, and more, with…
YouTube Video Comment & Reply Thread Scraper
Get a YouTube video's comments with nested replies attached, author identity, like counts, and pinned/hearted/verified flags, filterable by…
Bilibili Video Search, Ranking & Metadata Scraper
Search Bilibili videos by keyword, look up specific videos by URL or ID, or pull the popular feed and partition ranking charts, with view, like…
Questions people ask
Can I collect every video carrying a hashtag?
YouTube's hashtag feed is a ranked sample, and collection follows the reachable feed. Increasing maxResultsPerHashtag can still return fewer rows than requested.
How do I get exact views and additional engagement fields?
Enable includeVideoDetails to fetch exact views, likes, comments, subscriber counts and additional video metadata. Detail enrichment is slower and also turns on when minViewCount or publishedAfter is used.
How much does YouTube Hashtag Video & Shorts Ranking Scraper cost?
The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.
What data does YouTube Hashtag Video & Shorts Ranking Scraper return?
Its published output schema lists 40 fields: hashtag, position, type, videoId, title, url, channelName, viewCount, publishedAt, hashtagUrl, hashtagTitle, videoCountText, and 28 more. A listed field is not guaranteed to be filled in every row.
What input does YouTube Hashtag Video & Shorts Ranking Scraper need?
Required: hashtags. Optional settings include maxResultsPerHashtag, contentType, market, language, includeVideoDetails, sortBy.
What are the alternatives to YouTube Hashtag Video & Shorts Ranking Scraper for YouTube?
17 catalogue Actors cover YouTube. Close alternatives: YouTube Search Results & Entity Type Scraper; YouTube Shorts Metadata Extractor for Channels & Hashtags; YouTube Channel Video Catalog & Profile Scraper. The YouTube page compares all of them field by field.
How do I run YouTube Hashtag Video & Shorts Ranking Scraper from Python or the API?
Use the Apify API client: in Python, ApifyClient(token).actor("dataspryva/youtube-hashtag-video-and-shorts-ranking-scraper").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("dataspryva/youtube-hashtag-video-and-shorts-ranking-scraper").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/dataspryva~youtube-hashtag-video-and-shorts-ranking-scraper/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.
Sources
- YouTube Hashtag Video & Shorts Ranking Scraper on Apify Store
- Published build with input and output schema (JSON)
- YouTube Data API v3 documentation
Cite this page
Scraper Finder. "YouTube Hashtag Video & Shorts Ranking Scraper." https://scraperfinder.com/catalogue/youtube-hashtag-video-and-shorts-ranking-scraper/ (data checked 2026-11-12).
Run YouTube Hashtag Video & Shorts Ranking Scraper
$0.99 per 1,000 results. Paste the example input above, set your YouTube query, then export the dataset. Still choosing? Compare every YouTube route.