# YouTube Content Gap Finder - Topics You Are Missing (`seemuapps/youtube-content-gap-finder`) Actor

Compare your YouTube channel with up to five competitors and get the topics they cover that you do not, ranked by the views those videos pull.

- **URL**: https://apify.com/seemuapps/youtube-content-gap-finder.md
- **Developed by:** [Seemu Scraping](https://apify.com/seemuapps) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 channel analyses

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 Content Gap Finder - Topics You Are Missing

Point this at your channel and up to five competitors and get back the content topics they publish that you do not — ranked by how many views those videos actually pull, with example videos and suggested titles for each gap.

It answers the question every channel owner has after a competitor analysis: *so what should I make next?*

### What you get

One row per content topic:

- **topic** and **description** — what a video on this topic actually contains
- **coveredByYou** — whether your channel already has comparable videos
- **opportunityScore** (0-100) — built from real numbers: how these videos perform against your own median views, how recent the topic is, and how many competitors prove it works
- **competitorVideoCount**, **competitorTotalViews**, **competitorAvgViews**, **competitorMedianViews**
- **viewsVsYourMedian** — `3.04` means videos on this topic average three times your channel's median
- **topVideoTitle**, **topVideoUrl**, **topVideoViews** and up to five **exampleVideos**
- **coveringChannels** and **newestVideoDaysAgo** — who is doing it and how fresh it is
- **suggestedTitles** — three specific titles you could publish on the topic
- **yourVideosOnTopic** — your closest existing videos, so you can judge the call yourself

### Use cases

- **Content planning** — turn a competitor set into a ranked list of what to film next
- **Channel audits** — deliver a clear gap analysis to a client with numbers attached
- **Niche research** — map what an entire niche covers before launching a channel
- **Relaunch and pivots** — find the topics your audience watches elsewhere
- **Agency pitches** — show a prospect exactly what their competitors earn views on

### How to use

1. Enter **Your channel** (a `@handle`, channel URL or `UC…` ID). Leave it empty to simply map what a set of channels covers.
2. Add up to five **Competitor channels**.
3. Set **Videos per channel** — 60 recent uploads each is a good default; raise it for a broader picture.
4. Optionally turn on **Include Shorts** or **Include topics you already cover**.
5. Run the actor — topics appear in the **Dataset** tab, highest opportunity first.

### Output format

```json
{
  "topic": "AI model breakdowns",
  "description": "Videos analysing specific AI models, their capabilities and limitations.",
  "whyItWorks": "Both competitors average well above their channel median on these.",
  "audienceIntent": "staying current on AI releases",
  "coveredByYou": false,
  "opportunityScore": 76,
  "competitorVideoCount": 28,
  "competitorAvgViews": 837786,
  "viewsVsYourMedian": 3.04,
  "coveringChannels": ["Competitor A", "Competitor B"],
  "newestVideoDaysAgo": 3,
  "topVideoTitle": "Did OpenAI actually build AGI?",
  "topVideoUrl": "https://www.youtube.com/watch?v=VIDEO_ID",
  "topVideoViews": 4100000,
  "suggestedTitles": ["The new model that changes the workflow", "..."]
}
```

### Notes

- View counts come from the public channel pages, so they are the same rounded figures YouTube shows (`1.2M views`). Medians and averages are computed from those.
- Topics are grouped from the videos that were actually read — raise **Videos per channel** if a competitor posts very frequently and you want more history.
- Channels with hidden view counts still contribute their titles; their videos simply carry `null` views.

# Actor input Schema

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

The channel to find gaps for - a @handle, channel URL or UC… channel ID. Leave empty to simply map what the competitors cover.

## `competitorChannels` (type: `array`):

Up to 5 competitor channels, one per line, as @handles, channel URLs or UC… IDs.

## `maxVideosPerChannel` (type: `integer`):

How many recent uploads to read from each channel. More videos means a broader picture and a slightly slower run.

## `includeShorts` (type: `boolean`):

Also read each channel's Shorts tab. Useful when your competitors publish mainly short-form video.

## `includeCoveredTopics` (type: `boolean`):

Return every topic found, not only the gaps. Handy for a full content map of your niche.

## `maxTopics` (type: `integer`):

Maximum number of topic rows to return.

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

Language model used to cluster the videos into topics.

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

Optional proxy for reading the channels. Not normally needed.

## Actor input object example

```json
{
  "myChannel": "@ThePrimeTimeagen",
  "competitorChannels": [
    "@t3dotgg",
    "@FireshipIO"
  ],
  "maxVideosPerChannel": 60,
  "includeShorts": false,
  "includeCoveredTopics": false,
  "maxTopics": 12,
  "model": "openai/gpt-6-luna",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One record per topic: topic, description, whyItWorks, audienceIntent, coveredByYou, opportunityScore, competitorVideoCount, competitorTotalViews, competitorAvgViews, competitorMedianViews, viewsVsYourMedian, coveringChannels, newestVideoDaysAgo, topVideoTitle, topVideoUrl, topVideoViews, exampleVideos, yourVideosOnTopic, suggestedTitles, yourChannelMedianViews.

# 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 = {
    "myChannel": "@ThePrimeTimeagen",
    "competitorChannels": [
        "@t3dotgg",
        "@FireshipIO"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/youtube-content-gap-finder").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 = {
    "myChannel": "@ThePrimeTimeagen",
    "competitorChannels": [
        "@t3dotgg",
        "@FireshipIO",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/youtube-content-gap-finder").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 '{
  "myChannel": "@ThePrimeTimeagen",
  "competitorChannels": [
    "@t3dotgg",
    "@FireshipIO"
  ]
}' |
apify call seemuapps/youtube-content-gap-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/youtube-content-gap-finder"
        }
    }
}
```

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/HNU3NBbxPA7NWN6Pn/builds/gLcCguJm2gibpIUxL/openapi.json
