YouTube Hashtag Extractor
Pricing
from $2.99 / 1,000 hashtags
YouTube Hashtag Extractor
Extract deduplicated hashtags and supporting metadata from validated YouTube video URLs and IDs.
Pricing
from $2.99 / 1,000 hashtags
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Extract the hashtags written in a public YouTube video's description, together with the video's embedded metadata, channel details, thumbnail set, duration, and view statistics. Supply watch, Shorts, embed, or live URLs (or bare 11-character IDs); the Actor reads the public watch page, extracts hashtags from the description only, and keeps YouTube keyword tags in a separate videoTags field.
Get started
- Open the Actor Store page and select Try for free or open the Input tab.
- Add at least one URL or ID to
videoUrlsorvideoIds. Watch, Shorts, embed, live, andyoutu.belinks are accepted. - Keep
maxItemssmall for the first run. The default is50; the hard limit is200. - Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open Run summary (
OUTPUT) to check the outcome and request counts.
Input
At least one value in videoUrls or videoIds is required at runtime, even though the schema marks every property optional. All other fields have defaults. Invalid or unsupported URLs and out-of-range values are rejected before any request starts.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
videoUrls | string array | Optional | Prefilled with ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"] | YouTube watch, Shorts, embed, live, or youtu.be URLs, or bare 11-character IDs. Up to 200 items. |
videoIds | string array | Optional | Not supplied | Additional bare 11-character IDs. Deduplicated with videoUrls. Up to 200 items. |
maxItems | integer | Optional | 50 | Maximum unique videos processed after deduplication, from 1 to 200. |
enableProxyFallback | boolean | Optional | true | Try the fallback route after direct access fails. The fallback needs a usable proxy configuration. |
maxRetries | integer | Optional | 2 | Retry attempts per route after a failed watch-page request, from 0 to 3. |
requestDelayMs | integer | Optional | 250 | Delay between videos, from 0 to 5,000 ms. |
requestTimeoutSecs | integer | Optional | 60 | Timeout for one watch-page request, from 15 to 180 seconds. |
proxyConfiguration | object | Optional | Prefilled with {"useApifyProxy": false} | Standard Apify Proxy configuration. Proxy URLs must be credential-free. |
Example input using the prefilled URL and the schema defaults:
{"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"maxItems": 50,"enableProxyFallback": true,"maxRetries": 2,"requestDelayMs": 250,"requestTimeoutSecs": 60,"proxyConfiguration": {"useApifyProxy": false}}
The runtime also accepts includeDiagnostics (boolean, default true), which is recorded in OUTPUT but is not exposed in the Console input schema.
The Actor requests public watch pages over HTTPS. It does not use the YouTube Data API, a signed-in session, or browser fingerprints. URLs are normalized to https://www.youtube.com/watch?v=<id>; duplicate IDs keep the first supplied URL as originalUrl.
Output
The dataset contains one row per video whose public watch page exposed embedded metadata. Missing optional values are omitted rather than guessed, and no diagnostic or placeholder rows are written.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string | Always | Record type; always youtube_video_hashtag. |
videoId | string | Always | 11-character YouTube video ID parsed from the supplied URL or ID. |
url | string | Always | Canonical HTTPS watch URL built from the video ID. |
originalUrl | string | Always | Target exactly as supplied, before normalization. |
sourceUrl | string | Always | Public watch-page URL requested for the video. |
title | string | When the page exposes it | Video title from the embedded player data. |
description | string | When the video has a description | Full public description text. |
descriptionLength | integer | When the video has a description | Length of description in JavaScript string units (UTF-16 code units). |
thumbnail | string | When thumbnails exist | Largest thumbnail URL in the set. |
thumbnails | object array | When thumbnails exist | Up to 16 thumbnail objects with url, width, and height. |
thumbnailCount | integer | Always | Number of entries in thumbnails; 0 when the page exposes no thumbnails. |
hashtags | string array | When the description contains hashtags | Unique hashtags found in the description, in first-seen order and original case. |
hashtagsText | string | When the description contains hashtags | Space-joined hashtag string. |
hashtagCount | integer | Always | Number of unique description hashtags; 0 when none were found. |
videoTags | string array | When the page exposes keywords | Up to 100 YouTube keyword tags. These are not description hashtags. |
channel | object | When owner data is available | Channel id, name, url, and subscriberCountText when each is present. |
statistics | object | When statistics are available | viewCount, likeCount when the page shows a like count, and durationSeconds. |
metadata | object | When microformat data is available | category, publishedDate, uploadDate, isFamilySafe, and isLiveContent when present. |
durationText | string | When duration is available | Duration formatted as M:SS or H:MM:SS. |
durationSeconds | integer | When duration is available | Duration in seconds from the embedded player data. |
isLive | boolean | Always | Whether the video is marked live or live content; false when no live signal is present. |
isShort | boolean | Always | true when the duration is 60 seconds or less; false also covers an unknown duration. Duration-based, not URL-based. |
publicMetadataAvailable | boolean | Always | Always true for saved rows. |
metadataSource | string | Always | Always youtube-public-watch-page-embedded-data. |
extractionMethod | string | Always | Always youtube-public-watch-page-embedded-player-and-initial-data. |
sourceType | string | Always | Always youtube-watch-page. |
source | string | Always | Always youtube-public-watch-page. |
scrapedAt | string | Always | Time the row was saved, in ISO UTC. |
hashtags and videoTags are different signals: hashtags are parsed only from description, while videoTags are the keywords YouTube stores for the upload. likeCount and some metadata subfields are often absent because the public page does not render them.
The example below is a real saved row from the 2026-10-25 run. The description, thumbnail list, and video-tag list are shortened for readability; every other field is complete.
{"recordType": "youtube_video_hashtag","videoId": "dQw4w9WgXcQ","url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","originalUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","sourceUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)","description": "The official video for “Never Gonna Give You Up” by Rick Astley. Never: The Autobiography 📚 OUT NOW! Follow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️ #RickAstleyNever https://linktr.ee/rickastleynever “Never Gonna Give You Up” was a global smash on its release in July 1987, topping the charts in 25 countries including Rick’s native UK and the US Billboard Hot 100. It als…","descriptionLength": 2350,"thumbnail": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/maxresdefault.webp","thumbnails": [{"url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLDd2KtelLHaNSXrI9_5K-NvTscKNw","width": 168,"height": 94},{"url": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/maxresdefault.webp","width": 1920,"height": 1080}],"thumbnailCount": 5,"hashtags": ["#RickAstleyNever","#RickAstley","#NeverGonnaGiveYouUp","#WheneverYouNeedSomebody","#OfficialMusicVideo"],"hashtagsText": "#RickAstleyNever #RickAstley #NeverGonnaGiveYouUp #WheneverYouNeedSomebody #OfficialMusicVideo","hashtagCount": 5,"videoTags": ["rick astley","Never Gonna Give You Up","nggyu"],"channel": {"id": "UCuAXFkgsw1L7xaCfnd5JJOw","name": "Rick Astley","url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw","subscriberCountText": "4.55M subscribers"},"statistics": {"viewCount": 1830487421,"durationSeconds": 213},"metadata": {"category": "Music","publishedDate": "2009-10-24T23:57:33-07:00","uploadDate": "2009-10-24T23:57:33-07:00","isFamilySafe": true,"isLiveContent": false},"durationText": "3:33","durationSeconds": 213,"isLive": false,"isShort": false,"publicMetadataAvailable": true,"metadataSource": "youtube-public-watch-page-embedded-data","extractionMethod": "youtube-public-watch-page-embedded-player-and-initial-data","sourceType": "youtube-watch-page","source": "youtube-public-watch-page","scrapedAt": "2026-10-25T20:49:33.085Z"}
Run summary
Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.
| Field | Meaning |
|---|---|
runType | Run type; always youtube-public-video-hashtag-extraction-run. |
status | Actor process outcome: SUCCEEDED or FAILED. |
dataStatus | Dataset completeness: COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
dataAvailable | Whether at least one video row was saved. |
requestedVideoCount | Unique targets remaining after deduplication and the maxItems cap. |
processedVideoCount | Videos attempted, whether or not a row was saved. |
itemCount | Video rows saved to the dataset. |
requestCount | Watch-page requests started; retries made inside a request are not counted separately. |
diagnosticCount | Distinct operational issues recorded for the run. |
failedCount | Videos that failed plus a fatal input or runtime failure, if any. |
blockedCount | Failed videos or runs whose error matched an access-block signal. |
proxyRequested | Whether proxy use was requested explicitly or through fallback. |
proxyConfigured | Whether at least one proxy URL was obtained during the run. |
includeDiagnostics | Whether diagnostics were recorded; default true. |
enableProxyFallback | Whether the proxy fallback flag was enabled. |
maxItems | Effective unique-video cap, from 1 to 200. |
maxRetries | Retries per route, from 0 to 3. |
requestDelayMs | Delay between videos, from 0 to 5,000 ms. |
requestTimeoutSecs | Per-request timeout, from 15 to 180 seconds. |
durationMs | Elapsed run time in milliseconds. |
finishedAt | Time the summary was written, in ISO UTC. |
runStatus | Canonical run status; matches status. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | At least one row was saved and no video failed. |
SUCCEEDED | PARTIAL | Rows were saved, but at least one video failed. Saved rows remain available. |
SUCCEEDED | NO_RESULTS | No row was saved and no failure was recorded. Input validation normally prevents this state. |
FAILED | FAILED | No row was saved and at least one request or the input failed. |
Example OUTPUT from the 2026-10-25 run:
{"runType": "youtube-public-video-hashtag-extraction-run","status": "SUCCEEDED","dataStatus": "COMPLETE","dataAvailable": true,"requestedVideoCount": 1,"processedVideoCount": 1,"itemCount": 1,"requestCount": 1,"diagnosticCount": 0,"failedCount": 0,"blockedCount": 0,"proxyRequested": false,"proxyConfigured": false,"includeDiagnostics": true,"enableProxyFallback": false,"maxItems": 1,"maxRetries": 2,"requestDelayMs": 0,"requestTimeoutSecs": 60,"durationMs": 1485,"finishedAt": "2026-10-25T20:49:33.164Z","runStatus": "SUCCEEDED"}
Coverage and limitations
The Actor reads only public YouTube watch pages. It does not scrape hashtag result pages, channel pages, comments, or transcripts, and it cannot recover a video whose page withholds embedded metadata or returns an access block. Hashtags are taken from the description text only; a hashtag used in the title, keywords, or thumbnail is not added to hashtags. videoTags is a separate keyword list and may contain terms that never appear as hashtags.
Shorts, embed, and live URLs are normalized to watch pages, so the output does not preserve which URL form was supplied beyond originalUrl. isShort is inferred from a duration of 60 seconds or less and can be wrong for a long-form video that is short, or a Short longer than 60 seconds. Counts, like visibility, channel subscriber text, and metadata subfields are point-in-time values that YouTube can change or omit.
A failed video does not create a dataset row; failures are counted in OUTPUT and summarized in the log. If at least one row was saved, the run remains successful with dataStatus: "PARTIAL". Input validation failures happen before requests and produce no rows.
Usage and support
Cost depends on Apify compute, the number of watch-page requests, and any proxy use. Each video needs one request plus retries when it fails. Start with a small maxItems, inspect the dataset and OUTPUT, then scale. See the Actor's Pricing tab for current account rates.
Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by YouTube or Google. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.