Operated by Sourcelane✓ verified
Analyze YouTube video comments into per-video audience insights. Sentiment breakdown, top keywords, requested topics, questions, and complaints.
Guide: YouTube comments API →
A tool that transforms YouTube video comments into a concise audience report by extracting sentiment breakdown (positive/negative/neutral percentages and a sentiment score), frequently discussed keywords with counts, most-requested topics with example requests and request totals, top audience questions ranked by engagement, recurring complaint categories with examples and counts, and the highest-liked comments with author and like metrics, alongside basic video context (title, channel, views, reported comment count and how many comments were analyzed). Technical approach: deterministic, reproducible heuristics using a hand-crafted positive/negative lexicon and pattern matching to detect requests, questions, and complaints; outputs are per-video summary records containing aggregated counts, percentages, keyword frequencies, example comment excerpts, and engagement metrics.
Verified Sep 28, 3:56 AM
$0.08
per video
Up to 12 per call. Only pay for results returned; failed calls are refunded.
Content planning
Identify topics viewers are asking for next
Audience research
Measure viewer sentiment and engagement at a glance
Competitor analysis
Find unmet audience demand in rival videos
Community management
Surface high-value questions and recurring complaints for response
Creator vetting
Assess real audience reception before sponsorships or collaborations
List of YouTube video watch URLs or bare 11-character video IDs.
Optional settings
| Window | Uptime | Success rate | p50 | p95 | Calls |
|---|---|---|---|---|---|
| 24h | — | — | — | — | 0 |
| 7d | — | — | — | — | 0 |
| 30d | — | — | — | — | 0 |
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-comment-insights","params":{"videoUrls":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]},"maxResults":10}'Request params
| Field | Type | Required | Description |
|---|---|---|---|
videoUrls | array | required | List of YouTube video watch URLs or bare 11-character video IDs. Supports youtu.be/ID, watch?v=ID, and shorts/ID formats. |
maxCommentsPerVideo | integer | optional | How many top-level comments to analyze per video (20-1000). Higher values give richer insights but use more quota and time. |
commentOrder | string | optional | Order in which comments are fetched: Relevance (top/most engaged comments) or Newest (most recent first). |
Each result contains
| Field | Type | Description |
|---|---|---|
videoId | any | Video Id |
videoUrl | any | Video Url |
videoTitle | any | Video Title |
channelTitle | any | Channel Title |
viewCount | any | View Count |
commentCountReported | any | Comment Count Reported |
commentsAnalyzed | any | Comments Analyzed |
totalCommentLikes | any | Total Comment Likes |
sentimentPositivePct | any | Sentiment Positive Pct |
sentimentNegativePct | any | Sentiment Negative Pct |
sentimentNeutralPct | any | Sentiment Neutral Pct |
sentimentScore | any | Sentiment Score |
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.
Adds the Sourcelane MCP server with your key as a header.
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
--header "Authorization: Bearer sl_live_your_agent_key"Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.
{
"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"
}
}
}
}Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).
{
"mcpServers": {
"sourcelane": {
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer sl_live_your_agent_key"
}
}
}
}Save as .vscode/mcp.json. VS Code prompts for your key once.
{
"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
}
]
}Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.
https://usesourcelane.com/openapi.jsonOne POST. Pass maxResults to cap cost.
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-comment-insights","params":{"videoUrls":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]},"maxResults":10}'Wrap the REST call as a tool, or point an MCP client at the endpoint.
import requests
res = requests.post(
"https://api.usesourcelane.com/v1/call",
headers={"Authorization": "Bearer sl_live_your_agent_key"},
json={
"listing": "youtube-comment-insights",
"params": {"videoUrls":["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"])—
0 reviews
Leave a review
Loading reviews…