# Similarweb API Alternative for Apps and AI Agents

**Use case:** 

Get Similarweb traffic data as JSON from one API call or from an AI agent: visits, ranks, every traffic source, countries, keywords and AI traffic. Fast mode answers within about 30 seconds for 1 to 5 sites, and compact rows keep the answer short. No Similarweb account or API key.

## Input

```json
{
  "domains": [
    "goodrx.com",
    "cvs.com",
    "walgreens.com"
  ],
  "maxItems": 0,
  "metricsOnly": true,
  "topWebsitesProfiles": false,
  "compareToFirst": false,
  "includeWhois": false,
  "includeContacts": false,
  "includeKeywordDensity": false,
  "monitorMode": false,
  "monitorStoreName": "similarweb-monitor",
  "monitorVisitsChangePercent": 0,
  "cacheTtlHours": 72,
  "forceFresh": false,
  "compact": true,
  "blocks": [],
  "includeRawData": false,
  "includeErrorRows": true,
  "fastMode": true,
  "maxConcurrency": 3,
  "failIfAllInputsFail": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

## Output

```json
{
  "icon": {
    "label": "Icon",
    "format": "string"
  },
  "domain": {
    "label": "Site",
    "format": "string"
  },
  "snapshotMonth": {
    "label": "Month",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "monthlyVisits": {
    "label": "Monthly visits",
    "format": "integer"
  },
  "monthlyVisitsChangePercent": {
    "label": "Change %",
    "format": "number"
  },
  "globalRank": {
    "label": "Global rank",
    "format": "integer"
  },
  "countryRank": {
    "label": "Country rank",
    "format": "integer"
  },
  "countryRankCountry": {
    "label": "Country",
    "format": "string"
  },
  "categoryRank": {
    "label": "Category rank",
    "format": "integer"
  },
  "bounceRate": {
    "label": "Bounce rate",
    "format": "number"
  },
  "pagesPerVisit": {
    "label": "Pages / visit",
    "format": "number"
  },
  "avgVisitDuration": {
    "label": "Visit duration",
    "format": "string"
  },
  "topChannel": {
    "label": "Main channel",
    "format": "string"
  },
  "topChannelShare": {
    "label": "Main channel share",
    "format": "number"
  },
  "topCountry": {
    "label": "Top country",
    "format": "string"
  },
  "topCountryShare": {
    "label": "Top country share",
    "format": "number"
  },
  "similarwebUrl": {
    "label": "Similarweb",
    "format": "string"
  }
}
```

## How it works

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

The Similarweb Scraper API — Website Traffic Checker Actor is ready to run with the inputs already set for "Similarweb API Alternative for Apps and AI Agents". [Sign up or log in](https://console.apify.com/create-task-from-example/LmkoYTSa3sNIpFKNv) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Similarweb API Alternative for Apps and AI Agents" task

The Similarweb Scraper API — Website Traffic Checker Actor will start running based on the input automatically. You can also change all the input fields, like websites, maximum websites, and more, to match your specific use case.

### 3. Receive the "Similarweb API Alternative for Apps and AI Agents" 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, site, month, 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 "Similarweb API Alternative for Apps and AI Agents" task via API](https://apify.com/anuarbakty/similarweb-scraper.md).

## FAQ

### Do I need a Similarweb API key?

No. The Actor needs no Similarweb account or API key. You call it with your Apify token, and it returns Similarweb's numbers for your domains as JSON.

### How do I call it from my code?

Send your input to the Apify API endpoint run-sync-get-dataset-items of anuarbakty~similarweb-scraper, or use the Apify client for Python or JavaScript. The rows come back in the same response.

### How do I use it from Claude, ChatGPT or Cursor?

Add the Apify MCP server with the address https://mcp.apify.com/?tools=anuarbakty/similarweb-scraper. With Fast mode on, a call for 1 to 5 sites answers within about 30 seconds; measured: 2 full profiles in 9 seconds.

## About this Actor

This example demonstrates how to use [Similarweb Scraper API — Website Traffic Checker](https://apify.com/anuarbakty/similarweb-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/anuarbakty/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/anuarbakty/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`).
