YouTube Hashtag Scraper
Pricing
from $2.99 / 1,000 hashtag videos
YouTube Hashtag Scraper
Collect rich public video cards from one or more current YouTube hashtag pages.
Pricing
from $2.99 / 1,000 hashtag videos
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
15 hours ago
Last modified
Categories
Share
Collect rich public video and Shorts observations for one or more hashtags. The actor queries ordinary public YouTube search pages using the hashtag, parses embedded public page metadata, and avoids private clients, browser automation, and continuation endpoints.
Input
| Field | Default | Description |
|---|---|---|
hashtags | — | Required; 1–20 tags, with or without #. |
limit | 10 | Maximum unique records per hashtag, 1–50. |
countryCode | US | Two-letter public page country context. |
locale | en-US | Public page language-country locale. |
includeDiagnostics | true | Emit exact four-field diagnostics for failed/empty pages. |
enableProxyFallback | true | Try account-authorized Apify Proxy after direct access fails. |
requestDelayMs | 250 | Delay between hashtag requests, 0–5000 ms. |
requestTimeoutSecs | 60 | Public request timeout, 15–180 seconds. |
proxyConfiguration | — | Optional standard Apify Proxy configuration; proxy URLs must be credential-free. |
Example:
{"hashtags": ["music", "travel"],"limit": 10,"countryCode": "US","locale": "en-US","includeDiagnostics": true,"enableProxyFallback": true}
Each dataset row includes the hashtag and rank, video/Short type, title, description and accessibility text, IDs and public URLs, thumbnails, displayed and parsed views, duration and seconds, channel identity, badges and verification flags, publication labels, query/page provenance, locale, parser metadata, and scrape time. The OUTPUT key-value record contains item counts, page coverage, proxy state, failures, and timings. Diagnostics contain only url, error, errorCode, and scrapedAt.
Run locally with apify run --purge --input-file qa-inputs/youtube-hashtag-scraper/local-validation.json, inspect storage/datasets/default/, and run npm run validate-dataset. Deploy with apify push, then verify direct and proxy cloud calls.