[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Instagram account Reels](https://spiral.ai/integrations/gemini-cli/instagram-account-reels)

# How to Use Instagram account Reels in Gemini CLI

Returns an account's Reels, including captions and like, comment, and play counts. Use it to compare short video topics and engagement across the returned videos.

|  |  |
| --- | --- |
| Model | Instagram account Reels |
| 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 account Reels in Gemini CLI

- Use Instagram account Reels for @nike and add a table of returned captions, play counts, like counts, and comment counts to the project.
- Use Instagram account Reels to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Instagram account Reels and tell me what changed since last week.
- Check Instagram account Reels and summarize what you find in three bullet points.
- Pull the newest data from Instagram account Reels and give me the result as a table.

## How to set up Instagram account Reels in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 account Reels**: 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-user-reels",
    "input": {
      "username": "instagram"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Instagram account Reels on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Instagram account Reels tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| last |  | — | Number of reels per page (backward) |
| after |  | — | Forward pagination cursor (end_cursor) |
| first | 1 to 50 | 12 | Number of reels per page (forward) |
| before |  | — | Backward pagination cursor (start_cursor) |
| page_size |  | 12 | Videos per page |

## What can you do with Instagram account Reels in Gemini CLI?

Build an Instagram brand research view in your project. A coding agent can turn account records, content lists, location matches, or hashtag results into tables suited to your team's review.

### Compare competitor content

Compare public brand profiles, published posts, Reels engagement, Highlight organization, active Stories, tagged posts, and relevant hashtag results.

### Prepare a local product launch brief

Document the brand's account identity and naming history, review its content and tagged posts, then find hashtag and Instagram place candidates around the launch venue.

### Review an event sponsor's public presence

Build a sponsor review from account identifiers, naming history, profile totals, published content, and tagged coverage. Add topic labels and nearby Instagram places for the event brief.

### Create an agency account handoff

Give the incoming team an account reference, username change count, profile totals, content inventory, tagged-post review, and campaign hashtag candidates. Include nearby Instagram places for the client's public business locations.

### Plan a brand's editorial calendar

Review published posts, Reels captions and engagement, Highlight titles, and active Stories. Use hashtag search results to prepare topic options for the next planning meeting.

### Research a destination campaign

Find Instagram places near a public landmark and hashtag candidates for the destination. Review a tourism organization's posts, Reels, active Stories, Highlights, and tagged posts for campaign references.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Instagram account Reels in other agents

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

## More Gemini CLI guides

- [Instagram V3 Get user info by user ID](https://spiral.ai/integrations/gemini-cli/instagram-v3-get-user-info-by-user-id)
- [Instagram account Stories](https://spiral.ai/integrations/gemini-cli/instagram-account-stories)
- [Instagram V3 Get comment replies](https://spiral.ai/integrations/gemini-cli/instagram-v3-get-comment-replies)
- [Instagram account background](https://spiral.ai/integrations/gemini-cli/instagram-account-background)
- [Instagram V3 Convert media ID to shortcode](https://spiral.ai/integrations/gemini-cli/instagram-v3-convert-media-id-to-shortcode)
- [Instagram account followers](https://spiral.ai/integrations/gemini-cli/instagram-account-followers)

## Questions about Instagram account Reels in Gemini CLI

**Can Gemini CLI use Instagram account Reels?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Instagram account Reels like any built-in tool.

**How much does Instagram account Reels cost in Gemini CLI?**

$0.0104 per request. 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 TikHub account to use Instagram account Reels in Gemini CLI?**

No. Spiral runs Instagram account Reels 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 account Reels in Gemini CLI?**

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

**Does Gemini CLI wait while Instagram account Reels runs?**

Instagram account Reels runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**Does this cover private Instagram content?**

TikHub states that it accesses only publicly available data. Its stated coverage excludes private, restricted, and password-protected content.

**How fresh is the Instagram data?**

TikHub describes the Instagram series used by these endpoints as real-time. That is the provider's description, rather than a measured update interval.

**Why can engagement counts be lower than the Instagram app shows?**

TikHub says its counts cover Instagram only. The app can display engagement combined across Instagram and Facebook.

**Can I retrieve expired Stories?**

The active Stories endpoint cannot fetch Stories after their 24-hour expiration. Plan current-content reviews around that window.

