Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Social Media

How to Use Instagram user ID lookup in Claude Code

Returns Instagram's internal user ID for a username. Use it to add the account's numeric identifier to a brand directory without requesting a full profile.

Prompts to try with Instagram user ID lookup in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use Instagram user ID lookup for @instagram and add the returned ID as a string to the project's public brand directory.

Instagram user ID lookupClaude Code
Try asking
  • Use Instagram user ID lookup to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Instagram user ID lookup and tell me what changed since last week.

  • Check Instagram user ID lookup and summarize what you find in three bullet points.

  • Pull the newest data from Instagram user ID lookup and give me the result as a table.

How to set up Instagram user ID lookup in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Instagram user ID lookup

    One request; the result comes back by polling or a webhook.

    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-user-id-by-username",
        "input": {
          "username": "liensue.talks"
        }
      }'

Then paste one of the prompts above: Claude Code finds Instagram user ID lookup on Spiral, shows the price and runs it.

Instagram user ID lookup providers and prices

Spiral runs Instagram user ID lookup through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Instagram V3 · Get user ID by username
tikhub/instagram-v3-get-user-id-by-username

What can you do with Instagram user ID lookup in Claude Code?

Build an Instagram brand research view in your project. A coding agent can turn account records, content lists, location matches, or hashtag results into tables suited to your team's review.

Audit a public brand account

Assemble the account ID, profile totals, username change count, and Highlight titles into a review sheet for the brand team.

Prepare a local product launch brief

Document the brand's account identity and naming history, review its content and tagged posts, then find hashtag and Instagram place candidates around the launch venue.

Review an event sponsor's public presence

Build a sponsor review from account identifiers, naming history, profile totals, published content, and tagged coverage. Add topic labels and nearby Instagram places for the event brief.

Create an agency account handoff

Give the incoming team an account reference, username change count, profile totals, content inventory, tagged-post review, and campaign hashtag candidates. Include nearby Instagram places for the client's public business locations.

Enrich a public business directory

Add Instagram account IDs, profile totals, and username change counts to business records. Search around each storefront's coordinates for Instagram place candidates to review.

Questions about Instagram user ID lookup in Claude Code

Can Claude Code use Instagram user ID lookup?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Instagram user ID lookup like any built-in tool.

How much does Instagram user ID lookup cost in Claude Code?

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

Do I need a TikHub account to use Instagram user ID lookup in Claude Code?

No. Spiral runs Instagram user ID lookup 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 user ID lookup in Claude Code?

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

Does Claude Code wait while Instagram user ID lookup runs?

Instagram user ID lookup runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Does this cover private Instagram content?

TikHub states that it accesses only publicly available data. Its stated coverage excludes private, restricted, and password-protected content.

How fresh is the Instagram data?

TikHub describes the Instagram series used by these endpoints as real-time. That is the provider's description, rather than a measured update interval.

Why can engagement counts be lower than the Instagram app shows?

TikHub says its counts cover Instagram only. The app can display engagement combined across Instagram and Facebook.

Can I retrieve expired Stories?

The active Stories endpoint cannot fetch Stories after their 24-hour expiration. Plan current-content reviews around that window.

Get started

Start using Instagram user ID lookup in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options