# Semrush Website Traffic Scraper - $1.20 / 1000 Domains (`scrapeunblocker/semrush-website-traffic-scraper`) Actor

Semrush's public website data in bulk, no Semrush account: Authority Score, global, country and category rank, monthly visits with history, engagement, organic and paid search traffic, backlinks, top keywords, countries, competitors and traffic sources. $1.20 per 1000 domains.

- **URL**: https://apify.com/scrapeunblocker/semrush-website-traffic-scraper.md
- **Developed by:** [Scrapeunblocker](https://apify.com/scrapeunblocker) (community)
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 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?

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

## Semrush Website Traffic Scraper

Get **Semrush's public website data** for any number of domains as clean JSON, without a Semrush account: **Authority Score**, global, country and category rank, **monthly visits** with history and the desktop / mobile split, pages per visit, time on site, bounce rate, **organic and paid search traffic** with history, **backlinks** and referring domains with Google penalty risk, **top organic keywords** (position, volume, CPC, intent), top countries, competitors, incoming and outgoing traffic sources and visits from AI assistants. Or switch to the **competitors** report for each site's competitor list with their ranks, visits and engagement.

### Features

- **Bulk domains** - one per line, domains or URLs, looked up in parallel.
- **Traffic and engagement** - visits, visit change, history, pages per visit, time on site, bounce rate.
- **Search** - organic and paid search traffic with history, top keywords with position, volume, CPC and intent.
- **Authority and links** - Authority Score, backlinks, referring domains, penalty risk, history.
- **Audience and sources** - top countries, traffic sources in and out, AI-assistant referrals.
- **Competitors report** - every competitor with Authority Score, ranks, visits and engagement.

### Use cases

- **Market sizing** - traffic and engagement of every site in a niche.
- **Competitor benchmarking** - compare ranks, visits and search traffic across rivals.
- **Lead qualification** - prioritise prospects by traffic and Authority Score.
- **SEO research** - top keywords and backlink profiles of competing domains.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `domains` | array | `github.com` | Domains or URLs, one per line. |
| `report` | string | `overview` | `overview` (website data) or `competitors` (competitor list). |
| `concurrency` | integer | `3` | Domains looked up at the same time (1-5). |

#### Example input

```json
{
  "domains": ["stripe.com", "shopify.com", "https://www.notion.so"],
  "report": "overview"
}
```

### Output

One dataset item per domain:

```json
{
  "input": "github.com",
  "domain": "github.com",
  "found": true,
  "report": "overview",
  "source": "https://www.semrush.com/website/github.com/overview/",
  "dataDate": "2026-09-15",
  "brandName": "GitHub",
  "authorityScore": 100,
  "globalRank": 24,
  "countryRank": {
    "rank": 9,
    "country": "BD",
    "countryName": "Bangladesh",
    "rankChange": 0
  },
  "categoryRank": {
    "rank": 1,
    "category": "Computer Software and Development",
    "rankChange": 0
  },
  "visits": 1436619552,
  "pagesPerVisit": 6.075,
  "timeOnSiteSeconds": 719,
  "bounceRate": 0.4011,
  "visitsHistory": [
    {
      "date": "2026-09-01",
      "visits": 1436619552,
      "desktopVisits": 1166423897,
      "mobileVisits": 270195655
    }
  ],
  "searchTraffic": {
    "date": "2026-09-15",
    "organic": 72449659,
    "organicChangePercent": 2.49,
    "paid": 21088,
    "paidChangePercent": -13.47,
    "history": [
      {
        "date": "2026-09-15",
        "organic": 72449659,
        "paid": 21088,
        "total": 72470747
      }
    ]
  },
  "backlinks": {
    "date": "2026-09-01",
    "backlinks": 5088322474,
    "referringDomains": 4217125,
    "googlePenaltyRisk": "Low"
  },
  "topKeywords": {
    "date": "2026-09-15",
    "country": "BD",
    "keywords": [
      {
        "keyword": "github",
        "position": 1,
        "searchVolume": 135000,
        "cpc": 0.62,
        "trafficShare": 0.2785,
        "intents": [
          "navigational"
        ]
      }
    ]
  },
  "topCountries": [
    {
      "country": "BD",
      "countryName": "Bangladesh",
      "visits": 350209633,
      "trafficShare": 0.2438,
      "desktopShare": 0.9886,
      "mobileShare": 0.0114
    }
  ],
  "competitors": [
    {
      "domain": "stackoverflow.com",
      "relevance": 0.23,
      "visits": 25915762
    }
  ],
  "aiTraffic": [
    {
      "source": "chatgpt.com",
      "name": "ChatGPT",
      "visits": 11744546,
      "share": 0.00873,
      "history": [
        {
          "date": "2026-09-01",
          "visits": 11744546
        }
      ]
    }
  ],
  "trafficSources": {
    "date": "2026-09-01",
    "incoming": [],
    "outgoing": []
  }
}
```

(Lists shortened to one entry: `visitsHistory` has 6 months, `topKeywords`, `topCountries`, `competitors`, `trafficSources` and `aiTraffic` several entries each.) The `competitors` report returns the same header (ranks, visits) and a `competitors` list, each competitor with its Authority Score, ranks, visits and engagement.

The key-value store also holds `ERRORS` - domains Semrush has no public page for, or that failed, with the reason. These are **not billed**.

### Pricing

**$1.20 per 1000 domains.** You pay only for domains that returned data.

### Notes

- Semrush publishes these public pages for about 200,000 of the most visited sites. A smaller site has no page and is reported in `ERRORS` (not charged).
- The figures are Semrush's monthly estimates (`dataDate` is the month they describe).
- This actor is not affiliated with Semrush.

# Actor input Schema

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

Websites to look up: domains (github.com) or URLs (https://www.github.com/about). A leading www. is dropped, other subdomains are kept. One per line.

## `report` (type: `string`):

What to collect for every domain.

## `concurrency` (type: `integer`):

How many domains to look up at the same time (1-5).

## Actor input object example

```json
{
  "domains": [
    "github.com"
  ],
  "report": "overview",
  "concurrency": 3
}
```

# Actor output Schema

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

One item per domain with its Semrush website data

## `errors` (type: `string`):

Domains Semrush has no public page for, or that failed, with the reason (not billed)

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

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/semrush-website-traffic-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": ["github.com"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/semrush-website-traffic-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": [
    "github.com"
  ]
}' |
apify call scrapeunblocker/semrush-website-traffic-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeunblocker/semrush-website-traffic-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/rjQH2wXb9m6MIyPRh/builds/N99ld9xGJwBfTeCm6/openapi.json
