[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Instagram V3 Get user info by user ID](https://spiral.ai/integrations/opencode/instagram-v3-get-user-info-by-user-id)

# How to Use Instagram V3 Get user info by user ID in opencode

Fetch an Instagram account's username, display name, bio, profile picture URL, and follower count from its numeric ID. Use it to refresh a public brand or creator record when you already have the ID.

|  |  |
| --- | --- |
| Model | Instagram V3 Get user info by user ID |
| 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 V3 Get user info by user ID in opencode

- Use Instagram profile by user ID for Instagram's public brand account, ID 25025320, and update its username and display name in our brand directory file.
- Fetch Instagram's account, ID 25025320, with Instagram profile by user ID and add its returned biography to our internal account summary.
- Use Instagram profile by user ID with account ID 25025320 and compare the returned username with the Instagram profile link stored in this project.
- Fetch account ID 25025320 using Instagram profile by user ID and update the profile picture URL in our Instagram brand record.
- Use Instagram profile by user ID for account ID 25025320 and compare its follower count with the last saved observation in this project's data.

## How to set up Instagram V3 Get user info by user ID in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

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

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 V3 Get user info by user ID**: 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-user-id-to-username",
    "input": {
      "user_id": "25025320"
    }
  }'
```

Then paste one of the prompts above: opencode finds Instagram V3 Get user info by user ID on Spiral, shows the price and runs it.

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

## Instagram V3 Get user info by user ID tools and prices

- [Instagram V3 · Get user info by user ID](https://spiral.ai/tools/tikhub/tikhub/instagram-v3-user-id-to-username) (TikHub): $0.0104 per request.

## What can you do with Instagram V3 Get user info by user ID in opencode?

Keep a project's Instagram brand records current by resolving stored account IDs into usernames, biographies, and profile picture URLs. A coding agent can apply the returned values to directory files and compare follower counts with saved observations.

### Refresh a brand directory

Look up saved Instagram account IDs and update each brand's username, display name, biography, and profile picture URL in an internal directory.

### Repair outdated Instagram links

Resolve a public business account's saved numeric ID and use the returned username to rebuild its profile link.

### Prepare a creator partnership brief

Refresh a public creator's display name, biography, and follower count from an existing account ID before an internal partnership review.

### Review brand biography changes

Compare a public brand's returned biography with an earlier saved version and summarize changes to its Instagram description.

### Build a follower count series

Collect successive follower counts for public business accounts and calculate changes between your own saved observations.

### Reconcile duplicate account records

Resolve stored IDs and compare returned IDs and usernames when an internal brand database contains separate records under old and current handles.

## Overview

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

## Instagram V3 Get user info by user ID in other agents

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

## More opencode guides

- [Instagram V3 Get comment replies](https://spiral.ai/integrations/opencode/instagram-v3-get-comment-replies)
- [Instagram account Reels](https://spiral.ai/integrations/opencode/instagram-account-reels)
- [Instagram V3 Convert media ID to shortcode](https://spiral.ai/integrations/opencode/instagram-v3-convert-media-id-to-shortcode)
- [Instagram account Stories](https://spiral.ai/integrations/opencode/instagram-account-stories)
- [Instagram V2 Search hashtags](https://spiral.ai/integrations/opencode/instagram-v2-search-hashtags)
- [Instagram account background](https://spiral.ai/integrations/opencode/instagram-account-background)

## Questions about Instagram V3 Get user info by user ID in opencode

**Can opencode use Instagram V3 Get user info by user ID?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Instagram V3 Get user info by user ID like any built-in tool.

**How much does Instagram V3 Get user info by user ID cost in opencode?**

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

**Do I need a TikHub account to use Instagram V3 Get user info by user ID in opencode?**

No. Spiral runs Instagram V3 Get user info by user ID 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 V3 Get user info by user ID in opencode?**

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

**Does opencode wait while Instagram V3 Get user info by user ID runs?**

Instagram V3 Get user info by user ID runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What information does the Instagram ID lookup return?**

It returns the username, full name, numeric account ID, biography, profile picture URL, and follower count. These fields support a public account summary or an update to an existing brand record.

**How fresh is the Instagram data?**

TikHub recommends Instagram V3, which this lookup uses, for real-time data. Its freshness guidance does not specify a maximum delay in seconds.

**Does this give access to private Instagram content?**

No. TikHub states that it does not access or store private, restricted, or password-protected platform content.

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

TikHub's service license specifies lawful internal business purposes. That scope matters when planning an internal brand directory or research workflow.

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

No. Its terms disclaim warranties for data accuracy, completeness, reliability, and timeliness, including data returned through the Instagram lookup.

