YouTube comments API for your agent. One call per video.
The short answer
The short answer
YouTube comments API for an agent: it sends a YouTube video link or ID to a catalog endpoint and reads comment text, author and like count back. Several providers sell the call, so the agent tries the cheapest first. You pay per call, and a failed call costs nothing.
Updated
- Comment text
- Author
- Like count
- Reply count
- Publish date
The job
What the YouTube comments API gives your agent
Comments are the cheapest focus group there is. Your agent sends a video link, reads back the comments with their authors, like counts and dates, and groups them into what viewers ask for, praise and complain about. It also finds the questions a creator never answered.
The three providers differ in depth. One returns comments and replies, ordered by top or newest, and pages with a token until it hits the platform's own ceiling of about 1,000 top comments or 7,000 newest. One returns top-level comments with a token for each comment's replies. One returns the top 20 comments live.
You give
a YouTube video link or ID
https://www.youtube.com/watch?v=dQw4w9WgXcQ
You get
- Comment text
- Author
- Like count
- Reply count
- Publish date
Providers, cheapest first
What actually differs between providers
Today the price runs from $0.0010 to $0.0020 across 3 endpoints. The dearest costs about 2.0 times the cheapest. Price is only one difference. Each entry below says what that endpoint takes or returns that the others do not.
TikHub$0.0010 / callTakes a video ID and returns top-level comments with likes, reply count and author, plus a token for fetching replies.
tikhub-api-youtube-web-v2-get-video-commentsScrapeCreators
$0.00188 / callReturns comments and replies with the author, like count, reply count and date, ordered by top or newest, and pages with a continuation token.
scrapecreators-youtube-video-comments
DataForSEO$0.0020 / callReturns the top 20 comments live, with the author and the key comment metrics.
dataforseo-serp-youtube-video-comments-live-advanced
Cost
What 100 YouTube comments runs cost
$0.1000
100 videos cost about $0.1000 through the cheapest endpoint, at TikHub, and about $0.2000 through the dearest. Each run is one call.
Sample calls
The request and what comes back
Each run is one POST to /v1/runs with an endpoint id and an input. These are illustrative calls with generic values. The run's result holds the provider's own fields.
{"endpointId":"scrapecreators-youtube-video-comments","input":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","order":"newest"},"wait":30}// POST /v1/runs, then read run.status and run.result // result: returns comments and replies with the author, like count, reply count and date, ordered by top or newest, and pages with a continuation token
The prompt
Copy one prompt, give it to your agent.
Edit the names and numbers, paste it, and the agent runs the job and shows the cost.
- One run is one video.
- 1 step across 3 providers.
- Runs on demand, whenever you ask.
set up looot for YouTube comments API - https://looot.ai/use-cases/youtube-comments-api/skill.mdBefore you start
Settle these before the first run
- Choose the order. Top comments show what resonates, and newest shows what viewers say now.
- Mind the ceiling. YouTube exposes about 1,000 top comments or 7,000 newest through one provider here, and no call gets past that.
- Replies are a separate call on one provider and come with the comments on another. Decide up front whether the threads matter, because each reply fetch is billed.
FAQ
Questions people ask
More ways to run this job
- use case
- YouTube comments API
- run
- video
- schedule
- on demand
- step
- Fetch the comments: scrapecreators tikhub dataforseo
- setup
- https://looot.ai/use-cases/youtube-comments-api/skill.md
- llms.txt
- https://looot.ai/llms.txt
- updated
- 2026-10-04
Try YouTube comments with your own agent.
Start your workspace, top up, and paste the prompt into the agent you already use.