# YouTube Search Scraper 💰$0.50/1K – Videos, Channels, Filters (`rt-solutions/youtube-search-scraper`) Actor

Scrape YouTube search results without API key or quota: videos, channels or playlists with YouTube's filters (upload date, duration, sort by views), views, duration, channel and optional likes, comments and exact date. $0.50 per 1,000 results.

- **URL**: https://apify.com/rt-solutions/youtube-search-scraper.md
- **Developed by:** [RT SOLUTIONS](https://apify.com/rt-solutions) (community)
- **Categories:** Social media, Videos
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## YouTube Search Scraper – results, views, filters · $0.50 per 1,000 results

Scrape **YouTube search results** without an API key, quota or login. Use YouTube's own filters — **upload date** (last hour → this year), **duration** and **sort by views** — and get videos, channels or playlists with **views, duration, channel, publish time and thumbnail**. Turn on *Full video details* for **likes, comment count, exact publish date, full description, tags and category** at the same price.

The YouTube Data API allows about 100 searches a day on its free quota; this Actor has no quota.

### What you get

Per video: `title`, `url`, `id`, `viewCount`, `duration`, `durationSeconds`, `publishedTimeText`, `channelName`, `channelUrl`, `channelVerified`, `thumbnailUrl`, `descriptionSnippet`, `badges`, `isLive`, `searchQuery` — and with details: `likeCount`, `commentCount`, `publishedAt`, `description`, `hashtags`, `keywords`, `category`, `channelSubscriberCount`.

Per channel / playlist result: name, URL, subscribers or video count as shown in the results.

### Real runs — 3 November 2026

| Search | Results | Run time | Price |
|---|---|---|---|
| "home workout", this week, sorted by views | 100 videos | 52 s | $0.05 |
| "ai agents tutorial", with full details | 50 videos (40 with a like count) | 10 min 30 s | $0.025 |

Most viewed result of the second run: *AI Agents, Clearly Explained* — 5,615,575 views, 117,790 likes, 3,000 comments, published 8 April 2025. Full details open every video page, so they take longer than a plain search.

### Pricing

**$0.50 per 1,000 results**, cheaper on paid Apify plans; details included. Searches with no results are free. Compared on 3 November 2026: api-ninja/youtube-search-scraper $5.00 per 1,000, grow_media/youtube-search-api $1.00, streamers/youtube-scraper $4.00.

### Input examples

Most viewed videos of the week:

```json
{ "searchQueries": ["home workout"], "uploadDate": "week", "sortBy": "views", "maxResults": 100 }
```

Newest videos (monitoring every hour):

```json
{ "searchQueries": ["iphone", "pixel"], "uploadDate": "hour", "maxResults": 50 }
```

Long tutorials with likes and comments:

```json
{ "searchQueries": ["python tutorial"], "duration": "long", "includeVideoDetails": true, "maxResults": 50 }
```

Channels in a niche:

```json
{ "searchQueries": ["vegan recipes"], "resultType": "channel", "maxResults": 100 }
```

Results as seen in France:

```json
{ "searchQueries": ["recette facile"], "country": "FR", "language": "fr" }
```

### Use cases

- **SEO and content research**: what ranks on YouTube for your keywords, with views and length.
- **Trend monitoring**: newest videos on a topic every hour or day.
- **Influencer discovery**: channels that appear for your niche.
- **Ad and brand research**: who publishes about your brand or competitors.

### Who this is not for

- You need whole channels → [YouTube Channel Scraper](https://apify.com/rt-solutions/youtube-channel-scraper).
- You need only Shorts → [YouTube Shorts Scraper](https://apify.com/rt-solutions/youtube-shorts-scraper).
- You need sorting by upload date — YouTube removed it; use the *Upload date* filter.

### For AI agents (MCP)

Use `rt-solutions/youtube-search-scraper` through the Apify MCP server (https://mcp.apify.com). Example: *"Find the 20 most viewed videos about home workouts uploaded this week."* Minimal input: `{"searchQueries": ["<topic>"]}`; add `uploadDate` for freshness and `includeVideoDetails: true` for engagement.

### FAQ

**How do I scrape YouTube search results without the API?** Enter search terms and run — no key or quota.

**How do I get the newest videos?** Set *Upload date* to `hour`, `today` or `week`.

**How much does it cost to scrape 10,000 search results?** $5, details included.

**Can I filter by length?** Yes: under 4 minutes, 4–20 minutes, over 20 minutes.

**Can I get likes and comment counts?** Yes — *Full video details*.

### Limits

- Comment counts are rounded the way YouTube shows them (e.g. 11K).
- When YouTube limits its video player for a while, details still include views, likes, comments, date and description, but `category` and `keywords` may be empty.
- Business emails of channels are hidden by YouTube behind a login and are not collected.

### Your feedback

Missing a field or found a wrong value? Open an issue in the **Issues** tab — we answer fast and ship fixes. If the Actor saved you time, a short review helps others find it.

### Related scrapers

- [YouTube Scraper (all-in-one)](https://apify.com/rt-solutions/youtube-scraper)
- [YouTube Channel Scraper](https://apify.com/rt-solutions/youtube-channel-scraper)
- [YouTube Transcript](https://apify.com/rt-solutions/youtube-transcript)
- [Google Trends Scraper](https://apify.com/rt-solutions/google-trends-scraper)

# Actor input Schema

## `searchQueries` (type: `array`):

What you would type in the YouTube search bar. One search per line.

## `maxResults` (type: `integer`):

How many results to collect for each search term.

## `resultType` (type: `string`):

What to collect.

## `uploadDate` (type: `string`):

YouTube's upload date filter — the way to get the newest videos.

## `duration` (type: `string`):

YouTube's duration filter (videos only).

## `sortBy` (type: `string`):

YouTube no longer offers sorting by date — use Upload date instead.

## `includeVideoDetails` (type: `boolean`):

Open every video to add exact publish date, likes, comment count, full description, tags and category. Slower, same price.

## `language` (type: `string`):

Interface language for texts like '2 days ago' (e.g. en, fr, de, es).

## `country` (type: `string`):

Two-letter country code YouTube uses for search results (e.g. US, GB, FR, DE, IN).

## `maxConcurrency` (type: `integer`):

Pages processed in parallel.

## `proxyConfiguration` (type: `object`):

Apify Proxy is recommended.

## Actor input object example

```json
{
  "searchQueries": [
    "home workout"
  ],
  "maxResults": 50,
  "resultType": "video",
  "uploadDate": "any",
  "duration": "any",
  "sortBy": "relevance",
  "includeVideoDetails": false,
  "language": "en",
  "country": "US",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

All results.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "home workout"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rt-solutions/youtube-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchQueries": ["home workout"] }

# Run the Actor and wait for it to finish
run = client.actor("rt-solutions/youtube-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "home workout"
  ]
}' |
apify call rt-solutions/youtube-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rt-solutions/youtube-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SwU5LE9zBzeJ5Yd9N/builds/XZFojeSu3Z7ZWEnMp/openapi.json
