# Domain SEO Checker: Rank, Age, DNS, AI Bots & SEO Score (`rawtojson/domain-seo-metrics`) Actor

Bulk domain SEO checkup from open data: Tranco rank, domain age and expiry, DNS, homepage SEO audit with a 0-100 score, robots.txt rules for AI crawlers and sitemap size. No API keys. It does not return Domain Authority or backlinks.

- **URL**: https://apify.com/rawtojson/domain-seo-metrics.md
- **Developed by:** [Juan Francisco](https://apify.com/rawtojson) (community)
- **Categories:** SEO tools, Marketing, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.30 / 1,000 domain analyseds

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 Checker: rank, age, DNS, AI-crawler rules and SEO score in bulk

**Domain SEO Checker** gives you a quick SEO checkup of any list of domains from **open, public data**: popularity rank with 30-day history, domain age and expiry, Web Archive history, DNS, a homepage SEO audit with a transparent 0-100 score, robots.txt rules for AI crawlers (GPTBot, ClaudeBot, PerplexityBot) and sitemap size. No API keys, no logins, no paid SEO tools behind it.

> **Read this first.** This Actor does **not** return Domain Authority, Domain Rating, organic traffic estimates or backlink counts. Those come from paid proprietary crawlers and cannot be collected from open sources, and we will not invent them. If you need backlinks, use a backlink tool. If you need a cheap, honest, bulk first look at a domain, this is it.

### Who is it for?

- **SEO and web agencies** scoring hundreds of prospects and opening every conversation with a concrete list of issues.
- **Domain buyers and investors** checking age, Web Archive history, registrar and expiry date in one row.
- **Marketers and analysts** benchmarking rank, sitemap size and SEO score across a market.
- **AI-search (GEO) teams** who want to know which sites block GPTBot or ClaudeBot and who publishes `llms.txt`.

### Quick start: input and real output

Paste this in the Console and press **Start** (about 10 to 15 seconds per domain):

```json
{
  "domains": ["github.com", "vercel.com"]
}
```

Output for `vercel.com` (real local run, shortened):

```json
{
  "domain": "vercel.com",
  "popularity": { "ranked": true, "rank": 2951, "bucket": "top-10k", "bestRank": 2941, "worstRank": 3102 },
  "registration": { "createdAt": "1999-10-04T19:30:47Z", "ageYears": 27.1, "daysToExpiry": 1045, "registrar": "Amazon Registrar, Inc." },
  "archive": { "firstCapture": "2001-04-22T00:09:44Z", "firstCaptureYears": 25.6 },
  "dns": { "dnsProvider": "Vercel", "mxCount": 5, "caa": true },
  "robots": { "found": true, "disallowAll": false, "llmsTxt": true },
  "sitemap": { "found": true, "urlCount": 9608 },
  "seo": {
    "score": 88,
    "grade": "B",
    "issues": [
      { "code": "meta-description", "severity": "warning", "message": "Meta description is 45 characters (aim for 70–170)." },
      { "code": "image-alt", "severity": "warning", "message": "9 of 23 images have no alt text." }
    ]
  }
}
```

The real item also contains the full `homepage` section (title, h1, canonical, Open Graph, JSON-LD types, links, images, word count, detected tech) and the AI-bot rules in `robots.aiBots`.

### What you get

| Section | What you get | Source |
|---|---|---|
| **Popularity** | Tranco rank, bucket (top-1k … top-1M), 30-day best / worst / average and change | [Tranco](https://tranco-list.eu) research ranking |
| **Registration** | Creation and expiry dates, age, days to expiry, registrar, status, DNSSEC | RDAP (IANA bootstrap) |
| **Archive** | First and latest capture, years of history | Internet Archive CDX |
| **DNS** | Name servers, DNS provider, IPv4 / IPv6, MX records, CAA | DNS over HTTPS |
| **Homepage SEO** | Title, meta description, h1/h2, canonical, hreflang, Open Graph, JSON-LD types, noindex, links, images without alt, word count, detected tech | The site itself |
| **robots.txt** | Sitemaps, blocks everything?, rules for AI crawlers, `llms.txt` present | The site itself |
| **Sitemap** | Found, number of URLs, newest lastmod | The site itself |
| **SEO score** | 0-100 score, grade A-F and the exact list of failed checks | Computed from the above |

### Input

| Field | Type | Description |
|---|---|---|
| `domains` | array | Domains or URLs. Use the registrable domain (`example.com`), not a subdomain. |
| `includePopularity` | boolean | Tranco rank with 30-day history. Default `true`. |
| `includeRegistration` | boolean | RDAP registration data. Default `true`. |
| `includeArchive` | boolean | Internet Archive history. Default `true`. |
| `includeDns` | boolean | DNS records. Default `true`. |
| `includeHomepage` | boolean | Homepage audit, robots.txt, sitemap and SEO score. Default `true`. |

`rankChange` is positive when the domain climbed in the ranking. Sections you turn off are `null`. If a source fails for a domain, the reason is in the `errors` field and the rest of the data is still returned.

#### How the SEO score works

The score is the sum of weighted checks, so you can always see why a site lost points: HTTPS (10), indexable (10), title (10), meta description (8), single h1 (8), canonical (6), viewport (5), lang (3), Open Graph (4), structured data (5), robots.txt (6), sitemap (10), HSTS (3), compression (3), response speed (5), image alt text (4). Total 100. It audits the homepage only.

### Pricing compared with the Store

Pay per event: **$0.0033 per domain analysed**. Domains that do not exist or cannot be reached are free. You can set a maximum cost per run.

| Actor | Price | What it returns |
|---|---|---|
| **This Actor** | **$0.0033 per domain** | Open data: rank, age, DNS, homepage audit, AI-crawler rules, sitemap |
| pro100chok/semrush-scraper | $0.015 per item | Semrush data: traffic, authority, backlinks |
| dionysus_way/spyfu-multiple-domains-seo-ppc-and-keyword-insights | $0.007 per domain | SpyFu SEO, PPC and keyword data |
| pro100chok/ahrefs-seo-tools | $0.005 per item | Ahrefs data: DR, backlinks, keywords |

Prices as listed in the Apify Store in November 2026. The others return proprietary data this Actor does not have; this one returns checks they do not, such as AI-crawler rules, `llms.txt`, domain age and a scored homepage audit.

### Schedule it and send the data to Sheets or a webhook

- **Schedule:** run it weekly from *Schedules* with your client or competitor list and watch rank, SEO score and expiry dates change.
- **Google Sheets:** add the *Google Sheets* integration to append every run's results to a sheet (use the dataset overview table for flat columns such as `seo.score` and `registration.ageYears`).
- **Webhook:** add a webhook on `ACTOR.RUN.SUCCEEDED` to notify Slack, Make, n8n or your own endpoint.
- **API / MCP:** call it with the Apify API or the Apify MCP server. The input is small and flat.

### Limits and good to know

- The rank is a **research ranking of the most visited domains** (Tranco). Domains outside the top million come back as `unranked`.
- Tranco rate-limits its API, so large lists take time (several domains per minute, about 1.2 seconds per Tranco call).
- RDAP is not available for every country-code TLD. When it is missing, `registration.available` is `false`.
- The audit covers the homepage, not the whole site. Sites that block automated requests may return partial data.
- Use the `includeX` switches to skip sections you do not need.

### FAQ

**Does it return Domain Authority or backlinks?** No. Those are proprietary metrics. This Actor sticks to open data and says so.

**Why is a domain `unranked`?** It is outside the Tranco top million, or too new to appear in it.

**Does it need API keys?** No.

**Are unreachable domains charged?** No.

**Can I use it with n8n, Make or AI agents?** Yes, through the Apify node or the Apify MCP server.

### Legal notice

The Actor reads only public, non-personal domain data (public rankings, RDAP, DNS, the Internet Archive index and the public homepage, robots.txt and sitemap of each site) and sends one request per resource. Respect the terms of the sources and the law that applies to you.

### En español

**Domain SEO Checker** analiza una lista de dominios con datos abiertos: ranking de popularidad (Tranco), antigüedad y caducidad del dominio, historial en Web Archive, DNS, auditoría SEO de la portada con puntuación 0-100, reglas de robots.txt para rastreadores de IA y tamaño del sitemap. No necesita claves de API. **No** devuelve Domain Authority ni backlinks (son datos propietarios de pago). Precio: 0,0033 $ por dominio analizado; los dominios inaccesibles no se cobran. Útil para agencias, compradores de dominios y análisis de competencia. Programa la ejecución y envía los datos a Google Sheets o a un webhook.

### Support

Issues are answered within 24 hours. More Actors by rawtojson at **https://rawtojson.com**.

# Actor input Schema

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

Domains to analyse. Accepts example.com, www.example.com or full URLs. Use the registrable domain (example.com), not a subdomain.

## `includePopularity` (type: `boolean`):

Tranco ranking with 30-day history. Fast and free.

## `includeRegistration` (type: `boolean`):

Creation and expiry dates, registrar, status and DNSSEC.

## `includeArchive` (type: `boolean`):

First and latest capture in the Internet Archive.

## `includeDns` (type: `boolean`):

Name servers, DNS provider, IPs, MX and CAA.

## `includeHomepage` (type: `boolean`):

Homepage SEO checks, robots.txt (incl. AI crawlers), sitemap size and an SEO score.

## Actor input object example

```json
{
  "domains": [
    "github.com",
    "vercel.com"
  ],
  "includePopularity": true,
  "includeRegistration": true,
  "includeArchive": true,
  "includeDns": true,
  "includeHomepage": true
}
```

# Actor output Schema

## `domains` (type: `string`):

SEO snapshot of each domain.

# 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",
        "vercel.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rawtojson/domain-seo-metrics").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",
        "vercel.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("rawtojson/domain-seo-metrics").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",
    "vercel.com"
  ]
}' |
apify call rawtojson/domain-seo-metrics --silent --output-dataset

```

## MCP server setup

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

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/KWGgVHVj8ude15ixx/builds/I5BuBe0bC2as2Ktk4/openapi.json
