# Similarweb API: Get website traffic

> Gets a website's monthly traffic estimate, rankings, engagement and top countries from Similarweb's free public overview. Traffic-source percentages withheld by the site are null; the site may limit anonymous views.

Unofficial. Not affiliated with or endorsed by Similarweb.

- Page: https://fous.com/methods/similarweb.com/get-website-traffic
- Method: `similarweb.com/get_website_traffic`, version 1
- Website: similarweb.com
- Returns: month, global/country/category rank, monthly visits, change, bounce rate, pages per visit, visit duration, top countries, traffic sources
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `website` | string | yes | `"notion.so"` | Website domain or link, such as notion.so or https://notion.so/page. |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "website": "notion.so"
}
```

Its output:

```json
{
  "month": "2026-08-01",
  "domain": "notion.so",
  "country": "United States",
  "category": "Computers Electronics and Technology - Other",
  "global_rank": 3644,
  "country_rank": 3480,
  "category_rank": 111,
  "top_countries": [
    {
      "country": "United States",
      "share_percent": 22.16
    },
    {
      "country": "Japan",
      "share_percent": 8.24
    },
    {
      "country": "Korea, Republic of",
      "share_percent": 6.92
    }
  ],
  "pages_per_visit": 7.35,
  "similarweb_link": "https://www.similarweb.com/website/notion.so/",
  "traffic_sources": {
    "email": null,
    "direct": 78.96,
    "search": null,
    "social": null,
    "referrals": null,
    "display_ads": null
  },
  "bounce_rate_percent": 50.34,
  "average_visit_duration": "8 min 37 s",
  "visit_duration_seconds": 517,
  "estimated_monthly_visits": 11874618,
  "change_from_previous_month_percent": -0.25
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"similarweb.com/get_website_traffic","input":{"website":"notion.so"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- How many monthly visits does notion.so get, and what's its global rank right now?
- Pull the Similarweb overview for canva.com — bounce rate, pages per visit, and average visit duration.
- Which countries send the most traffic to duolingo.com? Also show whether visits went up or down last month.
- I'm sizing up a competitor: give me the traffic estimate, category rank, and traffic source breakdown for https://www.allbirds.com/collections/mens.
- Check Similarweb for figma.com's monthly traffic and its rank in the US.

## Input schema

```json
{
  "type": "object",
  "required": [
    "website"
  ],
  "properties": {
    "website": {
      "type": "string",
      "description": "Website domain or link, such as notion.so or https://notion.so/page."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "domain",
    "month",
    "global_rank",
    "country_rank",
    "country",
    "category",
    "category_rank",
    "estimated_monthly_visits",
    "change_from_previous_month_percent",
    "bounce_rate_percent",
    "pages_per_visit",
    "average_visit_duration",
    "top_countries",
    "traffic_sources",
    "similarweb_link",
    "visit_duration_seconds"
  ],
  "properties": {
    "month": {
      "type": "string",
      "format": "date",
      "description": "First day of the month covered."
    },
    "domain": {
      "type": "string",
      "description": "Website domain."
    },
    "country": {
      "type": [
        "string",
        "null"
      ]
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "global_rank": {
      "type": [
        "integer",
        "null"
      ]
    },
    "country_rank": {
      "type": [
        "integer",
        "null"
      ]
    },
    "category_rank": {
      "type": [
        "integer",
        "null"
      ]
    },
    "top_countries": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "country",
          "share_percent"
        ],
        "properties": {
          "country": {
            "type": "string"
          },
          "share_percent": {
            "type": "number"
          }
        },
        "additionalProperties": false
      }
    },
    "pages_per_visit": {
      "type": [
        "number",
        "null"
      ]
    },
    "similarweb_link": {
      "type": "string",
      "format": "uri"
    },
    "traffic_sources": {
      "type": "object",
      "required": [
        "direct",
        "search",
        "social",
        "referrals",
        "email",
        "display_ads"
      ],
      "properties": {
        "email": {
          "type": [
            "number",
            "null"
          ]
        },
        "direct": {
          "type": [
            "number",
            "null"
          ]
        },
        "search": {
          "type": [
            "number",
            "null"
          ]
        },
        "social": {
          "type": [
            "number",
            "null"
          ]
        },
        "referrals": {
          "type": [
            "number",
            "null"
          ]
        },
        "display_ads": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "bounce_rate_percent": {
      "type": [
        "number",
        "null"
      ]
    },
    "average_visit_duration": {
      "type": [
        "string",
        "null"
      ]
    },
    "visit_duration_seconds": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Average time on site in seconds.",
      "x-fous-developer": true
    },
    "estimated_monthly_visits": {
      "type": [
        "integer",
        "null"
      ]
    },
    "change_from_previous_month_percent": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "additionalProperties": false
}
```

## See more

- [Similarweb API: List top websites](https://fous.com/methods/similarweb.com/list-top-websites.md): Lists Similarweb's most visited websites for a category and country, with rankings and engagement figures for the reported month. Anonymous view limits may restrict results, especially for country rankings.
- [Cloudflare API: Get domain rank](https://fous.com/methods/radar.cloudflare.com/get-domain-rank.md): Gets a website's worldwide popularity bucket, exact rank when shown, categories, and recent weekly rank history from Cloudflare Radar. Historical rank points are available only for top-100 domains; other ranked domains have an empty history.
- [BuiltWith API: Get website technologies](https://fous.com/methods/builtwith.com/get-website-technologies.md): Gets the technologies shown in a website's free BuiltWith profile, grouped in the order BuiltWith displays them. A company name is matched to its official website through a public web search.
- [Trustpilot API: Get company rating](https://fous.com/methods/trustpilot.com/get-company-rating.md): Gets a company's Trustpilot rating summary from its name or website: TrustScore, rating label, total reviews, star breakdown, categories, claimed status, reply statistics and location when shown.
- [SSL Labs API: Check a website's SSL Labs HTTPS grade](https://fous.com/methods/ssllabs.com/check-ssl-certificate.md): Checks a website's HTTPS setup with SSL Labs: overall grade, per-server grades, certificate issuer and expiry, supported protocols and known weaknesses. Reuses cached reports from the last 72 hours unless a fresh test is requested.
- [Wikipedia API: Get page views](https://fous.com/methods/wikipedia.org/get-page-views.md): Returns human-reader view counts for a Wikipedia article by day or month, with totals, daily averages and the peak period.
- [Numbeo API: Get cost of living](https://fous.com/methods/numbeo.com/get-cost-of-living.md): Gets a city's current Numbeo cost of living indices, monthly estimates without rent, and typical prices. Add a country or state to tell apart cities with the same name.
- [LinkedIn API: Get company profile](https://fous.com/methods/linkedin.com/get-company-profile.md): Gets the public overview of a LinkedIn company from its name or company page link. Details not shown publicly are null.
- [All Similarweb methods](https://fous.com/methods/similarweb.com.md)
