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

opencode · Social Media

How to Use Instagram place details in opencode

Returns an Instagram place's name, address, and coordinates. Use it to check which venue a location tag represents before analyzing posts tagged there.

Prompts to try with Instagram place details in opencode

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

Use Instagram place details for the Louvre Museum in Paris and add its returned name, address, and coordinates to our venue detail view.

Instagram place detailsopencode
Try asking
  • Use Instagram place details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Instagram place details and tell me what changed since last week.

  • Check Instagram place details and summarize what you find in three bullet points.

  • Pull the newest data from Instagram place details and give me the result as a table.

How to set up Instagram place details in opencode

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

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 place 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-v1-fetch-location-info",
        "input": {
          "location_id": "703457703"
        }
      }'

Then paste one of the prompts above: opencode finds Instagram place details on Spiral, shows the price and runs it.

Instagram place details providers and prices

Spiral runs Instagram place details through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Instagram V1 · Get location info
tikhub/instagram-v1-fetch-location-info

What can you do with Instagram place details in opencode?

Build an internal Instagram research view from place records, posts, Explore sections, or reply threads. A coding agent can turn the returned records into tables and comparison views in your project.

Build a regional venue shortlist

Start with Instagram's country directory, collect places in selected cities, check their addresses and coordinates, and review tagged posts for editorial relevance.

Plan a local brand campaign

Choose cities and candidate venues from Instagram's directories. Check each place record and its tagged content to prepare an internal location brief.

Research a destination content series

Organize a travel publisher's research by country, city, and attraction. Pair place details with tagged posts to identify locations worth covering.

Review venue tags before reporting

Work through selected cities and their place listings, compare venue addresses and coordinates, and inspect tagged posts before assigning content to a business location.

Questions about Instagram place details in opencode

Can opencode use Instagram place details?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Instagram place details like any built-in tool.

How much does Instagram place details cost in opencode?

$0.0013 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 place details in opencode?

No. Spiral runs Instagram place 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 place details in opencode?

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

Does opencode wait while Instagram place details runs?

Instagram place details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Can this data include private Instagram content?

TikHub describes its Instagram coverage as public data. Private accounts, direct messages, and non-public insights are outside that coverage.

How fresh are the Instagram results?

TikHub identifies these endpoints as visitor-view data. Counts and statistics can take a few days to reflect what the Instagram app shows.

Does TikHub guarantee complete and accurate Instagram data?

No. Its terms disclaim guarantees that returned data is accurate, complete, current, or suitable for a particular purpose.

What use does TikHub's service license permit?

TikHub's terms limit the service license to lawful internal business purposes. That is the stated scope of the license, rather than a blanket permission for any downstream use.

Does retrieving Instagram content grant rights to republish it?

TikHub's terms say retrieved content may remain subject to third-party intellectual property rights. Access through an endpoint does not establish permission to republish that content.

Get started

Start using Instagram place details in opencode

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

Paste this into opencode:

Set up opencode

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