[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Instagram active Stories](https://spiral.ai/integrations/vscode/instagram-active-stories)

# How to Use Instagram active Stories in VS Code

Returns active Stories with publication timestamps and image or video information. Use it to review current brand content within the 24-hour window before Stories expire.

|  |  |
| --- | --- |
| Model | Instagram active Stories |
| 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 active Stories in VS Code

- Use Instagram active Stories to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Instagram active Stories and tell me what changed since last week.
- Check Instagram active Stories and summarize what you find in three bullet points.
- Pull the newest data from Instagram active Stories and give me the result as a table.
- Check Instagram active Stories every morning and tell me only when something changed.

## How to set up Instagram active Stories 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 active Stories**: 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-stories",
    "input": {
      "username": "instagram"
    }
  }'
```

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

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

## Instagram active Stories tools and prices

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

## What can you do with Instagram active Stories in VS Code?

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 VS Code guides](https://spiral.ai/integrations/vscode)

## Instagram active Stories in other agents

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

## More VS Code guides

- [Instagram accounts followed](https://spiral.ai/integrations/vscode/instagram-accounts-followed)
- [Instagram caption translation](https://spiral.ai/integrations/vscode/instagram-caption-translation)
- [Instagram account, hashtag, and place search](https://spiral.ai/integrations/vscode/instagram-account-hashtag-and-place-search)
- [Instagram cities by country](https://spiral.ai/integrations/vscode/instagram-cities-by-country)
- [Instagram account tagged posts](https://spiral.ai/integrations/vscode/instagram-account-tagged-posts)
- [Instagram comment replies](https://spiral.ai/integrations/vscode/instagram-comment-replies)

## Questions about Instagram active Stories in VS Code

**Can VS Code use Instagram active Stories?**

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

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

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

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

**Does VS Code wait while Instagram active Stories runs?**

Instagram active Stories runs in the background. VS Code 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.

