# Similarweb Scraper - Website Traffic, Rank & Visits (`socialscrapers/similarweb-scraper`) Actor

Scrape Similarweb for any list of websites, no login or API key: global, country and category rank, monthly visits and history, bounce rate, pages per visit, visit duration, traffic sources, top countries, keywords and AI chatbot traffic. Export JSON, CSV, Excel. $1.00 per 1,000 websites.

- **URL**: https://apify.com/socialscrapers/similarweb-scraper.md
- **Developed by:** [Social Scrapers](https://apify.com/socialscrapers) (community)
- **Categories:** SEO tools, Marketing, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 websites

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/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

**Similarweb Scraper** gets Similarweb's traffic and ranking data for any list of websites, without a Similarweb account, API key or login. Paste domains or links and get each website's **global rank, country rank and category rank**, **monthly visits** with their 3-month history, **bounce rate, pages per visit and visit duration**, **traffic sources** (direct, search, social, referrals, email, display ads and AI chatbots), **top countries**, **top keywords** and **AI chatbot traffic**, plus its title, description, category, icon and screenshots. It costs **$1.00 per 1,000 websites**.

> 💡 **Need a feature that isn't here? Just ask.** Open an issue on the **Issues** tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.

> ⭐ **Found it useful?** A short review on the **Reviews** tab helps other people find this scraper, and tells us what to build next.

### What does Similarweb Scraper do?

- **Any list of websites.** One website or 10,000: paste domains (`wikipedia.org`), links to any page (`https://www.bbc.co.uk/news`) or Similarweb links (`https://www.similarweb.com/website/github.com/`). Each entry is read as its website's main domain, and a website listed twice is looked up once.
- **Ranks.** Global rank, rank in the website's top country, and rank in its Similarweb category.
- **Traffic and engagement.** Estimated visits in the latest month and the two months before it, the change from the month before, bounce rate, pages per visit and average visit duration.
- **Where the visitors come from.** The share of visits from direct traffic, organic and paid search, organic and paid social, referrals, email, display ads, affiliates and AI chatbots; the top 5 countries with their share; and the top 5 search keywords with their estimated visits, search volume and cost per click.
- **AI chatbot traffic.** Visits that AI assistants such as ChatGPT, Gemini and Perplexity send to the website, their share of all visits, the top chatbots, and sample prompts that led there when Similarweb shows them.
- **Subdomains when you need them.** Switch on **Keep subdomains** to look up `docs.github.com` or `en.wikipedia.org` on their own.
- **Pay only for websites with data.** A website Similarweb has no data for (too few visits, or not a site it tracks) is reported in the run's status and costs nothing.

### What data can you extract?

One result per website. `null` or `[]` means Similarweb shows nothing for that field.

| Field | Description |
|---|---|
| `domain`, `websiteUrl`, `url` | The website looked up, its address, and its page on Similarweb |
| `title`, `description`, `category`, `categoryId` | The website's title and description, and its Similarweb category |
| `globalRank` | Rank among all websites worldwide (1 = most visited) |
| `countryRank`, `countryRankCountryCode`, `countryRankCountry` | Rank in the country that sends the website the most visits, and that country |
| `categoryRank` | Rank within the website's category |
| `totalVisits`, `visitsChange`, `monthlyVisits` | Visits in the data month, the change from the month before (0.05 = +5%), and visits per month for the last 3 months |
| `bounceRate`, `pagesPerVisit`, `avgVisitDurationSeconds`, `avgVisitDuration` | Engagement: share of one-page visits, pages per visit, and visit duration in seconds and as hh:mm:ss |
| `trafficSources` | Share of visits per source (0 to 1): `direct`, `search` (`searchOrganic` + `searchPaid`), `social` (`socialOrganic` + `socialPaid`), `referrals`, `mail`, `displayAds`, `affiliate`, `genAi` |
| `topCountries` | Top 5 countries: `countryCode`, `country`, `share` |
| `topKeywords` | Top 5 search keywords: `keyword`, `estimatedVisits`, `volume`, `cpc` |
| `aiTraffic` | AI chatbot traffic: `visits`, `shareOfVisits`, `topChatbots` (`name`, `rank`, `share`) and `topPrompts` |
| `faviconUrl`, `screenshotUrl`, `mobileScreenshotUrl` | The website's icon, and desktop and phone screenshots |
| `isSmallSite`, `isDataFromGoogleAnalytics` | Whether Similarweb marks the website as small (less certain numbers), and whether its owner connected Google Analytics |
| `dataMonth`, `input`, `scrapedAt` | The month the numbers are for, the entry the website came from, and when it was read |

### How to scrape Similarweb

1. Open the Actor and paste your websites into **Websites**, one per line: domains, links, or Similarweb links.
2. Optionally switch on **Keep subdomains**, or set **Max results** to cap the run.
3. Click **Start**, then download the results as JSON, CSV, Excel, XML or HTML, or read them through the API. The dataset has an **Overview** view (ranks, visits, engagement) and a **Traffic sources, countries and keywords** view.

### How much does it cost?

You pay per website delivered to the dataset: **$1.00 per 1,000 websites**. Apify subscribers pay less: **Silver −10%** ($0.90 per 1,000) and **Gold, Platinum and Diamond −20%** ($0.80 per 1,000). Each run also carries a start charge of $0.001 (one per GB of memory, at least one; the default 256 MB is one).

| Job | Results | Price (no discount) |
|---|---|---|
| Your 10 main competitors | 10 websites | $0.011 |
| A list of 1,000 websites | 1,000 websites | $1.001 |
| A monthly check of 5,000 websites, for a year (12 runs) | 60,000 websites | $60.01 |

Websites Similarweb has no data for, entries that are not websites, and duplicates cost nothing. To cap spending, set **Max results**, or a **maximum total charge** in the run options: the Actor stops cleanly once it is reached and keeps everything collected so far.

### Input example

```json
{
  "websites": [
    "wikipedia.org",
    "https://www.bbc.co.uk/news",
    "https://www.similarweb.com/website/github.com/"
  ],
  "keepSubdomains": false,
  "maxResults": 0
}
```

`{ "url": "..." }` objects work in the list too, so start URLs from other tools can be pasted as they are.

### Output example

A real result from a test run (the AI chatbot list and prompts shortened):

```json
{
  "domain": "wikipedia.org",
  "url": "https://www.similarweb.com/website/wikipedia.org/",
  "websiteUrl": "https://wikipedia.org",
  "title": "Wikipedia, the free encyclopedia",
  "description": "Wikipedia is a free online encyclopedia, created and edited by volunteers around the world and hosted by the Wikimedia Foundation.",
  "category": "Reference Materials > Dictionaries and Encyclopedias",
  "categoryId": "reference_materials/dictionaries_and_encyclopedias",
  "globalRank": 13,
  "countryRank": 14,
  "countryRankCountryCode": "US",
  "countryRankCountry": "United States",
  "categoryRank": 1,
  "totalVisits": 3367575263,
  "visitsChange": -0.001032,
  "monthlyVisits": [
    { "month": "2026-08", "visits": 3533116623 },
    { "month": "2026-09", "visits": 3371053226 },
    { "month": "2026-10", "visits": 3367575263 }
  ],
  "bounceRate": 0.538054,
  "pagesPerVisit": 3.2538,
  "avgVisitDurationSeconds": 187.4,
  "avgVisitDuration": "00:03:07",
  "trafficSources": {
    "direct": 0.175899,
    "search": 0.761474,
    "searchOrganic": 0.761386,
    "searchPaid": 0.000088,
    "social": 0.024818,
    "socialOrganic": 0.024714,
    "socialPaid": 0.000104,
    "referrals": 0.034616,
    "mail": 0.001509,
    "displayAds": 0.000753,
    "affiliate": 0.000023,
    "genAi": 0.000909
  },
  "topCountries": [
    { "countryCode": "US", "country": "United States", "share": 0.270964 },
    { "countryCode": "JP", "country": "Japan", "share": 0.063282 },
    { "countryCode": "GB", "country": "United Kingdom", "share": 0.059868 }
  ],
  "topKeywords": [
    { "keyword": "youtube", "estimatedVisits": 6550700, "volume": 335255250, "cpc": 0.19 },
    { "keyword": "wikipedia", "estimatedVisits": 5212930, "volume": 3142240, "cpc": 0.62 }
  ],
  "aiTraffic": {
    "visits": 2747775,
    "shareOfVisits": 0.000819,
    "topChatbots": [
      { "name": "gemini.google.com", "rank": 1, "share": 0.094439 },
      { "name": "chatgpt.com", "rank": 2, "share": 0.033432 },
      { "name": "perplexity.ai", "rank": 3, "share": 0.014776 }
    ],
    "topPrompts": [
      "How can I assess the credibility and citation quality of an online encyclopedia article when researching a topic for an academic paper?"
    ]
  },
  "faviconUrl": "https://site-images.similarcdn.com/image?url=wikipedia.org&t=2&s=1&h=460eb7e23fbc3666abf9d8b5497c3ca33d1de8ff9c66dd5d182c7633fe475c61",
  "screenshotUrl": "https://site-images.similarcdn.com/image?url=wikipedia.org&t=1&s=1&h=460eb7e23fbc3666abf9d8b5497c3ca33d1de8ff9c66dd5d182c7633fe475c61",
  "mobileScreenshotUrl": "https://site-images.similarcdn.com/image?url=wikipedia.org&t=4&s=1&h=460eb7e23fbc3666abf9d8b5497c3ca33d1de8ff9c66dd5d182c7633fe475c61",
  "isSmallSite": false,
  "isDataFromGoogleAnalytics": false,
  "dataMonth": "2026-10",
  "input": "wikipedia.org",
  "scrapedAt": "2026-11-27T18:32:05.117Z"
}
```

### Use cases

- **Competitor analysis:** compare the traffic, engagement, sources and countries of your competitors' websites side by side.
- **Lead qualification:** enrich a list of company websites with their traffic and rank, and focus on the ones big enough to matter.
- **Market research:** size a market by the visits of its main websites, and see which countries and channels bring them visitors.
- **SEO and content:** the keywords that bring each website its search traffic, with volume and cost per click.
- **AI visibility:** see how much traffic AI chatbots already send to you and to your competitors, and which chatbots.
- **Investing and due diligence:** track the monthly visits of companies and marketplaces over time with scheduled runs.

### API, Python, JavaScript & integrations

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('socialscrapers/similarweb-scraper').call({
    websites: ['wikipedia.org', 'github.com', 'bbc.co.uk'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("socialscrapers/similarweb-scraper").call(run_input={
    "websites": ["wikipedia.org", "github.com", "bbc.co.uk"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["domain"], item["globalRank"], item["totalVisits"])
```

Connect it to **Make, Zapier, n8n, Google Sheets** and other tools with [Apify integrations](https://docs.apify.com/platform/integrations), get notified with [webhooks](https://docs.apify.com/platform/integrations/webhooks), run it on a [schedule](https://docs.apify.com/platform/schedules), or call it from AI agents through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).

### Limits

- **What Similarweb shows logged out.** The data is what Similarweb shows every visitor for a website: the latest month and the two months before it, the top 5 countries and the top 5 keywords. Competitors and similar sites, referring websites, audience demographics, longer histories, daily data and full keyword lists are not included.
- **Small websites.** Similarweb has no data for websites with very few visits, and shows no ranks for subdomains. Such websites are listed in the run's status message and in the `RUN_SUMMARY` record of the run's key-value store, and cost nothing.
- **A run with 0 results still succeeds.** When no website in the list has Similarweb data, the run ends as Succeeded with a status message naming each website, and no results are charged. When nothing in the input is a website, the run also ends as Succeeded, before any lookup: its status message starts with "Nothing to scrape:" and names each entry it could not use.

### FAQ

**Where do the numbers come from, and how exact are they?**
They are Similarweb's own figures, the same ones its free website pages show every visitor. Similarweb builds them from its own data sources and models, so they are estimates: best for comparing websites and following trends, and different from a website's own analytics. When a website's owner has connected Google Analytics to Similarweb, `isDataFromGoogleAnalytics` is `true` and its numbers come from that connection.

**Which month is the data for?**
The latest month Similarweb has published, in `dataMonth` (Similarweb publishes a month in the first days of the next one). `monthlyVisits` holds that month and the two before it.

**Do I need a Similarweb account or an API key?**
No. The Actor works logged out, without the Similarweb API and without an API key.

**What about subdomains, such as blog.example.com?**
By default every entry is read as its main domain, the way Similarweb ranks websites. Switch on **Keep subdomains** to look up subdomains as written; Similarweb has data for large subdomains only and shows no ranks for them. Websites on platforms such as `github.io` or `myshopify.com` are always kept as their own websites.

**How fast is it?**
Several websites are looked up side by side: in our tests about 9 websites a second, so 1,000 websites take about 2 minutes, and a 3-website run finishes in under 10 seconds.

**Is it legal to scrape Similarweb?**
The Actor reads only what Similarweb shows to every visitor, without logging in, and the results are statistics about websites, not personal data. You are responsible for using the data lawfully, including Similarweb's terms.

### Other scrapers by Social Scrapers

| Scraper | What it gets |
| --- | --- |
| [TikTok API](https://apify.com/socialscrapers/tiktok-api) | Profiles, Videos and Comments |
| [TikTok Comments Scraper](https://apify.com/socialscrapers/tiktok-comments-scraper) | Comments, Replies and Likes |
| [TikTok Hashtag Scraper](https://apify.com/socialscrapers/tiktok-hashtag-scraper) | Top Videos, Views and Likes |
| [TikTok Profile Scraper](https://apify.com/socialscrapers/tiktok-profile-scraper) | Followers, Bio, Stats and Videos |
| [TikTok Scraper](https://apify.com/socialscrapers/tiktok-scraper) | Videos, Profiles, Hashtags and Comments |
| [TikTok Sound Scraper](https://apify.com/socialscrapers/tiktok-sound-scraper) | Videos Using a Sound and Music Info |
| [TikTok Transcript Scraper](https://apify.com/socialscrapers/tiktok-transcript-scraper) | Video Captions and Subtitles to Text |
| [TikTok Video Scraper](https://apify.com/socialscrapers/tiktok-video-scraper) | Views, Likes, Captions and Comments |
| [Instagram API](https://apify.com/socialscrapers/instagram-api) | Profiles, Posts, Reels, Comments and Hashtags |
| [Instagram Comments Scraper](https://apify.com/socialscrapers/instagram-comments-scraper) | Comments, Likes and Reply Counts |
| [Instagram Email Scraper](https://apify.com/socialscrapers/instagram-email-scraper) | Emails and Phones from Public Profiles |
| [Instagram Hashtag Scraper](https://apify.com/socialscrapers/instagram-hashtag-scraper) | Reels and Keyword Search |
| [Instagram Post Details Scraper](https://apify.com/socialscrapers/instagram-post-details-scraper) | Likes, Comments, Views and Media |
| [Instagram Post Scraper](https://apify.com/socialscrapers/instagram-post-scraper) | Posts, Reels and Comments |
| [Instagram Profile Scraper](https://apify.com/socialscrapers/instagram-profile-scraper) | Followers, Bio, Posts and Reels |
| [Instagram Reels Scraper](https://apify.com/socialscrapers/instagram-reels-scraper) | Reels, Plays, Likes and Comments |
| [Instagram Reels Transcript Scraper](https://apify.com/socialscrapers/instagram-reels-transcript-scraper) | Speech to Text and Captions |
| [Instagram Scraper](https://apify.com/socialscrapers/instagram-scraper) | Posts, Profiles, Reels, Comments and Hashtags |
| [YouTube API](https://apify.com/socialscrapers/youtube-api) | Videos, Transcripts, Search, Channels and Comments |
| [YouTube Channel Scraper](https://apify.com/socialscrapers/youtube-channel-scraper) | Videos, Shorts, Subscribers and About |
| [YouTube Comments Scraper](https://apify.com/socialscrapers/youtube-comments-scraper) | Comments, Replies and Likes |
| [YouTube Scraper](https://apify.com/socialscrapers/youtube-scraper) | Videos, Shorts, Channels and Comments |
| [YouTube Search Scraper](https://apify.com/socialscrapers/youtube-search-scraper) | Videos, Channels, Views and Filters |
| [YouTube Shorts Scraper](https://apify.com/socialscrapers/youtube-shorts-scraper) | Shorts, Views, Likes and Search |
| [YouTube Transcript Scraper](https://apify.com/socialscrapers/youtube-transcript-scraper) | Subtitles, Captions and SRT |
| [YouTube Video Details Scraper](https://apify.com/socialscrapers/youtube-video-details-scraper) | Stats, Subtitles and Comments |
| [Facebook Ads Library Scraper](https://apify.com/socialscrapers/facebook-ads-library-scraper) | Meta Ad Library and Spend |
| [Facebook Comments Scraper](https://apify.com/socialscrapers/facebook-comments-scraper) | Posts, Reels, Videos and Replies |
| [Facebook Events Scraper](https://apify.com/socialscrapers/facebook-events-scraper) | Public Events, Dates and Hosts |
| [Facebook Groups Scraper](https://apify.com/socialscrapers/facebook-groups-scraper) | Public Group Posts and Reactions |
| [Facebook Marketplace Scraper](https://apify.com/socialscrapers/facebook-marketplace-scraper) | Prices, Locations and Sellers |
| [Facebook Page Contact Info Scraper](https://apify.com/socialscrapers/facebook-page-contact-scraper) | Email, Phone and WhatsApp |
| [Facebook Posts Scraper](https://apify.com/socialscrapers/facebook-profile-posts-scraper) | Pages, Profiles and Timelines |
| [Facebook Pages Scraper](https://apify.com/socialscrapers/facebook-profile-scraper) | Profiles, Contact Info and Reviews |
| [Facebook Reels Scraper](https://apify.com/socialscrapers/facebook-reels-scraper) | Reels, Videos, Plays and Captions |
| [X (Twitter) Profile Scraper](https://apify.com/socialscrapers/x-profile-scraper) | Followers, Bio and Tweets |
| [X (Twitter) Tweet Scraper](https://apify.com/socialscrapers/x-tweet-scraper) | Latest Posts by Profile |
| [Threads Profile Scraper](https://apify.com/socialscrapers/threads-profile-scraper) | Followers, Bio, Links and Posts |
| [Threads Replies Scraper](https://apify.com/socialscrapers/threads-replies-scraper) | Comments, Authors, Likes and Media |
| [Threads Scraper](https://apify.com/socialscrapers/threads-scraper) | Posts, Profiles, Replies and Search |
| [Threads Search Scraper](https://apify.com/socialscrapers/threads-search-scraper) | Keywords, Hashtags, Top and Recent Posts |
| [Reddit Comments Scraper](https://apify.com/socialscrapers/reddit-comments-scraper) | Threads, Replies, Votes and Authors |
| [Reddit Scraper](https://apify.com/socialscrapers/reddit-scraper) | Posts, Comments, Subreddits, Users and Search |
| [Reddit Search Scraper](https://apify.com/socialscrapers/reddit-search-scraper) | Posts by Keyword, Subreddit and Date |
| [Reddit User Scraper](https://apify.com/socialscrapers/reddit-user-scraper) | Profiles, Karma, Posts and Comments |
| [Subreddit Scraper](https://apify.com/socialscrapers/subreddit-scraper) | Hot, New and Top Posts with Comments |
| [Quora Scraper](https://apify.com/socialscrapers/quora-scraper) | Answers, Questions, Profiles and Topic Search |
| [LinkedIn Ad Library Scraper](https://apify.com/socialscrapers/linkedin-ad-library-scraper) | Ads, Advertisers and Impressions |
| [LinkedIn Company Posts Scraper](https://apify.com/socialscrapers/linkedin-company-posts-scraper) | Latest Posts, No Login |
| [LinkedIn Company Scraper](https://apify.com/socialscrapers/linkedin-company-scraper) | Company Details, Size and Website |
| [LinkedIn Job Search Scraper](https://apify.com/socialscrapers/linkedin-job-search-scraper) | Filters, Salaries and New Jobs |
| [LinkedIn Jobs Scraper](https://apify.com/socialscrapers/linkedin-jobs-scraper) | Job Listings, Salaries and Companies |
| [LinkedIn Post Comments Scraper](https://apify.com/socialscrapers/linkedin-post-comments-scraper) | Top Comments, No Login |
| [LinkedIn Posts Scraper](https://apify.com/socialscrapers/linkedin-posts-scraper) | Public Posts, Reactions and Comments |
| [LinkedIn Profile Posts Scraper](https://apify.com/socialscrapers/linkedin-profile-posts-scraper) | Latest Posts, No Login |
| [Google Maps Email Extractor](https://apify.com/socialscrapers/google-maps-email-extractor) | Emails, Phones and Social Links |
| [Google Maps Scraper](https://apify.com/socialscrapers/google-maps-scraper) | Places, Phones, Websites, Ratings and Hours |
| [Google News Scraper](https://apify.com/socialscrapers/google-news-scraper) | Headlines, Articles and Search |
| [Google Ads Transparency Scraper](https://apify.com/socialscrapers/google-ads-transparency-scraper) | Ad Creatives and Advertisers |
| [Amazon Best Sellers Scraper](https://apify.com/socialscrapers/amazon-bestsellers-scraper) | Top 100 Rankings and Prices |
| [Amazon Product Scraper](https://apify.com/socialscrapers/amazon-product-scraper) | Search Results, Prices, Ratings, ASINs |
| [Amazon Search Scraper](https://apify.com/socialscrapers/amazon-search-scraper) | Products, Prices and Ratings by Keyword |
| [Indeed Jobs Scraper](https://apify.com/socialscrapers/indeed-jobs-scraper) | Salaries, Full Descriptions, Company Data |
| [Contact Details Scraper](https://apify.com/socialscrapers/contact-details-scraper) | Emails, Phones and Social Links |
| [Telegram Channel Scraper](https://apify.com/socialscrapers/telegram-channel-scraper) | Posts, Views and Media |
| [Doximity Scraper](https://apify.com/socialscrapers/doximity-physician-scraper) | Physician Profiles and Doctor Directory |
| [KevinMD Scraper](https://apify.com/socialscrapers/kevinmd-articles-scraper) | Physician Articles and Author Specialties |
| [Op-Med Scraper](https://apify.com/socialscrapers/opmed-articles-scraper) | Physician Essays and Doctor Profiles |
| [Airbnb Reviews Scraper](https://apify.com/socialscrapers/airbnb-reviews-scraper) | Guest Reviews, Ratings and Hosts |
| [Airbnb Scraper](https://apify.com/socialscrapers/airbnb-scraper) | Listings, Prices, Reviews and Hosts |
| [Booking.com Scraper](https://apify.com/socialscrapers/booking-scraper) | Hotels, Prices and Reviews |
| [Career Site Jobs Scraper](https://apify.com/socialscrapers/career-site-jobs-scraper) | Greenhouse, Lever, Ashby and Workday |
| [eBay Scraper](https://apify.com/socialscrapers/ebay-scraper) | Listings, Prices, Item Details and Sellers |
| [Etsy Scraper](https://apify.com/socialscrapers/etsy-scraper) | Products, Prices, Shops and Reviews |
| [Google Shopping Scraper](https://apify.com/socialscrapers/google-shopping-scraper) | Products, Prices and Sellers |
| [Google Trends Scraper](https://apify.com/socialscrapers/google-trends-scraper) | Interest Over Time, Regions and Queries |
| [MercadoLibre Scraper](https://apify.com/socialscrapers/mercadolibre-scraper) | Products, Prices and Sellers |
| [Tripadvisor Reviews Scraper](https://apify.com/socialscrapers/tripadvisor-reviews-scraper) | Hotels, Restaurants and Attractions |
| [Tripadvisor Scraper](https://apify.com/socialscrapers/tripadvisor-scraper) | Hotels, Restaurants and Reviews |
| [Yelp Scraper](https://apify.com/socialscrapers/yelp-scraper) | Businesses, Reviews, Ratings and Contacts |
| [Zillow Property Scraper](https://apify.com/socialscrapers/zillow-property-scraper) | Home Details, Zestimate and History |
| [Zillow Scraper](https://apify.com/socialscrapers/zillow-scraper) | Listings, Prices, Zestimates and Agents |

# Actor input Schema

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

Domains or links, one per line: <code>wikipedia.org</code>, <code>https://www.bbc.co.uk/news</code>, or a Similarweb link such as <code>https://www.similarweb.com/website/github.com/</code>. Each entry is read as its website's main domain (<code>news.bbc.co.uk</code> is <code>bbc.co.uk</code>), and each website is looked up once. Paste as many as you like.

## `keepSubdomains` (type: `boolean`):

Look up subdomains as written (<code>docs.github.com</code>, <code>en.wikipedia.org</code>) instead of their main domain. Similarweb has data for large subdomains only, and shows no ranks for them.

## `maxResults` (type: `integer`):

The most websites to save in this run. <b>0 means no limit</b>: every website in the list with Similarweb data is saved.

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

Apify Proxy (the default) is recommended: the scraper picks the proxy type Similarweb answers through, and its traffic is included in the price. Your own proxy URLs are used as given.

## Actor input object example

```json
{
  "websites": [
    "wikipedia.org",
    "github.com",
    "bbc.co.uk"
  ],
  "keepSubdomains": false,
  "maxResults": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "websites": [
        "wikipedia.org",
        "github.com",
        "bbc.co.uk"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialscrapers/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": [
        "wikipedia.org",
        "github.com",
        "bbc.co.uk",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("socialscrapers/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": [
    "wikipedia.org",
    "github.com",
    "bbc.co.uk"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call socialscrapers/similarweb-scraper --silent --output-dataset

```

## MCP server setup

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