Spiral gives your agent every tool with one account. Browse the tools →

Google Antigravity · Social Media

How to Use YouTube Comments in Google Antigravity

Fetch YouTube video comment text, author details, likes, reply counts, and estimated publication dates. Use it to find recurring questions, summarize audience reactions, or prioritize feedback on a specific video.

Prompts to try with YouTube Comments in Google Antigravity

Copy an example into Google Antigravity, or ask in your own words.

Use YouTube video comments on freeCodeCamp's public Python for Beginners video at https://www.youtube.com/watch?v=rfscVS0vtbw. Compare recurring setup questions with this project's README and propose specific edits.

YouTube CommentsGoogle Antigravity
Try asking
  • Use YouTube video comments for https://www.youtube.com/watch?v=rfscVS0vtbw to build a local FAQ draft from repeated Python questions. Include supporting excerpts and the number of retrieved comments behind each topic.

  • Use YouTube video comments for https://www.youtube.com/watch?v=rfscVS0vtbw and add a report to this project ranking retrieved questions by like count, with reply counts beside them.

  • Use YouTube video comments for https://www.youtube.com/watch?v=rfscVS0vtbw. Compare requests for code examples with the examples directory and propose three additions supported by the retrieved feedback.

  • Use YouTube video comments for https://www.youtube.com/watch?v=rfscVS0vtbw to create a small comment review page in this project showing text, likes, reply counts, and publication dates labeled as estimates.

How to set up YouTube Comments in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Open the MCP config

    * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.

  2. Add the server

    Add Spiral under mcpServers:

    {
      "mcpServers": {
        "spiral": {
          "serverUrl": "https://api.spiral.ai/mcp"
        }
      }
    }
  3. Sign in

    In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

Use the Spiral skill

  1. Send Google Antigravity this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run YouTube Comments

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/youtube-video-comments",
        "input": {
          "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
        }
      }'

Then paste one of the prompts above: Google Antigravity finds YouTube Comments on Spiral, shows the price and runs it.

YouTube Comments providers and prices

Spiral runs YouTube Comments through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
YouTube · Comments
scrapecreators/youtube-video-comments

Settings you can ask for

Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Ordertop or newest

Order of comments

Every API field of YouTube · Comments is on its tool page: open its card above.

What can you do with YouTube Comments in Google Antigravity?

Turn questions beneath a YouTube software tutorial into proposed documentation fixes. A coding agent can compare comment text with project files and use likes and reply counts to prioritize issues for review.

Turn tutorial questions into an FAQ

Collect comments on a public product tutorial, cluster repeated questions, and draft FAQ entries with supporting comment excerpts.

Summarize launch reactions

Review comments on a brand's launch video to separate praise, objections, feature requests, and unanswered questions.

Choose follow-up video topics

Find repeated requests for examples, explanations, or demonstrations in a creator's video comments and turn them into a content brief.

Prioritize documentation fixes

Match confusion expressed in software tutorial comments to documentation sections that need clearer instructions or examples.

Compare campaign feedback

Apply the same topic categories to retrieved comments from several public campaign videos and compare the questions and objections raised.

Prepare a community response brief

Identify questions with substantial likes or reply counts and draft responses for a human to review.

Report emerging product complaints

Review newly retrieved comments on a product demonstration for recurring complaints and summarize the supporting evidence by issue.

Questions about YouTube Comments in Google Antigravity

Can Google Antigravity use YouTube Comments?

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run YouTube Comments like any built-in tool.

How much does YouTube Comments cost in Google Antigravity?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

Do I need a ScrapeCreators account to use YouTube Comments in Google Antigravity?

No. Spiral runs YouTube Comments on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up YouTube Comments in Google Antigravity?

About two minutes: open the MCP config, then add the server, then sign in.

Does Google Antigravity wait while YouTube Comments runs?

YouTube Comments runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

Can I retrieve every comment on a YouTube video?

ScrapeCreators documents approximate ceilings of 1,000 top comments or 7,000 newest comments. Results are paginated, so one response should not be treated as the full available collection.

Are comment publication dates exact?

No. ScrapeCreators calculates publication timestamps from YouTube's relative labels, such as a number of days ago, so they are estimates rather than exact posting times.

Does Top comments mean the most liked comments?

YouTube ranks Top comments using multiple relevance signals. Like counts are returned separately, so use those counts when you want to rank the retrieved comments by likes.

Can public comment data include comments held for review?

YouTube says held comments are not publicly visible until approved. They can remain in YouTube Studio for up to 60 days, outside the public comment collection.

Why might a previously retrieved comment disappear?

YouTube comments can be removed by their original author, the channel owner, or for policy violations. A later retrieval can therefore contain fewer comments even on the same video.

Get started

Start using YouTube Comments in Google Antigravity

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Google Antigravity:

Set up Google Antigravity

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options