{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain Intelligence - DNS, SSL, RDAP, Email Security & Tech",
    "description": "Bulk domain checker: one record per domain with DNS (A, MX, NS, TXT, CAA, SOA), SPF/DMARC/DKIM/MTA-STS/BIMI, SSL expiry, HTTP redirects and HSTS, RDAP registration and availability, optional tech stack. No API keys. From US$2.00 per 1,000 domains.",
    "version": "0.1",
    "x-build-id": "loLesBQPfrsRezgKy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~domain-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-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/fabrikit~domain-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-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/fabrikit~domain-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-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 or URLs",
            "type": "array",
            "description": "Domains to check, one per line: `example.com`, `www.example.com`, or full URLs such as `https://example.com/pricing` (only the host is used). Duplicates are removed. Thousands per run are fine. Invalid entries are skipped and not charged.",
            "items": {
              "type": "string"
            }
          },
          "checkDns": {
            "title": "DNS records",
            "type": "boolean",
            "description": "A, AAAA, MX, NS, TXT, CNAME, CAA and SOA records.",
            "default": true
          },
          "checkEmailSecurity": {
            "title": "Email security",
            "type": "boolean",
            "description": "SPF (parsed, with DNS-lookup count), DMARC policy, DKIM selector probe, MTA-STS, BIMI, mail provider and a list of issues.",
            "default": true
          },
          "checkSsl": {
            "title": "SSL/TLS certificate",
            "type": "boolean",
            "description": "Issuer, validity dates, days to expiry, SANs, protocol, key type, chain and trust problems (expired, self-signed, hostname mismatch).",
            "default": true
          },
          "checkHttp": {
            "title": "HTTP check",
            "type": "boolean",
            "description": "Final URL after redirects, status code, server header, HSTS, security headers and response time.",
            "default": true
          },
          "checkRdap": {
            "title": "Registration (RDAP) and availability",
            "type": "boolean",
            "description": "Registrar, created / updated / expiry dates, status flags, nameservers and DNSSEC from the registry's RDAP service, plus an availability verdict (RDAP 404 = likely available). Registrant and contact details are never collected.",
            "default": true
          },
          "detectTech": {
            "title": "Technology detection (add-on)",
            "type": "boolean",
            "description": "Detect CMS, e-commerce platform, analytics, CDN, framework, hosting and email provider from the homepage, headers and DNS. Billed as the `tech-detection` add-on per domain.",
            "default": false
          },
          "resolvers": {
            "title": "DNS resolvers",
            "type": "array",
            "description": "IP addresses of recursive resolvers to query. Examples: `1.1.1.1` (Cloudflare), `8.8.8.8` (Google), `9.9.9.9` (Quad9).",
            "default": [
              "1.1.1.1",
              "8.8.8.8"
            ],
            "items": {
              "type": "string"
            }
          },
          "dohFallback": {
            "title": "DNS-over-HTTPS fallback",
            "type": "boolean",
            "description": "If a UDP query fails (timeouts, SERVFAIL), retry through Cloudflare and Google DNS-over-HTTPS.",
            "default": true
          },
          "extraDkimSelectors": {
            "title": "Extra DKIM selectors",
            "type": "array",
            "description": "Additional DKIM selectors to probe on top of ~40 common ones (`google`, `selector1`, `k1`, `s1`, `mandrill`, ...). DKIM selectors are secret by design, so a missing selector does not mean DKIM is off.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Domains checked in parallel. 25 is a good default; raise to 50-100 for very large lists on 1 GB+ memory.",
            "default": 25
          },
          "checkTimeoutSecs": {
            "title": "Per-check timeout (seconds)",
            "minimum": 2,
            "maximum": 60,
            "type": "integer",
            "description": "Network timeout for each individual check. A slow or dead domain only loses its own check, never the run.",
            "default": 10
          },
          "maxItems": {
            "title": "Max domains",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many domains.",
            "default": 100000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}