Use case, YouTube comments

YouTube comments API for your agent. One call per video.

Send a YouTube video link or ID. Read comment text and author back. Your agent picks the provider, and you pay per call.

Give this to your agent
set up looot for YouTube comments API - https://looot.ai/use-cases/youtube-comments-api/skill.md

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.

  1. TikHub logoTikHub

    Takes 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-comments
    $0.0010 / call
  2. ScrapeCreators logoScrapeCreators

    Returns 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
    $0.00188 / call
  3. DataForSEO logoDataForSEO

    Returns the top 20 comments live, with the author and the key comment metrics.

    dataforseo-serp-youtube-video-comments-live-advanced
    $0.0020 / call

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.

Request
{"endpointId":"scrapecreators-youtube-video-comments","input":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","order":"newest"},"wait":30}
ResponseSample output
// 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.
Prompt: YouTube comments API
Use looot to pull the newest comments on https://www.youtube.com/watch?v=dQw4w9WgXcQ and group them by what viewers ask for or complain about. 1. Set up https://looot.ai/skill.md. 2. Search the catalog for each step and check its price before you call. 3. Run the cheapest endpoint that fits. 4. Show the results as a table and the total cost.

Give this to your agent
Setup command
set up looot for YouTube comments API - https://looot.ai/use-cases/youtube-comments-api/skill.md

Before 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

Send the video link to a comments endpoint. Your agent reads the comments as JSON with the text, the author, the likes and the date, and pages with a token for more.

One provider here is limited to about 1,000 top comments or 7,000 newest per video. The live endpoint returns the top 20. Each page is a separate call and a separate charge.

Yes. One provider returns replies with the comments, and another gives a token per comment that you use in a replies call.

Your agent does that with its own model once it has the text. looot returns the comments and bills the calls. It does not score sentiment itself.

The text, the author, the like count, the reply count and the date, on the providers that return them. The live endpoint returns the author and the key comment metrics for the top 20.

You pay per call, and the price depends on the provider your agent picks. This page reads the cheapest live price from the catalog and shows no number when the catalog is unreachable.

No. A call that fails at the provider costs nothing, and your agent can retry it or send it to another provider.

No. One looot key reaches every provider in the catalog. You top up once, and each call is billed at the price shown before it runs.

Send a POST to /v1/runs with the endpoint id, the input and a new idempotency key, and your looot token in the Authorization header. With wait set to 30, the answer comes back in the response when the run ends within 30 seconds. Otherwise poll GET /v1/runs/<runId>.

That needs scheduled runs, not available yet. Run it by hand whenever you want fresh results.

No. looot bills per call, and nothing runs while your agent is idle.

More ways to run this job

For agents
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.