{
  "openapi": "3.0.1",
  "info": {
    "title": "Wyoming Business Search Scraper: LLC Lookup & Registered Agent",
    "description": "Wyoming Secretary of State business search for LLCs, corporations and trade names by name or Filing ID, in bulk. Get status, standing, registered agent, addresses, parties and full filing history as JSON, CSV or Excel. Monitor mode returns only new or changed filings.",
    "version": "1.3",
    "x-build-id": "Nh9jFhbmgyDkA4bCo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~wyoming-business-registry-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-wyoming-business-registry-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/getascraper~wyoming-business-registry-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-wyoming-business-registry-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/getascraper~wyoming-business-registry-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-wyoming-business-registry-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",
        "properties": {
          "filingIds": {
            "title": "Filing IDs (bulk lookup)",
            "maxItems": 100,
            "type": "array",
            "description": "Look up many filings at once by exact Filing ID, one per line, e.g. 2016-000712478. When this list or the business names list is filled, the single fields below are ignored.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "filingId": {
            "title": "Filing ID",
            "type": "string",
            "description": "Look up one filing by its exact ID, e.g. 2016-000712478. Used only when both lists are empty.",
            "default": ""
          },
          "filingNames": {
            "title": "Business names (bulk search)",
            "maxItems": 100,
            "type": "array",
            "description": "Search many business names at once, one per line, for example a list of LLC names to check. Each name is searched separately and rows are labeled with the name that found them.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "filingName": {
            "title": "Business name",
            "type": "string",
            "description": "Search for businesses by name. Used only when both lists are empty. Leave blank if you are searching by Filing ID.",
            "default": "wyoming"
          },
          "nameMatch": {
            "title": "Name match",
            "enum": [
              "startsWith",
              "contains"
            ],
            "type": "string",
            "description": "Whether names must start with your text or only contain it anywhere.",
            "default": "startsWith"
          },
          "entityTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "Only include filings of these types, for example LLC for an LLC lookup. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "LLC",
                "CORP",
                "NCORP",
                "LP",
                "TN",
                "ST"
              ],
              "enumTitles": [
                "Limited Liability Company",
                "Corporation",
                "Nonprofit Corporation",
                "Limited Partnership",
                "Trade Name",
                "Statutory Trust"
              ]
            },
            "default": []
          },
          "status": {
            "title": "Status",
            "enum": [
              "",
              "active",
              "inactive"
            ],
            "type": "string",
            "description": "Only include Active or Inactive filings. Leave unset for both.",
            "default": ""
          },
          "filedAfter": {
            "title": "Filed after",
            "type": "string",
            "description": "Only include filings made on or after this date. Leave empty for no limit.",
            "default": ""
          },
          "filedBefore": {
            "title": "Filed before",
            "type": "string",
            "description": "Only include filings made on or before this date. Leave empty for no limit.",
            "default": ""
          },
          "registeredAgentContains": {
            "title": "Registered agent contains",
            "type": "string",
            "description": "Only keep filings whose registered agent name contains this text. The state site cannot search by agent, so each candidate filing is opened and checked, which is slower. You are charged only for the matches.",
            "default": ""
          },
          "maxFilingsToScan": {
            "title": "Max filings to check",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Safety limit for the registered agent filter: how many candidate filings to open before stopping.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include registered agent, addresses & more",
            "type": "boolean",
            "description": "Open each filing's page for registered agent, principal and mailing address, term, sub status, inactive date, formation state, annual report info and parties. Slower, one extra page per result. Off by default.",
            "default": false
          },
          "includeFilingHistory": {
            "title": "Include filing history",
            "type": "boolean",
            "description": "Add the full filing history of each entity: annual reports, address and agent updates, name changes and dissolutions, with before and after values. Opens each filing's page.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of filings to return in total.",
            "default": 20
          },
          "maxItemsPerSearch": {
            "title": "Max items per search",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Optional cap for each name or ID in a bulk search, so one broad name does not use the whole limit. Zero means no per-search cap.",
            "default": 0
          },
          "onlyNewOrChanged": {
            "title": "Incremental monitor mode",
            "type": "boolean",
            "description": "Only return filings that are new or have changed since the last run with the same state name. Useful for scheduled runs that should report fresh activity only.",
            "default": false
          },
          "stateName": {
            "title": "Monitor state name",
            "type": "string",
            "description": "Name of this watchlist's memory, used only when incremental monitor mode is on. Use different names to track separate watchlists.",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "The state site needs a real browser session. The default Apify proxy works for most runs; the Actor switches to a residential pool by itself only if the first attempts fail.",
            "default": {
              "useApifyProxy": true
            }
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Pause between page loads to stay polite to the state site.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}