# Massachusetts Business Search — Corporations Lookup by Name

**Use case:** 

Search the Massachusetts corporations register by company name and get one normalized record per match — legal name, entity ID, entity type, registered agent, and principal office address. Massachusetts is searched only when named and billed at the extended rate on the Pricing tab. Built for KYB, vendor onboarding, and agents that need a fast, structured lookup.

## Input

```json
{
  "companyName": "New Balance Athletics",
  "companyNames": [],
  "states": [
    "MA"
  ],
  "includeLiens": true,
  "matchMode": "contains",
  "maxRecordsPerCompany": 10,
  "reportType": "standard",
  "searchBy": "company",
  "entityStatus": "any",
  "entityTypes": [],
  "maxResults": 100
}
```

## Output

```json
{
  "query": {
    "label": "Query",
    "format": "string"
  },
  "input_index": {
    "label": "Input index",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "legal_name": {
    "label": "Legal name",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "entity_status": {
    "label": "Entity status",
    "format": "string"
  },
  "lien_coverage": {
    "label": "Lien coverage",
    "format": "string"
  },
  "ucc_summary": {
    "label": "UCC summary",
    "format": "object"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Secretary of State Business Entity Search + UCC Liens — KYB Actor is ready to run with the inputs already set for "Massachusetts Business Search — Corporations Lookup by Name". [Sign up or log in](https://console.apify.com/create-task-from-example/1DIOwZ7JuDf3uUBbK) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Massachusetts Business Search — Corporations Lookup by Name" task

The Secretary of State Business Entity Search + UCC Liens — KYB Actor will start running based on the input automatically. You can also change all the input fields, like company name, company names (batch), and more, to match your specific use case.

### 3. Receive the "Massachusetts Business Search — Corporations Lookup by Name" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as query, input index, status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Massachusetts Business Search — Corporations Lookup by Name" task via API](https://apify.com/shelvick/business-entity-lien-search.md).

## About this Actor

This example demonstrates how to use [Secretary of State Business Entity Search + UCC Liens — KYB](https://apify.com/shelvick/business-entity-lien-search.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/shelvick/business-entity-lien-search.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/shelvick/business-entity-lien-search.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
