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

# How to Use Instagram search results in VS Code

Find Instagram accounts, hashtags, and places in paginated search results. Use it to discover brand accounts, shortlist campaign hashtags, or find venue matches from a keyword.

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

- Use Instagram search results to search Patagonia and save returned business account candidates in the project's brand research file for manual review.
- Use Instagram search results to search #trailrunning and #hiking, collect up to three pages each, and save a deduplicated hashtag comparison in this project.
- Use Instagram search results to search Museum of Modern Art and populate our venue review fixture with the returned place candidates.
- Use Instagram search results to search Nike, Adidas, and New Balance separately, then add a table of business account candidates to the project's competitor research document.
- Use Instagram search results to search SXSW and #SXSW, then save separate account, hashtag, and place lists in the project's event research folder.

## How to set up Instagram search results 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 search results**: 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-general-search",
    "input": {
      "query": "justin"
    }
  }'
```

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

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

## Instagram search results tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| rank_token |  | — | Rank token, omit for first request, get from previous response |
| next_max_id |  | — | Pagination ID, omit for first request, get from previous response next_max_id |
| enable_metadata |  | true | Enable metadata |

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

Build a reviewable directory of Instagram brand, hashtag, and venue matches inside your project. A coding agent can turn paginated results into separate lists and remove duplicates before saving them.

### Find brand account candidates

Search Patagonia and shortlist returned business accounts for manual review before adding them to an internal brand directory.

### Prepare campaign hashtag research

Search #trailrunning and #hiking, then collect distinct hashtag matches for a campaign planning brief.

### Resolve venue search matches

Search Museum of Modern Art and review returned places to choose a venue for further Instagram research.

### Build a competitor account shortlist

Run separate searches for Nike, Adidas, and New Balance. Organize returned business account candidates by search term for review.

### Research event naming

Search SXSW and #SXSW to collect account and hashtag candidates for an internal event coverage plan.

### Compare local and English venue names

Search Museo del Prado and Prado Museum, then compare distinct place matches to improve a venue research list.

### Review changes in brand search matches

Repeat a LEGO search weekly and compare distinct business account candidates with the previous run to prioritize manual review.

## Overview

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

## Instagram search results in other agents

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

## More VS Code guides

- [Instagram related profiles](https://spiral.ai/integrations/vscode/instagram-related-profiles)
- [Instagram shortcode to media ID](https://spiral.ai/integrations/vscode/instagram-shortcode-to-media-id)
- [Instagram reel and video download](https://spiral.ai/integrations/vscode/instagram-reel-and-video-download)
- [Instagram similar accounts](https://spiral.ai/integrations/vscode/instagram-similar-accounts)
- [Instagram recommended Reels](https://spiral.ai/integrations/vscode/instagram-recommended-reels)
- [Instagram tagged posts](https://spiral.ai/integrations/vscode/instagram-tagged-posts)

## Questions about Instagram search results in VS Code

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

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

**How much does Instagram search results 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 search results in VS Code?**

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

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

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

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

**What does Instagram search return?**

TikHub documents three result categories: accounts, hashtags, and places. The response also includes a result count and pagination information.

**Can I retrieve results beyond the first page?**

Yes. Continue using the next-page information returned by the previous response, keeping the same search text, until Instagram indicates there are no more results.

**Why do some results appear more than once?**

TikHub explicitly warns that Instagram general search can return duplicate data. Remove repeated entries before counting matches or comparing searches.

**How should I search for an Instagram hashtag?**

Include the leading #, such as #fashion. TikHub specifies that hashtag searches require this prefix.

**Does this provide private Instagram content?**

TikHub limits its Instagram coverage to public data. Private accounts, direct messages, and non-public insights are excluded.

