How to Use Instagram Basic Profile in opencode
Get an Instagram account's bio, profile picture, verification status, and follower, following, and media counts. Use it to refresh a brand or creator record when you need profile details without fetching posts.
Prompts to try with Instagram Basic Profile in opencode
Copy an example into opencode, or ask in your own words.
Use Instagram profile summary for NASA, account ID 528817151, and populate our organization card with its returned name, bio, and profile picture URL.
Fetch NASA, account ID 528817151, with Instagram profile summary and save its follower, following, and media counts in our reporting dataset.
Use Instagram profile summary for NASA, account ID 528817151, and compare the returned biography with the text in our organization directory.
Fetch NASA, account ID 528817151, through Instagram profile summary and add its returned verification and privacy status to our account detail view.
Use Instagram profile summary for NASA, account ID 528817151, and compare the returned profile picture URL with our saved directory record.
How to set up Instagram Basic Profile in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- 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.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 Basic Profile
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": "scrapecreators", "model": "scrapecreators/instagram-basic-profile", "input": { "userId": "314216" } }'
Then paste one of the prompts above: opencode finds Instagram Basic Profile on Spiral, shows the price and runs it.
Instagram Basic Profile providers and prices
Spiral runs Instagram Basic Profile through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Cache max age | 1d, 3d, 7d, 14d, or 30d | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). See the Caching page for details. |
Every API field of Instagram · Basic Profile is on its tool page: open its card above.
What can you do with Instagram Basic Profile in opencode?
Build a brand directory that displays Instagram bios, profile pictures, verification status, and account counts. A coding agent can map returned summaries into project records and compare them with saved snapshots.
Refresh brand records
Update a public brand record with its returned Instagram username, bio, profile picture URL, and follower count.
Prepare creator partnership briefs
Add a public creator's bio, verification status, and audience size to a partnership brief before reviewing their content separately.
Measure audience changes
Collect repeated follower-count snapshots for public brand accounts and calculate changes between your saved observations.
Review campaign messaging
Compare a brand's returned biography with approved campaign wording to identify text that needs review.
Maintain a creator directory
Refresh public creator directory entries with display names, biographies, profile picture URLs, and verification status.
Build profile change reports
Compare saved and newly retrieved summaries for public business accounts, highlighting changes to usernames, bios, and profile pictures.
More on Instagram Basic Profile and opencode
Instagram Basic Profile in other agents
Questions about Instagram Basic Profile in opencode
Can opencode use Instagram Basic Profile?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Instagram Basic Profile like any built-in tool.
How much does Instagram Basic Profile cost in opencode?
Up to $0.0013 per run. 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 ScrapeCreators account to use Instagram Basic Profile in opencode?
No. Spiral runs Instagram Basic Profile on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up Instagram Basic Profile in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Instagram Basic Profile runs?
Instagram Basic Profile runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What does the Instagram profile summary include?
It includes the account's bio, profile picture URL, verification status, follower and following counts, media count, and privacy and account type. It excludes posts, so it serves profile research rather than content analysis.
How fresh is the Instagram data?
Live requests fetch publicly available information directly from Instagram. Cached responses reflect an earlier scrape; their cached_at timestamp identifies when that copy was collected.
Is this official Instagram data access?
ScrapeCreators describes its Instagram API as unofficial. Its live retrievals collect publicly available source data, which defines the coverage boundary.
Are the profile counts guaranteed to be accurate?
ScrapeCreators explicitly provides no guarantee of data accuracy or availability. Follower, following, and media counts are returned profile values, without an accuracy guarantee.
Start using Instagram Basic Profile in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


