YouTube Search Scraper: Videos, Shorts, Filters
Pricing
from $0.36 / 1,000 search results
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
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
15 days ago
Last modified
Categories
Features
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
| Field | What it holds |
|---|---|
position | Rank in YouTube's results for that search (1 = first). |
videoId, url | Video id and watch link. |
title | Video title. |
channelName, channelId, channelHandle, channelUrl | The channel that published the video. |
viewCount | Views (rounded in fast mode, exact with videoDetails). |
durationSeconds | Length in seconds. |
publishDate, publishDateIsApprox | Date; approximate in fast mode ("3 weeks ago"), exact with videoDetails. |
isShort, isLive, isUpcoming | Shorts, live now, scheduled premiere. |
likeCount, category, description, keywords, captionLanguages | With videoDetails only. |
source, sourceType | The 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
| Field | What it does |
|---|---|
searchQueries | Search terms, one search each. |
urls | Optional youtube.com/results search URLs. |
maxResults | Results per search (default 50, up to 10,000). |
maxItems | Cap for the whole run. |
contentType | videos (default) or shorts. |
sortingOrder | relevance, rating, date, views. |
dateFilter | hour, today, week, month, year. |
lengthFilter | under4, between420, plus20. |
isHD, is4K, isLive, hasSubtitles, hasCC | YouTube's feature filters. |
searchCountry | Country the results are ranked for (default US). |
publishedAfter, publishedBefore | Exact date range on top of YouTube's loose filter. |
videoDetails | Full 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 plan | Per 1,000 results | Per 1,000 results with full details | Per 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.
Related actors and data
- YouTube Scraper: Videos, Shorts, Channels, Search
- YouTube Channel Scraper: About, Stats, Videos
- YouTube Transcript & Subtitles Scraper: Text, SRT, VTT
Use cases
- Keyword tracking: who ranks for your terms on YouTube, and how
positionchanges 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
publishedAfterfor an exact range. - Fast-mode views are rounded ("1.7M") and dates approximate ("3 years ago"); turn on
videoDetailsfor 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.