[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Instagram V2 Get post info](https://spiral.ai/integrations/codex/instagram-v2-get-post-info)

# How to Use Instagram V2 Get post info in Codex

Returns an Instagram post's media, caption, and like and comment counts. Use it to inspect a known post or add context to posts found through a hashtag, location, or audio.

|  |  |
| --- | --- |
| Model | Instagram V2 Get post info |
| 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 V2 Get post info in Codex

- Use Instagram post details for the public Apple post linked in our campaign brief and populate the existing caption and engagement display with the returned data.
- Use Instagram V2 Get post info to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Instagram V2 Get post info and tell me what changed since last week.
- Check Instagram V2 Get post info and summarize what you find in three bullet points.
- Pull the newest data from Instagram V2 Get post info and give me the result as a table.

## How to set up Instagram V2 Get post info in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 V2 Get post info**: 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-v2-fetch-post-info",
    "input": {
      "code_or_url": "DRhvwVLAHAG"
    }
  }'
```

Then paste one of the prompts above: Codex finds Instagram V2 Get post info on Spiral, shows the price and runs it.

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

## Instagram V2 Get post info tools and prices

- [Instagram V2 · Get post info](https://spiral.ai/tools/tikhub/tikhub/instagram-v2-fetch-post-info) (TikHub): $0.0026 per request.

## What can you do with Instagram V2 Get post info in Codex?

Build a review screen for public Instagram campaign research. Turn retrieved content into evidence a team can inspect alongside its existing project notes.

### Campaign postmortem

Review campaign posts found through a hashtag, venue, or audio. Add post details, saved highlight material, comment threads, and a check for public brand or creator accounts among returned likes.

### Creator partnership research

Review a public creator's account background, suggested accounts, saved highlights, and selected posts. Compare audio choices and discussion themes, and check returned likes only for public brands or creators relevant to the brief.

### Competitive brand content review

Compare public brand content associated with selected hashtags, locations, and sounds. Inspect individual posts and account backgrounds, then use suggested accounts to expand the review list.

### Editorial source review

Check a public brand account's background alongside a cited post and selected highlight. Read comments and replies for context before describing the brand's announcement or response.

### Venue marketing review

Review location posts, event hashtags, and saved highlights for a public venue. Inspect selected posts and their discussions, with returned likes used only to identify relevant public business or creator accounts.

### Sponsorship background brief

Prepare a brief on a public brand or creator using account background information, selected posts, and saved highlights. Include suggested accounts as additional candidates for human review.

### Creative reference research

Collect public content examples around a hashtag or sound, then inspect selected posts and highlights. Use suggested accounts to find additional brands or creators whose work merits review.

## Overview

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

## Instagram V2 Get post info in other agents

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

## More Codex guides

- [Instagram V2 Get post comments](https://spiral.ai/integrations/codex/instagram-v2-get-post-comments)
- [Instagram V2 Get similar users](https://spiral.ai/integrations/codex/instagram-v2-get-similar-users)
- [Instagram V2 Get location posts](https://spiral.ai/integrations/codex/instagram-v2-get-location-posts)
- [Instagram V2 Get user about-account info](https://spiral.ai/integrations/codex/instagram-v2-get-user-about-account-info)
- [Instagram V2 Get highlight stories](https://spiral.ai/integrations/codex/instagram-v2-get-highlight-stories)
- [Instagram V2 Get user followers](https://spiral.ai/integrations/codex/instagram-v2-get-user-followers)

## Questions about Instagram V2 Get post info in Codex

**Can Codex use Instagram V2 Get post info?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Instagram V2 Get post info like any built-in tool.

**How much does Instagram V2 Get post info cost in Codex?**

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

**Do I need a TikHub account to use Instagram V2 Get post info in Codex?**

No. Spiral runs Instagram V2 Get post info 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 V2 Get post info in Codex?**

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

**Does Codex wait while Instagram V2 Get post info runs?**

Instagram V2 Get post info runs in the background. Codex 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 account data. Keep research focused on publicly accessible brand and creator content.

**How fresh is the Instagram data?**

TikHub says visitor-view data may be cached and lag live values by a few days. These results should not be treated as live measurements.

**Can I retrieve a discussion beyond the first comments?**

Instagram comment replies supports pagination and uses the parent comment ID obtained from post comments. This lets you inspect a selected discussion thread beyond its initial reply page.

**What does a location result represent?**

Instagram location posts returns posts associated with the specified Instagram location. It supports pagination for additional results.

**What is included in saved highlights?**

Instagram highlight stories returns stories inside a selected highlight, including image or video URLs and publication times.

