[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [Instagram post details by shortcode](https://spiral.ai/integrations/gemini/instagram-post-details-by-shortcode)

# How to Use Instagram post details by shortcode in Gemini

Returns post details, including the caption, publisher, media, and engagement counts, from an Instagram shortcode. Use it when your research already contains the short identifier from a post link.

|  |  |
| --- | --- |
| Model | Instagram post details by shortcode |
| 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 post details by shortcode in Gemini

- Use Instagram post details by shortcode for BsOGulcndj- and summarize the caption, publisher, media format, and returned engagement counts.
- Use Instagram post details by shortcode to look this up and give me the result as a table.
- Pull the latest numbers from Instagram post details by shortcode and tell me what changed since last week.
- Check Instagram post details by shortcode and summarize what you find in three bullet points.
- Pull the newest data from Instagram post details by shortcode and give me the result as a table.

## How to set up Instagram post details by shortcode in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 details by 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-get-post-info-by-code",
    "input": {
      "code": "DUajw4YkorV"
    }
  }'
```

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

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

## Instagram post details by shortcode tools and prices

- [Instagram V3 · Get post info by shortcode](https://spiral.ai/tools/tikhub/tikhub/instagram-v3-get-post-info-by-code) (TikHub): $0.0104 per request.

## What can you do with Instagram post details by shortcode in Gemini?

Turn Instagram results into a brand or creator research brief with concrete examples. Summarize the returned content and account context while keeping recommendations, engagement counts, and account connections clearly labeled.

### Prepare an editorial source check

Inspect a referenced post's caption, publisher, media, and publication time. Add the publisher's profile summary and account background, then prepare an embed for the editorial draft.

### Write a campaign performance brief

Compare selected campaign posts' captions and engagement counts, add embeds as examples, and summarize the publishing brand's profile. Check returned likers and followers only against a predefined list of public business accounts.

### Assemble a creative reference board

Collect recommended Reels and similar public creator accounts, inspect selected posts, and prepare embeds for an internal reference board. Group examples by caption approach and media format.

### Prepare a weekly competitor digest

Revisit selected competitor posts, compare their engagement counts with prior observations, and prepare embeds for the report. Add creative examples from recommended Reels and review connections among a fixed roster of public companies.

### Review your brand's public presence

Check your brand's profile summary, account background, and selected posts. Review returned follower, following, and liker lists against your public partner roster to prepare an internal account review.

## Overview

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

## Instagram post details by shortcode in other agents

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

## More Gemini guides

- [Instagram post details by URL](https://spiral.ai/integrations/gemini/instagram-post-details-by-url)
- [Instagram post embed](https://spiral.ai/integrations/gemini/instagram-post-embed)
- [Instagram post details by ID](https://spiral.ai/integrations/gemini/instagram-post-details-by-id)
- [Instagram post likers](https://spiral.ai/integrations/gemini/instagram-post-likers)
- [Instagram post details](https://spiral.ai/integrations/gemini/instagram-post-details)
- [Instagram post likes](https://spiral.ai/integrations/gemini/instagram-post-likes)

## Questions about Instagram post details by shortcode in Gemini

**Can Gemini use Instagram post details by shortcode?**

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

**How much does Instagram post details by shortcode cost in Gemini?**

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

**Do I need a TikHub account to use Instagram post details by shortcode in Gemini?**

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

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while Instagram post details by shortcode runs?**

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

**Does this cover private Instagram content?**

TikHub describes its Instagram coverage as public data from public accounts. Private account content falls outside that coverage.

**How fresh is the Instagram data?**

TikHub describes the Instagram series used here as real-time and recommends it for up-to-the-minute counts. Its older visitor-view series can lag by a few days.

**Why might engagement counts be lower than in Instagram?**

TikHub says its results include Instagram engagement only. The app can show a combined Instagram and Facebook total.

**Does access include permission to republish the content?**

TikHub's terms state that retrieved content may carry third-party intellectual property rights. Retrieving a caption, photo, video, or embed does not establish ownership of that content.

**Are the results guaranteed to be accurate and complete?**

TikHub's terms explicitly disclaim a guarantee that returned data is accurate, complete, or current. Its description of this Instagram series as real-time is not a completeness warranty.

