How to Use Similarweb website channel visits in opencode
Returns estimated website visits broken down by marketing channel for a complete month. Use it to compare acquisition volume or measure changes in visits; choose channel shares to compare each channel's relative importance.
Prompts to try with Similarweb website channel visits in opencode
Copy an example into opencode, or ask in your own words.
Use Similarweb website channel visits for booking.com in the United States for September and October 2026, one month at a time. Add a chart showing the change in estimated visits for each returned channel.
Use Similarweb website channel visits to compare walmart.com and target.com in the United States for October 2026. Add the results to the project's competitor report with a shared channel order.
Use Similarweb website channel visits to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Similarweb website channel visits and tell me what changed since last week.
Check Similarweb website channel visits and summarize what you find in three bullet points.
How to set up Similarweb website channel visits in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Similarweb website channel visits
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/channels/traffic", "input": { "domain": "<domain>", "end_date": "<end_date>", "start_date": "<start_date>" } }'
Then paste one of the prompts above: opencode finds Similarweb website channel visits on Spiral, shows the price and runs it.
Similarweb website channel visits providers and prices
Spiral runs Similarweb website channel visits through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Web source | desktop, mobile_web, or total | desktop | Device scope. |
| Granularity | monthly | Monthly observations. | |
| Main domain only | on or off | Exclude subdomains when true. |
Every API field of Similarweb · Marketing channel traffic is on its tool page: open its card above.
What can you do with Similarweb website channel visits in opencode?
Build an internal competitor report that compares website acquisition by channel. A coding agent can turn Similarweb shares or visit counts into tables and charts in your project.
Compare competitor acquisition
Compare nike.com and adidas.com for the same month and market. Use channel shares to compare their acquisition mix and channel visits to compare the scale behind it.
Find dependence on one channel
Review how much of a website's acquisition comes from its leading channel. Use the result to frame questions about dependence on search, referrals, or direct traffic.
Review monthly acquisition changes
Compare consecutive complete months for booking.com. Separate changes in channel share from changes in estimated visits before choosing which channels to investigate.
Compare acquisition across markets
Compare a public business website's channels in the United States and United Kingdom for the same month. Identify where its acquisition mix or traffic volume differs.
Prepare an SEO planning brief
Compare organic search with the other returned channels for competing retailers. Use the comparison to identify research priorities for an SEO plan.
Review traffic around a campaign
Compare channel results before and after a campaign month. Describe the observed changes and list follow-up questions before attributing the movement to the campaign.
More on Similarweb website channel visits and opencode
Overview
Similarweb website channel visits in other agents
Questions about Similarweb website channel visits in opencode
Can opencode use Similarweb website channel visits?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Similarweb website channel visits like any built-in tool.
How much does Similarweb website channel visits cost in opencode?
Up to $96.0245 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 channel visits in opencode?
No. Spiral runs Similarweb website channel visits 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 channel visits in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Similarweb website channel visits runs?
Similarweb website channel visits runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
When is a complete month's data available?
Similarweb releases monthly data by the 10th of the following month. For a monthly review, schedule the comparison after that release window.
Does Marketing Channels include traffic inside mobile apps?
No. Similarweb Marketing Channels covers web traffic and excludes app traffic, so it does not represent a business's combined website and app audience.
Can Similarweb report channels for every website?
No. Its algorithm requires enough traffic to create estimates, so a small or new website may have no available data.
Why might email activity appear under Direct?
Similarweb places email traffic from a separate application under Direct. The Email channel therefore does not capture every visit generated by email.
What counts as a visit?
Similarweb treats a visit as a session that expires after 30 minutes of inactivity. Channel visit counts measure visits, rather than distinct people.
Start using Similarweb website channel visits in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


