# $5/1K | Similarweb Scraper - Traffic, Ranks & Competitors (`scrapercompany/similarweb-scraper`) Actor

Scrape Similarweb website traffic by domain: global, country and category rank, monthly visits, bounce rate, pages per visit, visit duration, top countries, traffic channels, keywords and 10 similar sites. Batch domains. No login. Made by ScraperCompany.

- **URL**: https://apify.com/scrapercompany/similarweb-scraper.md
- **Developed by:** [ScraperCompany](https://apify.com/scrapercompany) (community)
- **Categories:** SEO tools, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 57.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 similarweb website overviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Similarweb Scraper - Website Traffic, Ranks & Competitors

**Similarweb Scraper** by ScraperCompany reads the public **Similarweb website overview** for each domain you give it.

### ⭐ Like this Actor? Leave a review

If Similarweb Scraper saved you time, please [leave a review on the Store](https://apify.com/scrapercompany/similarweb-scraper/reviews). It takes a minute, helps other people find a scraper that works, and tells us what to build next.

> 🟢 **Nothing to set up:** no code, no login and no keys. Click **Try for free**, start a run, and export JSON, CSV or Excel, or pull the results through the Apify API. You pay only for results; failed and empty requests are free.

### 📦 What you get

| What you get | Price | Per 1,000 |
| --- | --- | --- |
| One website: global, country and category rank, visits, bounce rate, pages per visit, visit duration, top countries, channels, keywords and 10 similar sites | $0.005 | $5.00 |

- 💵 **Price:** **$5 per 1,000** `website` events ($0.005 each); failed and empty requests are free.
- ⚙️ **Setup:** none. No account on the site, no cookies, no keys.
- 📁 **Export:** JSON, CSV, Excel or HTML from the **Output** tab, or the Apify API.
- 🔁 **Automate:** schedules, webhooks, Make, Zapier, n8n and AI agents (MCP).

### ✨ What can this Similarweb scraper do?

Get **global, country and category rank** with their history, **last month's visits** and change, **bounce rate, pages per visit and visit duration**, **top countries**, **top marketing channels**, **top keywords**, referral counts and **10 similar sites** with an affinity score. No login. Pricing is pay-per-event: **$0.005 per website**; unknown domains and failed requests are free.

- **Ranks**: global, country and category rank, the previous month's rank and a 3-month history, with the sites ranked around it.
- **Traffic and engagement**: last month's visits and change, bounce rate, pages per visit, average visit duration, and visits per month for the last 3 months.
- **Audience**: top 5 countries with share and change, age and gender split, other sites the audience visits.
- **Marketing**: top 3 channels, organic vs paid search, total and top keywords with CPC, referral and display-ad counts, social networks.
- **Competitors**: 10 similar sites with an affinity score, category and category rank.
- Batch any number of domains, subdomains or URLs. Unknown domains are free.

### 🚀 Quick start: how to scrape Similarweb website traffic

1. Click **Try for free** (or open the Actor in Apify Console) and go to the **Input** tab.
2. Enter **Websites**, one per line: a domain (<code>github.com</code>), a subdomain (<code>docs.github.com</code>) or a full URL.
3. Adjust the options if needed.
4. Click **Start** and wait for the run to finish.
5. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

💡 **Tip:** run it once with the pre-filled input to see the output, then change the input to your own.

### ⚖️ What makes it different?

| | **Similarweb Scraper** | Many alternatives |
| --- | --- | --- |
| Setup | Nothing to configure: no login, no keys | Often your own accounts, cookies or network setup |
| You pay for | Successful results; failed and empty requests are free | Often run time, or every attempt |
| When a request fails | Retried automatically, and never charged | Often an empty or failed run |

### 👥 Who uses Similarweb data?

- **SEO and growth teams**: Size a competitor's traffic, channels and top keywords before planning content or ads.
- **Sales and lead generation**: Qualify a list of company domains by traffic, country mix and category rank.
- **Investors and analysts**: Track monthly visits and rank movement for a watchlist of websites.

### 🧭 Common jobs

#### Monthly competitor traffic

Add your competitors' domains and schedule the run monthly; Similarweb updates its estimates once a month.

#### Qualify a lead list

Paste company domains and sort the Overview view by visits or country rank.

#### Find competitors

Run one domain and read the Similar sites view.

### 📋 What Similarweb data can you extract?

| Field | Description |
| --- | --- |
| `website.domain / snapshot_month / category / description` | The website, the month the estimates are for, and its category |
| `website.ranks.global / country / category` | Rank, previous rank, change, 3-month history and neighbouring sites |
| `website.traffic.visits / visits_change / monthly` | Last month's visits, its change, and visits per month |
| `website.traffic.bounce_rate / pages_per_visit / avg_visit_duration_s` | Engagement |
| `website.top_countries.top[]` | Top countries with share and share change |
| `website.traffic_sources.top[]` | Top 3 marketing channels |
| `website.search.top_keywords[]` | Top keywords with CPC, and the organic/paid split |
| `website.similar_sites[]` | 10 similar sites with affinity, category and category rank |
| `website.company` | Company name, founding year, headquarters, employee and revenue ranges, when known |

Every dataset item also carries `input` (the options used for that request), `request_id` (quote it to support), `billed` and `scraped_at`.

### ⌨️ Input

| Input | Name | What it does |
| --- | --- | --- |
| `websites` | Websites | ....\` is dropped). Each line is one request. |

### 📥 Input example

This is the default input; running the Actor without changes uses it.

```json
{
  "websites": [
    "github.com"
  ],
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

### 📤 Output example

One dataset item per request (trimmed here; real items contain all the fields):

```json
{
  "input": {
    "domain": "reddit.com"
  },
  "search_parameters": {
    "domain": "reddit.com"
  },
  "website": {
    "audience_interests": {
      "categories": [
        "games/video_games_consoles_and_accessories",
        "computers_electronics_and_technology/programming_and_developer_software"
      ],
      "other_sites": [
        "youtube.com",
        "google.com"
      ],
      "topics": [
        "news",
        "shopping"
      ]
    },
    "category": "computers_electronics_and_technology/social_networks_and_online_communities",
    "company": null,
    "demographics": {
      "age": [
        {
          "max": 34,
          "min": 25,
          "share": 0.3029
        },
        {
          "max": 24,
          "min": 18,
          "share": 0.2888
        }
      ],
      "female": 0.3763,
      "male": 0.6237
    },
    "description": "reddit is a network of communities where people can dive into their interests, hobbies and passions. there's a community for whatever you're interested in on...",
    "display_ads": {
      "hidden_top": 2,
      "networks_total": 14,
      "top": [
        {
          "domain": "cloud.microsoft",
          "share": 0.0314
        }
      ],
      "total": 422
    },
    "domain": "reddit.com",
    "icon": "https://site-images.similarcdn.com/image?url=reddit.com&t=2&s=1&h=66f2412047e0362ec60d5583d4b186511a8e859446bb112c60d22968facae906",
    "outgoing": {
      "hidden_top": 0,
      "top": [],
      "top_categories": [],
      "total": null
    },
    "ranks": {
      "category": {
        "category": "computers_electronics_and_technology/social_networks_and_online_communities",
        "change": 0,
        "history": [
          {
            "month": "2026-08",
            "rank": 2
          },
          {
            "month": "2026-09",
            "rank": 3
          }
        ],
        "neighbours": [
          {
            "domain": "facebook.com",
            "rank": 1
          },
          {
            "domain": "instagram.com",
            "rank": 2
          }
        ],
        "previous": 3,
        "rank": 3
      },
      "country": {
        "change": 0,
        "country": "US",
        "history": [
          {
            "month": "2026-08",
            "rank": 5
          },
          {
            "month": "2026-09",
            "rank": 6
          }
        ],
        "neighbours": [
          {
            "domain": "facebook.com",
            "rank": 4
          },
          {
            "domain": "instagram.com",
            "rank": 5
          }
        ],
        "previous": 6,
        "rank": 6
      },
      "global": {
        "change": -1,
        "history": [
          {
            "month": "2026-08",
            "rank": 8
          },
          {
            "month": "2026-09",
            "rank": 8
          }
        ],
        "neighbours": [
          {
            "domain": "chatgpt.com",
            "rank": 7
          },
          {
            "domain": "amazon.com",
            "rank": 8
          }
        ],
        "previous": 8,
        "rank": 9
      }
    },
    "referrals": {
      "hidden_top": 3,
      "top": [
        {
          "domain": "kagi.com",
          "share": 0.0373
        },
        {
          "domain": "msn.com",
          "share": 0.0319
        }
      ],
      "top_categories": [
        {
          "category": "News_and_Media",
          "share": 0.0837
        },
        {
          "category": "Computers_Electronics_and_Technology/Search_Engines",
          "share": 0.0496
        }
      ],
      "total": 909
    },
    "search": {
      "keywords_total": 24241135,
      "organic_share": 0.9993,
      "paid_share": 0.0007,
      "top_keywords": [
        {
          "cpc": 2.18,
          "keyword": "reddit"
        },
        {
          "cpc": 0.14,
          "keyword": "chatgpt"
        }
      ]
    },
    "similar_sites": [
      {
        "affinity": 1,
        "category": "reference_materials/dictionaries_and_encyclopedias",
        "category_rank": 2,
        "domain": "quora.com"
      },
      {
        "affinity": 0.9674,
        "category": "computers_electronics_and_technology/social_networks_and_online_communities",
        "category_rank": 9,
        "domain": "discord.com"
      }
    ],
    "snapshot_month": "2026-10",
    "social": {
      "top": [
        {
          "network": "Youtube",
          "share": 0.6307
        },
        {
          "network": "X-twitter",
          "share": 0.1614
        }
      ],
      "total": 59
    },
    "source_url": "https://www.similarweb.com/website/reddit.com/",
    "technologies": {
      "categories": [
        {
          "category": "advertising",
          "count": 38,
          "top_technology": "Google Adsense"
        },
        {
          "category": "payment_and_currencies",
          "count": 37,
          "top_technology": "Cart Functionality"
        }
      ],
      "categories_total": 23,
      "total": 152
    },
    "top_countries": {
      "top": [
        {
          "country": "US",
          "share": 0.4665,
          "share_change": -0.0188
        },
        {
          "country": "GB",
          "share": 0.0625,
          "share_change": -0.0185
        }
      ],
      "total": 162
    },
    "traffic": {
      "avg_visit_duration_s": 349,
      "bounce_rate": 0.4225,
      "monthly": [
        {
          "change": -0.0322,
          "derived": true,
          "month": "2026-08",
          "visits": 4182467159
        },
        {
          "change": -0.0851,
          "derived": true,
          "month": "2026-09",
          "visits": 3826350993
        }
      ],
      "pages_per_visit": 5.0325,
      "visits": 3777488491,
      "visits_band": "<10B",
      "visits_change": -0.0128
    },
    "traffic_sources": {
      "least_used": "affiliate",
      "top": [
        {
          "rank": 1,
          "share": 0.5499,
          "source": "organic"
        },
        {
          "rank": 2,
          "share": null,
          "source": "direct"
        }
      ]
    },
    "verified_with_google_analytics": false
  },
  "request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
  "billed": true,
  "scraped_at": "2026-10-01T14:03:27.512Z"
}
```

A request that fails is saved with an `error` message instead (turn off **Include failed requests** to skip those). Failed requests are never charged.

### 💰 How much does it cost to scrape Similarweb website traffic?

This Actor uses **pay-per-event** pricing: you pay for successful requests, not for compute time.

| Event | Charged when | Price | Per 1,000 |
| --- | --- | --- | --- |
| `website` | One website's public Similarweb overview: ranks, visits, engagement, countries, channels, keywords and similar sites. An unknown domain is free. | $0.005 | $5.00 |

The **$5/1K** in the title is the price of 1,000 `website` events.

#### Cost examples

| Job | Cost |
| --- | --- |
| 100 websites, once | **$0.50** |
| 50 competitors, monthly for a year | **$3.00** |

Apify's $5 of free monthly usage covers about **1,000** `website` events.

- ✅ Failed requests (errors, invalid input, a site refusing after retries) are **free**.
- ✅ Requests where the source returns nothing at all (no results, nothing priced) are saved but **not charged**.
- ✅ Set **Maximum cost per run** when you start a run and the Actor stops cleanly before going over it.

### 🔌 Integrations

#### ⏰ Schedules and webhooks

Use Apify **Schedules** to repeat a run hourly, daily or weekly and compare results over time, and **webhooks** or the **Integrations** tab to push new results to Make, Zapier, n8n, Google Sheets, Slack or your own warehouse.

#### 🤖 AI agents and MCP

Results are structured JSON, so they are easy to feed to a model. AI agents such as Claude can run this Actor and read its results through the [Apify MCP server](https://mcp.apify.com).

#### 💻 API: JavaScript and Python

Call the Actor from any language through the [Apify API](https://docs.apify.com/api/v2). With the JavaScript client (`npm install apify-client`):

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/similarweb-scraper').call({
    "websites": [
        "github.com"
    ]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

With Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/similarweb-scraper").call(run_input={
    "websites": ["github.com"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### ❓ FAQ

#### Do I need an account on the site, or an API key?

No. The Actor is ready to run as is, and you only pay the per-event prices above.

#### How fresh is the data?

Similarweb publishes its estimates once a month; `snapshot_month` says which month a row is for.

#### Are the monthly visits exact?

Similarweb publishes the last month's total and each month's change. Earlier months are worked back from those changes and marked `derived`.

#### Why are some top referrals missing?

Similarweb hides the top few referring and ad sites from signed-out visitors; `hidden_top` says how many.

#### What does an unknown domain cost?

Nothing. A domain Similarweb has no estimate for is not charged.

#### Do I need a Similarweb account?

No. The Actor reads the public website overview.

#### Is it legal to scrape Similarweb website traffic?

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

#### What happens when a request fails?

Failed attempts are retried automatically. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

#### Why did a request return an error?

Read the `error` field: it says what was wrong with the input, for example a malformed date or an unknown id. Fix it and run again; failed requests cost nothing.

#### How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under **Run options**); larger batches simply take longer.

### 🔗 Related scrapers

- [Google Search Scraper](https://apify.com/scrapercompany/google-search-scraper): organic results, ads and SERP features
- [Google Trends Scraper](https://apify.com/scrapercompany/google-trends-scraper): search interest over time
- [Apple App Store Scraper](https://apify.com/scrapercompany/app-store-scraper): apps, ratings and reviews

### 📝 Tried it? Tell others

Once you have run Similarweb Scraper, a [short review on the Store](https://apify.com/scrapercompany/similarweb-scraper/reviews) helps the next person decide.

### 💬 Support

Questions, a field you need, or a site that stopped working? Open an issue on the **Issues** tab. Include the `request_id` from the dataset item so we can trace the request. We read every issue.

# Changelog

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

# Actor input Schema

## `websites` (type: `array`):

One website per line: a domain such as <code>github.com</code>, a subdomain such as <code>docs.github.com</code>, or a full URL (its host is used; <code>www.</code> is dropped). Each line is one request.

## `customRequests` (type: `array`):

Optional list of JSON objects, one request each, using the field names shown above. Each object is merged over the options above, so you only need to give what differs. Example: <code>{"domain":"booking.com"}</code>

## `includeErrors` (type: `boolean`):

When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.

## `maxRetries` (type: `integer`):

How many times a request that failed for a temporary reason is tried again right away. A request still failing then gets one more try at the end of the run, after a 30-second pause. Invalid input is never retried.

## Actor input object example

```json
{
  "websites": [
    "github.com"
  ],
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

# Actor output Schema

## `results` (type: `string`):

One dataset item per request.

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

Counts of succeeded, failed, skipped and charged requests.

# 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 = {
    "websites": [
        "github.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapercompany/similarweb-scraper").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 = { "websites": ["github.com"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapercompany/similarweb-scraper").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 '{
  "websites": [
    "github.com"
  ]
}' |
apify call scrapercompany/similarweb-scraper --silent --output-dataset

```

## MCP server setup

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

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/vOwCxwCdmCycCEoXt/builds/rpupEmA7rXxEELcIf/openapi.json
