# Find clip-worthy moments in long YouTube videos

**Use case:** 

For long-form clipping: the ten most replayed moments of each video at least two minutes apart, each with a timestamped link, the chapter title and the caption line spoken at that point. Export as JSON, CSV or Excel.

## Input

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=aircAruvnKk"
  ],
  "maxVideos": 100,
  "topMomentsCount": 10,
  "minSecondsBetweenMoments": 120,
  "includeTranscript": true,
  "transcriptLanguage": "en",
  "includeHeatmap": true,
  "useProxy": true
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "channelTitle": {
    "label": "Channel Title",
    "format": "string"
  },
  "topMomentTimestamp": {
    "label": "Top Moment Timestamp",
    "format": "string"
  },
  "topMomentUrl": {
    "label": "Top Moment Url",
    "format": "string"
  },
  "topMomentIntensity": {
    "label": "Top Moment Intensity",
    "format": "string"
  },
  "topMomentChapter": {
    "label": "Top Moment Chapter",
    "format": "string"
  },
  "topMomentTranscript": {
    "label": "Top Moment Transcript",
    "format": "string"
  },
  "lengthSeconds": {
    "label": "Length Seconds",
    "format": "string"
  },
  "viewCount": {
    "label": "View Count",
    "format": "string"
  },
  "videoUrl": {
    "label": "Video Url",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "source": {
    "label": "Source",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "string"
  },
  "input": {
    "label": "Input",
    "format": "string"
  },
  "videoId": {
    "label": "Video Id",
    "format": "string"
  },
  "channelId": {
    "label": "Channel Id",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published At",
    "format": "string"
  },
  "topMomentStartSeconds": {
    "label": "Top Moment Start Seconds",
    "format": "string"
  },
  "topMoments": {
    "label": "Top Moments",
    "format": "string"
  },
  "momentSpacingSeconds": {
    "label": "Moment Spacing Seconds",
    "format": "string"
  },
  "openingExcludedSeconds": {
    "label": "Opening Excluded Seconds",
    "format": "string"
  },
  "mostReplayedLabels": {
    "label": "Most Replayed Labels",
    "format": "string"
  },
  "chapterSource": {
    "label": "Chapter Source",
    "format": "string"
  },
  "chapters": {
    "label": "Chapters",
    "format": "string"
  },
  "transcriptLanguage": {
    "label": "Transcript Language",
    "format": "string"
  },
  "transcriptIsAutoGenerated": {
    "label": "Transcript Is Auto Generated",
    "format": "string"
  },
  "transcriptNote": {
    "label": "Transcript Note",
    "format": "string"
  },
  "heatmapSegmentCount": {
    "label": "Heatmap Segment Count",
    "format": "string"
  },
  "heatmapSegmentSeconds": {
    "label": "Heatmap Segment Seconds",
    "format": "string"
  },
  "heatmap": {
    "label": "Heatmap",
    "format": "string"
  },
  "isLiveContent": {
    "label": "Is Live Content",
    "format": "string"
  },
  "searchUrl": {
    "label": "Search Url",
    "format": "string"
  },
  "note": {
    "label": "Note",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Most Replayed Scraper - Heatmap Peaks & Timestamps](https://apify.com/neverempty/youtube-most-replayed-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/youtube-most-replayed-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/neverempty/youtube-most-replayed-scraper.md

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`).
