[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [YouTube Comments](https://spiral.ai/integrations/muse-code/youtube-comments)

# How to Use YouTube Comments in Muse Code

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.

|  |  |
| --- | --- |
| Model | YouTube Comments |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with YouTube Comments in Muse Code

- 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.
- 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 Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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.

```bash
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.

```bash
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: Muse Code finds YouTube Comments on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## YouTube Comments tools and prices

- [YouTube · Comments](https://spiral.ai/tools/scrapecreators/scrapecreators/youtube-video-comments) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| order | top, newest | — | Order of comments |
| continuationToken |  | — | Continuation token to get more comments. Get 'continuationToken' from previous response. |

## What can you do with YouTube Comments in Muse Code?

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.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## YouTube Comments in other agents

- [Amp](https://spiral.ai/integrations/amp/youtube-comments)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/youtube-comments)
- [Claude](https://spiral.ai/integrations/claude-desktop/youtube-comments)
- [Claude Code](https://spiral.ai/integrations/claude-code/youtube-comments)
- [Cline](https://spiral.ai/integrations/cline/youtube-comments)
- [Codex](https://spiral.ai/integrations/codex/youtube-comments)
- [Cursor](https://spiral.ai/integrations/cursor/youtube-comments)
- [Devin](https://spiral.ai/integrations/devin/youtube-comments)
- [dots](https://spiral.ai/integrations/dots/youtube-comments)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/youtube-comments)
- [Gemini](https://spiral.ai/integrations/gemini/youtube-comments)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/youtube-comments)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/youtube-comments)
- [goose](https://spiral.ai/integrations/goose/youtube-comments)
- [Grok](https://spiral.ai/integrations/grok/youtube-comments)
- [Grok Build](https://spiral.ai/integrations/grok-build/youtube-comments)
- [Hermes](https://spiral.ai/integrations/hermes/youtube-comments)
- [Instinct](https://spiral.ai/integrations/instinct/youtube-comments)
- [Manus](https://spiral.ai/integrations/manus/youtube-comments)
- [Muse](https://spiral.ai/integrations/muse/youtube-comments)
- [n8n](https://spiral.ai/integrations/n8n/youtube-comments)
- [Notion](https://spiral.ai/integrations/notion/youtube-comments)
- [OpenClaw](https://spiral.ai/integrations/openclaw/youtube-comments)
- [opencode](https://spiral.ai/integrations/opencode/youtube-comments)
- [Perplexity](https://spiral.ai/integrations/perplexity/youtube-comments)
- [Raycast](https://spiral.ai/integrations/raycast/youtube-comments)
- [VS Code](https://spiral.ai/integrations/vscode/youtube-comments)
- [Windsurf](https://spiral.ai/integrations/windsurf/youtube-comments)
- [Zapier](https://spiral.ai/integrations/zapier/youtube-comments)

## More Muse Code guides

- [YouTube Channel shorts Alexandria](https://spiral.ai/integrations/muse-code/youtube-channel-shorts-alexandria)
- [YouTube Playlist](https://spiral.ai/integrations/muse-code/youtube-playlist)
- [YouTube Channel Shorts ScrapeCreators](https://spiral.ai/integrations/muse-code/youtube-channel-shorts-scrapecreators)
- [YouTube Search Typeahead](https://spiral.ai/integrations/muse-code/youtube-search-typeahead)
- [YouTube Channel Lives](https://spiral.ai/integrations/muse-code/youtube-channel-lives)
- [YouTube Shorts search results](https://spiral.ai/integrations/muse-code/youtube-shorts-search-results)

## Questions about YouTube Comments in Muse Code

**Can Muse Code use YouTube Comments?**

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

**How much does YouTube Comments cost in Muse Code?**

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 Muse Code plan is separate.

**Do I need a ScrapeCreators account to use YouTube Comments in Muse Code?**

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 Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while YouTube Comments runs?**

YouTube Comments runs in the background. Muse Code 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.

