# SEMrush Free Website Stats Scraper (`crawlerbros/semrush-scraper`) Actor

Scrape SEMrush public website overview (Authority Score, Visits, Referring Domains, Backlinks) from semrush.com/website/. HTTP-only, no login, no proxy.

- **URL**: https://apify.com/crawlerbros/semrush-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** SEO tools, Developer tools, Lead generation
- **Stats:** 115 total users, 20 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SEMrush Free Website Stats Scraper

Scrape **SEMrush** public website overview metrics — authority score, monthly visits, referring domains, backlinks, and organic search traffic — for any domain. No SEMrush account, no cookies, no API key required. Uses a Chrome TLS fingerprint for fast-path domains and a Patchright anti-detect browser with residential proxy for domains behind SEMrush's reCAPTCHA v3 gate.

### What this actor does

- **Four modes:** `full`, `authority_only`, `backlinks_only`, `traffic_only`
- **Fast path:** curl\_cffi with Chrome TLS fingerprint parses the public overview HTML directly
- **Browser fallback:** Patchright (undetected Chrome) + residential proxy + Google cookie warmup for domains where the overview route returns a false 404
- **reCAPTCHA v3 bypass:** real Chrome binary (no HeadlessChrome leak), persistent context for cookie accumulation, 8 proxy IP rotations per domain
- **Empty fields are omitted** — no nulls, no sentinels

### Output per domain

- `type` — `"semrush_website_stats"`
- `domain` — the normalized domain (e.g. `custify.com`)
- `authorityScore` — 0–100 SEMrush Authority Score
- `visits` + `visitsText` — estimated monthly visits
- `organicSearchTraffic` + `organicSearchTrafficText` — organic search visits
- `referringDomains` + `referringDomainsText` + `referringDomainsChange` — referring domain count + delta
- `backlinks` + `backlinksText` + `backlinksChange` — backlink count + delta
- `asOf` — data month (e.g. `July 2026`)
- `sourceUrl` — SEMrush URL the data was scraped from
- `scrapedAt` — UTC ISO timestamp
- `notFound` + `reason` — present only when SEMrush has no data for the domain

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `domains` | string\[] | `["wikipedia.org"]` | List of domains to look up (e.g. `wikipedia.org`, `github.com`). Required. |
| `mode` | enum | `full` | `full` / `authority_only` / `backlinks_only` / `traffic_only` |
| `enableBrowserFallback` | boolean | `true` | Use Patchright anti-detect Chrome when the overview page has no metrics. |
| `proxyConfiguration` | object | Residential US | Apify Proxy Residential is prefilled. SEMrush rejects datacenter sessions via reCAPTCHA v3. |

#### Example: single domain lookup

```json
{
    "domains": ["wikipedia.org"],
    "mode": "full"
}
```

#### Example: batch of domains

```json
{
    "domains": ["amazon.com", "youtube.com", "twitter.com", "facebook.com", "linkedin.com"],
    "mode": "full"
}
```

#### Example: authority score only

```json
{
    "domains": ["google.com"],
    "mode": "authority_only"
}
```

#### Example: domain with URL prefix

```json
{
    "domains": ["https://www.custify.com/"],
    "mode": "full"
}
```

### Use cases

- **SEO agencies** — pull authority score and backlink counts for client reporting
- **Sales intelligence** — estimate competitor website traffic before outreach
- **Market research** — compare referring domains and backlink growth across niche sites
- **Lead enrichment** — append website traffic data to company profiles
- **Backlink audits** — track referring domain and backlink deltas over time

### FAQ

**Do I need a SEMrush account?** No. The actor scrapes SEMrush's free public Website Traffic Checker — no login, no cookies, no API key.

**Do I need a paid proxy?** Yes. SEMrush gates its free checker with reCAPTCHA v3, which scores datacenter IPs as 0.0 (bot). Residential proxy is prefilled because residential IPs get higher reCAPTCHA scores.

**Why does the actor take 60+ seconds for some domains?** Domains that SEMrush doesn't have a public overview page for (e.g. `custify.com`) require the browser fallback: launching real Chrome, warming Google cookies, navigating to SEMrush, and rotating through up to 8 residential proxy IPs to find one with sufficient reCAPTCHA score. Fast-path domains (e.g. `wikipedia.org`) complete in under 5 seconds.

**Why not full keyword/competitor data?** Those require a paid SEMrush subscription and are not exposed to anonymous users. Only free-tier fields are returned.

**Is this affiliated with SEMrush?** No, this is a third-party actor using SEMrush's public free tools.

**What's the difference between `visits` and `organicSearchTraffic`?** `visits` is total estimated monthly traffic. `organicSearchTraffic` is the portion that comes from organic search results.

# Actor input Schema

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

List of domains to look up (e.g. 'wikipedia.org', 'github.com').

## `mode` (type: `string`):

Output scope.

## `enableBrowserFallback` (type: `boolean`):

Use Patchright anti-detect Chrome when the public overview URL returns no metrics.

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

Apify Proxy Residential is required. SEMrush gates its free checker with reCAPTCHA v3, which rejects datacenter IPs.

## Actor input object example

```json
{
  "domains": [
    "wikipedia.org"
  ],
  "mode": "full",
  "enableBrowserFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `stats` (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 = {
    "domains": [
        "wikipedia.org"
    ],
    "enableBrowserFallback": true,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/semrush-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": ["wikipedia.org"],
    "enableBrowserFallback": True,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/semrush-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": [
    "wikipedia.org"
  ],
  "enableBrowserFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call crawlerbros/semrush-scraper --silent --output-dataset

```

## MCP server setup

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