[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Instagram account reposts](https://spiral.ai/integrations/codex/instagram-account-reposts)

# How to Use Instagram account reposts in Codex

Returns posts an Instagram account has reposted or shared, with a more-results flag and next-page cursor. Use it to review content a public brand amplifies.

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

## Prompts to try with Instagram account reposts in Codex

- Use Instagram account reposts for @patagonia and add an internal report that labels every returned record as a repost.
- Use Instagram account reposts to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Instagram account reposts and tell me what changed since last week.
- Check Instagram account reposts and summarize what you find in three bullet points.
- Pull the newest data from Instagram account reposts and give me the result as a table.

## How to set up Instagram account reposts 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 account reposts**: 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-v1-fetch-user-reposts",
    "input": {
      "user_id": "25025320"
    }
  }'
```

Then paste one of the prompts above: Codex finds Instagram account reposts on Spiral, shows the price and runs it.

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

## Instagram account reposts tools and prices

- [Instagram V1 · Get user reposts list](https://spiral.ai/tools/tikhub/tikhub/instagram-v1-fetch-user-reposts) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| max_id |  | — | Pagination cursor for next page |

## What can you do with Instagram account reposts in Codex?

Build an internal Instagram content report from a public brand's returned records. Your coding agent can adapt the list and GraphQL response structures to your project's reporting format.

### Prepare a campaign content brief

Collect a brand's published posts, Reels, reposts, and tagged posts for an internal campaign review. Label how each record relates to the brand so a repost or tag is not mistaken for original publishing.

### Compare public brand content

Build an internal comparison of Nike and Adidas using the same content category and number of pages for each. Review published posts, short videos, amplification, or tagged content as separate comparisons.

### Assemble a product launch review

Review returned content for a public brand's product launch. Distinguish material the brand published, material it reposted, and posts where others tagged it when selecting examples for the review.

### Build an editorial reference list

Give an editorial team a reviewable selection of a public publisher's posts, Reels, reposts, or tagged content. Keep each selection tied to its content category before choosing examples for an internal planning session.

### Create a recurring content digest

Compare successive collections for a public business and report newly observed records. Describe the report as a collection digest because visitor-view data can lag and completeness is not guaranteed.

### Review a brand's repost selection

Inspect the posts a public brand reposts or shares to prepare an internal review of its content amplification choices.

## Overview

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

## Instagram account reposts in other agents

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

## More Codex guides

- [Instagram account profile](https://spiral.ai/integrations/codex/instagram-account-profile)
- [Instagram account search](https://spiral.ai/integrations/codex/instagram-account-search)
- [Instagram account posts in GraphQL format](https://spiral.ai/integrations/codex/instagram-account-posts-in-graphql-format)
- [Instagram account tagged posts](https://spiral.ai/integrations/codex/instagram-account-tagged-posts)
- [Instagram account posts](https://spiral.ai/integrations/codex/instagram-account-posts)
- [Instagram account, hashtag, and place search](https://spiral.ai/integrations/codex/instagram-account-hashtag-and-place-search)

## Questions about Instagram account reposts in Codex

**Can Codex use Instagram account reposts?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Instagram account reposts like any built-in tool.

**How much does Instagram account reposts cost in Codex?**

$0.0013 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 account reposts in Codex?**

No. Spiral runs Instagram account reposts 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 account reposts in Codex?**

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

**Does Codex wait while Instagram account reposts runs?**

Instagram account reposts runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**Does TikHub cover private Instagram content?**

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

**How fresh is the Instagram data?**

TikHub says visitor-view statistics can lag live Instagram values by a few days. These responses should not be treated as a guaranteed live measurement.

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

TikHub's terms explicitly decline to guarantee accuracy, completeness, or currency. A returned collection therefore does not establish that every relevant Instagram record was captured.

**What use does TikHub's service license permit?**

TikHub licenses its service for lawful use inside your business. That stated permission does not establish unrestricted rights to republish Instagram content.

