[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Instagram Search Reels](https://spiral.ai/integrations/opencode/instagram-search-reels)

# How to Use Instagram Search Reels in opencode

Find Google-indexed Instagram Reels with captions, media links, engagement, and creator details. Use it to discover videos about a brand, product, or topic, with results limited to what Google indexes.

|  |  |
| --- | --- |
| Model | Instagram Search Reels |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Instagram Search Reels in opencode

- Use Instagram Reels search for 'Nike Pegasus' and add the returned Reel URLs, captions, publication dates, and like counts to a research table in this project.
- Use Instagram Reels search for 'LEGO Botanicals' and build a caption explorer in this project that links each result to its original Reel.
- Use Instagram Reels search for 'Kyoto travel' and create a project report grouping relevant captions by itinerary theme, with available location details and source links.
- Use Instagram Reels search for 'Patagonia' and 'The North Face' and add a comparison view to this project showing relevant captions and available engagement, labeled as a Google-indexed sample.
- Use Instagram Reels search for 'espresso' and create a deduplicated JSON dataset in this project with Reel URLs, captions, public creator usernames, and available audio attribution.

## How to set up Instagram Search Reels in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Search Reels**: 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": "scrapecreators",
    "model": "scrapecreators/instagram-reels-search",
    "input": {
      "query": "dogs"
    }
  }'
```

Then paste one of the prompts above: opencode finds Instagram Search Reels on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Instagram Search Reels tools and prices

- [Instagram · Search Reels](https://spiral.ai/tools/scrapecreators/scrapecreators/instagram-reels-search) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page |  | — | The page number to return. Must be between 1 and 11; page 12 or greater returns a 400 response. |
| date_posted | last-week, last-month, last-year | — | Google-indexed date window. Recent hour/day filters are not supported because Google does not index Instagram reels reliably enough in those windows. |

## What can you do with Instagram Search Reels in opencode?

Build a searchable research table of Instagram Reel links, captions, publication dates, and available engagement. Coding agents can add topic labels and deduplicate Google-indexed discoveries in the project's existing reporting tools.

### Product launch coverage

Search for a named product such as Nintendo Switch 2 and assemble relevant Reel links, captions, and publication dates into a launch coverage brief.

### Competitor content research

Search Patagonia and The North Face separately, keep relevant brand content, and compare caption themes and available engagement within the retrieved sample.

### Public creator discovery

Search a topic such as espresso and identify public creator accounts from relevant results. Use their returned captions and Reel links to build a shortlist for manual review.

### Destination content planning

Search Kyoto travel and group relevant Reel captions into itinerary themes. Include returned location details where available to help editors review examples.

### Caption research

Collect captions from Reels about sourdough and compare opening lines, recurring questions, and hashtags to inform an original editorial brief.

### Audio reference collection

Search LEGO and collect available audio attribution from relevant Reels. Give a creative team linked examples of the music and original audio used in the retrieved sample.

### Weekly brand discovery digest

Repeat searches for Duolingo and summarize newly returned Reel URLs and captions. Label the digest as Google-indexed discoveries because a new result may be an older post.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Instagram Search Reels in other agents

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

## More opencode guides

- [Instagram Search Instagram Profiles](https://spiral.ai/integrations/opencode/instagram-search-instagram-profiles)
- [Instagram User Tagged Posts](https://spiral.ai/integrations/opencode/instagram-user-tagged-posts)
- [Instagram Search Hashtag Posts](https://spiral.ai/integrations/opencode/instagram-search-hashtag-posts)
- [Instagram V1 Convert media ID to shortcode](https://spiral.ai/integrations/opencode/instagram-v1-convert-media-id-to-shortcode)
- [Instagram Reels search](https://spiral.ai/integrations/opencode/instagram-reels-search)
- [Instagram V1 Get comment replies](https://spiral.ai/integrations/opencode/instagram-v1-get-comment-replies)

## Questions about Instagram Search Reels in opencode

**Can opencode use Instagram Search Reels?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Instagram Search Reels like any built-in tool.

**How much does Instagram Search Reels cost in opencode?**

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 opencode plan is separate.

**Do I need a ScrapeCreators account to use Instagram Search Reels in opencode?**

No. Spiral runs Instagram Search Reels 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 Search Reels in opencode?**

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

**Does opencode wait while Instagram Search Reels runs?**

Instagram Search Reels runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does this search cover every Instagram Reel?**

No. It searches Google-indexed Reels by keyword, and the documentation describes results as best-effort rather than a complete Instagram search.

**Can it reliably find Reels posted today?**

It cannot provide reliable same-day coverage. Date filtering depends on Google's index, and hourly and daily windows are unsupported because indexing is unreliable at those intervals.

**How far can I paginate through search results?**

You can request pages 1 through 11. Page 12 or higher returns HTTP 400, so pagination cannot produce an unlimited search archive.

**What information comes back with a Reel?**

The documented response includes its Instagram URL, caption, publication timestamp, and like count. The endpoint also returns media, owner, location, and audio details.

