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

Claude Code · Social Media

How to Use Instagram V2 Get user posts in Claude Code

Returns a paginated list of posts published by an Instagram account. Use it to review a brand's published content, separately from posts where other accounts tag the brand.

Prompts to try with Instagram V2 Get user posts in Claude Code

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

Use Instagram account posts for @lego and build a paginated content inventory in this project, using returned records rather than invented examples.

Instagram V2 Get user postsClaude Code
Try asking
  • Use Instagram V2 Get user posts to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Instagram V2 Get user posts and tell me what changed since last week.

  • Check Instagram V2 Get user posts and summarize what you find in three bullet points.

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

How to set up Instagram V2 Get user posts in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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 V2 Get user 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-v2-fetch-user-posts",
        "input": {
          "user_id": "18527"
        }
      }'

Then paste one of the prompts above: Claude Code finds Instagram V2 Get user posts on Spiral, shows the price and runs it.

Instagram V2 Get user posts providers and prices

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

TikHubSocial Media
Instagram V2 · Get user posts
tikhub/instagram-v2-fetch-user-posts

What can you do with Instagram V2 Get user posts in Claude Code?

Build an Instagram research view for public brands, with account information, content inventories, and discovery results. Keep follower direction and Highlight collections explicit in the interface so reviewers can interpret each result correctly.

Review a brand's public Instagram presence

Build an internal brief from the brand's profile, published posts, Reels, active Stories, and saved Highlight collections. Review tagged posts from public businesses and publishers as a separate source of coverage.

Prepare a campaign research brief

Review a public brand's profile and content, identify business accounts in its visible connections, and collect relevant tagged coverage. Add hashtag candidates and Instagram locations around the campaign venue to guide editorial planning.

Research a retail opening

Prepare an internal opening brief using the retailer's public profile, posts, Reels, Stories, and Highlight collections. Review business connections and tagged coverage, then find location and hashtag candidates for the opening.

Prepare a tourism partnership brief

Review a destination organization's public account and content before a partnership discussion. Identify visible business connections, inspect publisher coverage that tags the organization, and collect location and hashtag candidates for the proposed itinerary.

Compare a brand's content formats

Create separate inventories of published posts, Reels, active Stories, and saved Highlight collections. Use the inventories to plan a content review without confusing a Highlight collection with its individual Stories.

Questions about Instagram V2 Get user posts in Claude Code

Can Claude Code use Instagram V2 Get user posts?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Instagram V2 Get user posts like any built-in tool.

How much does Instagram V2 Get user posts cost in Claude Code?

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

Do I need a TikHub account to use Instagram V2 Get user posts in Claude Code?

No. Spiral runs Instagram V2 Get user 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 V2 Get user posts in Claude Code?

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

Does Claude Code wait while Instagram V2 Get user posts runs?

Instagram V2 Get user posts runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Can this data include private Instagram activity?

TikHub documents public Instagram data only. Private accounts, direct messages, and non-public insights are outside its coverage.

How current are the Instagram results?

TikHub says its visitor-view Instagram data can lag by a few days, particularly counts and statistics. These results should not be described as live measurements.

Does one page contain every available result?

No. TikHub says paginated endpoints can return fewer items than requested, so a short page alone does not establish that collection is complete.

What do Instagram follower and following lists represent?

The follower list contains accounts following the requested account. The following list contains accounts it follows; both are paginated lists.

Does a Highlight collection list include every Story inside it?

The collection list supplies Highlight IDs, titles, and covers. TikHub documents a separate operation for retrieving the Stories inside a specific Highlight.

Get started

Start using Instagram V2 Get user posts in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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