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

Gemini CLI · Social Media

How to Use Instagram Reels search in Gemini CLI

Find Instagram Reels matching a keyword, with a continuation token for more results. Use it to gather video references for a topic across multiple result pages.

Prompts to try with Instagram Reels search in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Instagram Reels search for latte art, retrieve up to three result pages when available, and save the returned items as a research fixture.

Instagram Reels searchGemini CLI
Try asking
  • Use Instagram Reels search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Instagram Reels search and tell me what changed since last week.

  • Check Instagram Reels search and summarize what you find in three bullet points.

  • Pull the newest data from Instagram Reels search and give me the result as a table.

How to set up Instagram Reels search 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:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Instagram Reels search

    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": "tikhub",
        "model": "tikhub/instagram-v2-search-reels",
        "input": {
          "keyword": "cat"
        }
      }'

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

Instagram Reels search providers and prices

Spiral runs Instagram Reels search through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Instagram V2 · Search reels
tikhub/instagram-v2-search-reels

What can you do with Instagram Reels search in Gemini CLI?

Build an Instagram research table in your project from place, music, Reel, or account search results. Keep each result type distinct so reviewers can compare venue coordinates, track metadata, video references, and public account candidates.

Prepare a destination content brief

For a Paris guide, collect place candidates, destination Reels, public travel publishers, and music candidates. Keep the four searches separate so an editor can review venues, references, accounts, and audio.

Research an event campaign

For SXSW planning, search for Austin venues, event-related Reels, public event accounts, and music candidates. Assemble an internal research brief without assuming the results prove sponsorship or affiliation.

Plan seasonal editorial coverage

Build a cherry blossom planning sheet with Kyoto places, topic-related Reels, public tourism accounts, and spring music candidates. Use the results as material for editorial review.

Create a store campaign research pack

For a London running store, gather local place candidates, running Reels, public running brands, and workout music candidates. Give the campaign team a concrete list to review before choosing references.

Collect a broader Reel reference list

Search for latte art and continue through additional result pages. Build a review queue for a coffee brand's content team.

Questions about Instagram Reels search in Gemini CLI

Can Gemini CLI use Instagram Reels search?

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

How much does Instagram Reels search cost in Gemini CLI?

$0.0026 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 Reels search in Gemini CLI?

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

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

Does Gemini CLI wait while Instagram Reels search runs?

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

What does Instagram search return?

The search you choose determines the result: places include names, addresses, and coordinates; music includes titles, artists, durations, and audio IDs. Reels search returns videos with a next-page token, while account search finds users matching a keyword.

Can these searches access private Instagram data?

TikHub excludes private accounts, direct messages, and nonpublic insights from its Instagram data. Keep account research focused on public businesses, publishers, and creators.

How fresh are the search results?

TikHub says its Instagram visitor-view data may be cached and can lag live values by a few days. These searches should not be treated as a guaranteed live view of Instagram.

Do the results cover every match on Instagram?

TikHub's terms do not guarantee completeness, accuracy, or currency. A result list therefore cannot establish that you found every matching place, track, Reel, or account.

Does finding content give me permission to reuse it?

TikHub's terms say retrieved content may be subject to third-party intellectual property rights. Search availability alone does not establish permission to republish a Reel or use a recording in a campaign.

Get started

Start using Instagram Reels search 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 Gemini CLI

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