[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Instagram nearby content](https://spiral.ai/integrations/claude-code/instagram-nearby-content)

# How to Use Instagram nearby content in Claude Code

Returns nearby places and popular posts around an Instagram location. Use it to expand research from one venue into the surrounding area.

|  |  |
| --- | --- |
| Model | Instagram nearby content |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0104 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Instagram nearby content in Claude Code

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

## How to set up Instagram nearby content 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.

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

```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 nearby content**: 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-v3-get-location-nearby",
    "input": {
      "location_id": "213385402"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Instagram nearby content on Spiral, shows the price and runs it.

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

## Instagram nearby content tools and prices

- [Instagram V3 · Get nearby location content](https://spiral.ai/tools/tikhub/tikhub/instagram-v3-get-location-nearby) (TikHub): $0.0104 per request.

## What can you do with Instagram nearby content in Claude 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.

### Review a venue's event coverage

Check the venue's place identity, gather posts attached to that location and the event hashtag, and inspect nearby content for related venues. Use comments, replies, and the organizer's Highlights to assemble questions and content examples for the event team.

### Audit a business's place references

Compare the name, address, and coordinates of Instagram location records with the business's own venue list. Review attached posts and nearby content to identify place records that deserve a manual check.

### 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.

## Overview

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

## Instagram nearby content in other agents

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

## More Claude Code guides

- [Instagram music search](https://spiral.ai/integrations/claude-code/instagram-music-search)
- [Instagram nearby location search](https://spiral.ai/integrations/claude-code/instagram-nearby-location-search)
- [Instagram media ID to shortcode](https://spiral.ai/integrations/claude-code/instagram-media-id-to-shortcode)
- [Instagram place details](https://spiral.ai/integrations/claude-code/instagram-place-details)
- [Instagram locations by coordinates](https://spiral.ai/integrations/claude-code/instagram-locations-by-coordinates)
- [Instagram places by city](https://spiral.ai/integrations/claude-code/instagram-places-by-city)

## Questions about Instagram nearby content in Claude Code

**Can Claude Code use Instagram nearby content?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Instagram nearby content like any built-in tool.

**How much does Instagram nearby content cost in Claude 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 Claude Code plan is separate.

**Do I need a TikHub account to use Instagram nearby content in Claude Code?**

No. Spiral runs Instagram nearby content 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 nearby content in Claude Code?**

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

**Does Claude Code wait while Instagram nearby content runs?**

Instagram nearby content runs in the background. Claude 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.

