# Find Attorneys by Practice Area in a US City

**Use case:** 

Search a practice area plus a city and get structured attorney rows: practice areas, firm and role, office address, phones, state, and admission year.

## Input

```json
{
  "mode": "search",
  "keywords": [
    "medical malpractice Philadelphia"
  ],
  "maxResultsPerKeyword": 3
}
```

## Output

```json
{
  "name": {
    "label": "Name",
    "format": "string"
  },
  "areasOfPractice": {
    "label": "Practice areas",
    "format": "array"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "address": {
    "label": "Office address",
    "format": "string"
  },
  "firstAdmissionYear": {
    "label": "First admitted",
    "format": "integer"
  },
  "firm": {
    "label": "Firm and role",
    "format": "string"
  },
  "phones": {
    "label": "Phone numbers",
    "format": "array"
  },
  "profileUrl": {
    "label": "Profile URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Martindale Lawyer Directory API](https://apify.com/johnvc/lawyer-directory-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/lawyer-directory-api) to learn more, explore other use cases, and run it yourself.