# Search Hayward Business Licenses by Name

**Use case:** 

Look up a business's municipal license in Hayward, CA (HdL Companies portal) by business name -- account #, issue/expiration dates, and address.

## Input

```json
{
  "citySubdomain": "hayward",
  "query": "Nail",
  "searchType": "Business Name",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "account_number": {
    "label": "Account #",
    "format": "string"
  },
  "business_name": {
    "label": "Business name",
    "format": "string"
  },
  "jurisdiction": {
    "label": "Jurisdiction",
    "format": "string"
  },
  "issue_date": {
    "label": "Issue date",
    "format": "string"
  },
  "expiration_date": {
    "label": "Expiration date",
    "format": "string"
  },
  "address": {
    "label": "Address",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "zip_code": {
    "label": "ZIP",
    "format": "string"
  },
  "matched_by": {
    "label": "Matched by",
    "format": "string"
  },
  "source_url": {
    "label": "Source URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [HdL Municipal Business License Lookup](https://apify.com/fried_calamaries/hdl-municipal-business-license-aggregator) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fried_calamaries/hdl-municipal-business-license-aggregator) to learn more, explore other use cases, and run it yourself.