# YouTube Scraper: Search, Channels, Shorts & Video Details (`panix/youtube-scraper`) Actor

Scrape YouTube search, channels, Shorts, live streams, playlists and hashtags with likes, exact views, upload date, duration, tags, category, chapters, comments count and subscribers. No API key or quota. For influencer research, SEO, competitor tracking and datasets.

- **URL**: https://apify.com/panix/youtube-scraper.md
- **Developed by:** [PANIX AI LAB](https://apify.com/panix) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 videos

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 Scraper: Search, Channels, Shorts & Video Details

Research YouTube niches, competitors and creators. Give it a search, channel, playlist or hashtag and get full stats for every video: exact views, likes, upload time, tags, comment count and the channel's subscribers.

- **Full details, not just what the search page shows**: likes, exact view count, exact upload date and time, duration, tags, chapters and description.
- **Channel rows too**: subscribers, total views, video count, joined date, country and links.
- **No YouTube API key, no quota, no login** and no browser, so runs are fast.

**Try it now:** the input is already filled in (a search for "python tutorial", 20 videos). Click **Start** and the results appear in a table you can export to Excel, CSV or JSON. That example run costs a few cents, which the $5 of free monthly credit on Apify's free plan covers.

**Price:** from **$1.40 per 1,000 videos**, and you pay only for results you get. The full price table is in the Pricing section below.

### Example result

One result, shortened. Every field is described in the Output section below.

```json
{
  "type": "video",
  "id": "dQw4w9WgXcQ",
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
  "viewCount": 1834013122,
  "likeCount": 19492655,
  "commentCount": 2400000,
  "duration": "00:03:33",
  "publishedAt": "2009-10-25T06:57:33Z",
  "category": "Music",
  "tags": [
    "rick astley",
    "Never Gonna Give You Up",
    "..."
  ],
  "channelName": "Rick Astley",
  "channelSubscriberCount": 4560000
}
```

### What you get

Scrape YouTube search results, channels, Shorts, live streams, playlists and hashtags into a clean table. Every video comes with **likes, exact view count, exact upload date and time, duration, tags, category, full description, chapters, hashtags, comment count and the channel's subscribers**, not just what the search page shows. Channel inputs also get a channel row with subscribers, total views, video count, joined date, country and links.

No YouTube API key, no quota, no login. Fast HTTP requests, no browser. Export to JSON, CSV or Excel, or pull the data through the Apify API.

### Who uses it

- **Marketers and agencies**: find influencers and creators for a niche, compare channels by subscribers and engagement (likes and comments per view), and track competitors' uploads.
- **SEO and content teams**: see which titles, tags, hashtags, durations and chapters rank for a keyword, and how rankings change by country.
- **Researchers and journalists**: collect every video on a topic or from a set of channels within a date window, with exact upload dates.
- **Data and AI teams**: build datasets of videos, descriptions and channel metadata for analytics, recommendation or LLM/RAG pipelines (pair it with a transcript scraper for the spoken text).
- **Brand monitoring and media buyers**: schedule daily checks for new videos about your brand or from channels you watch, paying only for what is new.

### What you get

| Group | Fields |
|---|---|
| Video | `type` (video, short, stream), `id`, `url`, `title`, `description`, `thumbnailUrl` |
| Engagement | `viewCount`, `likeCount`, `commentCount`, `commentsTurnedOff`, `concurrentViewers` (live) |
| Dates | `publishedAt` (exact time, UTC), `publishedDate`, `publishedDatePrecision`, `publishedTimeText` ("3 days ago") |
| Content | `durationSeconds`, `duration`, `category`, `tags`, `hashtags`, `chapters`, `descriptionLinks`, `badges` |
| Flags | `isShort`, `isLive`, `isUpcoming`, `wasLive`, `liveStartedAt`, `liveEndedAt`, `isMembersOnly`, `isFamilySafe`, `isUnlisted` |
| Channel | `channelId`, `channelName`, `channelHandle`, `channelUrl`, `channelVerified`, `channelSubscriberCount` |
| Source | `input`, `inputType`, `searchTerm`, `rank`, `channelTab`, `playlistId`, `playlistTitle`, `scrapedAt` |
| Channel rows | `subscriberCount`, `videoCount`, `viewCount` (total), `joinedDate`, `country`, `links`, `description`, `keywords`, `avatarUrl`, `bannerUrl` |
| Playlist rows | `title`, `videoCount`, `isCourse`, channel, `firstVideoUrl` (from playlist searches) |

### Why this scraper

- **Full details for every video by default.** Likes, exact views, comment count, tags, category, chapters and subscriber count come with every row from searches, channels and playlists, at one price. No add-ons for date filters or details.
- **Exact upload dates.** `publishedAt` is the upload time YouTube records (e.g. `2009-10-25T06:57:33Z`), not "17 years ago". When only the day is known, `publishedDatePrecision` says `day`.
- **More than 500 results per search.** YouTube stops a search at about 500 videos. With **Deep search**, the Actor runs the same search again with other date, length and sort filters and adds the new videos, so large keyword studies don't stop at 500.
- **Everything in one Actor.** Searches (videos, Shorts, channels, playlists, movies, live), channels (Videos, Shorts and Live tabs, sorted newest, most popular or oldest), playlists, hashtags and single video, Short or live links, in any mix. Duplicates across inputs are removed and not charged.
- **Cheap scheduled monitoring.** With **Published after** (e.g. `7 days`), newest-first channel lists stop as soon as they reach older videos, so a daily check of 50 channels reads only a page or two per channel.
- **Fair billing.** Videos left out by your filters, duplicates and unavailable (private or removed) videos are free. A list-only mode costs less than half when you just need titles, views and links.
- **Fast and light.** Plain HTTP to YouTube's public web data, no browser, 512 MB default memory. In our tests: 20 videos with full details in 15-35 seconds, 800 in about 5 minutes, and 400 list-only rows in 30 seconds.
- **Built to keep running.** Every request rotates to a new IP on throttling or network errors. The small requests YouTube refuses on datacenter IPs move to residential IPs automatically, at no extra cost to you.

### Coming from another YouTube scraper?

| Common problem | How this Actor handles it |
|---|---|
| Search results say "5 years ago" instead of a date | Exact `publishedAt` (or the exact day) for every video |
| Likes, tags and subscribers only for single video URLs | Full details for every video from searches, channels and playlists |
| Searches stop at about 500 results | Deep search adds more unique videos from filtered variants |
| Extra fees for date filters or details | One price per video; filters are free |
| Separate Actors for Shorts, streams and channels | Videos, Shorts, Live tabs, channel info and playlists in one run |
| Slow browser-based runs and large memory | HTTP only, 512 MB default |
| Paying for duplicates and removed videos | Duplicates and unavailable videos are not charged |
| Counts as text ("1.2M views") | Numbers as integers; `viewCountIsExact` says when YouTube rounded |

### How to use it

1. Click **Try for free**.
2. Type **Search terms**, add **Channels** (e.g. `@TED`), or paste **YouTube links** (videos, Shorts, playlists, channels, search pages, hashtags).
3. Set **Max results per input** and any filters.
4. Click **Start**, then download the results as JSON, CSV or Excel.

### Input examples

**Top videos for a keyword, this month, over 20 minutes, most viewed first**

```json
{
  "searchTerms": ["ai news"],
  "uploadDate": "thisMonth",
  "duration": "over20",
  "sortBy": "popularity",
  "maxResults": 100
}
```

**Everything a set of channels published in the last 7 days (schedule it daily)**

```json
{
  "channels": ["@TED", "@mkbhd", "@veritasium"],
  "channelTabs": ["videos", "shorts", "streams"],
  "publishedAfter": "7 days",
  "maxResults": 200
}
```

**A channel's 50 most popular videos and its channel info**

```json
{
  "channels": ["https://www.youtube.com/@NASA"],
  "channelSortBy": "popular",
  "maxResults": 50
}
```

**Find creators: channel search with subscriber counts**

```json
{
  "searchTerms": ["home workout", "meal prep"],
  "searchType": "channels",
  "maxResults": 50
}
```

**Shorts about a topic**

```json
{
  "searchTerms": ["street food"],
  "searchType": "shorts",
  "maxResults": 200
}
```

**Videos, playlists, a hashtag and a search link you copied from YouTube** (its filters are kept)

```json
{
  "startUrls": [
    { "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" },
    { "url": "https://www.youtube.com/shorts/JOPuUlsXMso" },
    { "url": "https://www.youtube.com/playlist?list=PLOGi5-fAu8bH7ddYcU-rClnxhchNrfym2" },
    { "url": "https://www.youtube.com/hashtag/cooking" },
    { "url": "https://www.youtube.com/results?search_query=drone+footage&sp=EgIQAQ%253D%253D" }
  ],
  "maxResults": 100
}
```

**2,000 videos for a keyword, list-only (cheaper, faster)**

```json
{
  "searchTerms": ["minecraft"],
  "maxResults": 2000,
  "videoDetails": false
}
```

### Sample output

```json
{
  "type": "video",
  "id": "dQw4w9WgXcQ",
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
  "description": "The official video for “Never Gonna Give You Up” by Rick Astley. ...",
  "viewCount": 1834013122,
  "viewCountIsExact": true,
  "likeCount": 19492655,
  "commentCount": 2400000,
  "commentsTurnedOff": false,
  "durationSeconds": 213,
  "duration": "00:03:33",
  "publishedAt": "2009-10-25T06:57:33Z",
  "publishedDate": "2009-10-25",
  "publishedDatePrecision": "exact",
  "publishedTimeText": "17 years ago",
  "category": "Music",
  "tags": ["rick astley", "Never Gonna Give You Up", "nggyu", "never gonna give you up lyrics", "rick rolled"],
  "hashtags": ["#OfficialMusicVideo", "#NeverGonnaGiveYouUp", "#RickAstley"],
  "chapters": [],
  "descriptionLinks": ["https://linktr.ee/rickastleynever", "https://RickAstley.lnk.to/YTSubID"],
  "thumbnailUrl": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
  "isShort": false,
  "isLive": false,
  "isUpcoming": false,
  "wasLive": false,
  "isMembersOnly": false,
  "isFamilySafe": true,
  "isUnlisted": false,
  "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
  "channelName": "Rick Astley",
  "channelHandle": "@RickAstleyYT",
  "channelUrl": "https://www.youtube.com/@RickAstleyYT",
  "channelVerified": true,
  "channelSubscriberCount": 4560000,
  "channelSubscriberCountText": "4.56M subscribers",
  "input": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "inputType": "video",
  "rank": null,
  "detailsStatus": "ok",
  "scrapedAt": "2026-11-05T17:27:47Z"
}
```

A channel row (with **Add a channel row** on):

```json
{
  "type": "channel",
  "id": "UCAuUUnT6oDeKwE6v1NGQxug",
  "url": "https://www.youtube.com/@TED",
  "channelName": "TED",
  "channelHandle": "@TED",
  "subscriberCount": 28000000,
  "subscriberCountText": "28M subscribers",
  "videoCount": 5881,
  "viewCount": 3272489934,
  "joinedDate": "2006-12-06",
  "country": "United States",
  "links": [{ "title": "TED.com", "url": "https://www.ted.com" }],
  "channelVerified": true
}
```

The run's key-value store has **INPUTS** (one status line per input: pages read, results delivered, why it stopped) and **SUMMARY** (totals by type, videos left out per filter, unavailable videos, request statistics).

### Pricing

Pay per event, no monthly fee, platform usage included:

| Event | Free plan | Bronze | Silver | Gold and higher |
|---|---|---|---|---|
| Video, Short or stream with full details | $2.50 per 1,000 | $2.00 per 1,000 | $1.70 per 1,000 | $1.40 per 1,000 |
| Channel row | $2.50 per 1,000 | $2.00 per 1,000 | $1.70 per 1,000 | $1.40 per 1,000 |
| Video (list only, Full video details off) | $1.00 per 1,000 | $0.80 per 1,000 | $0.70 per 1,000 | $0.60 per 1,000 |
| Playlist (from playlist searches) | $1.00 per 1,000 | $0.80 per 1,000 | $0.70 per 1,000 | $0.60 per 1,000 |
| Actor start | $0.001 per run (per GB of memory; the default 512 MB counts as one) | | | |

Videos left out by filters, duplicates and unavailable videos are free. Example on Bronze: 1,000 videos with full details cost $2.00 plus $0.001 for the run. Set a maximum charge per run in the run options and the Actor stops cleanly at that amount.

### Use it from code, n8n, Make or Zapier

Python ([apify-client](https://pypi.org/project/apify-client/) 3.x):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("panix/youtube-scraper").call(run_input={
    "searchTerms": ["python tutorial"],
    "maxResults": 100,
})
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item["title"], item["viewCount"], item["likeCount"], item["publishedAt"])
```

JavaScript:

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('panix/youtube-scraper').call({ channels: ['@TED'], maxResults: 50 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((v) => [v.title, v.viewCount, v.publishedDate]));
```

One HTTP call that runs the Actor and returns the rows (for n8n's HTTP Request node, Make's HTTP module or any script):

```
POST https://api.apify.com/v2/acts/panix~youtube-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>
Content-Type: application/json

{"searchTerms": ["python tutorial"], "maxResults": 20}
```

n8n, Make and Zapier also have Apify apps: choose **Run Actor**, pick `panix/youtube-scraper`, paste the input JSON, then read the dataset items. AI agents can call it through the Apify MCP server (`https://mcp.apify.com`).

### FAQ

**Do I need a YouTube API key or Google account?**
No. The Actor reads the public pages any visitor sees, so there is no API quota.

**How many results can I get per search?**
YouTube shows about 500 results for one search. With Deep search on (default) and Max results above 300, the Actor reruns the search with other upload-date, length and sort filters and adds new videos, which usually takes a broad keyword well past 1,000 unique videos. For narrow keywords YouTube simply has fewer.

**Why can't I sort search results by upload date?**
YouTube removed the "upload date" and "rating" sort options from search in 2025; only relevance and popularity remain. Use **Upload date** (e.g. this week) or **Published after** for recent videos. Channel lists can still be sorted newest, popular or oldest.

**How exact are the numbers?**
View counts are exact when YouTube shows them exactly (`viewCountIsExact: true`); likes come from the like button's exact count. Comment counts and subscriber counts are rounded by YouTube itself ("13K", "28M").

**What does `publishedDatePrecision` mean?**
`exact`: `publishedAt` is the upload time YouTube records. `day`: only the date is known. `approximate`: worked out from "3 weeks ago" (list-only mode).

**What is `detailsStatus`?**
`ok`: all details read. `no_player_details`: likes, date and description were read but duration, tags or category were not available for that video (YouTube sometimes withholds them). `listing_only`: the video page could not be read, so the row has the list data. `listing`: list data only (Full video details off, or channel and playlist search results). Channel rows from channel inputs say `ok` (About details read) or `header_only`.

**Are Shorts and live streams included?**
Yes. Use **Search for: Shorts**, or the channel **Shorts** and **Live streams** tabs. Each row's `type` is `video`, `short` or `stream`, with `isLive`, `isUpcoming` and `wasLive` flags.

**Can I get comments or transcripts?**
This Actor returns the comment count, not the comments. For the spoken text, use a YouTube transcript scraper with the video URLs from this Actor.

**Can I scrape private, unlisted or members-only videos?**
No. Only public data is collected. Unlisted videos work when you paste their link; private videos are reported as unavailable and not charged.

**Does the country setting change results?**
Yes. **Country** sets the region YouTube uses for search results and trends. Labels are read in English so numbers and dates parse reliably; titles and descriptions stay in the creator's language (YouTube may show its own auto-translated title for some videos).

**Is it legal to scrape YouTube?**
The Actor collects only publicly visible video and channel information. Channel names and handles are public; no emails or private data are collected. Check that your use complies with YouTube's terms and the laws that apply to you.

### Limits

- Comments, transcripts, community posts and video downloads are not included.
- YouTube rounds comment and subscriber counts; those fields are as exact as YouTube shows them.
- Hashtag pages show about 20 videos; the Actor continues with YouTube's search for that hashtag to reach Max results.
- Age-restricted videos may lack duration, tags and category (`detailsStatus: no_player_details`).

# Actor input Schema

## `searchTerms` (type: `array`):

What you would type into YouTube's search box, one per line. Each term returns up to Max results per input. You can also paste youtube.com search links (with their filters) here.

## `channels` (type: `array`):

Channel @handles or links, e.g. @TED, https://www.youtube.com/@mkbhd or https://www.youtube.com/channel/UC... Reads the channel tabs chosen below (Videos by default) and adds one channel row with subscribers, total views, country and links.

## `startUrls` (type: `array`):

Links to videos, Shorts, live streams, playlists, channels (including /videos, /shorts or /streams tabs), search results or hashtag pages. Bare video IDs and @handles work too.

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

Most rows to return for each search term, channel, playlist or hashtag. YouTube shows about 500 results per search; deep search (below) finds more for larger numbers.

## `videoDetails` (type: `boolean`):

Open each video for likes, exact view count, exact upload date and time, full description, duration, tags, category, chapters, comment count and channel subscribers. Switch off for faster list-only rows (title, views, duration, relative date, channel).

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

Which kind of search results to return.

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

Relevance or popularity (most viewed first). YouTube no longer offers upload-date or rating sorting in search; use Upload date or Published after to get recent videos.

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

YouTube's upload-date filter.

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

YouTube's length filter.

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

Only videos with all of these features.

## `deepSearch` (type: `boolean`):

When a search ends before Max results (YouTube stops at about 500), run it again with other date, length and sort filters and add the new videos. Used only when Max results is above 300.

## `channelTabs` (type: `array`):

Which tabs to read for each channel.

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

Order of the channel's videos, as on the channel page.

## `includeChannelInfo` (type: `boolean`):

For every channel input, add one row with subscribers, total views, video count, joined date, country, description and links. Charged as one channel result.

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

Only videos published on or after this date: YYYY-MM-DD or a relative time such as "7 days", "2 weeks" or "3 months". Newest-first channel lists stop once they reach older videos, so scheduled channel checks stay cheap.

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

Only videos published on or before this date (YYYY-MM-DD or a relative time).

## `minViews` (type: `integer`):

Leave out videos with fewer views.

## `maxViews` (type: `integer`):

Leave out videos with more views (e.g. to find small creators).

## `uniqueVideos` (type: `boolean`):

Return each video, channel and playlist once per run even when several searches or channels find it.

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

Two-letter country code YouTube uses for search results and trends, e.g. US, GB, IN, DE.

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

Videos opened at the same time.

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

Apify Proxy (datacenter) is used by default. Small player requests that YouTube refuses on datacenter IPs move to residential IPs automatically when your account has them.

## Actor input object example

```json
{
  "searchTerms": [
    "python tutorial"
  ],
  "maxResults": 20,
  "videoDetails": true,
  "searchType": "videos",
  "sortBy": "relevance",
  "uploadDate": "any",
  "duration": "any",
  "deepSearch": true,
  "channelTabs": [
    "videos"
  ],
  "channelSortBy": "newest",
  "includeChannelInfo": true,
  "uniqueVideos": true,
  "country": "US",
  "maxConcurrency": 16,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Delivered videos, Shorts, streams, channels and playlists. Videos left out by filters, duplicates and unavailable videos are not in the dataset and are not charged.

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

Pages read, results delivered and why each search, channel, playlist or link stopped.

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

Totals by type, videos left out per filter, unavailable videos, request statistics and warnings.

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

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

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

```

## MCP server setup

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