# YouTube Prospect Scorer — Find & Qualify Channels for Outreach (`youfuxu/youtube-prospect-scorer`) Actor

Find YouTube channels by keyword or URL and score them for outreach: subscribers, median recent views, view-to-sub ratio, upload frequency and days since last upload, with your own pass/fail filters.

- **URL**: https://apify.com/youfuxu/youtube-prospect-scorer.md
- **Developed by:** [Youfu Xu](https://apify.com/youfuxu) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 scored channels

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Prospect Scorer — Find & Qualify Channels for Outreach

Most YouTube scrapers hand you a pile of raw channel data and leave the judging to you. This Actor does the judging. Give it keywords or a list of channels, and for each channel it returns the numbers you actually use to decide whether a creator is worth contacting — plus a 0–100 score and a pass/fail flag based on **your** rules.

Built for agencies, sponsorship managers, editors, thumbnail designers, UGC and outreach teams who prospect YouTube creators every week.

### What you get for each channel

| Field | What it tells you |
|---|---|
| `subscribers` | Subscriber count (parsed to a number) |
| `medianViews` | Median views of the recent long-form uploads — a truer picture than the average, which one viral video can inflate |
| `viewToSubRatio` | `medianViews ÷ subscribers`. Low = the audience has gone quiet |
| `uploadsLast30Days` | How many uploads in roughly the last 30 days |
| `daysSinceLastUpload` | Is the channel still active? |
| `avgDaysBetweenUploads` | Upload rhythm across the analyzed videos |
| `score` | 0–100: engagement (40) + consistency (30) + recency (30) |
| `qualified` / `failedFilters` | Pass/fail against your filters, and which rule failed |
| `country`, `joinedDate`, `totalVideos`, `totalViews`, `description` | Channel profile |
| `recentVideos` | Optional: title, views, age and URL of each analyzed video |

### How to use it

1. **Find channels by keyword** — put topics in `searchKeywords` (e.g. `meal prep`, `notion tutorial`), or
2. **Score a list you already have** — paste channel URLs, `@handles` or `UC…` IDs into `channels`.
3. Set the filters that match your offer, for example:
   - `minSubscribers` 10,000 and `maxSubscribers` 500,000 (skip tiny and celebrity channels)
   - `minUploadsLast30Days` 2 (still posting)
   - `minViewToSubRatio` 0.05 (at least 5% of subscribers watch new uploads)
4. Turn on `onlyQualified` if you only want the channels that pass — you are only charged for channels saved.

Sort the result by `score` and start your outreach from the top.

### Example output

```json
{
  "title": "Jeff Su",
  "handle": "@JeffSu",
  "url": "https://www.youtube.com/channel/UCwAnu01qlnVg1Ai2AbtTMaA",
  "subscribers": 1960000,
  "medianViews": 234000,
  "viewToSubRatio": 0.1194,
  "uploadsLast30Days": 5,
  "daysSinceLastUpload": 0,
  "avgDaysBetweenUploads": 13.3,
  "country": "United States",
  "score": 84,
  "qualified": true,
  "failedFilters": [],
  "source": "input"
}
```

### Good to know

- **Dates are approximate.** YouTube shows upload dates on channel pages as "5 days ago", "2 months ago", "1 year ago". Recent uploads are precise to the day; older ones only to the month or year. `avgDaysBetweenUploads` is left empty when the dates are too coarse to tell uploads apart.
- **Members-only videos are skipped.** They have no public view count, so they are left out of the stats and counted in `membersOnlySkipped`.
- **Long-form first, Shorts as fallback.** Stats come from the channel's long-form uploads. For Shorts-only creators the Actor falls back to their Shorts (`contentType: "shorts-only"`) — views are filled in, but YouTube shows no dates for Shorts, so `uploadsLast30Days` and `daysSinceLastUpload` stay empty, and a filter that needs them marks the channel as not qualified.
- **No emails.** This Actor does not collect personal contact data.
- **Public data only.** It reads public channel pages, with no login, and does not try to get around any YouTube protection. If YouTube refuses a request, that channel is reported in the run's `RUN_SUMMARY` record and you are not charged for it.

### Pricing

Pay per channel saved, plus a small start fee per run. Channels that fail to load, or that are filtered out with `onlyQualified`, are not charged.

# Actor input Schema

## `searchKeywords` (type: `array`):

Find channels by keyword (YouTube channel search). Example: "meal prep", "notion tutorial".

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

Channel URLs, @handles or channel IDs (UC...) to score directly.

## `maxChannelsPerKeyword` (type: `integer`):

How many channels to take from each keyword search.

## `videosToAnalyze` (type: `integer`):

How many of the latest long-form uploads to use for view and upload-frequency stats.

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

Channels below this are marked not qualified.

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

Channels above this are marked not qualified (useful to skip celebrities).

## `minUploadsLast30Days` (type: `integer`):

Activity filter. Based on YouTube's relative dates, so approximate.

## `maxDaysSinceLastUpload` (type: `integer`):

Skip channels that have gone quiet.

## `minViewToSubRatio` (type: `number`):

Median recent views divided by subscribers, e.g. 0.1 = 10%. Filters out channels with dead audiences.

## `onlyQualified` (type: `boolean`):

If on, channels that fail a filter are not saved (and not charged).

## `includeVideos` (type: `boolean`):

Attach the analyzed videos (title, views, age, URL) to each channel.

## Actor input object example

```json
{
  "searchKeywords": [
    "meal prep"
  ],
  "channels": [
    "@JeffSu"
  ],
  "maxChannelsPerKeyword": 20,
  "videosToAnalyze": 10,
  "onlyQualified": false,
  "includeVideos": false
}
```

# Actor output Schema

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

All scraped records as a JSON array.

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

All scraped records as a CSV file.

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

All scraped records as an Excel workbook.

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

The default dataset of this run in Apify Console.

# 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 = {
    "searchKeywords": [
        "meal prep"
    ],
    "channels": [
        "@JeffSu"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("youfuxu/youtube-prospect-scorer").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 = {
    "searchKeywords": ["meal prep"],
    "channels": ["@JeffSu"],
}

# Run the Actor and wait for it to finish
run = client.actor("youfuxu/youtube-prospect-scorer").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 '{
  "searchKeywords": [
    "meal prep"
  ],
  "channels": [
    "@JeffSu"
  ]
}' |
apify call youfuxu/youtube-prospect-scorer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,youfuxu/youtube-prospect-scorer"
        }
    }
}
```

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/hVOUdSHTLZ8FxeniU/builds/0H7pLK9uDQgsaEDpW/openapi.json
