# Domain Checker: DNS, WHOIS/RDAP, SSL Expiry, SPF & DMARC (`geeky_goth_gamer/domain-dns-rdap-ssl-checker`) Actor

One call per domain returns its DNS records (A, AAAA, MX, NS, TXT, CAA, SOA), SPF, DMARC and DNSSEC status, RDAP registration data (registrar, created and expiry dates, nameservers) and the SSL/TLS certificate (issuer, expiry, SANs, validity), plus a plain-English issues list.

- **URL**: https://apify.com/geeky_goth_gamer/domain-dns-rdap-ssl-checker.md
- **Developed by:** [Chris Day](https://apify.com/geeky_goth_gamer) (community)
- **Categories:** Developer tools, AI, SEO tools
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 domain checkeds

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

## Domain Checker: DNS, WHOIS/RDAP, SSL Expiry, SPF & DMARC

One call per domain returns its DNS records (A, AAAA, MX, NS, TXT, CAA, SOA), SPF, DMARC and DNSSEC status, RDAP registration data (registrar, created and expiry dates, nameservers) and the SSL/TLS certificate (issuer, expiry, SANs, validity), plus a plain-English issues list.

### When an AI agent should use this

Use it to vet a domain before trusting a link, a supplier or a sender: how old it is, who the registrar is, whether it can receive email, whether its email is protected against spoofing (SPF/DMARC), and whether its HTTPS certificate is valid or about to expire. It's also handy for monitoring certificate and domain expiry.

### Example input

```json
{
  "domains": [
    "apify.com",
    "github.com",
    "bbc.co.uk"
  ]
}
```

### Output (one item per domain)

- `dns`: `A`, `AAAA`, `MX`, `NS`, `TXT`, `CAA`, `SOA`; `spf` (`present`, `record`, `all` qualifier, `multiple`); `dmarc` (`present`, `record`, `policy`); `dnssec` (`signed`, `dsRecords`); `mailReady`; `exists`
- `rdap`: `registrar`, `registrarIanaId`, `abuseEmail`, `created`, `updated`, `expires`, `daysToExpiry`, `status`, `nameservers`, `dnssecSigned`, `registered` (`false` when the registry has no record)
- `ssl`: `valid`, `verifyError`, `issuer`, `subject`, `notBefore`, `notAfter`, `daysRemaining`, `sans`, `tlsVersion`, `cipher`, `ip`
- `issues`: e.g. "no DMARC record", "TLS certificate expires in 9 days", "domain registration expires in 20 days"
- `registrableDomain` (via the Public Suffix List), `status` (`ok` / `invalid` / `duplicate`), `billed`

### Pricing

| Event | Price (USD) |
|---|---|
| `domain-checked` | $0.003 per unique valid domain |
| `apify-actor-start` | $0.00005 per run |

Invalid names, private/special-use names (`localhost`, `.local`, `.internal`, IPs) and duplicates are free.

### Standby HTTP API

Base URL: `https://geeky-goth-gamer--domain-dns-rdap-ssl-checker.apify.actor` (send `Authorization: Bearer <APIFY_TOKEN>`).

- `POST /check`: `domains` (up to 10) or `domain`, optional `checks`
- `GET /health`

```bash
curl -s -X POST "https://geeky-goth-gamer--domain-dns-rdap-ssl-checker.apify.actor/check" -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" -d '{"domain":"apify.com"}'
```

### MCP

```
https://mcp.apify.com/?tools=geeky_goth_gamer/domain-dns-rdap-ssl-checker
```

### How it works and limits

- **WHOIS:** RDAP is the registries' JSON successor to WHOIS. Servers come from the [IANA RDAP bootstrap registry](https://data.iana.org/rdap/). A few ccTLDs (e.g. `.de`) don't offer RDAP yet; for those, `rdap.available` is `false` with a reason. Registrant personal data is usually redacted by registries (GDPR).
- **Network safety:** only public addresses are contacted. The TLS check connects to port 443 of an address that passed the public-IP check, using SNI. RDAP requests reject redirects to private networks.
- **Limits:** 100 domains per run, 10 per Standby call, 8 in parallel. DNS timeout 4 s, TLS 8 s, RDAP 15 s.

Built with dnspython (ISC) and tldextract (BSD, bundled Public Suffix List snapshot).

### Related tools

- [Email Verifier: Syntax, MX, Disposable & Role Check](https://apify.com/geeky_goth_gamer/email-verifier-mx-disposable)
- [Live Link & Citation Verifier](https://apify.com/geeky_goth_gamer/live-link-citation-verifier)
- [All tools](https://apify.com/geeky_goth_gamer)

# Actor input Schema

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

Up to 100 domains or URLs per run (10 per Standby call). Invalid, private and duplicate names are free.

## `checks` (type: `array`):

Which checks to run. Price is the same per domain.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "github.com",
    "bbc.co.uk"
  ],
  "checks": [
    "dns",
    "rdap",
    "ssl"
  ]
}
```

# 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 = {
    "domains": [
        "apify.com",
        "github.com",
        "bbc.co.uk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("geeky_goth_gamer/domain-dns-rdap-ssl-checker").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",
        "github.com",
        "bbc.co.uk",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("geeky_goth_gamer/domain-dns-rdap-ssl-checker").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",
    "github.com",
    "bbc.co.uk"
  ]
}' |
apify call geeky_goth_gamer/domain-dns-rdap-ssl-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,geeky_goth_gamer/domain-dns-rdap-ssl-checker"
        }
    }
}
```

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/j0b6SR601uR307Re6/builds/8mwxnJjoOOdYwF514/openapi.json
