{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain Intel: DNS, WHOIS/RDAP, Email Security & Tech Stack",
    "description": "One row per domain: DNS records, hosting/CDN from IP ASN, RDAP registrar and expiry, SPF/DMARC/DKIM/MTA-STS/BIMI score, HTTPS/TLS, security headers grade and 7,600+ tech fingerprints. Open protocols only. Pay only for domains that resolve.",
    "version": "0.1",
    "x-build-id": "bDFKUQD85iOaiItho"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hanielazevedo~domain-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hanielazevedo-domain-intel",
        "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/hanielazevedo~domain-intel/runs": {
      "post": {
        "operationId": "runs-sync-hanielazevedo-domain-intel",
        "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/hanielazevedo~domain-intel/run-sync": {
      "post": {
        "operationId": "run-sync-hanielazevedo-domain-intel",
        "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, URLs or email addresses, one per line. They are normalised (scheme, path, port, www. removed), converted to punycode (IDN) and de-duplicated. Example: apify.com, https://www.github.com/about, info@example.org.",
            "items": {
              "type": "string"
            }
          },
          "keepSubdomains": {
            "title": "Keep subdomains",
            "type": "boolean",
            "description": "Off (default): shop.example.com is analysed as example.com. On: the exact host is analysed.",
            "default": false
          },
          "hostingAsn": {
            "title": "Hosting / CDN (IP to ASN)",
            "type": "boolean",
            "description": "Look up the ASN and network owner of up to 4 IPv4 + 2 IPv6 addresses via the free Team Cymru DNS service, and infer hosting and CDN.",
            "default": true
          },
          "rdap": {
            "title": "Registration (RDAP)",
            "type": "boolean",
            "description": "Registrar, created/updated/expiry dates, days until expiry, EPP status and nameservers from the registry's official RDAP server (IANA bootstrap). Some ccTLDs have no RDAP: they return RDAP_UNSUPPORTED_TLD.",
            "default": true
          },
          "emailSecurity": {
            "title": "Email security",
            "type": "boolean",
            "description": "SPF (with RFC 7208 DNS-lookup count), DMARC, DKIM selector probing, MTA-STS (incl. policy file), TLS-RPT and BIMI, with a 0-100 score, grade and findings.",
            "default": true
          },
          "probeDkim": {
            "title": "Probe common DKIM selectors",
            "type": "boolean",
            "description": "Check about 30 common DKIM selectors (google, selector1, selector2, k1, s1, mandrill, zoho...). DKIM under a custom selector cannot be discovered by anyone without a sample email.",
            "default": true
          },
          "dkimSelectors": {
            "title": "Extra DKIM selectors",
            "type": "array",
            "description": "Optional extra selectors to check for every domain.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "web": {
            "title": "Website, TLS and security headers",
            "type": "boolean",
            "description": "One GET of the homepage (redirects followed manually), HTTPS certificate issuer and expiry, security-headers grade, title, meta description, parked-domain detection.",
            "default": true
          },
          "techStack": {
            "title": "Technology stack",
            "type": "boolean",
            "description": "Detect technologies from the same response, DNS and certificate using 7,600+ open webappanalyzer fingerprints (no headless browser).",
            "default": true
          },
          "contacts": {
            "title": "Social links and contact emails",
            "type": "boolean",
            "description": "Extract social profile links and email addresses published on the homepage.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Domains analysed in parallel.",
            "default": 20
          },
          "maxDomains": {
            "title": "Max domains",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap on how many unique domains to analyse (useful for tests)."
          },
          "dnsResolvers": {
            "title": "DNS resolvers",
            "type": "array",
            "description": "Optional resolver IPs. Default: the platform resolver, falling back to 1.1.1.1, 8.8.8.8, 9.9.9.9.",
            "default": [],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}