{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain & Email Infrastructure Analyzer",
    "description": "Bulk DNS, SPF, direct DMARC, supplied DKIM, RDAP and TLS evidence.",
    "version": "0.1",
    "x-build-id": "Ml4DdfZKvB5kgxYBj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vincesoft~domain-analyzer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vincesoft-domain-analyzer",
        "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/vincesoft~domain-analyzer/runs": {
      "post": {
        "operationId": "runs-sync-vincesoft-domain-analyzer",
        "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/vincesoft~domain-analyzer/run-sync": {
      "post": {
        "operationId": "run-sync-vincesoft-domain-analyzer",
        "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",
        "properties": {
          "records": {
            "title": "Inline records",
            "type": "array",
            "description": "Small inline batch; choose exactly one input source."
          },
          "datasetId": {
            "title": "Apify Dataset ID",
            "type": "string",
            "description": "Customer-accessible Dataset; read in pages of 500."
          },
          "keyValueStoreId": {
            "title": "File storage ID",
            "type": "string",
            "description": "Apify KVS containing the uploaded file; uses APIFY_TOKEN if set."
          },
          "fileKey": {
            "title": "File key",
            "type": "string",
            "description": "Record key in the specified KVS.",
            "default": "INPUT_FILE"
          },
          "fileUrl": {
            "title": "Public HTTPS file URL",
            "type": "string",
            "description": "Only public HTTPS port 443; pinned IPs; no compressed responses."
          },
          "format": {
            "title": "File format",
            "enum": [
              "csv",
              "tsv",
              "json",
              "jsonl",
              "xml"
            ],
            "type": "string",
            "description": "If omitted infer from file extension, otherwise JSONL."
          },
          "encoding": {
            "title": "File encoding",
            "enum": [
              "utf-8-sig",
              "utf-16",
              "latin-1"
            ],
            "type": "string",
            "description": "UTF8 BOM automatically accepted; other encodings must be explicit.",
            "default": "utf-8-sig"
          },
          "delimiter": {
            "title": "CSV delimiter",
            "type": "string",
            "description": "Exactly one character; CSV defaults comma, TSV tab."
          },
          "headers": {
            "title": "Header override",
            "type": "array",
            "description": "Explicit ordered fields for headerless CSV/TSV input.",
            "items": {
              "type": "string"
            }
          },
          "maxRecords": {
            "title": "Record limit",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Exceeding limit fails explicitly with partial outputs retained.",
            "default": 10000
          },
          "maxFileBytes": {
            "title": "Input byte limit",
            "minimum": 1,
            "maximum": 100000000,
            "type": "integer",
            "description": "Uncompressed bounded files; archive/XLSX rejected.",
            "default": 25000000
          },
          "strict": {
            "title": "Stop on invalid row",
            "type": "boolean",
            "description": "Stop after first invalid output; source-level errors always fail.",
            "default": false
          },
          "timeoutSeconds": {
            "title": "Network timeout",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Per DNS query or network socket timeout; bounded download deadline.",
            "default": 5
          },
          "retries": {
            "title": "Retry limit",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Only bounded read operations retry; never retry a Dataset write in engine.",
            "default": 1
          },
          "outputFormat": {
            "title": "Cleaned export format",
            "enum": [
              "jsonl",
              "csv"
            ],
            "type": "string",
            "description": "JSONL or formula-escaped CSV; only valid survivors exported.",
            "default": "jsonl"
          },
          "outputFields": {
            "title": "CSV output fields",
            "type": "array",
            "description": "Required ordered fields when outputFormat is csv.",
            "items": {
              "type": "string"
            }
          },
          "domain": {
            "title": "Single domain",
            "type": "string",
            "description": "Domain or http(s) URL; IDNs converted to punycode."
          },
          "domains": {
            "title": "Domains",
            "type": "array",
            "description": "Bulk domain strings; alternative to records with domain fields.",
            "items": {
              "type": "string"
            }
          },
          "concurrency": {
            "title": "Workers",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "At most16 DNS requests in flight; records queried sequentially per worker.",
            "default": 4
          },
          "rdap": {
            "title": "RDAP metadata",
            "type": "boolean",
            "description": "Off by default; IANA bootstrap, at most1 request start/second; no contact data export.",
            "default": false
          },
          "tls": {
            "title": "TLS inspection",
            "type": "boolean",
            "description": "Off by default; public IP pinned socket, hostname verification.",
            "default": false
          },
          "dkimSelectors": {
            "title": "Known DKIM selectors",
            "type": "array",
            "description": "Only supplied selectors, max10; no guessing.",
            "items": {
              "type": "string"
            }
          },
          "dnsResolvers": {
            "title": "Public resolver IPs",
            "type": "array",
            "description": "Optional public IPv4/IPv6 DNS servers, max3.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}