# Similarweb scraper (`curious_coder/similarweb-scraper`) Actor

Scrape similarweb to get insights for websites in bulk including website traffic, pages per visit, time spent on website, bounce rate, rank, etc

- **URL**: https://apify.com/curious_coder/similarweb-scraper.md
- **Developed by:** [Curious Coder](https://apify.com/curious_coder) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 3,840 total users, 322 monthly users, 100.0% runs succeeded, 91 bookmarks
- **User rating**: 4.49 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.
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

SimilarWeb Scraper is an Apify tool that extracts essential website analytics data from SimilarWeb.com for any list of domains.

SimilarWeb is a leading digital intelligence platform that delivers detailed insights into website traffic patterns, audience behavior, referral channels, and competitive benchmarks.

This lightweight scraper enables marketers, analysts, and business professionals to collect competitive data efficiently and make data-driven decisions without manual research.

### What You Get

✅ **Simple Setup:** Enter your target websites in multiple formats—plain text, JSON array, or CSV file. No complex configuration required.

✅ **Automated Data Collection:** The actor mimics natural browsing patterns to access and retrieve website intelligence from SimilarWeb's public interface.

✅ **Rich Dataset:** Extract vital metrics including:

- Monthly visit estimates and engagement (bounce rate, pages/visit, time on site)
- Traffic sources with organic/paid splits, plus GenAI, affiliate, and display ads
- AI traffic details: chatbot mix (ChatGPT, Claude, Perplexity, Gemini, Copilot) and top prompts
- Visitor geography, rankings, competitors, and top keywords (volume + CPC)

✅ **Flexible Export Options:** Download results in your preferred format—JSON for developers, CSV for spreadsheets, or Excel for business reporting.

✅ **Scheduled Monitoring:** Set up recurring runs to track competitor changes automatically. Perfect for ongoing market surveillance and trend analysis.

✅ **Resilient Architecture:** Built-in retry logic handles network interruptions and temporary blocks. Failed URLs are tracked separately without stopping the entire job.

✅ **Secure Processing:** Your input data and scraped results remain confidential. No sensitive information is logged or stored permanently.

### Output Example

Here's what a typical result looks like:

```json
{
	"domain": "apify.com",
	"version": 1,
	"siteName": "apify.com",
	"title": "Apify: Full-stack web scraping and data extraction platform",
	"description": "Cloud platform for web scraping, browser automation, AI agents, and data for AI. Use 26,000+ ready-made tools, code templates, or order a custom solution.",
	"category": "computers_electronics_and_technology/computers_electronics_and_technology",
	"largeScreenshot": "https://site-images.similarcdn.com/image?url=apify.com&t=1&s=1&h=125d66be47a23677bb607b06989996d242ec48f6fa515f16fb9caf60be1ad6f6",
	"snapshotDate": "2026-07-01T00:00:00+00:00",
	"isSmall": false,
	"isDataFromGa": false,
	"policy": 0,
	"globalRank": {
		"rank": 9105
	},
	"countryRank": {
		"country": 356,
		"countryCode": "IN",
		"rank": 3547
	},
	"categoryRank": {
		"rank": "117",
		"category": "Computers_Electronics_and_Technology/Computers_Electronics_and_Technology"
	},
	"globalCategoryRank": null,
	"engagments": {
		"bounceRate": "0.35874761925230325",
		"month": "7",
		"year": "2026",
		"pagePerVisit": "7.471712439751524",
		"visits": "4490242",
		"timeOnSite": "310.06351311504056"
	},
	"estimatedMonthlyVisits": {
		"2026-05-01": 4418959,
		"2026-06-01": 4414475,
		"2026-07-01": 4490242
	},
	"topCountryShares": [
		{
			"country": 840,
			"countryCode": "US",
			"value": 0.20634835903012674
		},
		{
			"country": 356,
			"countryCode": "IN",
			"value": 0.1551477293690872
		},
		{
			"country": 76,
			"countryCode": "BR",
			"value": 0.05548
		}
	],
	"trafficSources": {
		"socialOrganic": 0.04652555594165546,
		"socialPaid": 0.0018234278212427989,
		"mail": 0.01701642179048297,
		"referrals": 0.06337069434095911,
		"searchOrganic": 0.3495265168160258,
		"searchPaid": 0.05634712964179254,
		"direct": 0.4288395748437821,
		"genAi": 0.031562319168100185,
		"affiliate": 0.00003515541228361112,
		"displayAds": 0.004953204223675434
	},
	"topKeywords": [
		{
			"name": "apify",
			"estimatedValue": 1082060,
			"volume": 955500,
			"cpc": 0.98
		},
		{
			"name": "appify",
			"estimatedValue": 26850,
			"volume": 31860,
			"cpc": 3.35
		}
	],
	"competitors": {
		"topSimilarityCompetitors": []
	},
	"aiTrafficDetails": {
		"totalVisits": 125827.157,
		"referralTraffic": 0.02802235632632777,
		"traffic": {
			"split": [
				{ "name": "chatgpt.com", "rank": 1, "icon": "/image?url=chatgpt.com&t=2&s=1&h=..." },
				{ "name": "claude.ai", "rank": 2, "icon": "/image?url=claude.ai&t=2&s=1&h=..." },
				{ "name": "perplexity.ai", "rank": 3, "icon": "/image?url=perplexity.ai&t=2&s=1&h=..." },
				{ "name": "gemini.google.com", "rank": 4, "icon": "/image?url=gemini.google.com&t=2&s=1&h=..." },
				{ "name": "copilot.microsoft.com", "rank": 5, "icon": "/image?url=copilot.microsoft.com&t=2&s=1&h=..." }
			],
			"distribution": {
				"boundary": "<1M",
				"chart": [
					{
						"name": "chatgpt.com",
						"icon": "/image?url=chatgpt.com&t=2&s=1&h=...",
						"history": [
							{ "date": "2026-07-01", "value": 59.03 },
							{ "date": "2026-06-01", "value": 60.21 },
							{ "date": "2026-05-01", "value": 62.70 }
						]
					}
				],
				"chatbots": [
					{ "name": "chatgpt.com", "icon": "/image?url=chatgpt.com&t=2&s=1&h=...", "value": 59.03 },
					{ "name": "claude.ai", "icon": "/image?url=claude.ai&t=2&s=1&h=...", "value": 15.81 },
					{ "name": "perplexity.ai", "icon": "/image?url=perplexity.ai&t=2&s=1&h=...", "value": 13.05 }
				]
			}
		},
		"topPrompts": {
			"status": 2,
			"errorMessage": "Site is not allowed for Top Prompts",
			"prompts": []
		}
	},
	"notification": {
		"content": null
	}
}
```

`trafficSources` now splits social and search into organic/paid, and adds `genAi`, `affiliate`, and `displayAds` (replaces the old `paidReferrals` / combined `social` / `search` keys). `topKeywords` includes `volume`. `aiTrafficDetails` covers chatbot mix and top prompts (`prompts` is a list of strings when SimilarWeb allows it). A static `countries` lookup list is also returned by the API and stored on each item.

### Practical Applications

#### ➡️ Content Marketing Optimization

Identify trending topics and popular platforms in your industry to refine your editorial calendar and distribution strategy.

#### ➡️ Advertising ROI Enhancement

Use competitor traffic data to optimize your media buying and ad spend. Growth teams can discover untapped channels and benchmark campaign effectiveness. Aggregate intelligence from multiple sites to spot acquisition opportunities and feed insights into your BI tools for automated reporting.

#### ➡️ Affiliate Opportunity Discovery

Scale your affiliate research by analyzing millions of potential partners automatically. Find high-traffic sites that align with your niche and can amplify your reach.

#### ➡️ Conversion Rate Improvement

For online retailers and direct-to-consumer brands, track competitor funnels and consumer journeys. Spot emerging trends in competitor traffic to uncover new growth areas. Automate data flows to your analytics dashboards for real-time decision making.

#### ➡️ Sales Intelligence Integration

Power your B2B pipeline with fresh website traffic data. Schedule regular updates to keep your CRM—Salesforce, HubSpot, or custom platforms—stocked with current insights for your sales team.

#### ➡️ Travel & Hospitality Market Research

Monitor destination popularity and booking patterns globally. Track conversion metrics and identify high-performing channels for travel brands. Receive automated alerts when destinations spike in interest.

#### ➡️ Investment & Trading Signals

Financial professionals use alternative data feeds to fuel algorithmic models. Evaluate brand momentum, traffic growth trends (YoY/QoQ), and market position. Merge SimilarWeb metrics with proprietary datasets for sharper investment decisions.

### Frequently Asked Questions

#### ➡️ What happens when URLs fail?

The scraper implements intelligent retry logic to ensure no domain is skipped. Failed attempts are isolated so they don't interrupt the remaining tasks. You can also resume interrupted runs seamlessly.

# Changelog

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

# Actor input Schema

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

No description

## `proxy` (type: `object`):

No description

## Actor input object example

```json
{
  "domains": [
    "twitter.com",
    "apify.com"
  ]
}
```

# 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": [
        "twitter.com",
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("curious_coder/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 = { "domains": [
        "twitter.com",
        "apify.com",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,curious_coder/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/yOYYzj2J5K88boIVO/builds/t5Hiz6Pwt8Ljdn7Mw/openapi.json
