[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Instagram profile and timeline by ID](https://spiral.ai/integrations/muse-code/instagram-profile-and-timeline-by-id)

# How to Use Instagram profile and timeline by ID in Muse Code

Fetch Instagram profile information, timeline media, and an HD avatar using a numeric account ID. Use it when your research records already contain the account's ID.

|  |  |
| --- | --- |
| Model | Instagram profile and timeline by ID |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Instagram profile and timeline by ID in Muse Code

- Use Instagram profile and timeline by ID to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Instagram profile and timeline by ID and tell me what changed since last week.
- Check Instagram profile and timeline by ID and summarize what you find in three bullet points.
- Pull the newest data from Instagram profile and timeline by ID and give me the result as a table.
- Check Instagram profile and timeline by ID every morning and tell me only when something changed.

## How to set up Instagram profile and timeline by ID in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
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.

```bash
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 and timeline by ID**: One request; the result comes back by polling or a webhook.

```bash
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-user-info-by-id",
    "input": {
      "user_id": "25025320"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Instagram profile and timeline by ID on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Instagram profile and timeline by ID tools and prices

- [Instagram V1 · Get user data by user ID](https://spiral.ai/tools/tikhub/tikhub/instagram-v1-fetch-user-info-by-id) (TikHub): $0.0013 per request.

## What can you do with Instagram profile and timeline by ID in Muse Code?

Build an internal Instagram research view with public account context, selected posts, and discussion summaries. A coding agent can connect the returned profile, search, Explore, and comment data to the project's existing records.

### Prepare a competitor research brief

Find public brands through search and related-account recommendations. Compare their profiles, inspect selected post links and comment themes, and use Explore sections to add category context.

### Research public creator partnerships

Discover public creators through search, recommendations, and Explore posts. Review profile information and selected posts, then summarize discussion topics beneath those posts to support a partnership shortlist.

### Build an editorial research board

Collect public accounts, hashtags, places, and Explore posts around a topic. Add profile context, selected post details, and recurring comment questions to help an editor choose subjects to cover.

### Research a product category before launch

Find established brands and relevant public creators, review their profile positioning, and inspect example product posts. Combine comment questions with search and Explore results to identify subjects a launch brief should address.

### Maintain an internal public brand directory

Find brand accounts and collect the profile information available through the chosen lookup. Use the profile-links lookup when the directory needs bio links and HD avatar information.

### Create a recent publishing digest

Review the timeline media returned for public publishers or brands. Use the lookup documented to include 12 recent posts when the digest needs that specific snapshot.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Instagram profile and timeline by ID in other agents

- [Amp](https://spiral.ai/integrations/amp/instagram-profile-and-timeline-by-id)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/instagram-profile-and-timeline-by-id)
- [Claude](https://spiral.ai/integrations/claude-desktop/instagram-profile-and-timeline-by-id)
- [Claude Code](https://spiral.ai/integrations/claude-code/instagram-profile-and-timeline-by-id)
- [Cline](https://spiral.ai/integrations/cline/instagram-profile-and-timeline-by-id)
- [Codex](https://spiral.ai/integrations/codex/instagram-profile-and-timeline-by-id)
- [Cursor](https://spiral.ai/integrations/cursor/instagram-profile-and-timeline-by-id)
- [Devin](https://spiral.ai/integrations/devin/instagram-profile-and-timeline-by-id)
- [dots](https://spiral.ai/integrations/dots/instagram-profile-and-timeline-by-id)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/instagram-profile-and-timeline-by-id)
- [Gemini](https://spiral.ai/integrations/gemini/instagram-profile-and-timeline-by-id)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/instagram-profile-and-timeline-by-id)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/instagram-profile-and-timeline-by-id)
- [goose](https://spiral.ai/integrations/goose/instagram-profile-and-timeline-by-id)
- [Grok](https://spiral.ai/integrations/grok/instagram-profile-and-timeline-by-id)
- [Grok Build](https://spiral.ai/integrations/grok-build/instagram-profile-and-timeline-by-id)
- [Hermes](https://spiral.ai/integrations/hermes/instagram-profile-and-timeline-by-id)
- [Instinct](https://spiral.ai/integrations/instinct/instagram-profile-and-timeline-by-id)
- [Manus](https://spiral.ai/integrations/manus/instagram-profile-and-timeline-by-id)
- [Muse](https://spiral.ai/integrations/muse/instagram-profile-and-timeline-by-id)
- [n8n](https://spiral.ai/integrations/n8n/instagram-profile-and-timeline-by-id)
- [Notion](https://spiral.ai/integrations/notion/instagram-profile-and-timeline-by-id)
- [OpenClaw](https://spiral.ai/integrations/openclaw/instagram-profile-and-timeline-by-id)
- [opencode](https://spiral.ai/integrations/opencode/instagram-profile-and-timeline-by-id)
- [Perplexity](https://spiral.ai/integrations/perplexity/instagram-profile-and-timeline-by-id)
- [Raycast](https://spiral.ai/integrations/raycast/instagram-profile-and-timeline-by-id)
- [VS Code](https://spiral.ai/integrations/vscode/instagram-profile-and-timeline-by-id)
- [Windsurf](https://spiral.ai/integrations/windsurf/instagram-profile-and-timeline-by-id)
- [Zapier](https://spiral.ai/integrations/zapier/instagram-profile-and-timeline-by-id)

## More Muse Code guides

- [Instagram profile and recent posts by username](https://spiral.ai/integrations/muse-code/instagram-profile-and-recent-posts-by-username)
- [Instagram profile by user ID](https://spiral.ai/integrations/muse-code/instagram-profile-by-user-id)
- [Instagram profile](https://spiral.ai/integrations/muse-code/instagram-profile)
- [Instagram profile details](https://spiral.ai/integrations/muse-code/instagram-profile-details)
- [Instagram posts using music](https://spiral.ai/integrations/muse-code/instagram-posts-using-music)
- [Instagram profile embed HTML](https://spiral.ai/integrations/muse-code/instagram-profile-embed-html)

## Questions about Instagram profile and timeline by ID in Muse Code

**Can Muse Code use Instagram profile and timeline by ID?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Instagram profile and timeline by ID like any built-in tool.

**How much does Instagram profile and timeline by ID cost in Muse Code?**

$0.0013 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 profile and timeline by ID in Muse Code?**

No. Spiral runs Instagram profile and timeline by ID 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 profile and timeline by ID 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 profile and timeline by ID runs?**

Instagram profile and timeline by ID runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Can this retrieve private Instagram content?**

TikHub limits access to publicly available content. Its privacy policy explicitly excludes private, restricted, and password-protected content.

**How fresh are Instagram counts?**

TikHub says visitor-view counts can take a few days to reflect live values. These Instagram endpoints use its visitor-view series, so follower, like, and comment totals should not be described as live measurements.

**What request limit does TikHub publish?**

TikHub publishes a default limit of 10 requests per second for its Instagram API. That is a provider limit, not a promise about how many records a response contains.

**What uses does TikHub's standard license cover?**

TikHub's terms license the service for lawful internal business purposes. A product that redistributes Instagram data needs a separate assessment of those terms and the rights in the content.

**Does access include permission to republish Instagram content?**

TikHub's terms say retrieved content may carry third-party intellectual property rights. API access alone does not establish permission to republish a creator's photos, videos, or text.

