# Bulk Domain Health Check: Expiry, SSL, SPF, DMARC, DKIM (`bodacious_mistral/rcs-domain-health`) Actor

Domain health in bulk: domain expiry (RDAP), SSL certificate expiry, HTTPS, DNS, SPF, DMARC and DKIM, with a plain-English fix for every problem. $0.90 per 1,000 domains.

- **URL**: https://apify.com/bodacious_mistral/rcs-domain-health.md
- **Developed by:** [Red Center Studio](https://apify.com/bodacious_mistral) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.90 / 1,000 domains checked

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

## Bulk Domain Health Check: Expiry, SSL, SPF, DMARC, DKIM

Check a list of domains for the things that quietly take a business offline: an expiring domain, an expiring certificate, a site that no longer answers over HTTPS, and email that anyone can spoof. Every problem comes with a plain-English fix, so the output can go straight into a client report or a sales email.

### What you get for each domain

- **Domain expiry** from the registry's RDAP service, with days left and the registrar. Where a registry does not publish expiry dates (.de, .nz) or limits lookups, the row says which.
- **Certificate expiry and issuer** from public Certificate Transparency logs, plus a live check that the site answers over HTTPS.
- **DNS basics**: A, AAAA, name servers and MX, including null MX.
- **Email security**: SPF (policy, duplicate records, the 10-lookup limit), DMARC (policy, inherited from the parent domain for subdomains) and DKIM at the common selectors plus your mail provider's own.
- **Findings** marked pass, warn or fail, each with the fix, and a count of problems and items to review.

### Who uses it

- Agencies and MSPs checking every client domain before renewal season.
- Lead generation: find businesses with no DMARC, expiring certificates or broken HTTPS, with a ready-made reason to get in touch.
- Due diligence on a supplier or acquisition target's domains.

### Input

```json
{ "domains": ["redcenterstudio.com", "example.com", "https://www.example.org/contact"] }
```

### Output (one row per domain)

```json
{
  "input": "redcenterstudio.com",
  "status": "ok",
  "domain": "redcenterstudio.com",
  "summary": "No problems found.",
  "problems": 0,
  "to_review": 0,
  "domain_expires_at": "2027-11-09T22:32:02Z",
  "domain_days_left": 341,
  "registrar": "Cloudflare, Inc.",
  "certificate_expires_at": "2027-03-01T05:19:49.000Z",
  "certificate_days_left": 87,
  "certificate_issuer": "Google Trust Services",
  "https_answers": true,
  "spf_policy": "softfail",
  "dmarc_policy": "reject",
  "dkim_selectors_found": [
    "cf2024-1"
  ],
  "checked_at": "2026-12-03T07:46:19.090Z"
}
```

The full row also has `mx`, `name_servers`, `spf`, `dmarc` and every finding with its fix.

### Pricing

US$0.90 per 1,000 domains (US$0.0009 each), charged only for domains checked successfully. Duplicates are removed before the run and never charged. If a domain cannot be checked (it does not exist, the site does not answer), the row says why and costs nothing. No start fee and no monthly rental.

Set **Maximum cost per run** in Apify and the run stops cleanly when it reaches it.

### Use it from an AI agent

Through the Apify MCP server, any MCP client (Claude, ChatGPT, Cursor) can call this Actor: add `https://mcp.apify.com?tools=bodacious_mistral/rcs-domain-health` to your client. A free single-site version of the same check runs at Red Center Studio's own MCP server, `https://redcenterstudio.com/api/tools/mcp`, with no key.

### Data and privacy

Public data only. The Actor reads registry data (RDAP), public Certificate Transparency logs and public DNS, and sends one HTTPS request to each site's home page. Nothing is stored after the run except your Apify dataset.

### Same check, in your browser

Each result matches the free tool at [redcenterstudio.com/tools/](https://redcenterstudio.com/tools/). Use the Actor when you have a list.

### Related Actors

- [Domain Health Check](https://apify.com/bodacious_mistral/rcs-domain-health): expiry, SSL, SPF, DMARC, DKIM
- [AI Crawler Checker](https://apify.com/bodacious_mistral/rcs-ai-crawler-check): robots.txt and firewall test for AI crawlers
- [GEO Audit](https://apify.com/bodacious_mistral/rcs-geo-audit): AI search readiness score with fixes
- [Vendor Dependency Scanner](https://apify.com/bodacious_mistral/rcs-spof-scan): single points of failure from public DNS

Built and maintained by [Red Center Studio](https://redcenterstudio.com). Questions or a field you need: hello@redcenterstudio.com.

# Actor input Schema

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

Business domains, one per line. Full addresses work too: https://www.example.com/page becomes example.com.

## `maxItems` (type: `integer`):

Stop after this many entries. Duplicates are removed first and never charged.

## Actor input object example

```json
{
  "domains": [
    "redcenterstudio.com",
    "example.com"
  ],
  "maxItems": 1000
}
```

# Actor output Schema

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

One row per entry checked, in the default dataset.

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

// Run the Actor and wait for it to finish
const run = await client.actor("bodacious_mistral/rcs-domain-health").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": [
        "redcenterstudio.com",
        "example.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bodacious_mistral/rcs-domain-health").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": [
    "redcenterstudio.com",
    "example.com"
  ]
}' |
apify call bodacious_mistral/rcs-domain-health --silent --output-dataset

```

## MCP server setup

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

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/892HGcQx1M39xwTAi/builds/eFaa50cJAQ51QXXck/openapi.json
