# SEO Domain Overview (DataForSEO) (`precocious_clouds/seo-domain-overview`) Actor

Fetches trimmed domain SEO metrics from DataForSEO Labs Domain Rank Overview API for LLM-friendly output.

- **URL**: https://apify.com/precocious\_clouds/seo-domain-overview.md
- **Developed by:** [Nesrine Zarrouki](https://apify.com/precocious_clouds) (community)
- **Categories:** AI, Agents, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

**Built for AI agents.** Pass a domain, get compact SEO metrics back as JSON — ready to drop into an LLM context window.

**No API keys required.** No external accounts, no credentials, no setup. Just provide a domain and run.

### AI Agent Integration Guide

This service is optimized for machine-to-machine execution, multi-agent workflows, and x402 pay-per-call usage.

#### Expected agent input

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `domain` | string | **Yes** | Root domain only (e.g. `example.com`) — no `https://` or paths |
| `location_code` | integer | No | Default `2840` (United States). Use `2826` for UK. |
| `language_code` | string | No | Default `en` |

#### Intended use cases (semantic matching)

**Trigger this tool when the master goal involves:**

- "How much SEO traffic does \[domain] get?"
- "Analyze \[company]'s organic search presence"
- "Competitor SEO overview" or "domain authority snapshot"
- "How many keywords does \[site] rank for?"
- "Is \[prospect domain] getting organic traction?"
- "SEO metrics for lead qualification"
- Enriching an LLM with domain-level SEO context before outreach, scoring, or research

**Do NOT trigger this tool when:**

- The user wants an **on-page audit** (H1 tags, meta descriptions, page speed, alt text) — this returns domain-level metrics only
- The user wants **broken link checks** or **technical crawl reports**
- The user asks for **general keyword trends** without naming a specific domain
- The user needs **SERP rankings for a single keyword** (use a rank tracker instead)
- The user provides a **full page URL** with a path — extract the root domain first

Get instant SEO metrics for any domain: estimated organic and paid traffic, ranking keyword counts, and top-10 visibility.

### Why agents use this

- **Zero setup** — only input is a domain name
- **Small JSON output** — trimmed for LLM context, not raw API dumps
- **Predictable pricing** — ~$0.05 per domain lookup
- **x402 compatible** — autonomous agents can pay and run without bringing their own API keys

### What you get

Each run analyzes one domain and returns:

| Field | Description |
| --- | --- |
| `domain` | Target domain |
| `estimated_organic_traffic_monthly` | Estimated monthly organic traffic |
| `estimated_paid_traffic_monthly` | Estimated monthly paid traffic |
| `total_ranking_keywords` | Total organic keywords the domain ranks for |
| `top_10_ranking_keywords` | Keywords ranking in positions 1–10 |
| `estimated_organic_paid_cost_usd` | Estimated cost to buy equivalent organic traffic via PPC |
| `estimated_paid_traffic_cost_usd` | Estimated monthly paid traffic cost |
| `location_code` | Market used (default: `2840` = United States) |
| `language_code` | Language used (default: `en`) |
| `status` | `Success` or error details |

### Example output

```json
{
  "domain": "example.com",
  "location_code": 2840,
  "language_code": "en",
  "estimated_organic_traffic_monthly": 3055.74,
  "estimated_paid_traffic_monthly": 32.18,
  "total_ranking_keywords": 1788,
  "top_10_ranking_keywords": 139,
  "estimated_organic_paid_cost_usd": 15078.99,
  "estimated_paid_traffic_cost_usd": 275.84,
  "status": "Success"
}
```

### Pricing

| Event | Price |
| --- | --- |
| **Result** | **$0.05** per domain overview |
| Actor start | $0.00005 per run |

# Actor input Schema

## `domain` (type: `string`):

The root domain to analyze (e.g. example.com). The agent MUST provide this. Do not include https://, www, or path segments. Use when the goal is to measure a website's search visibility, traffic potential, or keyword footprint at the domain level.

## `location_code` (type: `integer`):

Geographic market for SEO metrics. Use 2840 for United States (default), 2826 for United Kingdom, 2124 for Canada. Only set when the user specifies a country/market; otherwise omit to use US defaults.

## `language_code` (type: `string`):

Two-letter language code for the search market (default: en). Only set when the user specifies a language; otherwise omit.

## Actor input object example

```json
{
  "domain": "example.com",
  "location_code": 2840,
  "language_code": "en"
}
```

# Actor output Schema

## `results` (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 = {
    "domain": "example.com",
    "location_code": 2840,
    "language_code": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("precocious_clouds/seo-domain-overview").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 = {
    "domain": "example.com",
    "location_code": 2840,
    "language_code": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("precocious_clouds/seo-domain-overview").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domain": "example.com",
  "location_code": 2840,
  "language_code": "en"
}' |
apify call precocious_clouds/seo-domain-overview --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=precocious_clouds/seo-domain-overview",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Wf7Ze0Hac7b7hIqvb/builds/1HiXvFEB1iIWebtA7/openapi.json
