[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Similarweb outgoing referral domains](https://spiral.ai/integrations/opencode/similarweb-outgoing-referral-domains)

# How to Use Similarweb outgoing referral domains in opencode

Returns domains receiving traffic from a website, with traffic share and change metrics. Use it to investigate where visitors go next, including potential commerce destinations or service providers.

|  |  |
| --- | --- |
| Model | Similarweb outgoing referral domains |
| Available through | Alexandria |
| Category | SEO |
| Price | Up to $5.76147 per run at the default inputs. $0.576147 per unit of `limit`. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Similarweb outgoing referral domains in opencode

- Use Similarweb outgoing referral domains for asos.com for October 2026, using worldwide desktop traffic. Add an internal destination table showing domain, traffic share, and change, and let reviewers annotate each destination's business role.
- Use Similarweb outgoing referral domains to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Similarweb outgoing referral domains and tell me what changed since last week.
- Check Similarweb outgoing referral domains and summarize what you find in three bullet points.
- Pull the newest data from Similarweb outgoing referral domains and give me the result as a table.

## How to set up Similarweb outgoing referral domains 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 Similarweb outgoing referral domains**: 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": "alexandria",
    "model": "similarweb/web/website-referrals/outgoing-referrals",
    "input": {
      "domain": "<domain>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Similarweb outgoing referral domains on Spiral, shows the price and runs it.

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

## Similarweb outgoing referral domains tools and prices

- [Similarweb · Outgoing referrals](https://spiral.ai/tools/alexandria/similarweb/web/website-referrals/outgoing-referrals) (Alexandria): Up to $5.76147 per run at the default inputs. $0.576147 per unit of `limit`.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| asc |  | — | Orders the results by ascending or descending |
| sort |  | — | Selects a specific metric to order results by |
| limit | 1 to 100 | — | Sets how many results to return. |
| offset | 0 to … | — | Defines the number of results to skip |
| country |  | — | Two-letter country code (e.g., 'us', 'gb', 'ww') |
| end_date |  | — | End date in 'YYYY-MM' or 'YYYY-MM-DD' format or relative keywords: latest, X_months_ago, X_days_ago |

## What can you do with Similarweb outgoing referral domains in opencode?

Build an internal competitor report populated with Similarweb website estimates. A coding agent can turn country breakdowns, engagement metrics, referral relationships, or paid search spending into tables and comparisons in your project.

### Monthly competitor review

Compare estimated traffic and engagement, country mix, paid search investment, referring domains, referral volumes, and outgoing destinations for nike.com and adidas.com. Use the results to choose which differences deserve further investigation.

### Ecommerce acquisition research

Assess a public retailer's estimated audience scale, geographic concentration, paid search investment, reliance on referral sources, and outgoing destinations. Turn those observations into questions for commercial due diligence.

### Competitor market entry research

Study established retailers before entering a market. Compare audience countries, website engagement, estimated search spending, incoming referral sources and volumes, and destinations receiving outgoing traffic to identify distribution relationships worth researching.

### Retail campaign retrospective

Compare saved monthly observations around a retailer's campaign: traffic and engagement, audience countries, estimated paid search spending, incoming referral shares and visits, and outgoing destination shares. Report observed changes without claiming the campaign caused them.

### Publisher commerce destination review

Inspect outgoing domains from a public publisher such as wirecutter.com. Combine destination shares with the publisher's audience countries and overall traffic to assess its relevance for a retail partnership.

## Overview

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

## Similarweb outgoing referral domains in other agents

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

## More opencode guides

- [Similarweb incoming referral domains](https://spiral.ai/integrations/opencode/similarweb-incoming-referral-domains)
- [Similarweb paid search spend estimates](https://spiral.ai/integrations/opencode/similarweb-paid-search-spend-estimates)
- [Serpstat top organic pages](https://spiral.ai/integrations/opencode/serpstat-top-organic-pages)
- [Similarweb referral traffic estimates](https://spiral.ai/integrations/opencode/similarweb-referral-traffic-estimates)
- [Serpstat search suggestions](https://spiral.ai/integrations/opencode/serpstat-search-suggestions)
- [Similarweb website channel shares](https://spiral.ai/integrations/opencode/similarweb-website-channel-shares)

## Questions about Similarweb outgoing referral domains in opencode

**Can opencode use Similarweb outgoing referral domains?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Similarweb outgoing referral domains like any built-in tool.

**How much does Similarweb outgoing referral domains cost in opencode?**

Up to $5.76147 per run at the default inputs. $0.576147 per unit of `limit`. 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 an Alexandria account to use Similarweb outgoing referral domains in opencode?**

No. Spiral runs Similarweb outgoing referral domains on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Similarweb outgoing referral domains in opencode?**

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

**Does opencode wait while Similarweb outgoing referral domains runs?**

Similarweb outgoing referral domains runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Where does Similarweb get its website data?**

Similarweb combines four sources: direct measurement from websites and businesses, aggregated global panel data, data partnerships, and public data. These feed its estimates of website traffic and usage.

**When does Similarweb publish a completed month's data?**

Monthly data is released by the 10th of the following month, sometimes sooner. October figures should therefore be available by November 10.

**Does a precise API number mean a small site's estimate is accurate?**

The API can return a numeric estimate below 5,000 visits even when Similarweb's platform hides that number. Both use the same dataset, and Similarweb says estimates for small sites can have greater variance.

**Does Similarweb include Smart TV activity?**

Similarweb says Smart TV is excluded from its data. Its coverage FAQ explicitly names devices such as Roku and Apple TV.

**How much historical website data does Similarweb offer?**

The Web Intelligence API advertises up to 61 months of history, depending on access. Individual datasets have narrower limits: the PPC spend documentation caps a requested date span at 39 months.

