YouTube Search Scraper
Pricing
from $2.80 / 1,000 result items
YouTube Search Scraper
YouTube search scraper with no API key and no login: videos, Shorts, channels or playlists for any keyword, with views, duration, upload date, channel and position. Filters for type, upload date, duration and popularity. Monitor mode alerts on new videos for a saved search.
Pricing
from $2.80 / 1,000 result items
Rating
0.0
(0)
Developer
Viktor Dubnytskiy
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Features
Share
Search YouTube by keyword and get one flat row per result: video id, URL, title, channel, views, duration, upload date, live and Shorts flags, thumbnail and position in the results. No API key, no quota, no login. The actor asks YouTube search the same way a logged-out visitor does, with YouTube's own filters for type, upload date, duration and popularity.
Try it: the prefilled example returns 20 rows in about 5 seconds and costs about $0.07. Results cost $3.50 per 1,000.
What you get
Real rows from the example dataset (the prefilled run, queries: ["python tutorial"], 20 rows):
| position | title | channel | views | duration | published |
|---|---|---|---|---|---|
| 1 | Python Full Course for free 🐍 | Bro Code | 13,252,030 | 12:00:00 | 2 years ago |
| 2 | Python for Beginners - Learn Coding with Python in 1 Hour | Programming with Mosh | 25,801,817 | 1:00:06 | 6 years ago |
| 3 | Learn Python in Less than 10 Minutes for Beginners (Fast & Easy) | Indently | 1,892,308 | 10:30 | 5 years ago |
| 4 | Python Tutorial for Beginners - Learn the basics in 20 Min | Tech With Tim | 89,456 | 19:39 | 3 months ago |
| 5 | Python Full Course for Beginners | Programming with Mosh | 49,502,073 | 6:14:07 | 7 years ago |
Full row: id, url, resultType (video, short, channel, playlist), videoId, title, channelName,
channelId, channelUrl, channelHandle, publishedText, publishedAt, viewCountText, viewCount,
durationSeconds, isLive, isShort, thumbnailUrl, descriptionSnippet, badges, playlistId, videoCount,
subscriberCount, query, position, scrapedAt.
Rows describe public videos and the channel that uploaded them. Nothing about viewers or commenters is collected.
Use cases
- Keyword research for creators and marketers. See what ranks for a phrase, who made it, how many views it has and how long it is, for many phrases in one run.
- Brand and competitor watch. Save a search for your brand or product name in monitor mode and get only the new videos on every run, by webhook or Telegram.
- Lead lists of channels in a niche. Switch the type to Channels and get channel names, handles and subscriber counts for a topic.
- Fresh content feeds. Combine a query with Upload date "Today" or "Last hour" for a live feed of new uploads.
Try it in 10 seconds
One-off search. Press Start: the prefilled input searches python tutorial and returns the top 20 videos.
Monitor mode. Save a task with this input and put it on a schedule (Apify, Schedules, e.g. daily):
{"mode": "monitor","monitorStateId": "brand-watch","queries": ["your brand name"],"uploadDate": "week","webhookUrl": "https://your-endpoint.example.com/hook"}
Each monitor run charges one monitor-check event and returns only videos that were not in the previous run's
results, each billed as one change event. Monitor mode compares video ids only, so a view count moving on a known
video does not count as a change.
Related actors
- YouTube Transcript Scraper: the full transcript of every video you found.
- YouTube Comments Scraper: comment texts and like counts for a list of videos.
- YouTube Channel Monitor: watch a fixed list of channels for new uploads.
- YouTube Shorts Scraper: every Short on a channel's Shorts tab.
Input
| Field | Meaning | Default |
|---|---|---|
queries | Search phrases, one per line | ["python tutorial"] |
type | video, shorts, channel or playlist | video |
uploadDate | any, hour, today, week, month, year | any |
duration | any, short (under 3 min), medium (3 to 20 min), long (over 20 min) | any |
sortBy | relevance or views (YouTube's "Popularity") | relevance |
maxItemsPerQuery | Rows per query, 1 to 1000 | 50 (prefilled 20) |
maxItems | Rows per run in total | 200 (prefilled 20) |
strictQueryMatch | Drop YouTube's filler rows for a query it found nothing for | true |
tier, proxyCountry | Proxy tier (auto climbs only on a bot check) and region | auto, US |
mode, monitorStateId, webhookUrl, telegramBotToken, telegramChatId | Monitor mode and alerts | scrape |
How it works
- Each query is sent to YouTube search with the filters you picked, encoded exactly as YouTube's own filter menu encodes them.
- Further pages follow the results list's own "load more" continuation until the list ends, every result was
already seen, or
maxItemsPerQueryis reached. - If YouTube answers with a bot check, the request is retried on a stronger proxy tier. A run where every request was refused ends as blocked, never as an empty "no results".
Pricing
| Event | Price |
|---|---|
| result | $0.0035 per row ($3.50 per 1,000) |
| monitor-check | $0.005 per monitor run |
| change | $0.0035 per new video in monitor mode |
Store discounts: SILVER plan -10%, GOLD and above -20% on every event.
You pay only for rows that are pushed. Filler rows dropped by strictQueryMatch are never pushed and never charged. Platform usage is billed by Apify on top. Most runs need no proxy at all.
Limits
viewCountis exact on video rows. On Shorts grid rows YouTube shows a rounded figure ("1.7M views") and no channel, so those fields are rounded or empty.publishedAtis computed from YouTube's relative label ("13 hours ago") and is approximate. Labels in months or years are too coarse, sopublishedAtstays empty andpublishedTextkeeps the label.- Live streams show "N watching" instead of a view count, so
viewCountis empty andisLiveis true. - YouTube removed sorting by upload date and by rating from its search. Use the Upload date filter for fresh videos.
- For a typo or a nonsense query YouTube searches a "corrected" query and pads the list with unrelated videos. With
strictQueryMatchon (the default) only rows containing a word of your query are kept, which can mean zero rows; the query is then listed underskippedQueriesin the run'sADAPTER_STATSrecord.
FAQ
Does it need a YouTube API key or account? No. The actor never asks for a YouTube login, cookies or an API key. The only token field is the optional Telegram bot token for monitor-mode alerts.
Why did a run return nothing? The RUN_SUMMARY record in the run's key-value store has emptyReason. A bot
check is reported as blocked, an empty search as no_matches.
Changelog
- 0.1: initial release. Keyword search for videos, Shorts, channels and playlists with YouTube's type, upload date,
duration and popularity filters, continuation paging, filler filter (
strictQueryMatch), proxy ladder on a bot check, monitor mode for new videos.
If this actor saved you time, a short review on its Store page helps other people find it. Missing a field? Open an issue on the Issues tab.