YouTube Search Scraper - Keyword Results, Views, 4K, Filters avatar

YouTube Search Scraper - Keyword Results, Views, 4K, Filters

Pricing

from $0.10 / 1,000 search result scrapeds

Go to Apify Store
YouTube Search Scraper - Keyword Results, Views, 4K, Filters

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

Vladimir Che

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

9 days ago

Last modified

Features

Limited permissions

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.

GroupFields
IdentityresultId, kind, videoId, playlistId, channelId, title, url
Placementquery, queryIndex, page, rank
ChannelchannelName, channelHandle, channelUrl, channelAvatarUrl
Videodescription, durationSecs, durationText, views, viewsText, shortViewCountText, isLive
Channel rowsubscribers, subscribersText, verified
Playlist rowvideoCount, videoCountText
DatepublishedText, publishedAgeSecs, publishedAtFrom, publishedAtTo, publishedPrecision
MediathumbnailUrl
Metastatus, 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

  1. Open this actor in the Apify Console.
  2. Put one keyword into Search query, or many into Queries. Both are read when both are set, up to 100 keywords.
  3. Pick what comes back with Result type: videos, Shorts, channels or playlists. Leave it empty to take whatever YouTube ranks first.
  4. 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.

InputDefaultNotes
searchQueryemptyone keyword as a single line, for API runs
queries[]several keywords in one run, up to 100
typeemptyvideo, shorts, channel, playlist, movie; empty takes every kind
maxResults50cap on the whole dataset
maxResultsPerQuery50cap on one keyword
maxPagesPerQuery10pagination depth, about 20 results per page
sortByrelevancerelevance or popularity
uploadDateemptytoday, week, month, year, a rolling window from now
durationemptyshort under 4 minutes, medium 4 to 20, long over 20
features[]hd, uhd4k, subtitles, live, creativeCommons, deg3d, deg360, hdr, vr180, location, purchased
languageenYouTube hl, the interface language the labels are parsed in
regionUSYouTube gl, the country the ranking is built for
sameDomainDelaySecs1minimum gap between two requests to youtube.com
requestTimeoutSecs30per-request timeout before a retry
runBudgetSecsthe run timeoutleave it empty and the run uses the whole timeout you set
proxyConfigurationno proxynot 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.

TaskInputQuestion it answers
YouTube Video Search: Titles, Views and ChannelssearchQuery, uploadDatewhich videos rank for a keyword, with views, duration and publish date
YouTube Channel Search: Handles, Subs, CountrysearchQuery, type: channelwhich channels carry a keyword, with handle, subscribers and country
YouTube Keyword Research: Many Queries, One Runqueries, maxResultsPerQueryhow one shelf compares across several keywords in a single run
YouTube New Videos: Daily Results for a KeywordsearchQuery, uploadDate: todaywhat 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: popularity and see which formats and channels already win the shelf.
  • Competitor monitoring. Run the same keyword daily on uploadDate: today and 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: channel and 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-results and free;
  • a failed request leaves a row with fetch-failed and costs nothing;
  • budget-exhausted and invalid-input rows 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. views is exact only below 1 000. 189K becomes 189000 and 2,8 млн просмотров becomes 2800000, so a large count is an approximation of the printed label.
  • There is no absolute upload date. The page renders age as text, so publishedAtFrom and publishedAtTo bound the real timestamp and publishedPrecision is always text-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 publishedText and viewsText as rendered, but the parsed numbers may stay null.
  • A channel row carries no video counter. YouTube renders none on the search page, so videoCount and videoCountText are filled on playlist rows only.
  • duration: long cannot filter a livestream. durationSecs is 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 sameDomainDelaySecs or 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.

Other actors in the YouTube group, each with its own dataset and price:

Changelog

  • 2026-11-12: published in the Store, pay per result with a free run start.
  • 2026-11-10: first build on the platform.