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

Gemini · Social Media

How to Use Instagram account posts in Gemini

Returns an account's published posts with pagination in either direction. Use it to review a brand's publishing output beyond the recent posts included in its profile response.

Prompts to try with Instagram account posts in Gemini

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

Use Instagram account posts to look this up and give me the result as a table.

Instagram account postsGemini
Try asking
  • Pull the latest numbers from Instagram account posts and tell me what changed since last week.

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

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

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

How to set up Instagram account posts in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 account 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-user-posts",
        "input": {
          "username": "99brasil"
        }
      }'

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

Instagram account posts providers and prices

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

TikHubSocial Media
Instagram V3 · Get user posts
tikhub/instagram-v3-get-user-posts

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Lasta whole number

Number of posts per page (backward)

Counta whole number12

Number of posts for first request

First1 to 5012

Number of posts per page (forward)

Every API field of Instagram V3 · Get user posts is on its tool page: open its card above.

What can you do with Instagram account posts in Gemini?

Prepare an Instagram campaign research brief for a public brand or venue. A chat agent can organize returned account details, content, places, or hashtag matches into a comparison you can review.

Compare competitor content

Compare public brand profiles, published posts, Reels engagement, Highlight organization, active Stories, tagged posts, and relevant hashtag results.

Prepare a local product launch brief

Document the brand's account identity and naming history, review its content and tagged posts, then find hashtag and Instagram place candidates around the launch venue.

Review an event sponsor's public presence

Build a sponsor review from account identifiers, naming history, profile totals, published content, and tagged coverage. Add topic labels and nearby Instagram places for the event brief.

Create an agency account handoff

Give the incoming team an account reference, username change count, profile totals, content inventory, tagged-post review, and campaign hashtag candidates. Include nearby Instagram places for the client's public business locations.

Plan a brand's editorial calendar

Review published posts, Reels captions and engagement, Highlight titles, and active Stories. Use hashtag search results to prepare topic options for the next planning meeting.

Research a destination campaign

Find Instagram places near a public landmark and hashtag candidates for the destination. Review a tourism organization's posts, Reels, active Stories, Highlights, and tagged posts for campaign references.

Questions about Instagram account posts in Gemini

Can Gemini use Instagram account posts?

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

How much does Instagram account posts cost in Gemini?

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

Do I need a TikHub account to use Instagram account posts in Gemini?

No. Spiral runs Instagram account 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 account posts in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Instagram account posts runs?

Instagram account posts runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

Does this cover private Instagram content?

TikHub states that it accesses only publicly available data. Its stated coverage excludes private, restricted, and password-protected content.

How fresh is the Instagram data?

TikHub describes the Instagram series used by these endpoints as real-time. That is the provider's description, rather than a measured update interval.

Why can engagement counts be lower than the Instagram app shows?

TikHub says its counts cover Instagram only. The app can display engagement combined across Instagram and Facebook.

Can I retrieve expired Stories?

The active Stories endpoint cannot fetch Stories after their 24-hour expiration. Plan current-content reviews around that window.

Get started

Start using Instagram account posts in Gemini

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

Paste this into Gemini:

Set up Gemini

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