[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Instagram post shortcode](https://spiral.ai/integrations/windsurf/instagram-post-shortcode)

# How to Use Instagram post shortcode in Windsurf

Extracts the post shortcode from an Instagram post, Reel, or TV URL. Use it to turn collected links into identifiers for post research.

|  |  |
| --- | --- |
| Model | Instagram post shortcode |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0026 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Instagram post shortcode in Windsurf

- Use Instagram post shortcode to normalize the public Nike campaign links in this project's research file. Add the returned shortcode beside each original URL.
- Use Instagram post shortcode to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Instagram post shortcode and tell me what changed since last week.
- Check Instagram post shortcode and summarize what you find in three bullet points.
- Pull the newest data from Instagram post shortcode and give me the result as a table.

## How to set up Instagram post shortcode in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 post shortcode**: 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-extract-shortcode",
    "input": {
      "url": "https://www.instagram.com/p/CrgVBtHrFHm/"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds Instagram post shortcode on Spiral, shows the price and runs it.

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

## Instagram post shortcode tools and prices

- [Instagram V3 · Extract shortcode from URL](https://spiral.ai/tools/tikhub/tikhub/instagram-v3-extract-shortcode) (TikHub): $0.0026 per request.

## What can you do with Instagram post shortcode in Windsurf?

Build an Instagram campaign research view with traceable content references. A coding agent can turn returned shortcodes, posts, discussions, media, or place details into records your project can use.

### Prepare a campaign research brief

Turn campaign links into post references, examine comments and replies, and collect examples from hashtags, Explore, Highlights, and shared audio. For a campaign tied to a venue, add place details, location posts, and nearby content.

### Find questions for a product FAQ

Normalize links to a brand's launch posts, group questions from comments, and read replies for context. Compare those questions with the explanations in the brand's saved Highlights.

### Build a creative reference board

Collect examples from Explore, campaign hashtags, brand Highlights, and Reels sharing an audio. Extract shortcodes from selected links so each reference has a consistent post identifier.

### Study how brands use an audio

Collect Reels sharing a specific audio, use Explore to find further creative references, and normalize selected post links. Review comments and replies on chosen public brand posts to summarize reactions to the execution.

### Maintain an internal campaign evidence index

Organize post shortcodes, hashtag and Explore examples, Highlight references, audio-linked Reels, and discussion summaries by campaign. Add place details, location posts, and nearby content when the campaign includes a physical venue.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## Instagram post shortcode in other agents

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

## More Windsurf guides

- [Instagram post media ID](https://spiral.ai/integrations/windsurf/instagram-post-media-id)
- [Instagram post shortcode to media ID](https://spiral.ai/integrations/windsurf/instagram-post-shortcode-to-media-id)
- [Instagram post likes](https://spiral.ai/integrations/windsurf/instagram-post-likes)
- [Instagram posts using audio](https://spiral.ai/integrations/windsurf/instagram-posts-using-audio)
- [Instagram post likers](https://spiral.ai/integrations/windsurf/instagram-post-likers)
- [Instagram posts using music](https://spiral.ai/integrations/windsurf/instagram-posts-using-music)

## Questions about Instagram post shortcode in Windsurf

**Can Windsurf use Instagram post shortcode?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Instagram post shortcode like any built-in tool.

**How much does Instagram post shortcode cost in Windsurf?**

$0.0026 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

**Do I need a TikHub account to use Instagram post shortcode in Windsurf?**

No. Spiral runs Instagram post shortcode 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 post shortcode in Windsurf?**

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

**Does Windsurf wait while Instagram post shortcode runs?**

Instagram post shortcode runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

**What Instagram content is outside the data coverage?**

TikHub limits its Instagram data offering to public content. Private accounts, direct messages, and non-public insights are outside that coverage.

**How fresh is the Instagram data?**

TikHub describes the Instagram endpoints used here as real-time and recommends them for up-to-the-minute counts. That is the provider's description of freshness.

**Does Instagram Explore represent everything trending on Instagram?**

TikHub describes Explore results as personalized recommendations. Treating those results as an Instagram-wide trend ranking would go beyond the documented coverage.

**Does TikHub guarantee accurate and complete Instagram data?**

TikHub's terms explicitly disclaim guarantees that retrieved data is accurate, complete, or current. A returned result therefore does not establish complete Instagram coverage.

**Does retrieving Instagram content give me permission to republish it?**

TikHub's terms say retrieved content may remain subject to third-party intellectual property rights. Retrieval alone does not establish permission to republish it.

