# SimilarWeb Data Extractor — Website Traffic & Analytics (`rastriq/similarweb-data-extractor`) Actor

Extract website traffic estimates and analytics data from SimilarWeb. Get monthly visits, bounce rate, pages per visit, traffic sources, top countries, and competitor analysis. No SimilarWeb subscription required. Essential for competitive intelligence and market research.

- **URL**: https://apify.com/rastriq/similarweb-data-extractor.md
- **Developed by:** [Rastriq — Structured data from the world](https://apify.com/rastriq) (community)
- **Categories:** SEO tools, Lead generation
- **Stats:** 25 total users, 6 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SimilarWeb Data Extractor — Website Traffic, Rankings & E-commerce Intelligence

![Competitive intelligence and market analysis tools](https://www.rastriq.es/readme/intel.png)
Extract **website traffic rankings, trending sites, e-commerce shopper data, and universal search results** from SimilarWeb — no API key or subscription required.

> **Try it free** — your first $5 of usage is on Apify. No credit card required.

### 🔍 What is SimilarWeb Data Extractor?

**SimilarWeb Data Extractor** is an unofficial SimilarWeb API that extracts competitive intelligence data from SimilarWeb's public endpoints — rankings, traffic trends, e-commerce insights, and entity search across 37 countries and 25 categories.

Use SimilarWeb Data Extractor to:

- **Rank websites by traffic** — get the top 50 sites in any country and category with bounce rate, pages/visit, and session duration
- **Track trending sites** — discover which websites are rising, falling, entering, or leaving the top 100
- **Analyze e-commerce performance** — extract revenue estimates, top products, top brands, and category breakdowns for major online retailers
- **Search across entities** — find websites, keywords, apps, companies, and technologies in a single query
- **Automate competitive monitoring** — schedule daily/weekly runs and integrate via API, Make, or Zapier

### See real records before you run it

A public sample dataset is open — no account, no token:

[100 real records →](https://api.apify.com/v2/datasets/Ys9Yrr0zn7BUjOE5r/items?clean=true\&limit=100\&format=json)

### 📊 Four extraction modes

| Mode | What it delivers | Use case |
|------|-----------------|----------|
| **📈 Top Websites Ranking** | Top 50 sites by traffic for any country + category — bounce rate, pages/visit, session duration | Market sizing, competitive benchmarking |
| **🔥 Trending Websites** | Rising, falling, entering, and leaving the top 100 | Trend monitoring, early-mover detection |
| **🛒 E-commerce Shopper Data** | Revenue estimates, top products, top brands, category breakdowns | E-commerce market research |
| **🔎 Universal Search** | Websites, keywords, iOS/Android apps, companies, technologies matching a query | Entity discovery, lead generation |

> SimilarWeb Data Extractor runs all four modes in parallel in a single run — enable the ones you need.

### 📋 What data does SimilarWeb Data Extractor extract?

#### Top Websites Ranking

| Field | Type | Description |
|-------|------|-------------|
| `country` | string | Country filter applied |
| `category` | string | Category filter applied |
| `snapshotDate` | date | Data period |
| `sites[].domain` | string | Website domain |
| `sites[].rankChange` | number | Position change since last period |
| `sites[].pagesPerVisit` | number | Average pages viewed per visit |
| `sites[].bounceRate` | number | Bounce rate (0–1) |
| `sites[].visitsAvgDurationFormatted` | string | Average session duration (HH:MM:SS) |

#### E-commerce Shopper Data

| Field | Type | Description |
|-------|------|-------------|
| `domain` | string | E-commerce website |
| `revenue` | object | Revenue estimate and YoY change |
| `topProducts` | array | Top products by views — name, category, brand, views, YoY change |
| `topBrands` | array | Top brands by share |
| `topSubCategories` | array | Top product subcategories |
| `currency` | string | Revenue currency |

#### Trending Websites

| Field | Type | Description |
|-------|------|-------------|
| `increasingWebsites` | array | Sites climbing the rankings — domain, rank, change |
| `decreasingWebsites` | array | Sites losing positions |
| `inWebsites` | array | New entries in the top 100 |
| `outWebsites` | array | Sites that dropped out of the top 100 |

#### Universal Search

| Field | Type | Description |
|-------|------|-------------|
| `term` | string | Search query |
| `websites` | array | Matching websites |
| `keywords` | array | Related keywords |
| `apps` | object | iOS and Android apps |
| `companies` | array | Matching companies |
| `technologies` | array | Technologies used |

> [**Browse sample data**](https://api.apify.com/v2/datasets/rastriq~similarweb-data-extractor-sample/items?limit=20\&format=html) — see exactly what you'll get before running.

### 📦 Output example

Here's a real top websites ranking for e-commerce in Spain:

```json
{
  "_type": "top_websites",
  "country": "spain",
  "category": "e-commerce-and-shopping",
  "snapshotDate": "2026-07-01T00:00:00+00:00",
  "countryAlpha2Code": "ES",
  "sites": [
    {
      "domain": "amazon.es",
      "rankChange": 0,
      "pagesPerVisit": 8.41,
      "bounceRate": 0.29,
      "visitsAvgDurationFormatted": "00:05:57"
    },
    {
      "domain": "elcorteingles.es",
      "rankChange": 1,
      "pagesPerVisit": 7.95,
      "bounceRate": 0.34,
      "visitsAvgDurationFormatted": "00:04:06"
    },
    {
      "domain": "aliexpress.com",
      "rankChange": -1,
      "pagesPerVisit": 4.62,
      "bounceRate": 0.43,
      "visitsAvgDurationFormatted": "00:03:59"
    }
  ]
}
```

And here's an e-commerce shopper data result for amazon.es:

```json
{
  "_type": "shopper_data",
  "domain": "amazon.es",
  "currency": "$",
  "revenue": {
    "revenue": 50613416606,
    "revenueChange": 0.16
  },
  "topProducts": [
    {
      "productName": "Apple AirPods Pro 3 Wireless Earbuds",
      "productCategory": "Electronics > Headphones > Earbud Headphones",
      "brand": "Apple",
      "productViews": 1952026
    }
  ],
  "topBrands": [
    { "name": "Apple", "share": 0.08 },
    { "name": "Samsung", "share": 0.05 }
  ]
}
```

Download results in **JSON, CSV, Excel, XML, or HTML** from the Output tab, or pull them via API.

> [**Browse sample records**](https://api.apify.com/v2/datasets/rastriq~similarweb-data-extractor-sample/items?limit=20\&format=html) — see exactly what you'll get before running.

### 🚀 How to use SimilarWeb Data Extractor

1. **Create a free Apify account** at [apify.com](https://apify.com) — your first $5 is free
2. **Open SimilarWeb Data Extractor** and click **Try for free**
3. **Toggle on the modes you need** — Top Websites, Trends, E-commerce, or Universal Search
4. **Select a country and category** for rankings, or enter domains for e-commerce data
5. **Click Start** — most queries complete in under 15 seconds
6. **Preview your data** in the Output tab
7. **Export** in JSON, CSV, or Excel — or connect via API, Make, or Zapier

> **Tip**: Click Start with defaults to get the top e-commerce websites in Spain plus a universal search — takes under 10 seconds.

### ⚙️ Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `includeTopWebsites` | boolean | `false` | Fetch top 50 websites by traffic for a country + category |
| `country` | select | `worldwide` | Country filter — 37 countries available (Spain, USA, UK, Germany, France, etc.) |
| `category` | select | `all` | Industry category — 25 options (E-commerce, Finance, News, Technology, etc.) |
| `includeTrends` | boolean | `false` | Fetch trending websites — rising, falling, entering, leaving top 100 |
| `shopperDomains` | array | — | E-commerce domains to analyze (e.g., `amazon.es`, `pccomponentes.com`) |
| `searchTerms` | array | — | Universal search queries — returns websites, keywords, apps, companies |
| `delayBetweenRequests` | integer | `1` | Seconds between API requests — increase if rate-limited |
| `debugMode` | boolean | `false` | Enable verbose logging for troubleshooting |

### 💰 How much does it cost to use SimilarWeb Data Extractor?

**$1.00 per 1,000 results** (+ $0.005 per start). Your $5 free trial credit covers ~4,900 results.

### 💡 Use cases

- **Competitive intelligence** — discover the top 50 websites in any country and category, and track which are rising or falling
- **E-commerce market research** — analyze revenue, top products, and brand share for major online retailers
- **Market sizing** — identify the leading websites in any country and category for opportunity analysis
- **Trend monitoring** — track which websites are gaining or losing traffic in any market
- **Entity discovery** — search across websites, keywords, apps, and companies in a single query
- **Lead generation** — find websites in specific verticals and geographies for outreach

### 🔗 Integrations & scheduling

- **Schedule** daily or weekly runs from the Apify Console for automated data collection
- Push results to **Google Sheets, Slack, Zapier, Make, webhooks**, or any database
- Fetch datasets via the **Apify REST API** or the official JavaScript/Python clients
- Use [Apify integrations](https://apify.com/integrations) to connect to 200+ apps

### 🏢 Related Rastriq Actors

| Actor | Description |
|-------|-------------|
| [Google Trends Scraper](https://apify.com/rastriq/google-trends-scraper) | Search interest over time, related queries, and regional breakdowns |
| [Google Ads Scraper](https://apify.com/rastriq/google-ads-scraper) | Google Ads Transparency Center — ad creatives and targeting data |
| [TikTok Ad Library Scraper](https://apify.com/rastriq/tiktok-ad-library-scraper) | TikTok ad creatives, targeting, and spend data |
| [Amazon Reviews Scraper](https://apify.com/rastriq/amazon-reviews-scraper) | Product reviews, ratings, and price monitoring from 14 Amazon marketplaces |

### Copy to your AI assistant

Tell your agent to call this actor with the right input parameters.
The output is structured JSON — no parsing needed.

### About the data

This actor is part of Rastriq's competitive intelligence coverage. See the normalised output fields,
the full source list and the use cases behind it: [Competitive Intelligence](https://www.rastriq.es/en/competitive-intelligence/#campos).

### ❓ FAQ

#### Is scraping SimilarWeb legal?

SimilarWeb Data Extractor only accesses **publicly available data** from SimilarWeb's public endpoints. It does not use any API keys, log in, or bypass paywalls. You are responsible for using the extracted data in compliance with SimilarWeb's Terms of Service and applicable data protection laws.

#### Does SimilarWeb Data Extractor require a login or API key?

No. SimilarWeb Data Extractor works with public data only — no login, API key, or SimilarWeb subscription required.

#### What countries are supported?

37 countries: Spain, United States, United Kingdom, Germany, France, Italy, Canada, Mexico, Brazil, Australia, Japan, Netherlands, Poland, Sweden, and 23 more. Select "Worldwide" for global rankings.

#### What categories are available?

25 industry categories including E-commerce & Shopping, Finance, News & Media, Technology, Travel, Health, Education, Food & Drink, Sports, Automotive, and more.

#### How fast is SimilarWeb Data Extractor?

Most queries complete in under 15 seconds. Each mode (Top Websites, Trends, Shopper Data, Universal Search) makes just one API call, so a full run with all four modes finishes in seconds.

#### Can I get historical data?

SimilarWeb Data Extractor returns the most recent snapshot available (typically the previous month). For historical trends, schedule recurring runs and compare datasets over time.

#### Do I need residential proxies?

No. SimilarWeb Data Extractor works with datacenter proxies out of the box — no residential proxies needed.

#### What export formats are supported?

JSON, CSV, Excel (XLSX), XML, and HTML table. You can also push data directly to Google Sheets or any webhook endpoint.

# Actor input Schema

## `includeTopWebsites` (type: `boolean`):

Fetch the top 50 websites ranked by traffic.

## `country` (type: `string`):

Also used by Option 2 (Trending) below.

## `category` (type: `string`):

Filter by website category.

## `includeTrends` (type: `boolean`):

Fetch rising, falling, new-in, and dropped-out websites.

## `shopperDomains` (type: `array`):

One domain per line. Example: <code>amazon.com</code>. Only works for major e-commerce sites.

## `searchTerms` (type: `array`):

One term per line. Example: <code>artificial intelligence</code>

## `delayBetweenRequests` (type: `number`):

Seconds between API calls to avoid rate limiting. Requests run in parallel (5 at a time), this delay applies per request.

## `debugMode` (type: `boolean`):

Log extra details (response sizes, raw payloads).

## Actor input object example

```json
{
  "includeTopWebsites": false,
  "country": "",
  "category": "",
  "includeTrends": false,
  "delayBetweenRequests": 1,
  "debugMode": false
}
```

# Actor output Schema

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

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("rastriq/similarweb-data-extractor").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("rastriq/similarweb-data-extractor").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 '{}' |
apify call rastriq/similarweb-data-extractor --silent --output-dataset

```

## MCP server setup

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

```

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/RPfcdWwULbobuYt9F/builds/Sbp7Kx8BTPvoUjmad/openapi.json
