Video API·15 credits per call

Extract YouTube comments at scale.

Pass a video ID and get back structured comment data. No quota management or complex OAuth flows required.

POSTautomatio.ai/api/v1/query{ tool: "youtube_comments", params: { videoId: … } }

Live demo

Try it live.

Change the parameters and run a real request against the endpoint. No account, no key.

Video IDrequired
Limitrequired

Free to try, no account. Costs 15 credits on your own key.

POST /api/v1/query · youtube_comments

Run the request to see a live response.

Request
curl -X POST https://automatio.ai/api/v1/query \
  -H "Authorization: Bearer $AUTOMATIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"youtube_comments","params":{"videoId":"dQw4w9WgXcQ","limit":5}}'

How it works

One request, one response.

  1. 1

    Send video ID

    Provide the 11-character YouTube video identifier in your POST request body.

  2. 2

    Data retrieval

    The endpoint fetches the comment threads and author metadata from the public video page.

  3. 3

    Receive JSON

    A structured list of comments and pagination tokens is returned for your application to process.

Capabilities

What you get.

Everything this endpoint does, without running the infrastructure yourself.

Pagination support

Fetch thousands of comments by using continuation tokens to step through long threads.

Author metadata

Retrieve profile names and channel identifiers alongside the comment text.

Deep thread access

Access nested replies and sub-conversations beyond the top-level comments.

Engagement metrics

Get like counts and reply counts for each comment to identify high-impact feedback.

Cost of ownership

Build it yourself, or call this.

Both are real options. Here is what each one actually costs you.

Build it yourself

  • Manage Google Cloud projects
  • Handle strict API quota limits
  • Implement OAuth 2.0 flows
  • Parse complex nested response objects

Call the API

  • Single POST request
  • No quota overhead
  • Standardized schema
  • Immediate integration into any stack

Integrate

Built for the language you use.

One HTTP endpoint. Copy the call in your language and go.

example.sh
curl -X POST https://automatio.ai/api/v1/query \
  -H "Authorization: Bearer $AUTOMATIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "tool": "youtube_comments", "params": { "videoId": "dQw4w9WgXcQ", "limit": 10 } }'

In production

What people build with it.

Sentiment analysis

Feed comment text into an LLM or NLP model to gauge audience reaction to a product launch. This allows marketing teams to identify specific pain points or praise mentioned in the video feedback.

Community moderation

Identify spam or toxic behavior across multiple channels by aggregating comments into a central dashboard. Developers can build automated flagging systems that trigger based on specific keywords or patterns.

Competitive research

Analyze engagement quality on competitor videos to understand which topics resonate with a specific niche. Use the data to map out content trends and common viewer questions within a category.

Choosing parameters

Which options matter.

The table below lists what exists. These are the calls worth making deliberately.

videoId
Use the exact 11-character alphanumeric ID found in the YouTube URL. Do not pass the full URL or shortened sharing links, as these will result in a validation error.
limit
This determines how many comments are returned in a single response. Higher values reduce the number of calls needed for large videos but increase the payload size your application must handle.
continuationToken
Pass the token returned from a previous response to fetch the next page of comments. Do not attempt to generate or modify this string manually.

Alternatives

When to use something else.

A page that pretends it has no alternatives reads as an advert. These are the other real options.

YouTube Data API v3

Better for authorized write access or channel management, but requires complex OAuth setup and has strict daily quotas.

Manual browser scraping

Free for one-off tasks, but fragile and difficult to scale as YouTube frequently changes its internal DOM structure.

Before you integrate

What it does not do.

The boundaries are as useful as the features. These are the ones worth knowing up front.

Private videos

The endpoint cannot access comments on videos that are private, unlisted, or have comments explicitly disabled by the uploader.

Live chat exclusion

This tool retrieves static video comments only; it does not capture real-time live chat messages from active broadcasts.

Custom sorting

Results are returned in the order provided by the platform default. Sorting by 'newest' or 'top' must be managed via your own post-processing logic.

Reference

15 credits per call
Endpoint
POST https://automatio.ai/api/v1/query
Tool ID
youtube_comments

Parameters

NameTypeRequiredDescription
videoIdstringYouTube video ID or URL
limitnumberMax comments to return from this page (API limit ~20/page)
continuationTokenstringContinuation token from previous response to get next page (optional)

The same endpoints are available over MCP, and the full machine-readable catalogue lives in the API documentation.

Frequently Asked Questions

Find answers to common questions about YouTube Comments API

More than just prompts

Supercharge your workflow with AI Automation

Automatio combines the power of AI agents, web automation, and smart integrations to help you accomplish more in less time.

AI Agents
Web Automation
Smart Workflows