# Maryland Attorney Directory Search by Name

**Use case:** 

Scrape Maryland Courts attorney listings by last name and export IDs, status, admission dates, addresses, and phones.

## Input

```json
{
  "lastNames": [
    "Smith",
    "Johnson",
    "Williams",
    "Brown",
    "Jones"
  ],
  "firstNames": [],
  "similarNames": true,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "SHADER"
    ]
  }
}
```

## Output

```json
{
  "attorneyId": {
    "label": "Attorney ID"
  },
  "lastName": {
    "label": "Last name"
  },
  "firstName": {
    "label": "First name"
  },
  "organizationOrAddress": {
    "label": "Organization/address"
  },
  "phone": {
    "label": "Phone"
  },
  "admittedDate": {
    "label": "Admitted"
  },
  "status": {
    "label": "Status"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "link"
  },
  "searchedLastName": {
    "label": "Searched last"
  },
  "searchedFirstName": {
    "label": "Searched first"
  },
  "similarNames": {
    "label": "Similar names"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [Maryland Attorney Directory Scraper](https://apify.com/automation-lab/maryland-attorney-directory-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/maryland-attorney-directory-scraper) to learn more, explore other use cases, and run it yourself.