# Compare competitor website traffic

**Use case:** 

Compare monthly visits, growth, traffic sources and AI traffic of competitor websites with Similarweb data in one run, plus a ranking row.

## Input

```json
{
  "domains": [
    "stripe.com",
    "adyen.com",
    "paddle.com",
    "checkout.com",
    "braintreepayments.com"
  ],
  "maxItems": 0,
  "includeWhois": false,
  "includeContacts": false,
  "compareDomains": true,
  "includeNoDataRows": true,
  "includeAiPrompts": true,
  "maxConcurrency": 20,
  "maxRequestRetries": 5
}
```

## Output

```json
{
  "faviconUrl": {
    "label": "Icon",
    "format": "string"
  },
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "globalRank": {
    "label": "Global rank",
    "format": "integer"
  },
  "countryRank": {
    "label": "Country rank",
    "format": "integer"
  },
  "countryRankCountryCode": {
    "label": "Country",
    "format": "string"
  },
  "categoryRank": {
    "label": "Category rank",
    "format": "integer"
  },
  "categoryLabel": {
    "label": "Category",
    "format": "string"
  },
  "totalVisits": {
    "label": "Monthly visits",
    "format": "integer"
  },
  "visitsChangePct": {
    "label": "MoM change %",
    "format": "number"
  },
  "dataMonth": {
    "label": "Month",
    "format": "string"
  },
  "bounceRate": {
    "label": "Bounce rate",
    "format": "number"
  },
  "pagesPerVisit": {
    "label": "Pages / visit",
    "format": "number"
  },
  "timeOnSite": {
    "label": "Time on site",
    "format": "string"
  },
  "trafficDirect": {
    "label": "Direct",
    "format": "number"
  },
  "trafficSearchOrganic": {
    "label": "Organic search",
    "format": "number"
  },
  "trafficSocialOrganic": {
    "label": "Organic social",
    "format": "number"
  },
  "trafficReferrals": {
    "label": "Referrals",
    "format": "number"
  },
  "trafficSearchPaid": {
    "label": "Paid search",
    "format": "number"
  },
  "trafficGenAi": {
    "label": "AI chatbots",
    "format": "number"
  },
  "topCountry": {
    "label": "Top country",
    "format": "string"
  },
  "title": {
    "label": "Site title",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Similarweb Scraper: Website Traffic, Rank & Traffic Sources Actor is ready to run with the inputs already set for "Compare competitor website traffic". [Sign up or log in](https://console.apify.com/create-task-from-example/c5am7hco55UWl2wLj) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare competitor website traffic" task

The Similarweb Scraper: Website Traffic, Rank & Traffic Sources Actor will start running based on the input automatically. You can also change all the input fields, like domains or website urls, max domains, and more, to match your specific use case.

### 3. Receive the "Compare competitor website traffic" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as icon, domain, status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Compare competitor website traffic" task via API](https://apify.com/scrape-lads/similarweb-scraper.md).

## About this Actor

This example demonstrates how to use [Similarweb Scraper: Website Traffic, Rank & Traffic Sources](https://apify.com/scrape-lads/similarweb-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrape-lads/similarweb-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/scrape-lads/similarweb-scraper.md

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`).
