# YouTube Sponsorship Leads Scraper (`googleapi/youtube-sponsorship-leads-scraper`) Actor

Extract explicit public sponsorship mentions, public contact emails, and public external links from YouTube channel and video pages.

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

## Pricing

from $3.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

Find public YouTube channels with sponsorship language or publicly listed contact details. Each record represents a channel. Evidence comes from the public channel description or video descriptions you choose to inspect.

### Input

- **channelUrls / channelHandles**: Public channels to inspect directly.
- **queries**: Public YouTube search phrases for discovering channels; a single query is also supported.
- **maxItems**: Maximum channels across the run; defaults to 25 and can be set up to 100.
- **maxSampleVideos**: Maximum public video cards per channel; defaults to 5.
- **maxEvidenceVideos**: Maximum video descriptions to inspect per channel; defaults to 0 and can be set up to 5.
- **minSubscribers / maxSubscribers** and **minVideoCount / maxVideoCount**: Optional channel filters.
- **sponsorTerms**: Additional phrases to match in public descriptions.
- **minSponsorMentions**: Minimum matching mentions per channel; defaults to 0.
- **includeEmails / includeSponsorEvidence**: Include explicitly visible public email addresses and matched evidence; both enabled by default.
- **includeLinks / includeMedia / includeSampleVideos / includeSampleTitles / includeHashtags**: Include public channel details; enabled by default.
- **includeAboutText**: Add clean About text; off by default.
- **locale / proxyConfiguration**: Language and region, plus optional Apify Proxy settings.

`startUrls` is also accepted for public channel references, and `searchQuery` accepts a single search phrase. `deduplicate` is enabled by default.

### Dataset

Each record represents one channel and can include its profile, public links, subscriber and video counts, sponsor mentions, candidate brand names, visible contact emails, and sample videos.

A detected phrase is a lead for human review, not confirmation of a paid sponsorship or business relationship. Uninspected video descriptions may contain additional evidence.

Run output provides a dataset link, output totals, run health, and a summary.

### Responsible use

This Actor collects public channel details and explicitly visible contact information. Respect people's privacy and follow YouTube's terms, applicable law, and data-protection rules. This independent Actor is not affiliated with or endorsed by YouTube or Google.

# Actor input Schema

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

Public HTTPS YouTube channel, video, or supported page URLs.

## `sourceUrls` (type: `array`):

Compatibility alias for public YouTube references.

## `channelUrls` (type: `array`):

Public channel URLs to inspect.

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

One public channel URL.

## `channelHandles` (type: `array`):

Handles such as @Google.

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

Public input option: url.

## `urls` (type: `array`):

Public input option: urls.

## `queries` (type: `array`):

Public YouTube search phrases used for channel discovery.

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

Public input option: query.

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

Public input option: searchQuery.

## `maxItems` (type: `integer`):

Global limit on discovered channel rows.

## `maxSampleVideos` (type: `integer`):

Maximum public video cards sampled per channel.

## `maxEvidenceVideos` (type: `integer`):

Maximum number of public video pages fetched per channel to inspect their descriptions for explicit sponsor and contact evidence.

## `minSubscribers` (type: `integer`):

Keep channels whose displayed subscriber count is at least this value.

## `maxSubscribers` (type: `integer`):

Keep channels whose displayed subscriber count is no more than this value.

## `minVideoCount` (type: `integer`):

Keep channels whose displayed video count is at least this value.

## `maxVideoCount` (type: `integer`):

Keep channels whose displayed video count is no more than this value.

## `deduplicate` (type: `boolean`):

Remove repeated channel identities across inputs.

## `includeMedia` (type: `boolean`):

Public input option: includeMedia.

## `includeLinks` (type: `boolean`):

Public input option: includeLinks.

## `includeAboutText` (type: `boolean`):

Include a clean text alias of the public channel description; page chrome and recommendations are excluded.

## `includeSampleTitles` (type: `boolean`):

Public input option: includeSampleTitles.

## `includeSampleVideos` (type: `boolean`):

Public input option: includeSampleVideos.

## `includeHashtags` (type: `boolean`):

Public input option: includeHashtags.

## `maxPages` (type: `integer`):

Compatibility input retained for existing callers; collection limits are controlled by maxItems, maxSampleVideos, and maxEvidenceVideos.

## `requestDelayMs` (type: `integer`):

Public input option: requestDelayMs.

## `maxRequestRetries` (type: `integer`):

Public input option: maxRequestRetries.

## `requestTimeoutSecs` (type: `integer`):

Public input option: requestTimeoutSecs.

## `requestTimeoutMs` (type: `integer`):

Public input option: requestTimeoutMs.

## `maxResponseBytes` (type: `integer`):

Public input option: maxResponseBytes.

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

Public input option: locale.

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

Optional ordinary browser user agent.

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

Optional Apify proxy routing for public YouTube requests. Use only groups enabled for your account; residential routing requires the corresponding entitlement.

## `renderJavaScript` (type: `boolean`):

Compatibility input; direct public HTML mode does not launch a browser.

## `useBrowser` (type: `boolean`):

Compatibility input; direct public HTML mode does not launch a browser.

## `sponsorTerms` (type: `array`):

Additional case-insensitive terms to match in the channel description or inspected public video descriptions.

## `minSponsorMentions` (type: `integer`):

Keep only channels with at least this many matched public sponsorship mentions.

## `includeEmails` (type: `boolean`):

Include explicitly visible public email addresses.

## `includeSponsorEvidence` (type: `boolean`):

Include matched public terms, bounded context, and source URLs.

## `page` (type: `integer`):

One-based starting page or offset page for paginated sources.

## Actor input object example

```json
{
  "maxItems": 25,
  "maxSampleVideos": 5,
  "maxEvidenceVideos": 0,
  "deduplicate": true,
  "includeMedia": true,
  "includeLinks": true,
  "includeAboutText": false,
  "includeSampleTitles": true,
  "includeSampleVideos": true,
  "includeHashtags": true,
  "maxPages": 2,
  "requestDelayMs": 0,
  "maxRequestRetries": 1,
  "requestTimeoutSecs": 30,
  "maxResponseBytes": 2000000,
  "locale": "en-US",
  "renderJavaScript": false,
  "useBrowser": false,
  "minSponsorMentions": 0,
  "includeEmails": true,
  "includeSponsorEvidence": true,
  "page": 1
}
```

# Actor output Schema

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

No description

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

No description

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

No description

## `runSummary` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("googleapi/youtube-sponsorship-leads-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("googleapi/youtube-sponsorship-leads-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 '{}' |
apify call googleapi/youtube-sponsorship-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,googleapi/youtube-sponsorship-leads-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/6BygajLmfIvE0cG5A/builds/0AImm01fx7gz533b5/openapi.json
