How to Use Instagram V2 Get user info by user ID in Codex
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.
Prompts to try with Instagram V2 Get user info by user ID in Codex
Copy an example into Codex, or ask in your own words.
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 Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Instagram V2 Get user info 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-v2-user-id-to-username", "input": { "user_id": "18527" } }'
Then paste one of the prompts above: Codex finds Instagram V2 Get user info by user ID on Spiral, shows the price and runs it.
Instagram V2 Get user info by user ID providers and prices
Spiral runs Instagram V2 Get user info by user ID through TikHub. Open a card for today's price, with every fee included.
What can you do with Instagram V2 Get user info by user ID in Codex?
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.
More on Instagram V2 Get user info by user ID and Codex
Overview
Instagram V2 Get user info by user ID in other agents
Questions about Instagram V2 Get user info by user ID in Codex
Can Codex use Instagram V2 Get user info by user ID?
Yes. Add Spiral to Codex as an MCP server, and Codex 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 Codex?
$0.0026 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 V2 Get user info by user ID in Codex?
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 Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Instagram V2 Get user info by user ID runs?
Instagram V2 Get user info by user ID runs in the background. Codex 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.
Start using Instagram V2 Get user info by user ID in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


