{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain Intelligence: WHOIS, Availability, DNS, DMARC & SSL",
    "description": "Bulk domain lookup from each registry's RDAP: availability, registrar, created and expiry dates, nameservers, DNS, email provider, SPF lookup count, DMARC, DKIM, MTA-STS and SSL expiry, with a plain list of problems. Monitoring returns only changes. $1.50 per 1,000.",
    "version": "1.0",
    "x-build-id": "DxvPlvz3hT22EpBcA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blueberry_rainstorm~domain-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blueberry_rainstorm-domain-intelligence",
        "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/blueberry_rainstorm~domain-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-blueberry_rainstorm-domain-intelligence",
        "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/blueberry_rainstorm~domain-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-blueberry_rainstorm-domain-intelligence",
        "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",
            "type": "array",
            "description": "One per line: a domain (github.com), a link (https://shop.example.com/page) or an email address (name@company.com). Links and subdomains are reduced to the registered domain; the SSL check uses the exact host you gave. A bare name without extension (mybrand) is tried with each extension under \"Try these extensions\".",
            "default": [
              "github.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "tlds": {
            "title": "Try these extensions for bare names",
            "type": "array",
            "description": "For names entered without an extension, check each of these, for example com, io, ai, co, dev, app. Leave empty to check domains exactly as entered.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyAvailable": {
            "title": "Only return available domains",
            "type": "boolean",
            "description": "Availability mode: skips DNS, email and SSL checks and returns only domains you can register. Registered domains are left out and cost nothing.",
            "default": false
          },
          "checkDns": {
            "title": "DNS records",
            "type": "boolean",
            "description": "A, AAAA, MX and CAA records, nameservers and the email provider (Google Workspace, Microsoft 365 and 25 more).",
            "default": true
          },
          "checkMailAuth": {
            "title": "Email security (SPF, DMARC, DKIM, MTA-STS, TLS-RPT, BIMI)",
            "type": "boolean",
            "description": "SPF record with its DNS-lookup count (over 10 means SPF fails), DMARC policy, percentage and report address, DKIM keys on common selectors, MTA-STS mode, TLS-RPT and BIMI.",
            "default": true
          },
          "checkSsl": {
            "title": "SSL certificate",
            "type": "boolean",
            "description": "Connects to port 443 and reads the certificate: issuer, valid from and to, days left, whether it covers the host and is trusted. Tries www. when the bare domain has no HTTPS.",
            "default": true
          },
          "dkimSelectors": {
            "title": "DKIM selectors to try",
            "type": "array",
            "description": "DKIM keys can only be found by name. These cover Google Workspace, Microsoft 365, Zoho, Proton and common defaults. Add your own (up to 30).",
            "default": [
              "google",
              "selector1",
              "selector2",
              "default",
              "k1",
              "s1",
              "s2",
              "mail",
              "dkim",
              "zoho",
              "protonmail"
            ],
            "items": {
              "type": "string"
            }
          },
          "expiringWithinDays": {
            "title": "Only domains expiring within (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Return only registered domains whose registration expires within this many days (renewal audits, drop lists). 0 returns all. Domains left out cost nothing.",
            "default": 0
          },
          "monitorChanges": {
            "title": "Only changes since my last run",
            "type": "boolean",
            "description": "Remembers each domain and, on later runs, returns only domains where something changed: status (a domain became available), registrar, expiry, registry status, nameservers, MX, email provider, SPF, DMARC, MTA-STS or certificate. Unchanged domains are not returned and cost nothing. Use with a Schedule.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Keep separate lists apart, for example \"clients\" and \"portfolio\". Runs with the same name compare against each other.",
            "default": ""
          },
          "expiryWarnDays": {
            "title": "Warn when the domain expires within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Adds a line to issues when the registration expires within this many days.",
            "default": 30
          },
          "sslWarnDays": {
            "title": "Warn when the SSL certificate expires within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Adds a line to issues when the certificate expires within this many days.",
            "default": 14
          },
          "maxConcurrency": {
            "title": "Domains checked at once",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Each registry is still asked at most twice at a time, so large lists on one extension don't get rate-limited.",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}