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

Gemini · Social Media

How to Use Instagram profile by user ID in Gemini

Retrieve an Instagram account's username, bio, and follower, following, and post totals from its numeric ID. Use it to refresh a public brand record or resolve an account reference saved without a handle.

Prompts to try with Instagram profile by user ID in Gemini

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

Use Instagram profile by user ID for National Geographic, account ID 787132. Give me its username, bio, follower total, following total, and post total.

Instagram profile by user IDGemini
Try asking
  • Look up National Geographic, account ID 787132, with Instagram profile by user ID. Write a short internal partnership brief using its bio and account totals.

  • Use Instagram profile by user ID for National Geographic, account ID 787132. Summarize how the account describes itself, quoting only a short phrase from its bio.

  • Fetch National Geographic, account ID 787132, through Instagram profile by user ID. Present the three account totals in a table and explain the documented delay.

  • Use Instagram profile by user ID for National Geographic, account ID 787132. Give me a concise audience-size note based on its returned follower total.

How to set up Instagram profile by user ID in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 profile by user ID

    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-v1-user-id-to-username",
        "input": {
          "user_id": "18527"
        }
      }'

Then paste one of the prompts above: Gemini finds Instagram profile by user ID on Spiral, shows the price and runs it.

Instagram profile by user ID providers and prices

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

TikHubSocial Media
Instagram V1 · Get user info by user ID
tikhub/instagram-v1-user-id-to-username

What can you do with Instagram profile by user ID in Gemini?

Prepare a concise Instagram research brief for a public brand from its username, bio, and account totals. A chat app can explain the returned figures and compare them with observations you supply.

Resolve saved account references

Turn numeric Instagram account IDs in an internal brand database into readable usernames for analysts.

Refresh a brand directory

Update usernames and bios for public business accounts already listed in an internal directory.

Prepare a partnership brief

Add a public publisher's bio, follower total, and post total to an internal partnership research brief.

Compare brand audience sizes

Fetch follower totals for a selected set of public brands and rank them for an internal competitive report, allowing for the documented reporting delay.

Build weekly account comparisons

Save weekly follower, following, and post totals for public business accounts. Compare those saved observations to show changes between checks.

Review changes to brand messaging

Compare a public brand's returned bio with a previously saved bio and summarize wording changes for the communications team.

Questions about Instagram profile by user ID in Gemini

Can Gemini use Instagram profile by user ID?

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

How much does Instagram profile by user ID cost in Gemini?

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

Do I need a TikHub account to use Instagram profile by user ID in Gemini?

No. Spiral runs Instagram profile 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 profile by user ID in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Instagram profile by user ID runs?

Instagram profile by user ID runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

What information does the Instagram lookup return?

TikHub documents a username and profile information, including the bio and three account totals: followers, following, and posts.

How fresh are the follower and post counts?

TikHub says its Instagram V1 visitor-view figures can lag reality by a few days. Use these totals for periodic comparisons with that delay in mind.

How many accounts does one lookup cover?

The documented operation looks up one Instagram account by its numeric ID and returns that account's profile information.

Can it reveal private Instagram content?

TikHub states that it does not access or store private, restricted, or password-protected content. Its stated coverage does not include content behind those restrictions.

Does TikHub guarantee complete and accurate profiles?

No. TikHub's terms expressly disclaim warranties covering data accuracy, completeness, reliability, and timeliness.

Get started

Start using Instagram profile by user ID in Gemini

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

Paste this into Gemini:

Set up Gemini

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