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

Grok · Social Media

How to Use Instagram profile embed HTML in Grok

Returns the HTML for an Instagram profile card. Use it to feature a public brand or creator profile on a website when you need an embedded display.

Prompts to try with Instagram profile embed HTML in Grok

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

Use Instagram profile embed HTML for nasa and give me the returned HTML for a space education webpage.

Instagram profile embed HTMLGrok
Try asking
  • Fetch Instagram profile embed HTML for patagonia for a company profile page, and put the returned HTML in a code block.

  • Retrieve Instagram profile embed HTML for metmuseum for a museum visitor guide.

  • Use Instagram profile embed HTML for lego and give me the HTML for an editor's preview.

  • Fetch Instagram profile embed HTML for natgeo for an editorial page introducing its public Instagram account.

How to set up Instagram profile embed HTML in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

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

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 profile embed HTML

    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": "scrapecreators",
        "model": "scrapecreators/instagram-user-embed",
        "input": {
          "handle": "jane"
        }
      }'

Then paste one of the prompts above: Grok finds Instagram profile embed HTML on Spiral, shows the price and runs it.

Instagram profile embed HTML providers and prices

Spiral runs Instagram profile embed HTML through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Instagram · Embed HTML
scrapecreators/instagram-user-embed

What can you do with Instagram profile embed HTML in Grok?

Get the HTML needed to feature a public Instagram profile in a webpage draft. A chat app can retrieve the profile embed and present it for an editor to use.

Brand profile on a company website

Retrieve a company's Instagram profile embed HTML for display on its social media page.

Creator feature in an online magazine

Fetch a public creator's profile embed HTML for an editorial feature that introduces their work.

Sponsor profiles on an event website

Retrieve profile embed HTML for approved public sponsor accounts to display beside their event descriptions.

Merchant profiles in a business directory

Add Instagram profile cards to participating businesses' directory pages using their public accounts.

Museum profile in a visitor guide

Fetch a museum's Instagram profile embed HTML for display alongside its visitor information.

Profile embed preview for editors

Retrieve a selected public account's embed HTML so an editor can preview the profile card before including it in an article.

Questions about Instagram profile embed HTML in Grok

Can Grok use Instagram profile embed HTML?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Instagram profile embed HTML like any built-in tool.

How much does Instagram profile embed HTML cost in Grok?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

Do I need a ScrapeCreators account to use Instagram profile embed HTML in Grok?

No. Spiral runs Instagram profile embed HTML on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up Instagram profile embed HTML in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Instagram profile embed HTML runs?

Instagram profile embed HTML runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

What does the Instagram profile embed endpoint return?

The documented result contains one HTML string for rendering an Instagram profile card on a webpage.

Can it retrieve private Instagram content?

ScrapeCreators describes its source material as publicly available information. Instagram's official embedding documentation also excludes posts from private, inactive, and age-restricted accounts.

Does this return a historical Instagram feed?

The endpoint documents a single profile embed HTML string. Its specification documents no pagination or historical retrieval.

How fresh is the source data?

ScrapeCreators describes retrieval as on demand. That statement does not specify a maximum delay between an Instagram change and its appearance in the profile embed.

Does ScrapeCreators allow commercial use of the returned HTML?

ScrapeCreators permits commercial use and redistribution of API output. Its terms also require compliance with the accessed websites' applicable terms, policies, and laws.

Get started

Start using Instagram profile embed HTML in Grok

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

Paste this into Grok:

Set up Grok

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