Spiral gives your agent every tool with one account. Browse the tools →

opencode · SEO

How to Use Similarweb website traffic and engagement in opencode

Returns estimated visits, page views, bounce rate, visit duration, and pages per visit. Use it to compare website scale and engagement before investigating individual countries or referral sources.

Prompts to try with Similarweb website traffic and engagement in opencode

Copy an example into opencode, or ask in your own words.

Use Similarweb website traffic and engagement for nike.com and adidas.com for the latest complete month, using worldwide traffic across desktop and mobile browsers. Add a comparison of visits, page views, bounce rate, and average visit duration to this project.

Similarweb website traffic and engagementopencode
Try asking
  • Use Similarweb website traffic and engagement to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Similarweb website traffic and engagement and tell me what changed since last week.

  • Check Similarweb website traffic and engagement and summarize what you find in three bullet points.

  • Pull the newest data from Similarweb website traffic and engagement and give me the result as a table.

How to set up Similarweb website traffic and engagement 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Similarweb website traffic and engagement

    One request; the result comes back by polling or a webhook.

    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/traffic",
        "input": {
          "domain": "<domain>",
          "metrics": "<metrics>",
          "end_date": "<end_date>",
          "start_date": "<start_date>"
        }
      }'

Then paste one of the prompts above: opencode finds Similarweb website traffic and engagement on Spiral, shows the price and runs it.

Similarweb website traffic and engagement providers and prices

Spiral runs Similarweb website traffic and engagement through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSEO

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Web sourcedesktop, mobile_web, or totaltotal

Device scope.

Granularitymonthly

Monthly observations.

Main domain onlyon or off

Exclude subdomains when true.

Every API field of Similarweb · Traffic and engagement is on its tool page: open its card above.

What can you do with Similarweb website traffic and engagement 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.

Paid search investment comparison

Compare estimated search spending for expedia.com and booking.com alongside website visits and engagement. Use the comparison to frame questions about acquisition strategy without inferring profitability or conversions.

Questions about Similarweb website traffic and engagement in opencode

Can opencode use Similarweb website traffic and engagement?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Similarweb website traffic and engagement like any built-in tool.

How much does Similarweb website traffic and engagement cost in opencode?

Up to $0.960245 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 an Alexandria account to use Similarweb website traffic and engagement in opencode?

No. Spiral runs Similarweb website traffic and engagement 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 website traffic and engagement in opencode?

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

Does opencode wait while Similarweb website traffic and engagement runs?

Similarweb website traffic and engagement 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.

Get started

Start using Similarweb website traffic and engagement in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options