# YouTube Search Scraper | $0.25 per 1k | Up to 900 per Query (`solidrows/youtube-search-scraper`) Actor

Scrape YouTube search results: videos, Shorts, channels and playlists for any keyword. Deep search returns up to ~900 unique videos per query. Views, duration, thumbnails, optional likes, comments, tags. All YouTube filters. No API key. Never a silent empty run.

- **URL**: https://apify.com/solidrows/youtube-search-scraper.md
- **Developed by:** [SolidRows](https://apify.com/solidrows) (community)
- **Categories:** Videos, Social media, SEO tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.18 / 1,000 video scrapeds

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

Scrape **YouTube search results** for any keyword - **videos, Shorts, live streams, channels and playlists** - with title, channel, exact view count, upload time, duration, thumbnails in five sizes and description. Use the same filters as YouTube's own filter panel, go **deep (up to ~900 unique videos per keyword)** and optionally open every video for **likes, comments, exact publish date, full description, tags and chapters**. **No login, no API key, no YouTube quota - $0.25 per 1,000 videos.**

### Why this scraper

- 💸 **Lowest price in the category.** $0.25 per 1,000 videos. Other YouTube search scrapers on Apify Store charge $0.50-$5.00 per 1,000 results (checked November 2026), some plus a fee per run. No start fee here.
- 🔍 **Deep search without tricks.** YouTube shows a logged-out visitor one page of results (10-45 videos, usually about 20). Instead of calling YouTube's internal API, this scraper repeats your query through the combinations of YouTube's own filters and merges the pages. Measured on popular queries: **~250 unique videos with 10 pages, ~550 with 30, ~900 with 90**.
- ⚡ **Fast.** Plain HTTP, no browser: a standard search finishes in under 10 seconds, a deep search with ~1,000 unique videos in 2-3 minutes.
- 🧾 **Analysis-ready rows.** Integers for views, likes and seconds, flat fields that export cleanly to CSV/Excel, `position` and `foundVia` for rank tracking, five thumbnail sizes.
- 📊 **Engagement on demand.** One switch adds exact likes, comment count, likes per 100 views, publish date, full description, hashtags, chapters and channel subscribers to every video.
- 🛡 **Safe and stable by design.** Only public pages, exactly as a visitor's browser gets them: no account, no cookies of yours, no internal API keys, no CAPTCHA solving. Nothing to get banned, nothing that breaks when YouTube rotates keys.
- 🧹 **Every keyword gets its full result.** Duplicates are removed inside each query (a video found on several filter pages is saved and charged once), while a video that ranks for two of your keywords is saved under each of them with its own `query` and `position` - nothing silently disappears from the second keyword. Want unique videos only? Turn on **Remove duplicates across queries**. Empty queries and error rows are free.
- 🚨 **No silent failures.** If YouTube could not be reached and nothing was saved, the run ends as *failed* with a clear message instead of an empty "success".

**Honest limit:** the scraper does not use YouTube's internal "load more" API, so it cannot scroll one results list to the end. Deep search gives you many more *unique* videos for a keyword, but they come from different filter views (today / this year, short / long, most viewed…), not as positions 1-900 of a single ranking. If you need exactly the top 500 of the default ranking, this is not the right tool; for keyword research, trend discovery, datasets and monitoring it is the cheapest one.

### What you get

- 🔎 **One record per video** for every query, with its rank (`position`) on the results page and the filter view that found it (`foundVia`).
- 🔢 **Numbers ready for analysis:** `viewCount`, `durationSeconds`, approximate upload date `publishedAtApprox`.
- 🎬 **Shorts, live streams and premieres** are flagged (`isShort`, `isLive`, `isUpcoming`); live streams get `liveViewerCount`.
- 📺 **Channel search** (Type = Channels): channel ID, handle, URL, subscribers, verification, description, avatar.
- 📚 **Playlist search** (Type = Playlists): playlist ID, URL, title, owner channel, number of videos, kind (playlist / course / podcast).
- 🎛 **YouTube's own filters:** upload date, type, duration, sort by popularity, Live, 4K, HD, HDR, Subtitles/CC, Creative Commons, 360°, VR180, 3D - and a country.
- 📅 **Custom date range:** *Published after* / *Published before* as a date or a period ("30 days").
- \#️⃣ **Hashtag pages:** paste `https://www.youtube.com/hashtag/...` instead of a keyword.
- 🖼 **Thumbnails in five sizes** (120 px to 1280 px) for every video.

### Use cases

- **YouTube SEO and keyword research:** who ranks for a query, with how many views, how long, how fresh
- **Trend discovery:** upload date = today / this week, sort by popularity, deep search for breadth
- **Influencer and channel discovery** for a niche (videos → channels, or direct channel search)
- **Rank tracking:** schedule the actor with your keywords and compare `position` between runs
- **Datasets for analysis and AI:** titles, descriptions, tags, chapters, thumbnails at scale for a few dollars
- **Competitor monitoring:** new videos for brand keywords every day

### Input

| Field | What it does |
|---|---|
| **Search queries** | Keywords, one per line; YouTube search operators work. Hashtag page URLs (`youtube.com/hashtag/word`) are accepted too |
| **Max results per query** | Stop after this many results per query. Default 50 = the whole page at Standard depth; raise it for deep search |
| **Search depth** | Standard = 1 page (10-45 results, usually ~20) · Deep = up to 10 pages (~250) · Deeper = up to 30 (~550) · Maximum = up to 90 (~900) |
| **Remove duplicates across queries** | Off (default): a video ranking for two queries gets a row under each. On: one row per video per run |
| **Open every video page for full details** | Adds likes, comments, publish date, full description, hashtags, chapters, subscribers (+ tags, category, exact time when available) |
| **Prioritize** | Relevance (default) or Popularity |
| **Upload date** | Any time, Today, This week, This month, This year |
| **Published after / before** | A date (`2026-10-01`) or a period back from now (`7 days`, `2 weeks`, `6 months`) - see precision below |
| **Type** | All, Videos only, Shorts only, Channels, Playlists |
| **Duration** | Any, Under 3 minutes, 3-20 minutes, Over 20 minutes |
| **Features** | Live now, 4K, HD, HDR, Subtitles/CC, Creative Commons, 360°, VR180, 3D (all selected must match) |
| **Country** | Two-letter country code, default `US`; applied to search pages and video detail pages |

Filters you set are kept in every deep-search request; deep search varies only the filters you left on "Any" (with Prioritize = Popularity every page stays sorted by popularity). The scraper opens only as many pages as it needs to reach **Max results per query**, and opens no further pages when the first one is empty.

#### How many results will I get?

| Search depth | Pages per query | Results per query | Set Max results per query to |
|---|---|---|---|
| Standard (default) | 1 | 10-45, usually about 20 | 50 (default) |
| Deep | up to 10 | ~250 unique videos | 300 |
| Deeper | up to 30 | ~550 unique videos | 600 |
| Maximum | up to 90 | ~900 unique videos | 1000 |

Both settings matter: depth decides how many pages are read, **Max results per query** caps what is saved. Averages for popular queries, November 2026; channels and playlists: about 20 per page, up to ~40 with any deep setting.

#### Date range precision

YouTube search shows only relative time ("3 weeks ago"). **Published after / before** compare against the approximate date computed from it (`publishedAtApprox`), so the precision is the unit YouTube shows: the day for videos up to a week old, about a week up to a month, about a month up to a year, and only the year beyond that ("1 year ago" covers 12-24 months). Results without a date on the search page (Shorts from the Shorts shelf, live streams) are skipped. With **video details** on, the exact publish date from the video page is used instead; a video whose exact date falls outside the range is not saved and not charged. When you set *Published after* and leave *Upload date* on "Any time", the scraper also applies the nearest YouTube period (this week / month / year) so that more matching videos land on each page.

Deep keyword research, 500 videos per keyword:

```json
{
    "searchQueries": ["python tutorial", "learn python"],
    "searchDepth": "deeper",
    "maxResultsPerQuery": 500,
    "country": "US"
}
```

This week's most viewed long videos with full engagement data:

```json
{
    "searchQueries": ["iphone review"],
    "sortBy": "popularity",
    "uploadDate": "week",
    "type": "videos",
    "duration": "3to20",
    "searchDepth": "deep",
    "maxResultsPerQuery": 300,
    "includeVideoDetails": true
}
```

Videos from the last 30 days for two overlapping keywords (each keyword gets its own rows):

```json
{
    "searchQueries": ["sourdough bread", "sourdough starter"],
    "publishedAfter": "30 days",
    "searchDepth": "deep",
    "maxResultsPerQuery": 300
}
```

Find channels in a niche:

```json
{ "searchQueries": ["sourdough baking"], "type": "channels", "searchDepth": "deep" }
```

### Output

Video (fields after `scrapedAt` appear only with video details):

```json
{
    "type": "video",
    "videoId": "EYJpgBNaPZo",
    "url": "https://www.youtube.com/shorts/EYJpgBNaPZo",
    "title": "The EASIEST, Simple BEGINNER SOURDOUGH Bread Recipe - No dutch oven, no tools #sourdough",
    "channelName": "Amira | Sourdough Mama",
    "channelId": "UC1TWqXJMwswqfJIf5Wbs00w",
    "channelHandle": "@Amirasponsible",
    "channelUrl": "https://www.youtube.com/@Amirasponsible",
    "channelIsVerified": null,
    "viewCount": 1541331,
    "viewCountText": "1,541,331 views",
    "liveViewerCount": null,
    "publishedText": null,
    "publishedAtApprox": null,
    "duration": null,
    "durationSeconds": 59,
    "isShort": true,
    "isLive": false,
    "isUpcoming": false,
    "thumbnailUrl": "https://i.ytimg.com/vi/EYJpgBNaPZo/oardefault.jpg?...",
    "thumbnailDefaultUrl": "https://i.ytimg.com/vi/EYJpgBNaPZo/default.jpg",
    "thumbnailMediumUrl": "https://i.ytimg.com/vi/EYJpgBNaPZo/mqdefault.jpg",
    "thumbnailHighUrl": "https://i.ytimg.com/vi/EYJpgBNaPZo/hqdefault.jpg",
    "thumbnailStandardUrl": "https://i.ytimg.com/vi/EYJpgBNaPZo/sddefault.jpg",
    "thumbnailMaxUrl": "https://i.ytimg.com/vi/EYJpgBNaPZo/maxresdefault.jpg",
    "description": "FULL RECIPE with volume & weight measurements ...",
    "badges": [],
    "query": "sourdough bread",
    "position": 6,
    "foundVia": "relevance, 4k",
    "searchUrl": "https://www.youtube.com/results?search_query=sourdough+bread&sp=EgJwAQ%3D%3D&hl=en&gl=US",
    "scrapedAt": "2026-11-14T15:44:56.797Z",
    "detailsLoaded": true,
    "likeCount": 42861,
    "likeRate": 2.781,
    "commentCount": 681,
    "commentCountText": "681",
    "publishDate": "2024-11-28",
    "publishDateText": "Nov 28, 2024",
    "publishedAt": "2024-11-28T18:56:41.000Z",
    "hashtags": [],
    "tags": ["sourdough bread", "beginner sourdough", "simple recipe"],
    "category": "Howto & Style",
    "chapters": [],
    "isLiveContent": false,
    "isFamilySafe": true,
    "isUnlisted": false,
    "captionLanguages": ["en"],
    "hasAutoCaptions": true,
    "channelSubscriberCount": 14000,
    "channelSubscriberCountText": "14K subscribers"
}
```

Channel (Type = Channels):

```json
{
    "type": "channel",
    "channelId": "UCKMjvg6fB6WS5WrPtbV4F5g",
    "channelName": "Kylie Ying",
    "channelHandle": "@KylieYYing",
    "channelUrl": "https://www.youtube.com/@KylieYYing",
    "channelIsVerified": true,
    "description": "MIT EECS & Physics grad. Science, technology, and engineering. ...",
    "subscriberCount": 98000,
    "subscriberCountText": "98K subscribers",
    "thumbnailUrl": "https://yt3.googleusercontent.com/...=s176-c-k-c0x00ffffff-no-rj-mo",
    "query": "python tutorial",
    "position": 1,
    "foundVia": "relevance, channels"
}
```

Playlist records (Type = Playlists) carry `playlistId`, `url`, `title`, `playlistKind`, owner channel fields, `videoCount`, `firstVideoId` and `thumbnailUrl`.

You can download the dataset as JSON, CSV, Excel or HTML, or read it through the Apify API. The dataset has three ready views: Overview, Video details, Channels and playlists.

### Pricing

**$0.25 per 1,000 videos** (event `video`). Subscription tiers get lower prices automatically.

- You pay per saved video - not per page, not per run. Deep search costs the same per video as a standard search.
- Duplicates inside a query, empty queries, results removed by the date range and error rows are free.
- A video that ranks for several of your queries is one row - and one charge - per query. Turn on **Remove duplicates across queries** to save it once per run.
- With video details and several queries, a video saved under two queries has its page read (and `video-details` charged) for each row.
- **Video details** are billed as a separate event (`video-details`) per video whose page was read; channel and playlist search results as `channel` / `playlist`. Their prices are listed on the Pricing tab; an event without a listed price is free.
- The run stops when your spending limit is reached.

### Limits (honest)

- **No endless scroll.** One results page per filter combination, as a logged-out visitor sees it (see "Why this scraper"). Deep search numbers above are averages for popular queries measured in November 2026; narrow queries have fewer videos in total, and with your own filters fixed there are fewer combinations left to vary.
- **Deep search results come from different filter views**, so `position` is the rank inside the page named in `foundVia`, not a global rank. The first page is always your exact query with your exact filters.
- **Hashtag pages** give one page (about 20 videos; with any deep setting also the hashtag's Shorts tab, about 35 more). YouTube's filters do not apply to them; the date range does. Hashtag URLs work only for videos, not with Type = Channels / Playlists.
- **Shorts in the Shorts shelf** come without channel and upload time, and their view count is rounded (`1.4M views` → 1,400,000). Use *Type = Videos only* or turn on video details to fill these in.
- **Upload time is relative** in search ("2y ago"); `publishedAtApprox` is computed from it, and the Published after / before filters inherit that precision (see "Date range precision"). Video details add the real publish date.
- **Video details:** exact views, exact likes, comment count (rounded by YouTube, e.g. 3.9K), publish date, full description, hashtags, chapters and channel subscribers are read from every video page. **Tags, category, exact publish time, caption languages and the family-safe flag** come from the page's player data, which YouTube serves to cloud IPs only part of the time (about one third of videos in our tests) - these fields are `null` otherwise. The scraper does not try to get around that.
- **No transcripts or subtitles text.** YouTube's caption files require a player token; the scraper does not forge one.
- **No comments text, no dislikes** (YouTube does not publish dislikes).
- Channel search returns about 20 channels per page (up to ~40 with deep search); playlist search likewise.
- Results depend on country and change over time, like on YouTube itself.

### Feedback and support

- **Did it save you time?** A [rating on the Store page](https://apify.com/solidrows/youtube-search-scraper/reviews) helps other users find this Actor. It takes 10 seconds.
- **Something wrong or missing?** [Open an issue](https://apify.com/solidrows/youtube-search-scraper/issues) with the input you used. We answer within 48 hours and fix broken runs first.
- **Never a silent empty run.** If the site blocks us and nothing is scraped, the run fails with a clear message and no results are charged.

### FAQ

**Do I need a YouTube API key or an account?** No. The scraper reads public pages, with no login and no cookies tied to you.

**How do I get more than one page of results?** Set **Search depth** to Deep, Deeper or Maximum **and** raise **Max results per query** (default 50).

**I asked for 1,000 results and got 20 - why?** At Standard depth the scraper reads one results page per query, which holds 10-45 results. Choose a deeper Search depth.

**The same video appears twice in my dataset.** It ranks for two of your queries, so each query has its own row (`query`, `position`). Turn on **Remove duplicates across queries** if you want each video once.

**The run failed with "No results saved".** YouTube could not be loaded for any of your queries (the dataset has error rows with the reason). Nothing was charged; run it again.

**Why are the deep-search numbers lower for my keyword?** They depend on how many videos YouTube has for it. A niche phrase may have only a few hundred videos in total.

**Can I monitor rankings or new videos?** Yes - schedule the actor with your keywords. Compare `position` between runs for rank tracking, or use Upload date = Today for new videos.

**Can I get the full description, likes and tags?** Turn on **Open every video page for full details**.

**Is it legal?** The scraper collects only publicly available data that anyone sees without logging in, and no private personal data. You are responsible for how you use the data.

# Actor input Schema

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

Keywords to search on YouTube, one per line - exactly as you would type them in YouTube's search bar. Search operators work too (e.g. "exact phrase", intitle:word, -exclude). You can also paste a hashtag page URL (https://www.youtube.com/hashtag/sourdough) to get the videos from that hashtag page. Every query gets its own rows: a video that ranks for two queries is saved once per query, each row with its own <code>query</code> and <code>position</code>.

## `maxResultsPerQuery` (type: `integer`):

Stop after this many results for each query. <b>How many results you can get depends on Search depth:</b> Standard = one results page, 10-45 results per query (usually about 20) · Deep ≈ 250 · Deeper ≈ 550 · Maximum ≈ 900 unique videos per query. The default of 50 takes the whole page at Standard depth - for a deep search raise this number too (e.g. 300, 600, 1000). The scraper only opens as many pages as it needs to reach this number.

## `searchDepth` (type: `string`):

YouTube shows a logged-out visitor one page of results per search (10-45 results). Deep search repeats your query with the combinations of YouTube's own filters (upload date × duration × type × sort × features), merges the pages and removes duplicates. Filters you set yourself below are kept in every request; with Prioritize = Popularity every page is sorted by popularity. If the first page is empty, no further pages are opened. <b>Remember to raise Max results per query</b> - it caps the result regardless of depth. You pay only per saved video, not per page. Numbers are averages measured on popular queries; narrow queries return fewer.

## `dedupeAcrossQueries` (type: `boolean`):

Off (default): each query is independent - a video that ranks for several of your queries is saved (and charged) once per query, each row with its own <code>query</code> and <code>position</code>. That is what rank tracking and per-keyword analysis need. On: a video is saved only once per run, under the first query that found it - cheaper when you just want a list of unique videos.

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

Adds exact view count, exact like count, comment count, publish date, full description, hashtags, chapters and channel subscribers to every video - and, when YouTube serves it, tags, category, exact publish time and caption languages. One extra request per video, so runs are slower. Charged as a separate event per video with details.

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

Order of results, as in YouTube's filter panel.

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

Only videos uploaded within this period (YouTube's own filter). YouTube sometimes mixes in older videos; those that are clearly outside the period are removed. For a custom range use Published after / Published before.

## `publishedAfter` (type: `string`):

Keep only videos published on or after this date. Use a date (<code>2026-10-01</code>) or a period back from now (<code>7 days</code>, <code>2 weeks</code>, <code>6 months</code>, <code>1 year</code>). <b>Precision:</b> search pages show only relative time ("3 weeks ago"), so the filter works on the approximate date computed from it - accurate to the day for videos up to a week old, to about a week for videos up to a month old, to about a month for videos up to a year old, and only to the year beyond that. Results with no date on the search page (Shorts from the Shorts shelf, live streams) are skipped. Turn on <b>Open every video page for full details</b> to filter by the exact publish date instead.

## `publishedBefore` (type: `string`):

Keep only videos published on or before this date: a date (<code>2026-10-31</code>) or a period back from now (<code>30 days</code> = at least 30 days old). Same precision as <b>Published after</b>. Combine both for a date range.

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

Restrict results to regular videos or Shorts - or search for channels or playlists instead of videos (about 20 per page; with deep search also sorted by popularity).

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

Video length filter: any, under3 (shorter than 3 minutes), 3to20 (3 to 20 minutes) or over20 (longer than 20 minutes).

## `features` (type: `array`):

Only videos with all of the selected features.

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

Two-letter country code (e.g. US, GB, DE, BR, IN). YouTube ranks results differently per country. Used for search pages and for video detail pages.

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

Apify Proxy (datacenter) is used by default and is enough for YouTube search.

## Actor input object example

```json
{
  "searchQueries": [
    "python tutorial"
  ],
  "maxResultsPerQuery": 20,
  "searchDepth": "standard",
  "dedupeAcrossQueries": false,
  "includeVideoDetails": false,
  "sortBy": "relevance",
  "uploadDate": "any",
  "publishedAfter": "30 days",
  "publishedBefore": "2026-10-31",
  "type": "all",
  "duration": "any",
  "features": [],
  "country": "US",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

# 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": [
        "python tutorial"
    ],
    "maxResultsPerQuery": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidrows/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": ["python tutorial"],
    "maxResultsPerQuery": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("solidrows/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": [
    "python tutorial"
  ],
  "maxResultsPerQuery": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call solidrows/youtube-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,solidrows/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/c7V0R8BMV8aLKPzfS/builds/dknGsJ4e2QDyo3NO2/openapi.json
