# Similarweb Traffic Monitor - Bulk Domain Estimates (`mmdincer/similarweb-traffic-monitor`) Actor

Read public Similarweb traffic estimates for 50 domains. Each row keeps monthly visits, global and category rank, traffic sources, top countries and keywords. Month-over-month change mode writes only domains that moved past your threshold. Results as JSON, CSV or Excel. Access through API or MCP.

- **URL**: https://apify.com/mmdincer/similarweb-traffic-monitor.md
- **Developed by:** [Muhammet Mustafa Dincer](https://apify.com/mmdincer) (community)
- **Categories:** SEO tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 domain reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

> 📈 Want search demand instead of site traffic? 👉 [Google Trends Scraper](https://apify.com/mmdincer/google-trends-scraper-monitor)

### 🤖 What does Similarweb Traffic Monitor do?

This Similarweb Traffic Monitor reads the public Similarweb traffic estimate for a list of domains and writes one report per domain. Each Similarweb traffic report keeps monthly visits, global and category rank, traffic sources, top countries, top keywords, bounce rate, pages per visit and time on site.

It can:

- **Read up to 50 domains in one run**, with a full URL or a bare host as input.
- **Keep the monthly trend**, not only the latest number, so a single month does not hide a direction.
- **Break traffic into sources** such as organic search, direct, paid search, referrals and social.
- **List the top country shares** that Similarweb publishes for the domain.
- **Compare month over month** and write only domains that are new or moved past your threshold.
- **Report a domain with no estimate as no data**, instead of writing zero visits as if the site had no traffic.

No Similarweb account, API key or login is used. The Actor reads the same public endpoint the Similarweb browser extension calls.

### 💡 Why scrape Similarweb traffic?

Similarweb traffic estimates are a quick way to size a site, a competitor or a market before you spend money on ads, links or content.

- **SEO and content teams** can compare a list of competitor domains and see which ones are growing.
- **Affiliate and partnership teams** can screen sites by visits and country mix before an outreach list.
- **Market researchers** can size a niche by adding up Similarweb traffic estimates for the domains that serve it.
- **Founders and investors** can keep a monthly Similarweb traffic record of a market instead of reading one dashboard screenshot.
- **Agencies** can put a client and its competitors in one table with the same fields and the same date.

The numbers are Similarweb's model, not the site's analytics. Treat a Similarweb traffic estimate as a consistent comparison, not as a billing-grade count of Similarweb traffic.

### 🚀 How to scrape Similarweb traffic

1. Click **Try for free**.
2. Enter one to fifty **Domains**, for example `apify.com` and `github.com`.
3. Leave **Month-over-month change mode** off for the sample so the run writes every domain.
4. Click **Run**.
5. Download the dataset as JSON, CSV or Excel, or read it through the API.

For a recurring check, turn on **Month-over-month change mode** and set a threshold. The first run saves the latest visits and snapshot month per domain. Later runs write a domain only when it is new or when visits moved past the threshold.

The public Similarweb traffic endpoint is behind a WAF that blocks many datacenter addresses. The default input uses Apify residential proxy. A direct run can receive HTTP 403, and the Actor writes a blocked row and fails the run instead of returning empty domain reports.

### ⚠️ Limits

- **Estimates, not analytics.** Similarweb models traffic. A small site can be off by a wide margin, and a very small site can be missing entirely.
- **Real browser, not plain HTTP.** The Actor clears the WAF challenge in headless Chrome through the residential proxy. The challenge is a script: the page is kept open while it finishes and reloads, and only a challenge that cannot finish rotates the session. Every later domain is read from the public data endpoint with a real page navigation in the same context, so the endpoint can run its own challenge and keep its `aws-waf-token`. Images, fonts, media, stylesheets and the site's own scripts are blocked; only the challenge script is allowed. It runs at 1024 MB by default, with a minimum of 1024 MB and a maximum of 4096 MB.
- **Sessions are reused across domains.** The context and its WAF cookies are kept across domains and a session is rotated only on a confirmed challenge. A domain may open at most 3 sessions (its first plus two extra), and the run has a session cap. `browserSessions`, `maxBrowserSessions` and `domainAttempts` are written to `RUN_SUMMARY`.
- **The estimates can change shape.** The numbers come from the public data endpoint, with the page's embedded `window.__APP_DATA__` JSON as a fallback. Neither is a published contract. A shape change or a new challenge needs an Actor update.
- **WAF and rate limits.** Residential proxy handles most blocks, but the page can still rate-limit. The Actor waits 2–6 s between domains by default, retries with backoff and spaces requests.
- **Fifty domains per run.** Split a larger Similarweb traffic list across runs or schedules.
- **Country data is a share, not a visit count.** `topCountries` gives each country's share of traffic. Multiply by visits yourself when you need an estimate.
- **No keyword research.** Top keywords are whatever Similarweb returns for the domain. The Actor does not query a keyword database.
- **A zero response is no data.** Similarweb can answer with zeros for an unknown or low-traffic domain, and sometimes with ranks but no visits. The Actor writes a free `no_data` notice, not a zero-visit report, and `domain-report` is charged only when a traffic number was read.
- **No private data.** The Actor reads a public domain profile. It does not log in, does not read a paid Similarweb account and does not collect visitor data.

### 💳 How much will it cost to scrape Similarweb traffic?

Pay-per-event for Similarweb traffic. The event names below are the keys in `pricing-ppe.json` and the strings passed to `Actor.charge`.

| Event name (`Actor.charge`) | Event title | When the code charges it | Price (USD) |
|---|---|---|---|
| `apify-actor-start` | Actor Start | Once when the Actor starts, on every tier | 0.0005 |
| `domain-report` | Domain report | Once for each domain report written. A baseline and a repeated domain both count; in change mode only a new domain or a move past the threshold is written | 0.02 on FREE, BRONZE, SILVER, GOLD, PLATINUM and DIAMOND |

Fifty domains are **$1.00**, or **$20 per 1,000 Similarweb traffic reports**, plus the start event. A blocked Similarweb traffic request, a domain without data and a skip at the maximum charge are not charged. A change-mode run with no new movement writes no domain event.

#### How a domain is read

The Actor clears Similarweb's bot check once per browser session, then asks the public data endpoint from inside the same browser context, so later domains in the session reuse the cleared check. When the data endpoint is challenged for a domain, the Actor falls back to that domain's public Similarweb page. A run opens a capped number of browser sessions, and `browserSessions` and `domainAttempts` in `RUN_SUMMARY` record what was used. A domain that stays blocked is reported as an error row and is not charged.

The Actor runs at 1 GB by default, which leaves headroom for one Chromium page and Node.

### 📝 Input

| Field | Required | What the code does with it |
|---|---|---|
| Domains (up to 50) | Yes | Accepts a Similarweb traffic host or a full URL and keeps the host, without `www.`. |
| Month-over-month change mode | No | Writes only new domains or domains whose visits moved past the threshold. |
| Change threshold (%) | No | How far visits must move before change mode writes the domain. |
| Watchlist name | No | Separates saved visits for different lists. |
| Pause between domains (seconds) | No | Jittered pause before each domain after the first. 4 means 2–6 s; 0 turns it off. |
| Proxy country | No | Two-letter Apify residential proxy country, `US` by default. Empty lets Apify choose. |
| Proxy configuration | No | Apify Proxy settings, residential by default. |

A small full run:

```json
{
  "domains": ["apify.com", "github.com"],
  "onlyChanges": false,
  "changeThresholdPercent": 10,
  "delayBetweenDomainsSeconds": 4,
  "proxyCountry": "US",
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

A monthly competitor watch:

```json
{
  "domains": ["competitor-one.com", "competitor-two.com", "competitor-three.com"],
  "onlyChanges": true,
  "changeThresholdPercent": 15,
  "monitorName": "serp-competitors"
}
```

### 📊 Output

One shortened Similarweb traffic row from the recorded Similarweb response fixture that the tests assert:

```json
{
  "recordType": "domain",
  "domain": "apify.com",
  "siteName": "Apify",
  "category": "Computers_Electronics_and_Technology",
  "globalRank": 12345,
  "categoryRank": 42,
  "snapshotMonth": "2026-10",
  "visits": 1234567,
  "previousVisits": 1180000,
  "visitsChangePercent": 4.6,
  "trafficSources": {
    "direct": 0.32,
    "searchOrganic": 0.45,
    "searchPaid": 0.05,
    "referrals": 0.08,
    "socialOrganic": 0.06
  },
  "topCountries": [
    { "countryCode": "US", "share": 0.31 },
    { "countryCode": "IN", "share": 0.18 }
  ],
  "topKeywords": ["web scraping", "apify", "scraper api"],
  "bounceRate": 0.42,
  "pagesPerVisit": 4.1,
  "timeOnSite": 180,
  "isNew": true,
  "changeType": "NEW"
}
```

| Field | Meaning |
|---|---|
| `domain`, `siteName`, `title` | Normalized host and the public profile text. |
| `visits`, `previousVisits`, `snapshotMonth` | Latest estimate, previous month and the month label. |
| `visitsChangePercent`, `isNew`, `changeType` | Movement against the saved run. On a baseline it is the public month-over-month movement: the data endpoint's last two months, or the page's own change figure. |
| `monthlyVisits` | The monthly trend Similarweb returned, filled from the data endpoint's `EstimatedMonthlyVisits` or from the page's plotted history (scaled to the reported total). |
| `trafficSources` | Source shares from 0 to 1. |
| `topCountries` | Country shares from 0 to 1, up to ten. |
| `globalRank`, `categoryRank`, `countryRanks` | Public ranks. |
| `bounceRate`, `pagesPerVisit`, `timeOnSite` | Engagement estimates. |

### 🔌 Integrations and API

Run this Similarweb traffic monitor with the Apify API, a schedule, or the Apify MCP server. Apify can send the Similarweb traffic dataset to Make, Zapier, a webhook, Google Sheets or a database. A monthly schedule plus change mode gives a competitor list that only reports movement.

The input object uses keys from `.actor/input_schema.json`. The slug is `mmdincer/similarweb-traffic-monitor`.

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('mmdincer/similarweb-traffic-monitor').call({
  domains: ['apify.com', 'github.com'],
  onlyChanges: false,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((item) => [item.domain, item.visits]));
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("mmdincer/similarweb-traffic-monitor").call(run_input={
    "domains": ["apify.com", "github.com"],
    "onlyChanges": False,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
for item in items:
    print(item["domain"], item["visits"])
```

A run report is written to `RUN_SUMMARY` with domains requested and written, new and no-data counts, browser sessions, per-domain browser sessions (`domainAttempts`), charges and warnings.

### ❓ FAQ

#### How do I scrape Similarweb traffic for many domains?

Put up to fifty domains in one input. The Actor reads each public Similarweb traffic estimate, normalizes the response and writes a row. It paces requests, retries with backoff and uses the residential proxy group by default.

#### Is this the official Similarweb API?

No. It reads the public data endpoint used by the Similarweb browser extension. There is no API key and no paid plan. That also means there is no uptime guarantee from Similarweb for this Similarweb traffic path; the Actor reports a block or a shape change instead of pretending it has data.

#### Why is a domain missing from the output?

Similarweb may have no estimate for a very small domain, or it may answer with all zeros. The Actor writes a free `no_data` notice for that domain and continues. A WAF block is different: it is an error row and the run fails if every domain was blocked.

#### How is month-over-month change calculated?

For Similarweb traffic monitoring, the Actor saves the latest visits estimate and snapshot month for each domain and watchlist. A later run compares the new visits with the saved visits. A domain is written when it is new or when the absolute change is at least the threshold. The row's `changeType` is NEW, UP, DOWN or UNCHANGED.

#### Can I compare mobile and desktop traffic?

No. The public endpoint returns one combined estimate, not a device split. The Actor reports the fields Similarweb returns and does not invent a desktop or mobile number.

#### Is a Similarweb traffic estimate accurate enough for a report?

Use it as a consistent estimate across domains, not as an audited number. Similarweb traffic is useful for ranking sites and spotting direction. For your own site, use your analytics or Search Console as the source of truth.

### ⚖️ Is it legal to scrape Similarweb traffic?

This Actor reads a public domain profile endpoint for Similarweb traffic. It does not log in, does not use a paid account and does not collect personal data or visitor-level information. Similarweb traffic estimates and ranks are aggregate, public figures.

Similarweb's terms still apply to your use of its data. Keep request volume modest, respect rate limits, and do not resell the estimates as if they were audited analytics. This is not legal advice.

Not affiliated with Similarweb. Similarweb is a trademark of Similarweb Ltd. Similarweb does not endorse this Actor.

Apify's overview: <https://blog.apify.com/is-web-scraping-legal/>.

### 🔗 Related actors

| Actor | What it does |
|---|---|
| [Google Trends Scraper](https://apify.com/mmdincer/google-trends-scraper-monitor) | Reads Google Trends interest, regions, related queries and rising queries with an alert mode. |
| [Autocomplete Keyword Scraper](https://apify.com/mmdincer/autocomplete-keyword-scraper) | Reads Google, YouTube and Bing autocomplete suggestions for seed keywords. |

# Changelog

This Actor's version history is a separate document: https://apify.com/mmdincer/similarweb-traffic-monitor/changelog.md

# Actor input Schema

## `domains` (type: `array`):

Domain names such as apify.com or github.com. A full URL is accepted and reduced to the host. One to fifty domains per run.

## `onlyChanges` (type: `boolean`):

Compares the latest visits estimate with the value saved on an earlier run. Writes a domain when it is new or when the change passes the threshold. The first run saves a baseline and writes every domain. Leave it off for the sample.

## `changeThresholdPercent` (type: `number`):

Change mode writes a domain only when the visits estimate differs from the saved value by at least this percent. From 0.1 to 100.

## `monitorName` (type: `string`):

Saved visits and snapshot months are kept per watchlist and domain. Use a new name to start over without deleting the old baseline.

## `delayBetweenDomainsSeconds` (type: `number`):

Polite randomized pause before each domain after the first. 4 seconds means 2 to 6 seconds. Set 0 to read the list back to back, which raises the chance of a WAF challenge.

## `proxyCountry` (type: `string`):

Two-letter country code for the Apify residential proxy session, such as US. Similarweb serves a US-facing estimate and the WAF behaves most consistently from a US address. Leave empty to let Apify choose the country.

## `proxyConfiguration` (type: `object`):

The Similarweb data endpoint blocks many datacenter addresses with a WAF challenge. The Actor clears it in a real headless browser, which needs 1024 MB memory by default, and the default is Apify residential proxy. A direct local run can receive HTTP 403 and is reported as a blocked row, not as a domain with no traffic.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "github.com"
  ],
  "onlyChanges": false,
  "changeThresholdPercent": 10,
  "monitorName": "default",
  "delayBetweenDomainsSeconds": 4,
  "proxyCountry": "US",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `rows` (type: `string`):

One row per domain estimate plus error and notice rows.

## `summary` (type: `string`):

Domains requested, written, new, without data, charges and warnings.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com",
        "github.com"
    ],
    "onlyChanges": false,
    "changeThresholdPercent": 10,
    "monitorName": "default",
    "delayBetweenDomainsSeconds": 4,
    "proxyCountry": "US",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mmdincer/similarweb-traffic-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "domains": [
        "apify.com",
        "github.com",
    ],
    "onlyChanges": False,
    "changeThresholdPercent": 10,
    "monitorName": "default",
    "delayBetweenDomainsSeconds": 4,
    "proxyCountry": "US",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("mmdincer/similarweb-traffic-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com",
    "github.com"
  ],
  "onlyChanges": false,
  "changeThresholdPercent": 10,
  "monitorName": "default",
  "delayBetweenDomainsSeconds": 4,
  "proxyCountry": "US",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call mmdincer/similarweb-traffic-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mmdincer/similarweb-traffic-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/K6kezN8PPGfisq0en/builds/9GcJoBJSDTJPwxOtC/openapi.json
