[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Instagram Search Hashtag Posts](https://spiral.ai/integrations/vscode/instagram-search-hashtag-posts)

# How to Use Instagram Search Hashtag Posts in VS Code

Find Google-indexed public posts and reels for an exact hashtag, with available captions, owners, timestamps, and engagement. Use it to collect campaign examples; coverage is incomplete and pagination stops at page 11.

|  |  |
| --- | --- |
| Model | Instagram Search Hashtag Posts |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Instagram Search Hashtag Posts in VS Code

- Use Instagram hashtag posts for #JustDoIt. Save returned URLs, captions, owners, and publication times to a research CSV.
- Use Instagram hashtag posts for #SpecialtyCoffee. Add the returned post examples to our editorial research file and deduplicate by post URL.
- Scrape https://example.com/pricing with Instagram Search Hashtag Posts and turn it into a comparison table. Save the result in ./assets.
- Crawl the docs at https://docs.example.com with Instagram Search Hashtag Posts and summarize each section.
- Pull the latest posts from this blog with Instagram Search Hashtag Posts and list their titles and dates.

## How to set up Instagram Search Hashtag Posts 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 Hashtag Posts**: 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": "scrapecreators",
    "model": "scrapecreators/instagram-search-hashtag",
    "input": {
      "hashtag": "makeup"
    }
  }'
```

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

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

## Instagram Search Hashtag Posts tools and prices

- [Instagram · Search Hashtag Posts](https://spiral.ai/tools/scrapecreators/scrapecreators/instagram-search-hashtag) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | The cursor returned by the previous response. It is the next Google results page number and cannot exceed 11; cursor 12 or greater returns a 400 response. |
| media_type | all, reels | — | Use all to search public posts and reels, or reels to only return reels. Defaults to all. |
| date_posted | last-hour, last-day, last-week, last-month, last-year | — | Only return Google-indexed posts found in this relative window. |

## What can you do with Instagram Search Hashtag Posts in VS Code?

Build a research table of Instagram account matches or post examples for a brand brief. A coding agent can write the returned results into project files and preserve the distinction between account discovery, exact hashtags, and topic posts.

### Research a brand campaign

Find account and entity matches for Nike, inspect native profile matches, collect examples under #JustDoIt, and explore running topic posts. Turn the returned results into a campaign research brief.

### Prepare a competitor discovery list

Search Patagonia and The North Face for account matches, review their associated hashtag examples, and explore outdoor topic posts. Keep account discovery and post examples distinct in the comparison.

### Build an editorial research brief

Research specialty coffee through public business account matches, #SpecialtyCoffee posts, and coffee topic results. Use the account names and returned content to propose angles for an industry newsletter.

### Prepare an event coverage brief

Find account matches for the Boston Marathon, collect #BostonMarathon post examples, and explore marathon topic posts. Assemble a source list for coverage of the public event.

### Collect content examples for a creative brief

Compare #TrailRunning post captions with trail running topic results. Summarize recurring subjects and retain the returned post links as examples for an outdoor brand's creative team.

## Overview

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

## Instagram Search Hashtag Posts in other agents

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

## More VS Code guides

- [Instagram Reels search](https://spiral.ai/integrations/vscode/instagram-reels-search)
- [Instagram Search Instagram Profiles](https://spiral.ai/integrations/vscode/instagram-search-instagram-profiles)
- [Instagram Reels by audio](https://spiral.ai/integrations/vscode/instagram-reels-by-audio)
- [Instagram Search Reels](https://spiral.ai/integrations/vscode/instagram-search-reels)
- [Instagram Reels](https://spiral.ai/integrations/vscode/instagram-reels)
- [Instagram User Tagged Posts](https://spiral.ai/integrations/vscode/instagram-user-tagged-posts)

## Questions about Instagram Search Hashtag Posts in VS Code

**Can VS Code use Instagram Search Hashtag Posts?**

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

**How much does Instagram Search Hashtag Posts cost in VS Code?**

Up to $0.0013 per run. 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 ScrapeCreators account to use Instagram Search Hashtag Posts in VS Code?**

No. Spiral runs Instagram Search Hashtag Posts on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Instagram Search Hashtag Posts in VS Code?**

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

**Does VS Code wait while Instagram Search Hashtag Posts runs?**

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

**Does this search cover everything on Instagram?**

No. Hashtag discovery covers Google-indexed public posts and explicitly excludes a complete hashtag feed; account search returns one page, while profile search has no pagination.

**Why can a newly published post be missing?**

Hashtag discovery depends on Google's index, and general search can also use a Google-indexed fallback. A post that has not entered that index is outside those results.

**How far can I paginate Instagram searches?**

Hashtag discovery stops at Google results page 11. General account search returns one page, profile search has no pagination, and topic posts continue using the previous response's cursor with the same query.

**What is the difference between a topic and a hashtag?**

Topic results include a description, sources, suggested terms, a media count, and posts. Hashtag discovery finds Google-indexed public posts containing an exact hashtag.

**Can hashtag search supply reel view counts?**

No. ScrapeCreators removed video_view_count and video_play_count from hashtag search after Instagram changed the public data available to search results.

