[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Instagram post comments](https://spiral.ai/integrations/claude-code/instagram-post-comments)

# How to Use Instagram post comments in Claude Code

Returns an Instagram post's comments with text, timestamps, like counts, and reply counts. Use it to identify audience questions and select discussions for a closer look.

|  |  |
| --- | --- |
| Model | Instagram post comments |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0104 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Instagram post comments in Claude Code

- Use Instagram post comments for the public LEGO launch post linked in this project's campaign brief. Add a report grouping the returned comments into product questions, availability questions, and other topics.
- Use Instagram post comments to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Instagram post comments and tell me what changed since last week.
- Check Instagram post comments and summarize what you find in three bullet points.
- Pull the newest data from Instagram post comments and give me the result as a table.

## How to set up Instagram post comments in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude 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 Instagram post 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": "tikhub",
    "model": "tikhub/instagram-v3-get-post-comments",
    "input": {
      "code": "DUajw4YkorV"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Instagram post comments on Spiral, shows the price and runs it.

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

## Instagram post comments tools and prices

- [Instagram V3 · Get post comments](https://spiral.ai/tools/tikhub/tikhub/instagram-v3-get-post-comments) (TikHub): $0.0104 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| min_id |  | — | Pagination cursor, omit for first request, get from previous response next_min_id |
| sort_order | popular, newest | popular |  |

## What can you do with Instagram post comments in Claude Code?

Build an Instagram campaign research view with traceable content references. A coding agent can turn returned shortcodes, posts, discussions, media, or place details into records your project can use.

### Prepare a campaign research brief

Turn campaign links into post references, examine comments and replies, and collect examples from hashtags, Explore, Highlights, and shared audio. For a campaign tied to a venue, add place details, location posts, and nearby content.

### Find questions for a product FAQ

Normalize links to a brand's launch posts, group questions from comments, and read replies for context. Compare those questions with the explanations in the brand's saved Highlights.

### Review a venue's event coverage

Check the venue's place identity, gather posts attached to that location and the event hashtag, and inspect nearby content for related venues. Use comments, replies, and the organizer's Highlights to assemble questions and content examples for the event team.

### Study how brands use an audio

Collect Reels sharing a specific audio, use Explore to find further creative references, and normalize selected post links. Review comments and replies on chosen public brand posts to summarize reactions to the execution.

### Maintain an internal campaign evidence index

Organize post shortcodes, hashtag and Explore examples, Highlight references, audio-linked Reels, and discussion summaries by campaign. Add place details, location posts, and nearby content when the campaign includes a physical venue.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Instagram post comments in other agents

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

## More Claude Code guides

- [Instagram post and reel search](https://spiral.ai/integrations/claude-code/instagram-post-and-reel-search)
- [Instagram post comments with reply previews](https://spiral.ai/integrations/claude-code/instagram-post-comments-with-reply-previews)
- [Instagram post and reel details](https://spiral.ai/integrations/claude-code/instagram-post-and-reel-details)
- [Instagram post details](https://spiral.ai/integrations/claude-code/instagram-post-details)
- [Instagram popular topic posts](https://spiral.ai/integrations/claude-code/instagram-popular-topic-posts)
- [Instagram post details by ID](https://spiral.ai/integrations/claude-code/instagram-post-details-by-id)

## Questions about Instagram post comments in Claude Code

**Can Claude Code use Instagram post comments?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Instagram post comments like any built-in tool.

**How much does Instagram post comments cost in Claude Code?**

$0.0104 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need a TikHub account to use Instagram post comments in Claude Code?**

No. Spiral runs Instagram post comments on its own TikHub account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Instagram post comments in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Instagram post comments runs?**

Instagram post comments runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**What Instagram content is outside the data coverage?**

TikHub limits its Instagram data offering to public content. Private accounts, direct messages, and non-public insights are outside that coverage.

**How fresh is the Instagram data?**

TikHub describes the Instagram endpoints used here as real-time and recommends them for up-to-the-minute counts. That is the provider's description of freshness.

**Does Instagram Explore represent everything trending on Instagram?**

TikHub describes Explore results as personalized recommendations. Treating those results as an Instagram-wide trend ranking would go beyond the documented coverage.

**Does TikHub guarantee accurate and complete Instagram data?**

TikHub's terms explicitly disclaim guarantees that retrieved data is accurate, complete, or current. A returned result therefore does not establish complete Instagram coverage.

**Does retrieving Instagram content give me permission to republish it?**

TikHub's terms say retrieved content may remain subject to third-party intellectual property rights. Retrieval alone does not establish permission to republish it.

