YouTube Search Scraper: Videos, Shorts, Filters avatar

YouTube Search Scraper: Videos, Shorts, Filters

Pricing

from $0.36 / 1,000 search results

Go to Apify Store
YouTube Search Scraper: Videos, Shorts, Filters

YouTube Search Scraper: Videos, Shorts, Filters

YouTube search results for any keyword (title, channel, views, duration, date, rank) at $0.90 per 1,000. YouTube's own filters (upload date, length, HD, 4K, live, CC, Shorts), any country, full details optional. Free error rows.

Pricing

from $0.36 / 1,000 search results

Rating

0.0

(0)

Developer

Arcadium Data

Arcadium Data

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

15 days ago

Last modified

Features

Limited permissions

Share

YouTube Search Scraper: Videos, Shorts, Filters

Give it search terms and it returns YouTube's search results as one JSON row per video: rank, title, channel, views, duration, date, live and Shorts flags. YouTube's own filters work (upload date, length, HD, 4K, live, subtitles, Creative Commons, Shorts only) in any country. $0.90 per 1,000 results; full video details (exact date, likes, category, description) are optional.

Why this actor

  • Input names of the popular YouTube search actors are accepted (query, q, keywords, order, videoDuration, uploadDate, regionCode, gl), so an existing input runs unchanged.
  • Fast by default: about 20 results per request, a few hundred results in seconds.
  • Searches that find nothing or links that are not searches come back as free error rows that say why.

Built by Arcadium Data: public data, dated and agent-ready, never personal data.

Use with AI agents

The actor takes plain JSON and returns one flat row per video, so an AI agent or MCP client (for example through mcp.apify.com) can call arcadium/youtube-search directly. Results cost $0.90 per 1,000 on the Free plan.

Input example for "the top 20 YouTube results for a keyword this month":

{ "searchQueries": ["web scraping tutorial"], "maxResults": 20, "dateFilter": "month" }

"Most viewed long videos in Germany, with likes and exact dates":

{ "searchQueries": ["e-auto test"], "maxResults": 30, "sortingOrder": "views", "lengthFilter": "plus20", "searchCountry": "DE", "videoDetails": true }

What you get

FieldWhat it holds
positionRank in YouTube's results for that search (1 = first).
videoId, urlVideo id and watch link.
titleVideo title.
channelName, channelId, channelHandle, channelUrlThe channel that published the video.
viewCountViews (rounded in fast mode, exact with videoDetails).
durationSecondsLength in seconds.
publishDate, publishDateIsApproxDate; approximate in fast mode ("3 weeks ago"), exact with videoDetails.
isShort, isLive, isUpcomingShorts, live now, scheduled premiere.
likeCount, category, description, keywords, captionLanguagesWith videoDetails only.
source, sourceTypeThe search term (sourceType search).

Output example:

{
"rowType": "video",
"platform": "youtube",
"videoId": "dQw4w9WgXcQ",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"channelName": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"publishDate": "2009-10-25",
"publishDateIsApprox": true,
"publishedText": "16 years ago",
"durationSeconds": 213,
"viewCount": 1700000000,
"isShort": false,
"isLive": false,
"detailLevel": "listing",
"source": "never gonna give you up",
"sourceType": "search",
"position": 1,
"scrapedAt": "2026-10-31T04:00:00.000Z"
}

Input

FieldWhat it does
searchQueriesSearch terms, one search each.
urlsOptional youtube.com/results search URLs.
maxResultsResults per search (default 50, up to 10,000).
maxItemsCap for the whole run.
contentTypevideos (default) or shorts.
sortingOrderrelevance, rating, date, views.
dateFilterhour, today, week, month, year.
lengthFilterunder4, between420, plus20.
isHD, is4K, isLive, hasSubtitles, hasCCYouTube's feature filters.
searchCountryCountry the results are ranked for (default US).
publishedAfter, publishedBeforeExact date range on top of YouTube's loose filter.
videoDetailsFull video details at the video price.

Use it from code

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('arcadium/youtube-search').call({ searchQueries: ['lofi hip hop'], maxResults: 50 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((i) => i.rowType === 'video').length, 'results');

Pricing

You pay per result delivered, at the price of your Apify plan. Error rows, repeats and results outside your date range are free.

Apify planPer 1,000 resultsPer 1,000 results with full detailsPer 1,000 Shorts with full details
Free$0.90$3.60$3.60
Starter (Bronze)$0.54$2.70$2.70
Scale (Silver)$0.45$2.34$2.34
Business (Gold)$0.36$2.16$2.16
Platinum$0.36$1.35$1.35
Diamond$0.36$0.90$0.72

Plus a one-off $0.001 per GB of memory when a run starts. Set a maximum cost per run in the Apify run options and the actor stops before it goes over.

Use cases

  • Keyword tracking: who ranks for your terms on YouTube, and how position changes week by week.
  • Content research: what length, format and channels win a topic, per country.
  • Lead lists of channels: the channels that show up for a niche (then read them with our YouTube Channel Scraper).
  • Agents: "find videos about X" before reading their transcripts or comments.

Limitations

  • YouTube's upload-date filter and date sort are loose; use publishedAfter for an exact range.
  • Fast-mode views are rounded ("1.7M") and dates approximate ("3 years ago"); turn on videoDetails for exact values.
  • YouTube stops a search after several hundred results; very broad terms do not go deeper than YouTube shows.
  • Videos only (and Shorts with contentType); channel and playlist results are left out.

Privacy

Public data only, read the way an anonymous visitor's browser reads it. No login, no cookies, no account. Emails and phone numbers in descriptions are replaced with [email] and [phone]. The channel name is the publisher of the video.

FAQ

Why is a date marked approximate? Search pages only say "2 weeks ago". Turn on videoDetails for exact ISO dates.

A search returned nothing. Why? Look at its error row: a very narrow filter combination can match no video. Error rows are free.