[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Instagram V2 Get user info by user ID](https://spiral.ai/integrations/vscode/instagram-v2-get-user-info-by-user-id)

# How to Use Instagram V2 Get user info by user ID in VS Code

Get an Instagram account’s username, bio, verification status, profile image, and follower, following, and post counts from its numeric ID. Use it to refresh a public brand profile when your records contain an ID.

|  |  |
| --- | --- |
| Model | Instagram V2 Get user info by user ID |
| 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 user info by user ID in VS Code

- Use Instagram profile by user ID for Instagram account 25025320 and update its username and display name in our internal brand directory.
- Use Instagram profile by user ID for NASA account 528817151 and show a diff between its returned bio and the bio in our project.
- Use Instagram profile by user ID for National Geographic account 787132 and populate our internal profile card with its returned name, bio, and image URL.
- Use Instagram profile by user ID for accounts 528817151 and 787132, then add their follower, following, and post totals to our internal comparison report.
- Use Instagram profile by user ID for Instagram account 25025320 and save the returned profile as a real response fixture for our internal account viewer.

## How to set up Instagram V2 Get user info by user ID in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 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-v2-user-id-to-username",
    "input": {
      "user_id": "18527"
    }
  }'
```

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

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

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

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

## What can you do with Instagram V2 Get user info by user ID in VS Code?

Refresh an internal Instagram brand directory from the account IDs already in your project. A coding agent can turn returned profiles into reviewable changes to names, bios, images, and counts.

### Refresh brand account records

Resolve stored Instagram IDs into returned usernames and display names for an internal brand directory.

### Prepare a partnership brief

Summarize a public publisher’s bio, verification status, and account counts before a partnership review.

### Compare public account size

Place follower, following, and post totals for selected brands in an internal comparison table.

### Review bio changes

Compare a public brand’s returned bio with an earlier saved response to identify wording changes.

### Build an account count history

Save repeated public brand lookups and calculate changes between your own observations.

### Audit internal profile cards

Compare an internal account card’s name, bio, and profile image URL with the returned Instagram profile.

## Overview

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

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

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

## More VS Code guides

- [Instagram V2 Get user info](https://spiral.ai/integrations/vscode/instagram-v2-get-user-info)
- [Instagram V2 Get user posts](https://spiral.ai/integrations/vscode/instagram-v2-get-user-posts)
- [Instagram V2 Get user followers](https://spiral.ai/integrations/vscode/instagram-v2-get-user-followers)
- [Instagram V2 Get user reels](https://spiral.ai/integrations/vscode/instagram-v2-get-user-reels)
- [Instagram V2 Get user about-account info](https://spiral.ai/integrations/vscode/instagram-v2-get-user-about-account-info)
- [Instagram V2 Search hashtags](https://spiral.ai/integrations/vscode/instagram-v2-search-hashtags)

## Questions about Instagram V2 Get user info by user ID in VS Code

**Can VS Code use Instagram V2 Get user info by user ID?**

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

**How much does Instagram V2 Get user info by user ID cost in VS Code?**

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

**Do I need a TikHub account to use Instagram V2 Get user info by user ID in VS Code?**

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

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

**Does VS Code wait while Instagram V2 Get user info by user ID runs?**

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

**What profile details can I retrieve from Instagram?**

The documented profile includes the username, full name, bio, profile picture URL, and privacy and verification status.

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

TikHub says its coverage is limited to publicly available data. Private, restricted, and password-protected content fall outside that coverage.

**Are the Instagram profile details guaranteed to be current and complete?**

No. TikHub expressly declines to guarantee the accuracy, completeness, or currency of delivered data.

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

TikHub limits its service license to lawful internal business purposes.

