# Virginia SOS Business Search — Entity Lookup by Name

**Use case:** 

Search Virginia State Corporation Commission business records by company name — legal name, entity ID, status, type, formation date, registered agent, and principal office — joined to Virginia UCC lien filings by debtor name when liens are enabled. Virginia is searched only when named and billed at the extended rate on the Pricing tab. One normalized record per match, for KYB and lending.

## Input

```json
{
  "companyName": "CarMax",
  "companyNames": [],
  "states": [
    "VA"
  ],
  "includeLiens": true,
  "matchMode": "contains",
  "maxRecordsPerCompany": 25
}
```

## 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"
  }
}
```

## 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`).
