Similarweb
Competitive traffic intelligence platform providing website analytics, traffic sources, keyword data, and competitor insights.
Similarweb
Competitive traffic intelligence platform providing website analytics, traffic sources, keyword data, and competitor insights.
Capabilities
| Integration | Available | Notes |
|---|---|---|
| API | ✓ | Traffic, Search, Referrals, Competitors, Geography |
| MCP | ✓ | Official server (docs), checked 2026-10-27 |
| CLI | ✓ | [similarweb.js](../clis/similarweb.js) |
| SDK | - | REST API only |
Authentication
- Type: API Key
- Query param:
?api_key={key} - Get key: Account Settings > API at https://account.similarweb.com
Common Agent Operations
Total Visits
GET https://api.similarweb.com/v1/website/example.com/total-traffic-and-engagement/visits?api_key={key}&start_date=2024-01&end_date=2024-03&country=us&granularity=monthlyPages Per Visit
GET https://api.similarweb.com/v1/website/example.com/total-traffic-and-engagement/pages-per-visit?api_key={key}&start_date=2024-01&end_date=2024-03Average Visit Duration
GET https://api.similarweb.com/v1/website/example.com/total-traffic-and-engagement/average-visit-duration?api_key={key}&start_date=2024-01&end_date=2024-03Bounce Rate
GET https://api.similarweb.com/v1/website/example.com/total-traffic-and-engagement/bounce-rate?api_key={key}&start_date=2024-01&end_date=2024-03Traffic Sources Breakdown
GET https://api.similarweb.com/v1/website/example.com/traffic-sources/overview?api_key={key}&start_date=2024-01&end_date=2024-03Top Referral Sites
GET https://api.similarweb.com/v4/website/example.com/traffic-sources/referrals?api_key={key}&start_date=2024-01&end_date=2024-03&country=worldOrganic Keywords
GET https://api.similarweb.com/v1/website/example.com/search/organic-search-keywords?api_key={key}&start_date=2024-01&end_date=2024-03Paid Keywords
GET https://api.similarweb.com/v1/website/example.com/search/paid-search-keywords?api_key={key}&start_date=2024-01&end_date=2024-03Similar Sites / Competitors
GET https://api.similarweb.com/v1/website/example.com/similar-sites/similarsites?api_key={key}Category Ranking
GET https://api.similarweb.com/v1/website/example.com/category-rank/category-rank?api_key={key}Traffic by Country
GET https://api.similarweb.com/v1/website/example.com/geo/traffic-by-country?api_key={key}&start_date=2024-01&end_date=2024-03Key Metrics
Traffic & Engagement
visits- Total visits for the periodpages_per_visit- Average pages viewed per visitaverage_visit_duration- Average session duration in secondsbounce_rate- Percentage of single-page visits
Traffic Sources
search- Organic + paid search percentagesocial- Social media traffic percentagedirect- Direct traffic percentagereferrals- Referral traffic percentagemail- Email traffic percentagedisplay_ads- Display advertising percentage
Search Keywords
search_term- Keyword textshare- Traffic share percentagevolume- Search volumecpc- Cost per clickposition- Average ranking position
Geography
country- Country codeshare- Traffic share from that country
Parameters
Common Parameters
start_date- Start month (YYYY-MM format)end_date- End month (YYYY-MM format)country- Two-letter country code (e.g., us, gb, de)granularity- Data granularity: monthly, weekly, daily
Search Parameters
limit- Number of keywords to returncountry- Filter by country
When to Use
- Analyzing competitor website traffic and engagement metrics
- Benchmarking your site against competitors
- Identifying top traffic sources for any website
- Discovering competitor organic and paid keywords
- Finding similar sites and competitive landscape
- Understanding geographic traffic distribution
- Auditing SEO performance relative to competitors
- Researching market share by traffic volume
Rate Limits
- Rate limits vary by plan tier
- Standard: 10 requests/second
- Data availability depends on plan (3 months to 36 months historical)
- Some endpoints require Premium or Enterprise plans
Relevant Skills
- seo-audit
- competitors
- ads
- content-strategy
CLI referral reports
Referral reports use the endpoint-specific v4 route. The required country scope defaults to world; specify --country us (or another permitted country) to select a market. Other existing CLI routes retain their version.
node tools/clis/similarweb.js referrals --domain example.com --start 2026-01 --end 2026-02 --country usAPI keys are encoded as a single query parameter and masked by parameter name in previews, even when their value matches part of the requested domain. Contract: Referrals — Desktop.
Source: https://github.com/coreyhaines31/marketingskills/blob/main/tools/integrations/similarweb.md
Author: coreyhaines31, Marketing skills. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The Codex library holds 7,009 entries. Members can search all of them by meaning and read every one in full.