[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Instagram user search](https://spiral.ai/integrations/vscode/instagram-user-search)

# How to Use Instagram user search in VS Code

Search Instagram for matching accounts and get user-only results. Use it to find brands, publishers, or public creators before choosing accounts for further research.

|  |  |
| --- | --- |
| Model | Instagram user search |
| 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 user search in VS Code

- Use Instagram user search to search for Patagonia and save the returned account results in our project's research directory.
- Use Instagram user search for Nike, Adidas, and Puma, then create a review table in this project with results grouped by search.
- Use Instagram user search to compare The North Face with thenorthface and write the returned candidate lists into a Markdown report.
- Use Instagram user search for National Geographic and Smithsonian, then add the returned accounts to our publisher research file for review.
- Use Instagram user search for MoMA and Tate, retrieve another page when a continuation token is returned, and save the responses as research fixtures.

## How to set up Instagram user search in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS 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 user search**: 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-search-users",
    "input": {
      "query": "justin"
    }
  }'
```

Then paste one of the prompts above: VS Code finds Instagram user search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/vscode

## Instagram user search tools and prices

- [Instagram V3 · Search users](https://spiral.ai/tools/tikhub/tikhub/instagram-v3-search-users) (TikHub): $0.0104 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| rank_token |  | — | Rank token from previous search response for pagination |

## What can you do with Instagram user search in VS Code?

Build an account review table from Instagram searches for the brands in your project. A coding agent can collect returned candidates and add them to your internal research files.

### Build a brand account shortlist

Search for Patagonia and collect matching account results for an internal brand research review.

### Find publisher accounts

Search for National Geographic and Smithsonian to assemble candidate accounts for an editorial research list.

### Prepare competitor research

Search separately for Nike, Adidas, and Puma. Keep each brand's returned accounts together for review before deeper analysis.

### Compare brand name spellings

Compare results for The North Face and thenorthface to see which account candidates each search returns.

### Refresh an internal account directory

Repeat searches for businesses already in a research directory and flag returned candidates that need an editor's review.

### Collect museum account candidates

Search for MoMA, Tate, and the Louvre to prepare an account list for a cultural partnerships research brief.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## Instagram user search in other agents

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

## More VS Code guides

- [Instagram user posts](https://spiral.ai/integrations/vscode/instagram-user-posts)
- [Instagram user, hashtag, and place search](https://spiral.ai/integrations/vscode/instagram-user-hashtag-and-place-search)
- [Instagram user ID lookup](https://spiral.ai/integrations/vscode/instagram-user-id-lookup)
- [Instagram username change count](https://spiral.ai/integrations/vscode/instagram-username-change-count)
- [Instagram tagged posts](https://spiral.ai/integrations/vscode/instagram-tagged-posts)
- [Instagram video transcript](https://spiral.ai/integrations/vscode/instagram-video-transcript)

## Questions about Instagram user search in VS Code

**Can VS Code use Instagram user search?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Instagram user search like any built-in tool.

**How much does Instagram user search cost in VS 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 VS Code plan is separate.

**Do I need a TikHub account to use Instagram user search in VS Code?**

No. Spiral runs Instagram user 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 user search in VS Code?**

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

**Does VS Code wait while Instagram user search runs?**

Instagram user search runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

**Does Instagram user search also return posts or hashtags?**

No. TikHub documents this endpoint as returning only user search results.

**Can I retrieve another page of matching accounts?**

Yes. TikHub documents pagination through the rank token returned by the previous search response.

**Can this search expose private Instagram content?**

TikHub states that it does not access or store private, restricted, or password-protected platform content. Keep research focused on public business, publisher, and creator accounts.

**How fresh is the search data?**

TikHub describes the Instagram V3 series used by this endpoint as real time. Its terms nevertheless disclaim a warranty that retrieved data is current.

**What use does TikHub's service license permit?**

TikHub licenses its services for lawful internal business purposes. Public availability alone does not expand that license.

