YouTube Search Scraper - Keyword Results, Views, 4K, Filters
Pricing
from $0.10 / 1,000 search result scrapeds
YouTube Search Scraper - Keyword Results, Views, 4K, Filters
[💰$0.10/1K] Scrape YouTube search results for any keyword: one row per video, Short, channel or playlist with title, URL, views, duration, upload age, channel link and rank. Upload date, length, 4K, HD, subtitles and live are sent as native YouTube filters. Export to CSV or Excel. No API key.
Pricing
from $0.10 / 1,000 search result scrapeds
Rating
0.0
(0)
Developer
Vladimir Che
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
9 days ago
Last modified
Categories
Features
Share
Search YouTube by keyword and export the results as a dataset. No login, no YouTube API key.
The source is YouTube's own search page read as a logged-out visitor. Filters are encoded into YouTube's native search parameters, so YouTube returns a narrower list instead of this actor dropping rows it already fetched.
What you get
One row per result. Channels, playlists, videos and Shorts share the same field set, so the column layout is stable between runs and between result kinds.
| Group | Fields |
|---|---|
| Identity | resultId, kind, videoId, playlistId, channelId, title, url |
| Placement | query, queryIndex, page, rank |
| Channel | channelName, channelHandle, channelUrl, channelAvatarUrl |
| Video | description, durationSecs, durationText, views, viewsText, shortViewCountText, isLive |
| Channel row | subscribers, subscribersText, verified |
| Playlist row | videoCount, videoCountText |
| Date | publishedText, publishedAgeSecs, publishedAtFrom, publishedAtTo, publishedPrecision |
| Media | thumbnailUrl |
| Meta | status, filterReason, scrapedAt |
kind is one of video, live, short, channel, playlist. Every field is always present, null when the result kind does not carry it.
A real row, taken from test/output-sample.json and produced by a real run:
{"resultId": "video:iVLr-PKuSd0","kind": "video","query": "test","queryIndex": 0,"page": 1,"rank": 1,"title": "Ultimate 4K OLED Test Experience: Incredible 16K HDR 60fps Dolby Vision Visuals (8K Video Ultra HD)","url": "https://www.youtube.com/watch?v=iVLr-PKuSd0","videoId": "iVLr-PKuSd0","playlistId": null,"channelId": "UChB3UnDddahXU7FKZXmpzMA","channelHandle": "@8kEarth","channelName": "8K Earth","channelUrl": "https://www.youtube.com/@8kEarth","channelAvatarUrl": "https://yt3.ggpht.com/I2tG3EKGxL0uvDi_eNr8bfD1IAgWj4eMpdqgHyc77qphTTCr3vvNCIM8LTkmEOJl27Bk9AlH=s68-c...","description": "Ultimate OLED Display Test in 16K HDR 60fps with Dolby Vision visuals. Built for 4K OLED and 8K Vide...","durationSecs": 4820,"durationText": "1:20:20","views": 565904,"viewsText": "565,904 views","shortViewCountText": "565K views","subscribers": null,"subscribersText": null,"videoCount": null,"videoCountText": null,"publishedText": "7 days ago","publishedAgeSecs": 604800,"publishedAtFrom": "2026-11-02T08:05:16.474Z","publishedAtTo": "2026-11-03T08:05:16.474Z","publishedPrecision": "text-interval","isLive": false,"verified": null,"thumbnailUrl": "https://i.ytimg.com/vi/iVLr-PKuSd0/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs...","status": "ok","filterReason": null,"scrapedAt": "2026-11-10T08:05:16.474Z"}
Long fields are truncated with ... in this sample. Output is available as JSON, CSV or Excel from the dataset tab.
How to use it
- Open this actor in the Apify Console.
- Put one keyword into Search query, or many into Queries. Both are read when both are set, up to 100 keywords.
- Pick what comes back with Result type: videos, Shorts, channels or playlists. Leave it empty to take whatever YouTube ranks first.
- Click Start, then export the dataset as CSV, Excel or JSON, or read it through the Apify API.
A run that covers most use cases:
{"searchQuery": "tech review","type": "video","maxResults": 50,"uploadDate": "month","duration": "medium","sortBy": "popularity"}
Parameters, one to one with the input schema.
| Input | Default | Notes |
|---|---|---|
searchQuery | empty | one keyword as a single line, for API runs |
queries | [] | several keywords in one run, up to 100 |
type | empty | video, shorts, channel, playlist, movie; empty takes every kind |
maxResults | 50 | cap on the whole dataset |
maxResultsPerQuery | 50 | cap on one keyword |
maxPagesPerQuery | 10 | pagination depth, about 20 results per page |
sortBy | relevance | relevance or popularity |
uploadDate | empty | today, week, month, year, a rolling window from now |
duration | empty | short under 4 minutes, medium 4 to 20, long over 20 |
features | [] | hd, uhd4k, subtitles, live, creativeCommons, deg3d, deg360, hdr, vr180, location, purchased |
language | en | YouTube hl, the interface language the labels are parsed in |
region | US | YouTube gl, the country the ranking is built for |
sameDomainDelaySecs | 1 | minimum gap between two requests to youtube.com |
requestTimeoutSecs | 30 | per-request timeout before a retry |
runBudgetSecs | the run timeout | leave it empty and the run uses the whole timeout you set |
proxyConfiguration | no proxy | not required, worth enabling on wide sweeps |
sortBy has only two values because YouTube search only has two. There is no "sort by upload date" on YouTube search: the results page offers relevance and popularity, and the date chips are filters, not orders. To read the freshest results, set uploadDate to today or week.
The summary records the exact params string that was sent, so any run can be reproduced.
Ready-made tasks
Four saved inputs, one per question this actor answers. Each one shows only the fields it needs, and each returns data on its first run.
| Task | Input | Question it answers |
|---|---|---|
| YouTube Video Search: Titles, Views and Channels | searchQuery, uploadDate | which videos rank for a keyword, with views, duration and publish date |
| YouTube Channel Search: Handles, Subs, Country | searchQuery, type: channel | which channels carry a keyword, with handle, subscribers and country |
| YouTube Keyword Research: Many Queries, One Run | queries, maxResultsPerQuery | how one shelf compares across several keywords in a single run |
| YouTube New Videos: Daily Results for a Keyword | searchQuery, uploadDate: today | what was published on this keyword today, ready for a schedule |
Use cases
- Content research on a niche. Pull the top results for a topic with
sortBy: popularityand see which formats and channels already win the shelf. - Competitor monitoring. Run the same keyword daily on
uploadDate: todayand diff the result ids to see who publishes what. - Keyword and title mining. Export titles of the top 200 results for a topic and reuse the wording that ranks.
- Influencer and channel sourcing. Set
type: channeland collect channels for a keyword, then feed the ids into a channel actor.
Cost
The price is $0.10 per 1 000 results, which is $0.0001 per result. The Store adds its 20 % margin, so a buyer pays $0.12 per 1 000. One apify-actor-start charge of $0.00005 applies per run.
You pay for a saved result row with status: ok and a resultId. Nothing else is charged:
- a keyword that yields nothing still leaves a row, with
no-resultsand free; - a failed request leaves a row with
fetch-failedand costs nothing; budget-exhaustedandinvalid-inputrows are free;- every row charges the same, whether it is a video, a channel or a playlist.
Honest limits
- View counts are abbreviated on the page.
viewsis exact only below 1 000.189Kbecomes189000and2,8 млн просмотровbecomes2800000, so a large count is an approximation of the printed label. - There is no absolute upload date. The page renders age as text, so
publishedAtFromandpublishedAtTobound the real timestamp andpublishedPrecisionis alwaystext-interval. Shorts list rows render no age at all, so their date fields are null rather than guessed. - Labels are parsed in 23 European interface languages. Outside that set you still get
publishedTextandviewsTextas rendered, but the parsed numbers may stay null. - A channel row carries no video counter. YouTube renders none on the search page, so
videoCountandvideoCountTextare filled on playlist rows only. duration: longcannot filter a livestream.durationSecsis null for livestreams that render no length, and a row with an unknown duration always survives that filter.- A busy schedule on one IP can meet HTTP 429. Raise
sameDomainDelaySecsor attach a proxy, both are input fields.
FAQ
Do I need a YouTube API key? No. The actor reads the public search page. There is no key and no quota to manage.
Why are subscribers null on video rows?
YouTube renders a subscriber counter only on channel rows of a search page. The field is null where the page shows no counter, it is not zero.
How do I get the newest videos only?
Set uploadDate to today or week. It is a rolling window measured from the moment of the run, not a calendar date.
Can one run cover several keywords?
Yes. Put them in queries, up to 100. Each row carries query and queryIndex, so results from different keywords never get mixed up.
Why does the same Short appear twice on the page? A Shorts shelf is repeated across result pages and can list the same Short more than once. Rows are deduplicated by id across the whole run, so one video is written once.
Is sortBy: popularity the same as most viewed?
No. YouTube ranks popularity by its own signal, not by the view column. Sort the dataset by views yourself if you need a strict order.
What happens when a keyword returns nothing?
The run still succeeds and writes one row with status: no-results. It is free and visible in the dataset instead of the run log.
Can I limit the cost of a run?
Set maxResults and maxResultsPerQuery. Paging deeper costs more rows, and rows are what you pay for.
Related actors
Other actors in the YouTube group, each with its own dataset and price:
- YouTube Comments Scraper - comments and replies on a video, a channel or a keyword.
- YouTube Channel Contacts - emails and social profiles of channels, with subscriber metrics.
- YouTube Channel Discovery - channels by keyword, with filters by size, country and verification.
- YouTube Similar Channels - channels close to a seed channel, for lookalike prospecting.
Changelog
- 2026-11-12: published in the Store, pay per result with a free run start.
- 2026-11-10: first build on the platform.