How to Use Instagram location details in opencode
Returns an Instagram place's name, address, coordinates, category, and associated post count. Use it to confirm the place behind a location tag before researching its content.
Prompts to try with Instagram location details in opencode
Copy an example into opencode, or ask in your own words.
Use Instagram location details for the Louvre Museum in Paris. Populate our venue record with the returned place name, address, coordinates, and category.
Use Instagram location details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Instagram location details and tell me what changed since last week.
Check Instagram location details and summarize what you find in three bullet points.
Pull the newest data from Instagram location details and give me the result as a table.
How to set up Instagram location details 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 location details
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-location-info", "input": { "location_id": "1016248898" } }'
Then paste one of the prompts above: opencode finds Instagram location details on Spiral, shows the price and runs it.
Instagram location details providers and prices
Spiral runs Instagram location details through TikHub. 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 |
|---|---|---|---|
| Show nearby | on or off | on | Whether to show nearby places |
Every API field of Instagram V3 · Get location info is on its tool page: open its card above.
What can you do with Instagram location details in opencode?
Build an Instagram campaign research view with traceable content references. A coding agent can turn returned shortcodes, posts, discussions, media, or place details into records your project can use.
Prepare a campaign research brief
Turn campaign links into post references, examine comments and replies, and collect examples from hashtags, Explore, Highlights, and shared audio. For a campaign tied to a venue, add place details, location posts, and nearby content.
Research a destination feature
Confirm a landmark's Instagram place details, review its location posts, and discover nearby places. Add destination hashtag examples, tourism brand Highlights, and relevant Explore recommendations to an editorial shortlist.
Review a venue's event coverage
Check the venue's place identity, gather posts attached to that location and the event hashtag, and inspect nearby content for related venues. Use comments, replies, and the organizer's Highlights to assemble questions and content examples for the event team.
Audit a business's place references
Compare the name, address, and coordinates of Instagram location records with the business's own venue list. Review attached posts and nearby content to identify place records that deserve a manual check.
Maintain an internal campaign evidence index
Organize post shortcodes, hashtag and Explore examples, Highlight references, audio-linked Reels, and discussion summaries by campaign. Add place details, location posts, and nearby content when the campaign includes a physical venue.
More on Instagram location details and opencode
Overview
Instagram location details in other agents
Questions about Instagram location details in opencode
Can opencode use Instagram location details?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Instagram location details like any built-in tool.
How much does Instagram location details cost in opencode?
$0.0104 per request. 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 TikHub account to use Instagram location details in opencode?
No. Spiral runs Instagram location details 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 location details in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Instagram location details runs?
Instagram location details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What Instagram content is outside the data coverage?
TikHub limits its Instagram data offering to public content. Private accounts, direct messages, and non-public insights are outside that coverage.
How fresh is the Instagram data?
TikHub describes the Instagram endpoints used here as real-time and recommends them for up-to-the-minute counts. That is the provider's description of freshness.
Does Instagram Explore represent everything trending on Instagram?
TikHub describes Explore results as personalized recommendations. Treating those results as an Instagram-wide trend ranking would go beyond the documented coverage.
Does TikHub guarantee accurate and complete Instagram data?
TikHub's terms explicitly disclaim guarantees that retrieved data is accurate, complete, or current. A returned result therefore does not establish complete Instagram coverage.
Does retrieving Instagram content give me permission to republish it?
TikHub's terms say retrieved content may remain subject to third-party intellectual property rights. Retrieval alone does not establish permission to republish it.
Start using Instagram location details 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


