# Youtube Trend Finder (`ingeniela/youtube-trend-finder`) Actor

- **URL**: https://apify.com/ingeniela/youtube-trend-finder.md
- **Developed by:** [Ingeniela](https://apify.com/ingeniela) (community)
- **Categories:** AI, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 topic checkeds

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 Trend Finder: Rising Topics & AI Video Ideas

Know **what to film next week** before the topic is crowded. Give it the topics of your channel (n8n, AI agents, Claude Code, vibe coding…) and for each one you get:

- **YouTube search interest**: the last 4 weeks vs the 12 before, plus 12 months of weekly data;
- the **YouTube searches rising fastest** and the top searches, which are the titles people type;
- **news and developer buzz**: tech stories and their points in the last N days vs the N days before, with the top headlines;
- **new GitHub projects** mentioning the topic, an early signal for AI and dev tools;
- **Wikipedia attention** (daily readers, growth);
- **what YouTube autocomplete suggests** ("n8n vs", "n8n for", "n8n tutorial"…), grouped by intent;
- one **momentum score (0–100)** with a label: **rising fast**, **rising**, **steady** or **cooling**.

Then the AI reads all of it and writes **ranked video ideas** for your channel: an honest but clickable title, the **first-5-seconds hook**, the format, **why now** and the **evidence** behind it (a rising search, a headline, a growth %). It also says what to **avoid**: cooling topics and saturated angles.

> 📈 Schedule it every Monday: a fresh list of rising topics and video ideas for the week.

### What you get

**Trends** (one row per topic):

| Field | What it is |
|---|---|
| momentum, label | Score 0–100 and rising fast / rising / steady / cooling |
| youtubeSearchGrowth | % change of YouTube search interest, last 4 weeks vs the 12 before |
| risingSearches, topSearches | What people search on YouTube about the topic |
| buzzGrowth, topHeadlines | News and developer buzz, with the most-read stories |
| newRepos, newReposGrowth, hotRepos | New open-source projects and the most starred ones |
| youtubeSearches, searchIntent | Autocomplete suggestions grouped by intent (tutorial, comparison, use case…) |
| subTopics | The sub-topics that keep coming up |

**Video ideas** (one row each): rank, title, hook, format, why now, evidence, difficulty.

**REPORT** (HTML): the trend table, the video ideas and what people are reading.

### How the momentum score works

Each signal becomes 0–100 points (−50 % or worse = 0, flat = 40, +100 % = 80, +200 % or more = 100), then they are combined:

| Signal | Weight |
|---|---|
| YouTube search interest | 45 % |
| News and developer buzz | 30 % |
| Wikipedia attention | 15 % |
| New GitHub projects | 10 % |

A signal with no data is left out and the others are re-weighted. 70+ = rising fast, 55+ = rising, 35+ = steady, below 35 = cooling.

### How to use it

1. Add up to **25 topics**. Short names work best: `n8n`, not `how to automate with n8n`.
2. Optional: describe **your channel** and **audience**, so the ideas fit you.
3. Pick the **language** of the YouTube searches and of the ideas, and the **country**.
4. Click **Start** and open **REPORT**.

### Input example

```json
{
  "topics": ["n8n", "AI agents", "Claude Code", "vibe coding", "MCP server"],
  "channel": "Spanish channel about AI automation for small businesses",
  "audience": "beginners and freelancers",
  "ideas": 12,
  "ideasLanguage": "Spanish",
  "days": 30,
  "language": "es",
  "country": "MX"
}
```

### Pricing

| Event | Price |
|---|---|
| Topic checked (all signals, momentum, rising searches) | $0.03 |
| AI trend read + video ideas (whole run, built-in AI) | $0.15 |

5 topics with 12 video ideas cost **$0.30**. With your own AI key (Anthropic, OpenAI, OpenRouter, Gemini, xAI, DeepSeek or Mistral) the ideas are not charged. YouTube search interest adds about US$0.04 of data cost per topic on your Apify account, with a spending limit you set; turn it off to use only the free signals.

### FAQ

**Is this only for tech channels?** No. The news and GitHub signals fit tech best, but YouTube search interest, rising searches and autocomplete work for any niche: cooking, fitness, finance, gaming.

**Does it invent trends?** No. The AI only uses the numbers it is given and must quote the signal behind each idea.

**Can I use it from n8n, Make or Zapier?** Yes, through the Apify API or the Apify integrations.

### Related

- **Viral Content Finder**: the most viral posts about a topic on TikTok, YouTube, Instagram and LinkedIn.
- **YouTube Title & Thumbnail Analyzer**: check your packaging before you publish.

# Actor input Schema

## `topics` (type: `array`):

Up to 25 topics, tools or keywords. Short names work best (e.g. 'n8n', not 'how to automate with n8n').

## `channel` (type: `string`):

e.g. 'Spanish channel about AI automation for small businesses'. The video ideas fit it.

## `audience` (type: `string`):

e.g. 'beginners, freelancers, agency owners'.

## `ideas` (type: `integer`):

How many ranked video ideas the AI writes. 0 = trends only.

## `ideasLanguage` (type: `string`):

Titles and hooks are written in this language.

## `days` (type: `integer`):

News and GitHub activity of the last N days vs the N days before.

## `language` (type: `string`):

Language of the YouTube searches people type.

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

Two-letter code, e.g. US, MX, ES, AR.

## `worldwide` (type: `boolean`):

Off = only the country above.

## `youtubeSearchInterest` (type: `boolean`):

12 months of YouTube search interest plus the searches rising fastest. About US$0.04 per topic of data cost on your Apify account.

## `scraperMaxCostUsd` (type: `integer`):

Upper limit for the YouTube search interest data.

## `checkGithub` (type: `boolean`):

How many new open-source projects mention the topic: an early signal for dev and AI tools.

## `githubToken` (type: `string`):

Only makes the GitHub step faster (no permissions needed).

## `useProxy` (type: `boolean`):

Retries through a proxy when a request is refused.

## `aiProvider` (type: `string`):

Leave all keys empty to use the built-in AI (billed per AI event).

## `aiModel` (type: `string`):

Empty = a good default for the provider.

## `anthropicApiKey` (type: `string`):

With your own key (any provider) that provider bills you and AI events are not charged.

## `openaiApiKey` (type: `string`):

Your own key from platform.openai.com.

## `openrouterApiKey` (type: `string`):

Your own key from openrouter.ai/keys.

## `geminiApiKey` (type: `string`):

Your own key from aistudio.google.com/apikey.

## `xaiApiKey` (type: `string`):

Your own key from console.x.ai.

## `deepseekApiKey` (type: `string`):

Your own key from platform.deepseek.com.

## `mistralApiKey` (type: `string`):

Your own key from console.mistral.ai.

## Actor input object example

```json
{
  "topics": [
    "n8n",
    "AI agents",
    "Claude Code",
    "vibe coding",
    "MCP server"
  ],
  "ideas": 12,
  "ideasLanguage": "English",
  "days": 30,
  "language": "en",
  "country": "US",
  "worldwide": true,
  "youtubeSearchInterest": true,
  "scraperMaxCostUsd": 1,
  "checkGithub": true,
  "useProxy": true,
  "aiProvider": "auto"
}
```

# Actor output Schema

## `report` (type: `string`):

No description

## `trends` (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 = {
    "topics": [
        "n8n",
        "AI agents",
        "Claude Code",
        "vibe coding",
        "MCP server"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/youtube-trend-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 = { "topics": [
        "n8n",
        "AI agents",
        "Claude Code",
        "vibe coding",
        "MCP server",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/youtube-trend-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 '{
  "topics": [
    "n8n",
    "AI agents",
    "Claude Code",
    "vibe coding",
    "MCP server"
  ]
}' |
apify call ingeniela/youtube-trend-finder --silent --output-dataset

```

## MCP server setup

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