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

Muse Code · Social Media

How to Use Instagram Explore posts in Muse Code

Returns Instagram Explore recommendations with captions, media, publishers, and engagement counts. Use it to gather content ideas from a personalized recommendation feed.

Prompts to try with Instagram Explore posts in Muse Code

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

Use Instagram Explore posts to look this up and give me the result as a table. Save the result in ./assets.

Instagram Explore postsMuse Code
Try asking
  • Pull the latest numbers from Instagram Explore posts and tell me what changed since last week.

  • Check Instagram Explore posts and summarize what you find in three bullet points.

  • Pull the newest data from Instagram Explore posts and give me the result as a table.

  • Check Instagram Explore posts every morning and tell me only when something changed.

How to set up Instagram Explore posts in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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 Explore posts

    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-explore",
        "input": {
          "max_id": "<max_id>"
        }
      }'

Then paste one of the prompts above: Muse Code finds Instagram Explore posts on Spiral, shows the price and runs it.

Instagram Explore posts providers and prices

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

TikHubSocial Media
Instagram V3 · Get explore feed
tikhub/instagram-v3-get-explore

What can you do with Instagram Explore posts in Muse Code?

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.

Build a creative reference board

Collect examples from Explore, campaign hashtags, brand Highlights, and Reels sharing an audio. Extract shortcodes from selected links so each reference has a consistent post identifier.

Study how brands use an audio

Collect Reels sharing a specific audio, use Explore to find further creative references, and normalize selected post links. Review comments and replies on chosen public brand posts to summarize reactions to the execution.

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.

Questions about Instagram Explore posts in Muse Code

Can Muse Code use Instagram Explore posts?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Instagram Explore posts like any built-in tool.

How much does Instagram Explore posts cost in Muse Code?

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

Do I need a TikHub account to use Instagram Explore posts in Muse Code?

No. Spiral runs Instagram Explore posts 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 Explore posts in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Instagram Explore posts runs?

Instagram Explore posts runs in the background. Muse Code 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.

Get started

Start using Instagram Explore posts in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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