# Website Security Audit: SSL, DMARC, AI Crawlers (`siteproof/website-trust-audit`) Actor

Combine TLS/SSL, HTTPS redirects, security headers, SPF/DKIM/DMARC, security.txt, robots.txt AI-crawler rules, and llms.txt into one scored audit per domain. Bulk JSON for developers and AI agents. No login, no start fee.

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

## Pricing

$8.00 / 1,000 domain 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/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

### What does Website Security Audit: SSL, DMARC, AI Crawlers do?

**Website Security & AI-Readiness Audit** combines several public technical sources on each domain — the TLS certificate, HTTP security headers, DNS email-authentication records (SPF, DKIM, DMARC), `security.txt`, `robots.txt` AI-crawler rules, and `llms.txt` — and analyzes them together into **one JSON row** with a **0–100 score**, an **A–F grade**, and a prioritized issue list.

Paste a list of domains and run. No API keys, no login, no browser. Built by **siteproof** for agencies, vendor-risk reviews, SEO/GEO work, and AI agents that need a structured website audit.

**Price: $0.008 per successfully audited domain.** Failed or invalid inputs are not charged.

### What you get vs a typical single-site scraper

| | Typical single-site scraper | This Actor |
| --- | --- | --- |
| Sources in one call | Often one check, such as headers or SSL only | TLS, HTTPS, headers, SPF/DKIM/DMARC, security.txt, robots.txt, and llms.txt analyzed together |
| Output | Raw crawl fields you have to score yourself | One labeled row per domain with a score, grade, and prioritized issues |
| Pricing | A start fee plus per-page charges is common | $0.008 per audited domain, no start fee; failed domains are free |
| Agent use | Full-permission Actors can be excluded from MCP | Limited permissions, clear input schema, works via API and MCP |

### Sample output

Shortened from a real run on the prefill domain `example.com` (22 Nov 2026, Atlantic time).

```json
{
  "domain": "example.com",
  "reachable": true,
  "finalUrl": "https://example.com/",
  "httpStatus": 200,
  "httpRedirectsToHttps": false,
  "securityHeaders": {
    "HSTS": false,
    "Content-Security-Policy": false,
    "X-Frame-Options": false
  },
  "tls": {
    "valid": true,
    "daysRemaining": 278
  },
  "email": {
    "spf": "missing",
    "dmarc": "missing"
  },
  "llmsTxt": false,
  "aiCrawlersBlocked": 0,
  "securityScore": 41,
  "grade": "D",
  "issues": [
    "No HSTS header",
    "No SPF record",
    "No DMARC record"
  ]
}
```

### How to use

1. Open [Website Security Audit: SSL, DMARC, AI Crawlers](https://apify.com/siteproof/website-trust-audit) in Apify Console, or call it through the API or the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).
2. Paste a list of domains or URLs. Leave email-security and AI-readiness checks on unless you want a narrower audit.
3. Run the Actor. A short prefill input is already filled in so you can try it quickly.
4. Open the dataset for labeled JSON, or export CSV / Excel. Schedule the same input for monitoring.

### Pricing

**$0.008 per successfully audited domain.** That is $8 per 1,000 successful results. There is **no start fee**. Failed, invalid, or empty results are not charged. Optional summary rows, when present, are free.

You only pay for successful results. Platform compute is billed by Apify on top of the event price according to your account plan.

### Use with AI agents / MCP

AI agents discover Apify Store tools through the [Apify MCP server](https://mcp.apify.com): `search-actors` finds candidates, `fetch-actor-details` returns the input schema, README (or summary), output schema, and pricing, then `call-actor` runs the tool. The same search backend is used by Apify AI in Console. Ranking correlates with the [Actor quality score](https://docs.apify.com/actors/publishing/quality-score), so clear titles, field descriptions, and a complete README help agents pick the right tool.

This Actor uses **limited permissions**, so agents can call it without a full-permission approval prompt. It is also eligible for [agentic payments](https://docs.apify.com/agents/payments) (x402, MPP, or a Skyfire prepaid token).

Typical agent flow:

1. `search-actors` with keywords such as `website security audit SSL DMARC`
2. `fetch-actor-details` with actor `siteproof/website-trust-audit`
3. `call-actor` with input like:

```json
{
  "domains": [
    "apify.com",
    "example.com"
  ]
}
```

Or start a run over HTTP:

```http
POST https://api.apify.com/v2/acts/siteproof~website-trust-audit/runs
Content-Type: application/json
Authorization: Bearer YOUR_APIFY_TOKEN
```

```json
{
  "domains": [
    "apify.com",
    "example.com"
  ]
}
```

You can also schedule runs in [Apify Console](https://console.apify.com), export JSON, CSV, or Excel, and attach webhooks. There is no start fee.

### FAQ

#### What does this Actor check?

For each reachable domain it combines the TLS/SSL certificate and expiry, HTTPS redirect behavior, common security headers (HSTS, CSP, X-Frame-Options, and others), SPF/DKIM/DMARC and MX records, security.txt, robots.txt rules for major AI crawlers, sitemap.xml presence, and llms.txt. Those signals are scored together.

#### Is this a penetration test?

No. It only reads public HTTP, TLS, DNS, and well-known files. It does not attack, log in, or probe for vulnerabilities.

#### Do I need an API key?

No. There is no login and no third-party key.

#### What am I charged for?

You pay $0.008 only for each domain that is successfully audited. Invalid or unreachable inputs are free.

### Related siteproof Actors

- [Website Brand Extractor](https://apify.com/siteproof/website-brand-extractor) — Logos, favicons, colors, and official social links from the same domains
- [PDF to Markdown](https://apify.com/siteproof/pdf-to-markdown) — Turn public PDF URLs into Markdown for RAG and LLMs
- [Company Risk Profile](https://apify.com/siteproof/company-risk-profile) — Combine SEC, recalls, EPA, and sanctions screening for a company

Built by [siteproof](https://apify.com/siteproof). Public data only. No personal data on individuals.

# Actor input Schema

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

Domains or full URLs to audit, one per item. The hostname is used. Example: `["apify.com", "example.com"]`.

## `checkEmailSecurity` (type: `boolean`):

When enabled (default), look up public SPF, DKIM, DMARC, and MX DNS records and include them in the score.

## `checkAiReadiness` (type: `boolean`):

When enabled (default), fetch robots.txt, score major AI crawler rules, and check for llms.txt.

## `maxConcurrency` (type: `integer`):

How many domains to audit in parallel. Default 10 is safe for most lists.

## `requestTimeoutSecs` (type: `integer`):

HTTP timeout per request, in seconds. Default 15.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "example.com"
  ],
  "checkEmailSecurity": true,
  "checkAiReadiness": true,
  "maxConcurrency": 10,
  "requestTimeoutSecs": 15
}
```

# Actor output Schema

## `auditResults` (type: `string`):

Default dataset items. Each item is one domain audit with score, grade, TLS, headers, email authentication, and AI-readiness fields.

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

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,siteproof/website-trust-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/ypjJiOrQelxPvf4hk/builds/e024QVOHKvTwbu4Cn/openapi.json
