How to Use TikTok Comments in Gemini CLI
Get public TikTok comment text, posting times, likes, and reply counts for a video or slideshow. Use it to find audience questions and reactions; fetching reply text requires a separate endpoint.
Prompts to try with TikTok Comments in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use TikTok video comments for https://www.tiktok.com/@stoolpresidente/video/7463250363559218474 and add a CSV export of comment text, posting time, likes, and reply count to this project.
Use TikTok video comments for https://www.tiktok.com/@stoolpresidente/video/7517114944362499342 and build a report that groups repeated audience questions with supporting comments.
Use TikTok video comments for https://www.tiktok.com/@stoolpresidente/video/7623818255903329566 and add a view ranking retrieved comments by likes and reply count.
Use TikTok video comments for https://www.tiktok.com/@stoolpresidente/video/7463250363559218474 and implement pagination with deduplication by cid. Show the retrieved count separately from the reported total.
Use TikTok video comments for https://www.tiktok.com/@stoolpresidente/video/7517114944362499342 and create a review screen for audience questions, showing the original text and engagement counts.
How to set up TikTok Comments in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run TikTok 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/tiktok-video-comments", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Gemini CLI finds TikTok Comments on Spiral, shows the price and runs it.
TikTok Comments providers and prices
Spiral runs TikTok Comments through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Trim | on or off | Set to true to get a trimmed response | |
| Cursor | a number | Cursor to get more comments. Get 'cursor' from previous response. |
Every API field of TikTok · Comments is on its tool page: open its card above.
What can you do with TikTok Comments in Gemini CLI?
Build a TikTok audience-feedback report that groups comment text into questions, praise, and objections. Add comment likes and reply counts to the project's report so reviewers can prioritize what to examine.
Build an audience FAQ
Group recurring questions under a public business's TikTok posts into an FAQ draft, with supporting comment text for each proposed answer.
Review campaign reactions
Compare praise, objections, and confusion across selected campaign posts. Report the number of comments analyzed for each post.
Find product feedback
Extract feature requests, usability complaints, and questions from comments on public product demonstrations. Separate explicit requests from inferred suggestions.
Plan follow-up videos
Turn repeated audience questions into follow-up video briefs, using comment likes and reply counts to help prioritize topics.
Prepare a response queue
Identify questions and complaints under a brand's public posts for a community manager to review. Include the comment text and available engagement counts.
Compare creative approaches
Compare the questions and reactions beneath selected tutorial, demonstration, and announcement posts to inform the next creative brief.
Select discussions for deeper review
Rank top-level comments by reported reply count to identify discussions worth examining through the separate replies endpoint.
More on TikTok Comments and Gemini CLI
TikTok Comments in other agents
Questions about TikTok Comments in Gemini CLI
Can Gemini CLI use TikTok Comments?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run TikTok Comments like any built-in tool.
How much does TikTok Comments cost in Gemini CLI?
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 Gemini CLI plan is separate.
Do I need a ScrapeCreators account to use TikTok Comments in Gemini CLI?
No. Spiral runs TikTok 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 TikTok Comments in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while TikTok Comments runs?
TikTok Comments runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Does this work with TikTok slideshows?
Yes. The documented coverage includes comments on public photo slideshows as well as public videos.
What information comes back for each comment?
Comment records include text, creation time, likes, reply count, and author details. That supports analysis of what people said and which comments attracted responses.
How many comments come back in one call?
The provider's published test returned 20 comments per initial call across three videos. That is an observed page size, not a documented maximum; use pagination to retrieve further pages.
Can I retrieve every comment counted on a TikTok post?
TikTok's displayed total is not a guarantee that every comment is retrievable. An empty page also does not prove the post has no comments globally.
Does a reply count include the actual reply text?
Reply counts and reply text are separate. Fetching the text requires the comment replies endpoint, using the comment identifier returned by the comments endpoint.
Start using TikTok Comments in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


