# Youtube Niche Intelligence (`trend_wizard/youtube-niche-intelligence`) Actor

Stop guessing what content will work on YouTube. Discover high-growth niches, emerging trends, and viral content opportunities with AI-powered market intelligence. Instead of providing raw search results, the actor combines  data with advanced AI analysis to identify trending topics. opportunities.

- **URL**: https://apify.com/trend\_wizard/youtube-niche-intelligence.md
- **Developed by:** [Yashwardhan](https://apify.com/trend_wizard) (community)
- **Categories:** Lead generation, Agents
- **Stats:** 1 total users, 1 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / final ranked video

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🚀 YouTube Niche Intelligence AI

#### Discover Viral Opportunities Before Everyone Else

Transform YouTube search data into actionable niche intelligence using AI-powered trend analysis, content classification, title psychology insights, and opportunity detection.

Instead of manually analyzing hundreds of videos, this Actor automatically finds trending content, identifies emerging opportunities, measures growth velocity, and explains *why* videos are performing well.

Perfect for creators, agencies, SEO professionals, researchers, consultants, and entrepreneurs looking to discover profitable content opportunities faster.
---
## 🔥 Popular Niches

From emerging AI trends to evergreen business opportunities, the Actor helps users discover high-growth content opportunities across virtually any YouTube category.

Some of the most frequently researched and fastest-growing niches include:

🤖 AI Automation

💰 Make Money Online

🎥 YouTube Growth

📈 Digital Marketing

🛒 E-Commerce

💸 Personal Finance

🏋️ Health & Fitness

🎮 Gaming

💻 Technology & SaaS

🎓 Education & Skill Development

⚡ Whether you're exploring established markets or searching for the next breakout trend, the Actor analyzes content performance, audience demand, and growth momentum to uncover opportunities with the highest potential.
---

### 🎯 What This Actor Does

This Actor combines:

✅ YouTube Search Scraping

✅ AI Analysis

✅ Trend Velocity Detection

✅ Niche Opportunity Scoring

✅ Content-Type Classification

✅ Title Psychology Analysis

✅ Views-Per-Day Intelligence

✅ Emerging Trend Detection

✅ Excel Report Generation

✅ Structured Dataset Export

---

### 🔥 Key Features

#### 📈 Trend Velocity Analysis

Identify videos growing rapidly using views-per-day and trend scoring models.

#### 🧠 AI Relevance Scoring

Gemini AI evaluates how closely each video matches the target niche.

#### 🎯 Opportunity Detection

Automatically classifies opportunities as:

* High
* Medium
* Low

based on growth patterns and market momentum.

#### 🚀 Emerging Trend Discovery

Detect rising topics before they become saturated.

#### 🪝 Title Psychology Analysis

Understand the emotional and psychological triggers behind successful video titles.

Examples:

* Curiosity Gap
* FOMO
* Financial Aspiration
* Urgency
* Loss Aversion
* Transformation Promise

#### 📚 Content Classification

Automatically categorizes videos into:

* Tutorial
* Case Study
* Business Strategy
* AI Automation
* Educational
* Review
* Challenge
* Documentary
* Motivation

#### 📊 Excel Intelligence Reports

Generate clean, structured Excel reports ready for research, strategy, and client delivery.

---

## 🛠 Input Example

```json
{
  "searchKeywords": ["AI Automation"],
  "maxVideoAgeDays": 365,
}
````

***

## 📦 What Data Can Be Extracted?

| Field             | Description                     |
| ----------------- | ------------------------------- |
| Title             | YouTube video title             |
| Channel           | Creator/channel name            |
| URL               | Direct video URL                |
| Views             | Total video views               |
| Views Per Day     | Daily growth velocity           |
| Days Since Upload | Video age analysis              |
| Relevance Score   | AI niche relevance score        |
| Trend Score       | Viral momentum indicator        |
| Title Hook        | Psychological click trigger     |
| Video About       | AI-generated content summary    |
| Content Type      | AI content classification       |
| Is Emerging       | Emerging trend detection        |
| Opportunity Level | High / Medium / Low opportunity |
| Thumbnail URL     | High-quality thumbnail link     |
| Duration Type     | Short / Medium / Long           |
| Verified Badge    | Verified creator detection      |
| Search Rank       | YouTube ranking position        |
| Has Chapters      | Chapter structure detection     |

***

## 💡 Use Cases

### 🎥 YouTube Creators

Discover high-performing content ideas before competitors.

### 📣 Marketing Agencies

Research winning content strategies for clients.

### 🔍 SEO Professionals

Identify growing search demand and audience interests.

### 🤖 AI Automation Businesses

Track automation trends, tools, and emerging opportunities.

### 📚 Researchers

Analyze niche evolution and content performance patterns.

### 💰 Entrepreneurs

Validate business opportunities and market demand.

***

## 📊 Example Insights Generated

#### Example Opportunity

Keyword:

```text
AI Automation
```

Detected Insight:

```text
High-growth niche with strong views-per-day velocity,
increasing creator demand,
and emerging business monetization content.
```

Opportunity Level:

```text
HIGH
```

***

## ⚡ Why Use This Instead of Manual Research?

Manual YouTube research is:

❌ Slow

❌ Inconsistent

❌ Difficult to scale

❌ Biased by personal assumptions

This Actor automatically:

✅ Finds trends faster

✅ Measures actual momentum

✅ Uses AI for content understanding

✅ Generates structured intelligence

✅ Exports actionable reports

***

## 📤 Export Formats

#### Dataset Output

Structured JSON records ready for APIs and automations.

#### Excel Reports

Professional spreadsheets for research, planning, and client presentations.

***

## 🔗 Integration Ready

Works seamlessly with:

- Make
- Zapier
- n8n
- Airtable
- Google Sheets
- CRM Systems
- Data Warehouses
- AI Workflows
- Custom APIs

***

## 🧠 Powered By

- Apify
- Crawlee
- Playwright
- Google Gemini AI

***

## 🚀 Start Discovering Winning YouTube Niches

Find viral opportunities, uncover emerging trends, and build smarter content strategies with AI-powered YouTube niche intelligence.

## ❓ Frequently Asked Questions

### 1. What does this Actor do?

This Actor analyzes YouTube search results and combines them with Gemini AI to identify trending content, emerging niches, high-opportunity topics, title psychology, and content strategies.

***

### 2. Is this a YouTube scraper?

Not just a scraper.

Unlike traditional YouTube scrapers that only collect data, this Actor transforms YouTube data into actionable niche intelligence using AI-powered analysis and trend scoring.

***

### 3. What makes the Trend Score valuable?

The Trend Score combines video performance, growth velocity, and recency to help identify videos gaining momentum rather than simply showing high view counts.

***

### 4. What is the Opportunity Level?

Opportunity Level estimates the potential for creators to enter a niche based on current growth patterns.

Possible values:

- 🟢 High
- 🟡 Medium
- 🔴 Low

***

### 5. What is an Emerging Trend?

An Emerging Trend is a topic showing strong recent growth and audience interest before becoming highly competitive.

***

### 6. How is the AI Relevance Score calculated?

Gemini AI evaluates how closely a video matches the target keyword or niche and assigns a relevance score between 0 and 1.

Higher scores indicate stronger relevance.

***

### 7. Can I analyze any niche?

Yes.

Examples:

- AI Automation
- Fitness
- Cryptocurrency
- E-commerce
- Dropshipping
- Personal Finance
- SaaS
- Education
- Productivity
- Marketing
- Real Estate
- Gaming

and virtually any YouTube topic.

***

### 8. What export formats are available?

The Actor provides:

✅ Structured Dataset Output

✅ Excel (.xlsx) Reports

Both formats are suitable for research, reporting, automation, and further analysis.

***

### 9. Do I need a Gemini API key?

Yes.

A valid Google Gemini API key is required for:

- Relevance Scoring
- Title Analysis
- Content Classification
- Opportunity Detection
- AI-Powered Insights

***

### 10. Can I use the output in automation workflows?

Absolutely.

The output can be integrated with:

- n8n
- Make
- Zapier
- Airtable
- Google Sheets
- CRM Platforms
- Data Warehouses
- Custom APIs

***

### 11. How many videos are analyzed per run?

The Actor intelligently scrapes and ranks videos based on relevance, recency, and performance before selecting the most valuable opportunities for analysis.

***

### 12. Who should use this Actor?

#### 🎥 Content Creators

Discover content opportunities and trending ideas.

#### 📈 Marketing Agencies

Research competitors and content strategies.

#### 🔍 SEO Professionals

Identify growing search demand.

#### 🤖 AI Automation Businesses

Track emerging automation trends.

#### 💰 Entrepreneurs

Validate niche demand and business opportunities.

#### 📚 Researchers

Analyze YouTube ecosystem trends and audience interests.

***

### 13. Does the Actor support worldwide niches?

Yes.

The Actor can analyze YouTube content from virtually any niche, industry, or market available on YouTube.

***

### 14. Why are some videos marked as High Opportunity?

Videos are typically classified as High Opportunity when they demonstrate strong growth velocity, recent audience demand, and favorable market conditions for new creators.

***

### 15. Can I use this for competitor research?

Yes.

The Actor is highly effective for:

- Competitor Analysis
- Content Strategy Research
- Niche Validation
- Trend Discovery
- Market Intelligence
- Audience Research

making it a powerful tool for creators, agencies, and businesses.

# Actor input Schema

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

Enter YouTube niche keywords, content ideas, or trending topics to discover viral opportunities, low-competition niches, breakout creators, and AI-powered growth insights.

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

Choose how many top-performing YouTube videos should be deeply analyzed for engagement patterns, competition strength, and opportunity intelligence.

## Actor input object example

```json
{
  "maxResults": 10
}
```

# Actor output Schema

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

Dataset of top-ranked YouTube videos with AI niche analysis, trend velocity, title psychology, and opportunity scoring.

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

Formatted 19-column .xlsx report with bold headers, stored in the Key-Value Store under the key 'youtube\_intelligence.xlsx'.

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

Run metadata (keyword, videosCollected, executionTimeSec, completedAt) stored in Key-Value Store under the key 'run\_summary'.

# 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("trend_wizard/youtube-niche-intelligence").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("trend_wizard/youtube-niche-intelligence").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 trend_wizard/youtube-niche-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=trend_wizard/youtube-niche-intelligence",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Youtube Niche Intelligence",
        "description": "Stop guessing what content will work on YouTube. Discover high-growth niches, emerging trends, and viral content opportunities with AI-powered market intelligence. Instead of providing raw search results, the actor combines  data with advanced AI analysis to identify trending topics. opportunities.",
        "version": "0.0",
        "x-build-id": "bbDV4LHJMpFpeWTMX"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/trend_wizard~youtube-niche-intelligence/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-trend_wizard-youtube-niche-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/trend_wizard~youtube-niche-intelligence/runs": {
            "post": {
                "operationId": "runs-sync-trend_wizard-youtube-niche-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/trend_wizard~youtube-niche-intelligence/run-sync": {
            "post": {
                "operationId": "run-sync-trend_wizard-youtube-niche-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searchKeywords"
                ],
                "properties": {
                    "searchKeywords": {
                        "title": "YouTube Search Keywords",
                        "type": "array",
                        "description": "Enter YouTube niche keywords, content ideas, or trending topics to discover viral opportunities, low-competition niches, breakout creators, and AI-powered growth insights.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Maximum Results",
                        "type": "integer",
                        "description": "Choose how many top-performing YouTube videos should be deeply analyzed for engagement patterns, competition strength, and opportunity intelligence.",
                        "default": 10
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
