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 - https://looot.ai/skill.md

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

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 steps 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 - https://looot.ai/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.

For agents
use case
YouTube comments API
run
video
schedule
on demand
step
Fetch the comments: scrapecreators tikhub dataforseo
setup
https://looot.ai/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.