# Domain Portfolio Renewal & Hijack Watch

**Use case:** 

Registration status for a whole domain portfolio, fast (DNS, email and certificates off): registrar, registration and expiry dates, days to expiry, EPP status codes, DNSSEC and flags like expires_soon or transfer_unlocked. For portfolio managers running a weekly renewal and hijack-risk check across every TLD variant of a brand. Replace domains with your own and adjust expiresWithinDays.

## Input

```json
{
  "domains": [
    "microsoft.com",
    "microsoft.net",
    "microsoft.org"
  ],
  "includeRdap": true,
  "includeDns": false,
  "dnsRecordTypes": [
    "A",
    "AAAA",
    "CNAME",
    "MX",
    "NS",
    "TXT",
    "SOA",
    "CAA"
  ],
  "dnsResolver": "google",
  "includeEmailSecurity": false,
  "dkimSelectors": [
    "google",
    "selector1",
    "selector2",
    "default",
    "k1",
    "mail",
    "s1",
    "dkim",
    "mandrill",
    "smtp",
    "zoho",
    "pm",
    "krs",
    "mailgun",
    "amazonses"
  ],
  "includeCerts": false,
  "certsLimit": 50,
  "certsExcludeExpired": false,
  "includeSubdomains": true,
  "subdomainsLimit": 500,
  "includeHttp": false,
  "httpTimeoutSecs": 15,
  "expiresWithinDays": 60,
  "newlyRegisteredDays": 90,
  "fields": [
    "registrar",
    "registeredAt",
    "expiresAt",
    "daysToExpiry",
    "status",
    "dnssec",
    "flags"
  ],
  "requestDelayMs": 200
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "registrar": {
    "label": "Registrar",
    "format": "string"
  },
  "registeredAt": {
    "label": "Registered",
    "format": "string"
  },
  "expiresAt": {
    "label": "Expires",
    "format": "string"
  },
  "daysToExpiry": {
    "label": "Days to expiry",
    "format": "integer"
  },
  "dnssec": {
    "label": "DNSSEC",
    "format": "boolean"
  },
  "mailProvider": {
    "label": "Mail provider",
    "format": "string"
  },
  "dmarcPolicy": {
    "label": "DMARC policy",
    "format": "string"
  },
  "securityGrade": {
    "label": "Headers grade",
    "format": "string"
  },
  "httpStatus": {
    "label": "HTTP status",
    "format": "integer"
  },
  "subdomainsFound": {
    "label": "Sub-domains found",
    "format": "integer"
  },
  "flags": {
    "label": "Flags",
    "format": "array"
  },
  "fetchedAt": {
    "label": "Fetched at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Domain Intel — WHOIS (RDAP), DNS, Email Security, SSL](https://apify.com/yadroo/domain-intel.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/domain-intel.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/yadroo/domain-intel.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`).
