{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain & Subdomain Finder — Search & Availability",
    "description": "Find observed domains and subdomains by domain suffix or keyword. Deduplicate hostnames, inspect source dates, export CSV/JSON and optionally check HTTP redirects. Coverage and source failures are explicit.",
    "version": "0.2",
    "x-build-id": "3JyqIxzzA4qBUchaO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~domain-subdomain-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-domain-subdomain-finder",
        "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/apivault_labs~domain-subdomain-finder/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-domain-subdomain-finder",
        "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/apivault_labs~domain-subdomain-finder/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-domain-subdomain-finder",
        "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": {
          "query": {
            "title": "Domain or part of a domain",
            "type": "string",
            "description": "Domain mode: example.com or a URL. Contains mode: at least 3 ASCII domain characters.",
            "default": "shopify.com"
          },
          "mode": {
            "title": "Search mode",
            "enum": [
              "auto",
              "domain",
              "contains"
            ],
            "type": "string",
            "description": "Automatic mode chooses contains for a word and domain for dotted names or URLs.",
            "default": "auto"
          },
          "maxItems": {
            "title": "Maximum unique hostnames",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum unique matching hostnames delivered to the dataset.",
            "default": 20
          },
          "offset": {
            "title": "Skip matching hostnames",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Skip this many sorted matching hostnames; prefer EXPORT_CONTINUATION for the next page.",
            "default": 0
          },
          "useIndex": {
            "title": "Search our domain index",
            "type": "boolean",
            "description": "Query the fixed owned CT-domain snapshot. Its primarily registrable-domain coverage is stated in SUMMARY.",
            "default": true
          },
          "searchCertificates": {
            "title": "Search certificate hostnames (domain mode)",
            "type": "boolean",
            "description": "crt.sh can be slow or unavailable. Wildcard patterns are reported in SUMMARY, not invented as individual hosts.",
            "default": true
          },
          "includeRootDomain": {
            "title": "Include the queried domain itself",
            "type": "boolean",
            "description": "In domain mode, include the query hostname itself if observed.",
            "default": true
          },
          "verifyHttp": {
            "title": "Check HTTP availability and redirects",
            "type": "boolean",
            "description": "Checks only returned rows, up to 4 concurrent public HTTP requests. Adds time; a historical name may no longer work.",
            "default": false
          },
          "certificateTimeoutSecs": {
            "title": "Certificate search timeout",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Maximum wall-clock seconds for a crt.sh search. Source timeouts are explicit partial/failure diagnostics.",
            "default": 25
          },
          "expectedResultFingerprint": {
            "title": "Continuation result fingerprint",
            "type": "string",
            "description": "Optional value supplied by EXPORT_CONTINUATION; rejects changed collected result windows.",
            "default": ""
          },
          "searchCommonCrawl": {
            "title": "Search Common Crawl (domain mode)",
            "type": "boolean",
            "description": "Find archived hostnames independently of certificates; one archive index page by default. Historical observation, not current availability.",
            "default": true
          },
          "commonCrawlCollection": {
            "title": "Common Crawl collection",
            "pattern": "^CC-MAIN-[0-9]{4}-[0-9]{2}$",
            "type": "string",
            "description": "Fixed monthly archive collection. Only this collection is searched; use COMMON_CRAWL_CONTINUATION for more archive pages.",
            "default": "CC-MAIN-2026-43"
          },
          "commonCrawlPage": {
            "title": "Common Crawl starting archive page",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Archive index page, separate from result offset. Different archive batches may repeat hostnames.",
            "default": 0
          },
          "commonCrawlMaxPages": {
            "title": "Maximum Common Crawl archive pages",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Read 1 to 5 index blocks. Automatic access: up to20 seconds for the API, then up to50 seconds for direct recovery. Completed blocks are preserved.",
            "default": 1
          },
          "archiveSeenHostnames": {
            "title": "Previously delivered archive hostnames",
            "maxItems": 10000,
            "uniqueItems": true,
            "type": "array",
            "description": "Managed by COMMON_CRAWL_CONTINUATION for archive-only domain searches. Keep this list when continuing; remembered names are excluded before delivery or billing. At 10000 remembered names continuation stops explicitly rather than forgetting names.",
            "items": {
              "type": "string",
              "minLength": 3,
              "maxLength": 253
            },
            "default": []
          },
          "commonCrawlAccess": {
            "title": "Archive access",
            "enum": [
              "auto",
              "api",
              "direct"
            ],
            "type": "string",
            "description": "Automatic mode recovers API network/5xx failures by reading bounded ranges from the same official archive index. No fallback on HTTP429. After a direct read, continuations keep direct access; collection and source coverage stay the same.",
            "default": "auto"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}