{
  "openapi": "3.0.1",
  "info": {
    "title": "Bulk Domain Checker: WHOIS (RDAP), DNS, DMARC, SSL & Expiry",
    "description": "Check many domains at once: registrar, creation and expiry dates (RDAP), DNS records, SPF/DKIM/DMARC email health score, SSL certificate issuer and expiry, HTTPS redirects and domain availability. Expiry alert mode. Public protocols only, no API keys.",
    "version": "0.1",
    "x-build-id": "diirSTDQ95l7bK3pV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/latamdatatools~domain-intelligence-bulk/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-latamdatatools-domain-intelligence-bulk",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/latamdatatools~domain-intelligence-bulk/runs": {
      "post": {
        "operationId": "runs-sync-latamdatatools-domain-intelligence-bulk",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/latamdatatools~domain-intelligence-bulk/run-sync": {
      "post": {
        "operationId": "run-sync-latamdatatools-domain-intelligence-bulk",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Domains or URLs",
            "type": "array",
            "description": "One per line: example.com, www.example.com, https://example.com/page or even an email address (the domain is extracted). Subdomains are kept for the SSL and HTTP checks; registration, DNS and email checks use the registrable domain. Duplicates are removed.",
            "default": [
              "apify.com",
              "github.com",
              "example.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "checks": {
            "title": "Checks to run",
            "type": "array",
            "description": "Leave all selected for the full report. Fewer checks = faster runs (price per domain is the same).",
            "items": {
              "type": "string",
              "enum": [
                "rdap",
                "dns",
                "email",
                "ssl",
                "http",
                "availability"
              ],
              "enumTitles": [
                "Registration (RDAP): registrar, created, expires, status, nameservers",
                "DNS records: A, AAAA, NS, MX, TXT, CAA, SOA",
                "Email security: SPF, DMARC, DKIM (common selectors), MTA-STS, BIMI + score",
                "SSL certificate: issuer, validity, days left, SANs, trust",
                "HTTP: redirect chain, HTTPS redirect, HSTS",
                "Availability: registered / available"
              ]
            },
            "default": [
              "rdap",
              "dns",
              "email",
              "ssl",
              "http",
              "availability"
            ]
          },
          "expiringWithinDays": {
            "title": "Only report domains or certificates expiring within N days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Alert mode for scheduled monitoring: when set (e.g. 30), the dataset only contains domains whose registration or SSL certificate expires within N days or has already expired. 0 = report every domain. Every domain checked is billed, also the ones that are not reported.",
            "default": 0
          },
          "dkimSelectors": {
            "title": "DKIM selectors to try",
            "type": "array",
            "description": "DKIM keys live at <selector>._domainkey.<domain> and selectors cannot be listed, so the Actor tries common ones (Google Workspace, Microsoft 365, Mailchimp/Mandrill, Zoho, Proton, Fastmail, Mailjet, generic). Add your own selector if you know it. Empty list = skip DKIM.",
            "default": [
              "google",
              "selector1",
              "selector2",
              "default",
              "k1",
              "k2",
              "s1",
              "s2",
              "dkim",
              "mail",
              "smtp",
              "zoho",
              "mxvault",
              "protonmail",
              "fm1",
              "mandrill",
              "mailjet",
              "everlytic"
            ],
            "items": {
              "type": "string"
            }
          },
          "includeTxtRecords": {
            "title": "Include raw TXT records",
            "type": "boolean",
            "description": "Adds every TXT record of the domain (verification tokens, SPF...) to the DNS section. Turn off for smaller rows.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Domains in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many domains are checked at the same time. RDAP servers of each registry are additionally rate-limited (one request every 0.4 s per server).",
            "default": 8
          },
          "requestTimeoutSecs": {
            "title": "Timeout per request (seconds)",
            "minimum": 3,
            "maximum": 60,
            "type": "integer",
            "description": "Applies to each DNS-over-HTTPS query, RDAP request, TLS handshake and HTTP request.",
            "default": 10
          },
          "maxRetries": {
            "title": "Retries for RDAP errors",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries on timeouts, HTTP 429 (respecting Retry-After) and 5xx from registry RDAP servers.",
            "default": 2
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}