# WHOIS, DNS and TLS for a list of domains

**Use case:** 

One row per domain with the registrar and the registration, update and expiry dates from RDAP, the A, AAAA, MX, NS and TXT records from DNS, and the TLS certificate issuer, subject and expiry date. RDAP is the registry protocol that replaced WHOIS, so the dates come from the registry itself.

## Input

```json
{
  "domains": [
    "mozilla.org",
    "github.com",
    "wikipedia.org",
    "cloudflare.com",
    "shopify.com"
  ],
  "checkRdap": true,
  "checkTls": true,
  "timeoutSecs": 20,
  "maxRetries": 3
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "ok": {
    "label": "Answered",
    "format": "boolean"
  },
  "registered": {
    "label": "Registered",
    "format": "boolean"
  },
  "rdapDomain": {
    "label": "Registration is for",
    "format": "string"
  },
  "registrationLookupError": {
    "label": "Why registration is missing",
    "format": "string"
  },
  "registrar": {
    "label": "Registrar",
    "format": "string"
  },
  "registeredOn": {
    "label": "Registered on",
    "format": "string"
  },
  "domainAgeDays": {
    "label": "Age (days)",
    "format": "integer"
  },
  "expiresOn": {
    "label": "Expires on",
    "format": "string"
  },
  "daysUntilExpiry": {
    "label": "Expires in (days)",
    "format": "integer"
  },
  "dnsProvider": {
    "label": "DNS provider",
    "format": "string"
  },
  "mailProvider": {
    "label": "Mail provider",
    "format": "string"
  },
  "hasMx": {
    "label": "Has MX",
    "format": "boolean"
  },
  "spfStrictness": {
    "label": "SPF",
    "format": "string"
  },
  "dmarcPolicy": {
    "label": "DMARC",
    "format": "string"
  },
  "spoofProtection": {
    "label": "Spoof protection",
    "format": "string"
  },
  "tlsIssuer": {
    "label": "TLS issuer",
    "format": "string"
  },
  "tlsDaysUntilExpiry": {
    "label": "TLS expires in (days)",
    "format": "integer"
  },
  "tlsExpired": {
    "label": "TLS expired",
    "format": "boolean"
  },
  "tlsMatchesDomain": {
    "label": "TLS covers domain",
    "format": "boolean"
  },
  "reason": {
    "label": "Reason",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Bulk WHOIS & DNS Checker - SSL Expiry, Domain, MX, SPF, DMARC](https://apify.com/neverempty/domain-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/domain-lookup.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/neverempty/domain-lookup.md

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`).
