# YouTube Video Analyzer: AI Summary, Key Moments & Hook (`spokentext/youtube-video-analyzer`) Actor

Paste public YouTube links and get an AI analysis of each video: summary, key points, timestamped moments, hook, topics, audience and products shown. Ask your own question about any video. Uses Google's official Gemini API. No proxies needed.

- **URL**: https://apify.com/spokentext/youtube-video-analyzer.md
- **Developed by:** [clement](https://apify.com/spokentext) (community)
- **Categories:** Videos, AI, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $14.00 / 1,000 video analyseds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### What is YouTube Video Analyzer?

**YouTube Video Analyzer** watches public YouTube videos with AI and tells you what is in them: a **summary**, **key points**, **timestamped key moments**, the **hook**, topics, audience, call to action and the products shown. Ask your own question and get an answer for every video.

It uses Google's official **Gemini API**, which reads both what is said and what is shown. It works on videos without captions, and it needs no proxy.

### What can this YouTube analyzer do?

- **More than a transcript.** It describes what happens on screen as well as what is said.
- **Timestamped key moments,** ready to use as chapters.
- **Hook analysis:** how the first seconds grab attention, for creators and ad teams.
- **Ask anything.** Your question is answered for each video, such as "Which tools are named?".
- **Any language.** Choose the language of the analysis, whatever language the video is in.
- **Works in bulk:** up to 100 videos per run, and Shorts too.
- **Pay per video and per minute.** No subscription, and nothing charged for videos that fail.

Because it runs on Apify, you also get:

- **Scheduling:** analyse new videos on a regular basis.
- **API access:** start runs and read results from your own code.
- **Integrations:** send results to Make, Zapier, n8n, Google Sheets and more.
- **Monitoring:** get alerted when a run fails or returns less than expected.
- **Exports:** download results as JSON, CSV or Excel.

### What data can you get from a YouTube video?

| Data | Field |
|---|---|
| Summary in 3 to 5 sentences | `summary` |
| Main points | `keyPoints` |
| Chapters with their start time | `keyMoments` |
| How the opening grabs attention | `hook` |
| Topics and audience | `topics`, `audience` |
| What viewers are asked to do | `callToAction` |
| Brands and products named or shown | `productsMentioned` |
| The answer to your question | `answer` |

### How to analyse a YouTube video

1. Paste the links into **YouTube video links**, one per line. Shorts and `youtu.be` links work.
2. Optionally write **your question** about the videos.
3. Optionally set the **language of the analysis**.
4. Click **Start**. When the run finishes, open the **Output** tab and download the results as JSON, CSV or Excel.

**Try it on the free Apify plan:** each run analyses up to 3 videos, each on its first 10 minutes, at the normal price taken from your free monthly credit. Paid plans have no such limit.

### How much does it cost to analyse a YouTube video?

You pay **per video analysed**, plus **$0.003 per minute of video**, rounded up. The price per video depends on your Apify Store discount tier:

| Store discount tier | Price per video |
|---|---|
| Bronze | $0.018 |
| Silver | $0.016 |
| Gold and above | $0.014 |

At the Bronze price:

| Video | Cost |
|---|---|
| A 1-minute Short | $0.021 |
| A 10-minute video | $0.048 |
| A 1-hour video | $0.198 |

Minutes are measured from what the model processed. Videos that fail are not charged. Set the run's maximum charge to cap spending: the Actor stops before starting a video it cannot pay for.

### Input example

```json
{
    "urls": [
        "https://www.youtube.com/watch?v=9hE5-98ZeCg"
    ],
    "question": "Which products or tools are named?",
    "outputLanguage": "English"
}
```

| Field | Meaning |
|---|---|
| `urls` | Links to public videos or Shorts, up to 100 per run |
| `question` | Your question about each video (optional) |
| `outputLanguage` | Language of the analysis (optional; otherwise the language spoken in the video) |

### Output example

A real result for the input above, with the lists shortened. One dataset item per video:

```json
{
    "inputUrl": "https://www.youtube.com/watch?v=9hE5-98ZeCg",
    "videoUrl": "https://www.youtube.com/watch?v=9hE5-98ZeCg",
    "status": "ok",
    "title": "Multimodal Live API Demo with Gemini 2.0",
    "summary": "This video is a demonstration of the Multimodal Live API in Gemini 2.0, showing off its real-time processing capabilities. The AI interacts with a user to read text, explain terms, and tell stories, illustrating features like interruptions and memory. The demo concludes by directing users to start building with the API at the Google AI Studio.",
    "keyPoints": [
        "Gemini 2.0 offers native audio, image, and tool usage.",
        "The Multimodal Live API enables real-time multimodal application development.",
        "The AI can process and integrate different types of data, such as text, images, and audio."
    ],
    "keyMoments": [
        {
            "time": "00:00",
            "title": "Intro to Gemini 2.0 features"
        },
        {
            "time": "00:27",
            "title": "Multimodal API reads text from a document"
        },
        {
            "time": "00:54",
            "title": "AI explains the term \"multimodal\""
        }
    ],
    "hook": "This is a quick demo of multimodal live streaming in Gemini 2.0, and we are casting a tab into AI Studio.",
    "topics": [
        "Artificial Intelligence",
        "Multimodal AI",
        "API development",
        "Real-time streaming"
    ],
    "audience": "Software developers and AI enthusiasts.",
    "callToAction": "Start building with Gemini 2.0 at aistudio.google.com.",
    "productsMentioned": [
        "Gemini 2.0 Flash",
        "Multimodal Live API",
        "Google Search",
        "Google Meet",
        "Google AI Studio"
    ],
    "spokenLanguage": "English",
    "answer": "The products and tools named in the video are Gemini 2.0, Gemini 2.0 Flash, the Multimodal Live API, Google Search, Google Meet, and Google AI Studio.",
    "videoMinutes": 3,
    "analysisIsAiGenerated": true,
    "model": "gemini-3.1-flash-lite",
    "analysedAt": "2026-11-01T08:22:15.564Z"
}
```

`title` is a descriptive title written by the model, not the YouTube title. Links that cannot be read produce an item with `"status": "error"` and an `error` message saying why, and are not charged.

### Use cases

- **Content research:** learn what a long video says without watching it.
- **Creators:** study the hooks and structure of the videos that work in your niche.
- **Competitor and brand monitoring:** see which products are shown and how they are presented.
- **Chapters:** get a first draft of timestamps for your own videos.
- **AI workflows:** feed structured summaries into an LLM, a database or a newsletter.

### Tips for better results

- **Ask one precise question.** "Which tools are named?" works better than a broad request.
- **Check important facts.** Treat the analysis as a strong first read, especially for names and figures.
- **Set the language** if your team reads a different language from the one in the video.

### FAQ

#### Is this a transcript tool?

No. It returns an analysis, not a word-for-word transcript. For the text of a video or a podcast, see the other Actors below.

#### Does it need captions?

No. The model reads the video itself, so it works on videos without captions.

#### How accurate is it?

Timestamps and summaries were accurate on the videos we tested, but this is written by an AI model and can contain mistakes. Every result is marked `"analysisIsAiGenerated": true`.

#### Which videos work?

Public YouTube videos and Shorts. Private and unlisted videos do not work, and channels and playlists are not accepted: paste one link per video.

#### What happens to my videos and questions?

The video link and your question are sent to Google's Gemini API to be answered. Results are stored only in your own Apify account.

#### Can I use it from my own code, Make, Zapier or n8n?

Yes. Call it through the Apify API (see the examples below), or connect it with Apify's integrations for Make, Zapier and n8n.

### Limits

- Public videos only. YouTube links through the Gemini API are a preview feature from Google, so its limits can change.
- No word-for-word transcript.
- Very long videos can fail. They are reported as errors and not charged.
- Up to 100 videos per run.

### Other Actors you may find useful

| Actor | What it does |
|---|---|
| [TikTok Transcript](https://apify.com/spokentext/tiktok-transcript) | What is said in TikTok videos, with creator and public counts |
| [Instagram Reels Transcript](https://apify.com/spokentext/instagram-reel-transcript) | What is said in Instagram Reels, with creator and public counts |
| [Spotify Podcast Transcript](https://apify.com/spokentext/spotify-podcast-transcript) | Transcripts of Spotify, Apple Podcasts and Deezer episodes |
| [Subtitle Generator](https://apify.com/spokentext/subtitle-generator) | SRT and VTT subtitle files, ready for your editor |
| [Meta AI Brand Visibility Tracker](https://apify.com/spokentext/meta-ai-brand-visibility) | Whether Meta AI recommends your brand |

### Run it from the API

With cURL:

```bash
curl -X POST "https://api.apify.com/v2/acts/spokentext~youtube-video-analyzer/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "urls": ["https://www.youtube.com/watch?v=9hE5-98ZeCg"], "question": "Which products or tools are named?" }'
```

With Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("spokentext/youtube-video-analyzer").call(run_input={"urls": ["https://www.youtube.com/watch?v=9hE5-98ZeCg"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("title"), item.get("summary"))
```

This Actor is an independent tool. It is not affiliated with or endorsed by YouTube or Google; their names only describe the videos it reads and the service it uses.

### Feedback

Something failed or gave a wrong result? Open an issue in the **Issues** tab of this page, with the error message from your results: every report is read and fixed. If the Actor saved you time, a rating helps others find it.

# Actor input Schema

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

Links to public YouTube videos or Shorts, up to 100 per run. Private and unlisted videos, channels and playlists are not supported.

## `question` (type: `string`):

Ask anything about each video, such as "Which tools are mentioned?". The answer appears in the answer field.

## `outputLanguage` (type: `string`):

Language to write the analysis in, such as English or French. Leave empty to use the language spoken in the video.

## Actor input object example

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=9hE5-98ZeCg"
  ]
}
```

# Actor output Schema

## `analyses` (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 = {
    "urls": [
        "https://www.youtube.com/watch?v=9hE5-98ZeCg"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("spokentext/youtube-video-analyzer").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 = { "urls": ["https://www.youtube.com/watch?v=9hE5-98ZeCg"] }

# Run the Actor and wait for it to finish
run = client.actor("spokentext/youtube-video-analyzer").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 '{
  "urls": [
    "https://www.youtube.com/watch?v=9hE5-98ZeCg"
  ]
}' |
apify call spokentext/youtube-video-analyzer --silent --output-dataset

```

## MCP server setup

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

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/ZL78t0UuTtDCLClII/builds/zK9i3xOl4qOP3J9eJ/openapi.json
