[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Similarweb referral traffic estimates](https://spiral.ai/integrations/muse-code/similarweb-referral-traffic-estimates)

# How to Use Similarweb referral traffic estimates in Muse Code

Returns incoming referral domains with estimated visits, traffic share, and change metrics. Use it when you need referral volume per source alongside its share of incoming traffic.

|  |  |
| --- | --- |
| Model | Similarweb referral traffic estimates |
| 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 referral traffic estimates in Muse Code

- Use Similarweb incoming referral domains and Similarweb referral traffic estimates for asos.com for the latest complete month, using worldwide desktop traffic. Add a report that compares source shares and shows estimated visits where returned.
- Use Similarweb referral traffic estimates to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Similarweb referral traffic estimates and tell me what changed since last week.
- Check Similarweb referral traffic estimates and summarize what you find in three bullet points.
- Pull the newest data from Similarweb referral traffic estimates and give me the result as a table.

## How to set up Similarweb referral traffic estimates 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 Similarweb referral traffic estimates**: 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/referrals",
    "input": {
      "domain": "<domain>",
      "end_date": "<end_date>",
      "start_date": "<start_date>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Similarweb referral traffic estimates on Spiral, shows the price and runs it.

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

## Similarweb referral traffic estimates tools and prices

- [Similarweb · Referral traffic](https://spiral.ai/tools/alexandria/similarweb/web/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 |  | — | Ascending sort when true. |
| sort |  | — | Response field to sort by. |
| limit | 1 to 100 | 10 | Maximum records in this page; Exchange bounds pages to 100. |
| offset | 1 to … | — | Page number, starting at 1 per the endpoint documentation. |
| country |  | — | Two-letter lowercase country code or ww. |
| web_source | desktop, mobile_web, total | desktop | Device scope. |

## What can you do with Similarweb referral traffic estimates in Muse Code?

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.

### Referral partner research

Find domains sending traffic to asos.com and compare their referral shares with estimated visit volumes. Shortlist publishers or commercial partners for a separate relevance review.

## Overview

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

## Similarweb referral traffic estimates in other agents

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

## More Muse Code guides

- [Similarweb paid search spend estimates](https://spiral.ai/integrations/muse-code/similarweb-paid-search-spend-estimates)
- [Similarweb website channel shares](https://spiral.ai/integrations/muse-code/similarweb-website-channel-shares)
- [Similarweb outgoing referral domains](https://spiral.ai/integrations/muse-code/similarweb-outgoing-referral-domains)
- [Similarweb website channel visits](https://spiral.ai/integrations/muse-code/similarweb-website-channel-visits)
- [Similarweb incoming referral domains](https://spiral.ai/integrations/muse-code/similarweb-incoming-referral-domains)
- [Similarweb website traffic and engagement](https://spiral.ai/integrations/muse-code/similarweb-website-traffic-and-engagement)

## Questions about Similarweb referral traffic estimates in Muse Code

**Can Muse Code use Similarweb referral traffic estimates?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Similarweb referral traffic estimates like any built-in tool.

**How much does Similarweb referral traffic estimates cost in Muse Code?**

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

**Do I need an Alexandria account to use Similarweb referral traffic estimates in Muse Code?**

No. Spiral runs Similarweb referral traffic estimates 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 referral traffic estimates in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Similarweb referral traffic estimates runs?**

Similarweb referral traffic estimates runs in the background. Muse Code 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.

