Sourcelane

YouTube Most Replayed Moments Scraper

YouTube

Operated by Sourcelane✓ verified

Find the most replayed moments of any YouTube video or Short - ranked peak timestamps, deep links, intensity scores and the full replay heatmap curve.

Read full description

A scraper that reads YouTube's "Most replayed" heatmap (the replay graph above the progress bar) for any YouTube video or Short and converts the curve into ranked replay moments and per-video metadata. It detects local maxima on the replay curve, scores and ranks replay peaks by normalized intensity (0–1), merges nearby peaks based on a configurable gap, expands each peak window while the curve remains at a high fraction of the peak (70% threshold), and yields precise start/end timestamps, peak timestamps, deep links to open the video at those seconds, optional spoken-text transcripts for each moment, and the underlying replay curve sampled at roughly 100 points. Outputs include video metadata (id, title, channel, duration, view count, short indicator), whether a replay heatmap exists, YouTube’s own labeled most-replayed point alongside the scraper’s ranked moments, and optional full heatmap data for attention-charting. Configurable analysis options include the number of top peaks to return, merging distance between peaks, and toggles for including transcripts and the raw heatmap.

Verified Oct 25, 10:11 PM

$0.005

per video heatmap

Up to 100 per call. Only pay for results returned; failed calls are refunded.

What people use it for

You give it

  • Videosrequired

    YouTube video URLs or IDs, one per line.

Optional settings

Top peaks per videoMinimum gap between peaks (seconds)Include the intro spikeInclude transcript for each peakInclude full heatmap

You get back

Text & content
TitleChannel titleTranscript languageTranscript is auto generated
Numbers & stats
Duration secondsDurationViews
Links & media
Video IDURLChannel URL
Other details
Channel IDShortHeatmap availableMost replayedPeaksHeatmap

Trust & reliability

7d uptime trend
WindowUptimeSuccess ratep50p95Calls
24h————0
7d————0
30d————0

Calling contract

Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.

Call it via Sourcelane

curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"youtube-most-replayed-scraper","params":{"videos":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]},"maxResults":10}'

Request params

FieldTypeRequiredDescription
videosarrayrequiredYouTube video URLs or IDs, one per line. Accepts watch, youtu.be, Shorts and live URLs. Up to 500 per run.
topPeaksintegeroptionalHow many most-replayed moments to return per video, ranked by replay intensity.
minPeakGapSecondsintegeroptionalPeaks closer together than this are merged into one moment. Raise it for long videos or podcasts to get moments spread across the whole video.
includeIntroPeakbooleanoptionalAlmost every video has a replay spike in the first second because everyone starts watching there. Off by default so the peaks show real highlight moments. If a video has no other peak (common on Shorts, whose curve simply fades out), the intro is returned anyway.
includeTranscriptbooleanoptionalAttach what is being said during each most-replayed moment, taken from the video's captions. Charged as an extra event per video that gets transcript text.
includeHeatmapbooleanoptionalAlso return the full replay curve (about 100 points per video, each with start time, length and intensity from 0 to 1) for your own charts.

Each result contains

FieldTypeDescription
videoIdstring—
urlstringVideo URL
titlestringTitle
channelTitlestringChannel
channelIdstring—
channelUrlstring—
durationSecondsinteger—
durationstringDuration
viewsintegerViews
isShortbooleanShort
heatmapAvailablebooleanHeatmap
mostReplayedobjectYouTube 'Most replayed'
peaksarrayPeaks
heatmaparray—
transcriptLanguagestring—
transcriptIsAutoGeneratedboolean—
statusstring—
errornull—

Use YouTube Most Replayed Moments Scraper from Claude, ChatGPT or Cursor

Pick your tool and connect in under a minute. Then just ask — for example: “Get the transcript of this video and turn it into a blog outline: <url>”

Connect Claude

Web, desktop and mobile. One click, then confirm.

  1. 1Click Add to Claude — claude.ai opens with Sourcelane filled in
  2. 2Click Continue to confirm — it then works in Claude desktop and mobile too
Manual setup (config files, REST, Python) +

Claude Code

Adds the Sourcelane MCP server with your key as a header.

terminal
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
  --header "Authorization: Bearer sl_live_your_agent_key"

Claude Desktop (config file)

Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.

claude_desktop_config.json
{
  "mcpServers": {
    "sourcelane": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.usesourcelane.com/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

Cursor & Windsurf

Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).

mcp.json
{
  "mcpServers": {
    "sourcelane": {
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

VS Code

Save as .vscode/mcp.json. VS Code prompts for your key once.

.vscode/mcp.json
{
  "servers": {
    "sourcelane": {
      "type": "http",
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:sourcelane-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "sourcelane-key",
      "description": "Sourcelane agent key",
      "password": true
    }
  ]
}

ChatGPT Custom GPT (Actions)

Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.

OpenAPI schema URL
https://usesourcelane.com/openapi.json

REST

One POST. Pass maxResults to cap cost.

curl
curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"youtube-most-replayed-scraper","params":{"videos":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]},"maxResults":10}'

Python, LangChain, CrewAI, OpenAI Agents SDK…

Wrap the REST call as a tool, or point an MCP client at the endpoint.

python
import requests

res = requests.post(
    "https://api.usesourcelane.com/v1/call",
    headers={"Authorization": "Bearer sl_live_your_agent_key"},
    json={
        "listing": "youtube-most-replayed-scraper",
        "params": {"videos":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]},
        "maxResults": 10,
    },
    timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])

Reviews

—

0 reviews

5
0
4
0
3
0
2
0
1
0

Leave a review

Loading reviews…

Related YouTube connectors

See all YouTube data connectors →