# Website SEO Audit - SSL, Security Headers, SPF & DMARC (`launchgrade/website-launch-audit`) Actor

Audit many websites in one run: title and meta description, H1, canonical, Open Graph, schema.org, SSL expiry, HTTPS redirect, security headers, robots.txt, sitemap, llms.txt, AI crawler blocking, and SPF/DMARC email authentication, plus a prioritized fix list for each site.

- **URL**: https://apify.com/launchgrade/website-launch-audit.md
- **Developed by:** [LaunchGrade](https://apify.com/launchgrade) (community)
- **Categories:** Developer tools, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 site auditeds

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/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

## Website SEO Audit: SSL, security headers, SPF/DMARC and AI-crawler checks

Audit one website or a list of 1,000 in a single run. Each site gets a **score (0-100)**, a **letter grade**, and a list of **issues with plain-English fixes** across SEO, mobile, security, SSL, AI-search readiness and email spoofing protection. Built for pre-launch checks, agency prospecting and portfolio monitoring.

### What it checks

**SEO and content**

- Title and meta description (present, length), H1 count, canonical URL, `lang`, `noindex`
- Open Graph and Twitter card tags, favicon, JSON-LD structured data types, images missing alt text
- `robots.txt`, XML sitemap, Googlebot blocks

**Security and SSL**

- HTTPS, HTTP-to-HTTPS redirect, SSL certificate days left and issuer
- Security headers: HSTS, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy

**AI search readiness**

- Whether `GPTBot`, `ClaudeBot`, `Google-Extended`, `PerplexityBot` and `CCBot` are blocked in robots.txt
- Presence of `/llms.txt`

**Email spoofing protection (domain authentication)**

- SPF record (missing, duplicate, `+all`), DMARC record and policy (`none`, `quarantine`, `reject`), MX count

**Speed basics**

- Response time, redirects, HTML size, status code

### Output example

```json
{
  "host": "example.com",
  "grade": "C",
  "score": 64,
  "highIssues": 1,
  "topFixes": [
    "Add TXT at _dmarc: \"v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain\"",
    "Add a 70-160 character description that sells the click"
  ],
  "sslDaysLeft": 61,
  "missingSecurityHeaders": ["content-security-policy", "referrer-policy"],
  "spf": "v=spf1 include:_spf.google.com ~all",
  "dmarcPolicy": null,
  "aiCrawlersBlocked": [],
  "issues": [{ "severity": "high", "area": "email", "issue": "No DMARC record: spoofed emails won't be blocked", "fix": "..." }]
}
```

Export to CSV, Excel, JSON or Google Sheets, schedule it weekly, or call it from the API, Zapier, Make, n8n or an AI agent via Apify MCP.

### Use cases

- **Pre-launch checklist** for new or AI-built websites
- **Agencies and freelancers**: audit prospect sites in bulk and lead with the top three fixes
- **IT and MSPs**: find client domains without SPF or DMARC that can be spoofed
- **Portfolio monitoring**: catch expiring SSL certificates and accidental `noindex` tags

### How to use it

1. Paste domains or homepage URLs into **Websites**.
2. Set **Max sites per run** as your cost cap.
3. Click **Start**.

### Example input

```json
{
  "urls": [
    "example.com",
    "python.org"
  ]
}
```

### Example output (one dataset row from a real run)

```json
{
  "inputUrl": "example.com",
  "host": "example.com",
  "auditedAt": "2026-11-23T05:40:04.158006+00:00",
  "reachable": true,
  "statusCode": 200,
  "finalUrl": "https://example.com",
  "redirects": 0,
  "responseMs": 37,
  "pageKb": 0.6,
  "https": true,
  "httpRedirectsToHttps": false,
  "sslDaysLeft": 32,
  "sslIssuer": "SSL Corporation",
  "missingSecurityHeaders": [
    "strict-transport-security",
    "content-security-policy",
    "x-content-type-options",
    "x-frame-options"
  ],
  "server": "cloudflare",
  "title": "Example Domain",
  "titleLength": 14,
  "metaDescription": "",
  "metaDescriptionLength": 0,
  "h1Count": 0,
  "h1": "",
  "canonical": "",
  "lang": "en",
  "viewport": true,
  "ogTitle": "",
  "ogImage": "",
  "twitterCard": "",
  "favicon": true,
  "robotsMeta": "",
  "structuredDataTypes": [],
  "imagesMissingAlt": 0,
  "robotsTxt": false,
  "sitemap": false,
  "llmsTxt": false,
  "aiCrawlersBlocked": [],
  "emailDomain": "example.com",
  "mxRecords": 1,
  "spf": "v=spf1 -all",
  "dmarc": "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s",
  "dmarcPolicy": "reject",
  "score": 37,
  "grade": "F",
  "highIssues": 0,
  "issueCount": 14,
  "topFixes": [
    "Add a permanent (301) redirect from http:// to https://",
    "Add Strict-Transport-Security: max-age=31536000; includeSubDomains",
    "Add X-Content-Type-Options: nosniff",
    "Add X-Frame-Options: SAMEORIGIN or a CSP frame-ancestors rule"
  ],
  "issues": [
    {
      "severity": "medium",
      "area": "security",
      "issue": "HTTP version does not redirect to HTTPS",
      "fix": "Add a permanent (301) redirect from http:// to https://"
    },
    {
      "severity": "medium",
      "area": "security",
      "issue": "HSTS missing",
      "fix": "Add Strict-Transport-Security: max-age=31536000; includeSubDomains"
    },
    {
      "severity": "low",
      "area": "security",
      "issue": "Content-Security-Policy missing",
      "fix": "Add a CSP header to limit which scripts can run"
    },
    {
      "severity": "medium",
      "area": "security",
      "issue": "X-Content-Type-Options missing",
      "fix": "Add X-Content-Type-Options: nosniff"
    }
  ]
}
```

### Pricing

**$0.01 per site audited** ($10 per 1,000 sites). Runs stop at **Max sites per run** and at your Apify max-charge setting.

#### Pricing examples

- 100 sites: $1.00
- 1,000 sites: $10.00
- 10,000 sites: $100.00

You pay only for results delivered, and the run stops at your max cost per run.

### Notes

- Audits the homepage plus `robots.txt`, `sitemap.xml` and `llms.txt`. It does not crawl the whole site (use a broken link checker for that).
- DNS checks use public DNS-over-HTTPS. Only public website and DNS data is read; no personal data is collected.
- The score is a quick health indicator, not a full Lighthouse performance test.

### FAQ

**Is this a Lighthouse or PageSpeed test?** No. It runs fast HTTP and DNS checks for launch-readiness issues. Use a Lighthouse actor for performance scores.

**Can I audit hundreds of sites?** Yes. Paste a list; each site is one row and one charge.

### More tools from LaunchGrade

Website audits, link checking, domain research, lead lists and data exporters, all pay-per-result: [apify.com/launchgrade](https://apify.com/launchgrade).

# Actor input Schema

## `urls` (type: `array`):

Homepages or domains to audit, one per line (example.com or https://example.com).

## `maxSites` (type: `integer`):

Extra sites are skipped so a run can't cost more than you expect.

## Actor input object example

```json
{
  "urls": [
    "apify.com",
    "example.com"
  ],
  "maxSites": 100
}
```

# Actor output Schema

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

One row per website: SEO, security headers, SSL and email-auth checks.

# 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 = {
    "urls": [
        "apify.com",
        "example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("launchgrade/website-launch-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 = { "urls": [
        "apify.com",
        "example.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("launchgrade/website-launch-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 '{
  "urls": [
    "apify.com",
    "example.com"
  ]
}' |
apify call launchgrade/website-launch-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,launchgrade/website-launch-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/0bko88DBT5kwqnXfg/builds/KeFeDWmMgdLc9QIzt/openapi.json
