# Domain Seo Audit (`opspilot.cc/domain-seo-audit`) Actor

🔎 Domain SEO Audit | Organic footprint + backlink authority + WHOIS in one run. Check any domain's SEO health in seconds: keyword rankings, estimated traffic value, backlink authority rank, referring domains, broken-link share — plus actionable signals you don't need an SEO degree to read.

- **URL**: https://apify.com/opspilot.cc/domain-seo-audit.md
- **Developed by:** [wang wei](https://apify.com/opspilot.cc) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 96.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.25 / actor start

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

## 🩺 Domain SEO Audit

Is this domain actually strong? Enter up to 5 domains and get a structured audit per domain — ranking keywords, estimated traffic value, backlink authority, optional WHOIS — plus plain-English **signals** you can act on without an SEO degree.

Built for agencies auditing a prospect before the pitch, buyers doing domain due diligence, and sellers comparing competitors' organic equity in one run.

### ✨ What you get

| Output | What it tells you | Decision it powers |
|---|---|---|
| **Organic profile** | Ranking keyword count, estimated traffic value (ETV), top-3 / top-10 positions, keyword movements | Is their search presence growing or decaying? |
| **Backlink authority** | Authority rank, backlink & referring-domain counts, broken-link share, spam score | How defensible is their link equity? |
| **WHOIS** *(optional)* | Registrar, domain age, creation/expiry dates, EPP status | Safe to buy this expired domain? |
| **Signals** | Plain-English flags, e.g. `Strong organic asset: ETV $2,276,428/mo`, `Thin link profile: only 42 referring domains` | A 5-second verdict per domain |

### 💼 Use cases

- **Qualifying a prospect's domain before you write the pitch** — audit the prospect alongside your own client domain, then compare `organic.etv` and `refDomains` side by side. hubspot.com comes back at 316,975 ranking keywords, 632,912 referring domains and a top-100 authority rank; that is the whole "are we in scope" conversation in one run.
- **Deciding whether an expired domain is safe to buy** — turn on `includeWhois` and read `createdAt`, `ageDays`, `expiresAt` and `statusCode` next to the backlink numbers. A cheap domain with a strong `rank` and 42 referring domains is a different proposition from one with `spamScore` you cannot ignore.
- **Spotting an organic decline before the client notices** — `newKeywords` against `lostKeywords` (133,199 vs 78,891 on hubspot.com) is the earliest public hint that a site's keyword footprint is being squeezed. Schedule the audit monthly and diff those four movement fields.
- **Checking whether a link profile is real** — `refDomains` next to `refIps` and `brokenBacklinks` separates a domain with genuine editorial reach from one with thousands of links from a handful of hosts. `Thin link profile: only 42 referring domains` is the flag that keeps you from overvaluing it.

### ✅ Who this is for

- **SEO agencies** — auditing a prospect or a competitor's organic equity before a pitch, who need a defensible number rather than an impression.
- **Domain buyers** — doing due diligence on an aged or expiring domain where WHOIS history and link authority decide the price.
- **Growth and content leads** — who want to know whether a rival's search presence is expanding or decaying, month over month.
- **Cross-border sellers** — comparing several competing storefronts in one run instead of visiting each site and guessing.

### ❌ Who this is NOT for

- **Reading ETV as traffic** — `etv` is a modeled estimate of the monthly value of a domain's organic keyword positions, not measured sessions and not measured revenue. Never quote it to a client as "their traffic"; it is a comparable proxy across domains, nothing more.
- **More than 5 domains, or a full site audit** — `targets` caps at 1-5 domains per run, and the output is domain-level. There is no page crawl, no broken-link report on your own pages, no Core Web Vitals and no sitemap analysis here. For a technical audit you still need a crawler.
- **A non-US market read at the default settings** — `locationCode` defaults to 2840 (US). Auditing a German or UK domain without passing 2276 or 2826 returns that domain's US footprint only, and the ETV will understate it. Always pass the market you actually care about.
- **Turning a signal into a verdict** — `signals[]` are plain-English flags computed from the numbers, including the `spamScore` and `brokenBacklinks` of the underlying index. "Thin link profile" is a prompt to investigate, not a finding you put in a client deck unchallenged.
- **Anything about conversion or revenue** — no analytics, no conversions, no profit. The `upKeywords` / `downKeywords` counts tell you which terms moved, not whether those moves produced anything a client would pay for.

### 🚀 Quick start

```json
{ "targets": ["hubspot.com", "some-shop.com"], "includeWhois": true }
```

You get one `domain_audit` dataset item per domain + a SUMMARY digest with per-domain signals.

### 📥 Input parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `targets` | stringList | `["hubspot.com"]` | 1-5 domains. URLs are accepted (scheme/path stripped). |
| `includeWhois` | boolean | `false` | Adds WHOIS data — recommended for domain purchase due diligence. |
| `locationCode` | integer | `2840` (US) | Google location code (2276 = Germany, 2826 = UK, …). |

### 📤 Output

Dataset items (`type: "domain_audit"`):

- **`organic`** — `keywordCount`, `etv`, `pos1` / `pos2_3` / `pos4_10`, `newKeywords` / `upKeywords` / `downKeywords` / `lostKeywords`
- **`backlinks`** — `rank`, `backlinks`, `refDomains`, `refIps`, `brokenBacklinks`, `spamScore`
- **`whois`** *(optional)* — `registrar`, `createdAt` / `expiresAt`, `ageDays`, `statusCode`
- **`signals[]`** — computed decision flags in plain English

#### Example item

```json
{
    "type": "domain_audit",
    "domain": "hubspot.com",
    "locationCode": 2840,
    "organic": {
        "keywordCount": 316975,
        "etv": 2276427.59,
        "pos1": 5775,
        "pos2_3": 7903,
        "pos4_10": 37044,
        "newKeywords": 133199,
        "upKeywords": 89842,
        "downKeywords": 78891
    },
    "backlinks": {
        "rank": 72,
        "backlinks": 72554031,
        "refDomains": 632912
    },
    "signals": [
        "Strong organic asset: est. traffic value $2,276,428/mo",
        "Domain authority in the top 100 (rank 72)"
    ]
}
```

#### Run summary

The **SUMMARY** key-value store entry holds: `ok`, `targets`, `auditedCount`, `includeWhois`, `apiCalls`, `warnings[]`.

### ⚙️ How it works

1. **Normalize** — input URLs are cleaned to bare domains; up to 5 are audited per run.
2. **Query** — organic keywords + estimated traffic value from Google search data, plus the live backlink index; WHOIS when enabled.
3. **Signal** — each domain's numbers are reduced to plain-English decision flags (strong asset / thin links / expiring soon).

### 💰 Billing

**Billed per run.** A single `apify-actor-start` charge applies when the run begins, at the price shown on this Actor's page. A run that returns 300 rows costs the same as one that returns 3. There is no daily run cap.

**Free plan limit.** One run audits **1 domain**. That is a hard ceiling on the upstream cost, so it cannot be raised from the input form. A capped run still succeeds: it writes a `notice` row to the dataset, sets `appliedLimits.capped: true` in `SUMMARY`, and logs why. Any paid Apify plan lifts the cap to the full 5 domains.

### ❓ FAQ

**Which data source?** Google organic search data + a live backlink index, US or any location code you pass.

**Why is ETV "estimated"?** It's the modeled monthly value of the domain's organic keyword positions — the industry-standard proxy for organic equity.

**Can I audit domains in other countries?** Yes — pass any Google `locationCode` (e.g. `2276` for Germany).

### 📚 Resources

- [Changelog](./CHANGELOG.md)
- [Apify API docs](https://docs.apify.com/api/v2) — export results as JSON / CSV / XML
- Feedback: open an issue on this actor's Issues tab

*Built by [opspilot.cc](https://opspilot.cc).*

# Changelog

This Actor's version history is a separate document: https://apify.com/opspilot.cc/domain-seo-audit/changelog.md

# Actor input Schema

## `targets` (type: `array`):

Domains to audit, e.g. \["hubspot.com", "example-shop.com"]. URLs are accepted and normalized (scheme/path stripped). Max 5 domains per run.

## `includeWhois` (type: `boolean`):

Adds registrar, domain age and expiry date per domain (recommended for domain purchase due diligence).

## `locationCode` (type: `string`):

Google location — pick a country from the dropdown. Default 2840 = United States.

## Actor input object example

```json
{
  "targets": [
    "hubspot.com"
  ],
  "includeWhois": false,
  "locationCode": "2840"
}
```

# Actor output Schema

## `dataset` (type: `string`):

One domain_audit item per target domain.

## `summary` (type: `string`):

Run-level digest: audited targets, estimated upstream cost, warnings.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("opspilot.cc/domain-seo-audit").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("opspilot.cc/domain-seo-audit").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 '{}' |
apify call opspilot.cc/domain-seo-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,opspilot.cc/domain-seo-audit"
        }
    }
}
```

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/LzP16LDjZ7uQzgpid/builds/8uaO8iU2Eho0ajXye/openapi.json
