{
  "openapi": "3.0.1",
  "info": {
    "title": "Wisconsin DFI Business Entity Search Scraper",
    "description": "Search Wisconsin's official Corporate Records registry (apps.dfi.wi.gov). Look up businesses by name or advanced filters (org type, status, name history, date range) and get entity type, status, registered agent, addresses, and filing history.",
    "version": "1.0",
    "x-build-id": "gq22907YcdMv0YA64"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~wisconsin-dfi-business-entity-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-wisconsin-dfi-business-entity-search-scraper",
        "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/crawlerbros~wisconsin-dfi-business-entity-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-wisconsin-dfi-business-entity-search-scraper",
        "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/crawlerbros~wisconsin-dfi-business-entity-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-wisconsin-dfi-business-entity-search-scraper",
        "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": [
          "mode",
          "searchQuery"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "advancedSearch"
            ],
            "type": "string",
            "description": "Which search to run.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Business name / search text",
            "type": "string",
            "description": "Text to search for. Quick search matches names containing this text; Advanced search additionally honors the 'Text match type' option below.",
            "default": "GOOGLE"
          },
          "textSearchType": {
            "title": "Text match type (mode=advancedSearch)",
            "enum": [
              "ExactPhrase",
              "AllWords",
              "StartsWith"
            ],
            "type": "string",
            "description": "How the search text is matched against entity names. Only applies to Advanced search.",
            "default": "ExactPhrase"
          },
          "orgTypes": {
            "title": "Organization types (mode=advancedSearch)",
            "type": "array",
            "description": "Restrict results to one or more entity/organization types. Leave empty for all types. Only applies to Advanced search.",
            "items": {
              "type": "string",
              "enum": [
                "01",
                "02",
                "03",
                "04",
                "05",
                "06",
                "07",
                "08",
                "09",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "20",
                "24",
                "25",
                "90",
                "96",
                "97",
                "98",
                "99"
              ],
              "enumTitles": [
                "01 - Domestic Business Corporation",
                "02 - Foreign Business Corporation",
                "03 - Membership Cooperative",
                "04 - Stock Cooperative",
                "05 - Service Corporation",
                "06 - Non-Stock Corporation",
                "07 - Domestic Limited Partnership",
                "08 - Foreign Limited Partnership",
                "09 - Domestic Close Corporation",
                "10 - Service Close Corporation",
                "11 - Miscellaneous",
                "12 - Domestic Limited Liability Company",
                "13 - Foreign LLC",
                "14 - Domestic Limited Liability Partnership",
                "15 - Foreign Limited Liability Partnership",
                "16 - Foreign Non-Stock Corporation",
                "17 - Domestic General Partnership",
                "18 - Foreign General Partnership",
                "20 - Common Law Trust",
                "24 - Domestic Limited Liability Partnership - Exempt",
                "25 - Foreign Limited Liability Partnership - Exempt",
                "90 - Foreign Registered Name",
                "96 - Short Term Name Reservation (96)",
                "97 - In Process",
                "98 - Long Term Name Reservation/Registration",
                "99 - Short Term Name Reservation (99)"
              ]
            },
            "default": []
          },
          "includeActiveEntities": {
            "title": "Active / inactive filter (mode=advancedSearch)",
            "enum": [
              "Include",
              "Only",
              "Exclude"
            ],
            "type": "string",
            "description": "Restrict by whether the entity is currently in existence. Only applies to Advanced search.",
            "default": "Include"
          },
          "includeOldNames": {
            "title": "Name history filter (mode=advancedSearch)",
            "enum": [
              "Exclude",
              "Include",
              "Only"
            ],
            "type": "string",
            "description": "Whether to also match against an entity's former/old names. Only applies to Advanced search.",
            "default": "Exclude"
          },
          "incorporationDateStart": {
            "title": "Registration date from (mode=advancedSearch)",
            "type": "string",
            "description": "Only include entities registered on/after this date. Format MM/DD/YYYY, e.g. 01/01/2020."
          },
          "incorporationDateEnd": {
            "title": "Registration date to (mode=advancedSearch)",
            "type": "string",
            "description": "Only include entities registered on/before this date. Format MM/DD/YYYY, e.g. 12/31/2020."
          },
          "fetchDetails": {
            "title": "Fetch full entity detail",
            "type": "boolean",
            "description": "Follow each search result to its detail page for registered agent, addresses, annual reports, and filing chronology. Slower but much richer records. Turn off for a fast name-only pass.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Uses Apify's free datacenter (AUTO) proxy group as a defensive fallback. Residential proxy is never used by this actor.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records. The source itself returns at most 500 rows for any single search (its own server-side limit) — narrow your search/filters for more precise results.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}