# FindLaw Lawyer Scraper (`solidcode/findlaw-scraper`) Actor

\[💰 $2.00 / 1K] Extract US lawyer and law firm profiles from FindLaw. Search by state and practice area, profile URL, or free-text query. Get names, firms, contact info, practice areas, experience, credentials, and ratings — with reviews optional. One row per profile.

- **URL**: https://apify.com/solidcode/findlaw-scraper.md
- **Developed by:** [SolidCode](https://apify.com/solidcode) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## FindLaw Lawyer Scraper

Pull US attorney and law-firm profiles from the FindLaw legal directory at scale — names, firms, addresses, phones, websites, practice areas, credentials, and client reviews with sentiment. Built for legal marketers, legal-services lead-gen teams, legal recruiters, and competitive-research analysts who need structured lawyer and firm data — with credentials and client sentiment — without copying it out of the directory by hand.

### Why This Scraper?

- **50 US states plus DC, across 18 practice areas** — sweep family law, criminal defense, personal injury, bankruptcy, immigration, estate planning, DUI & DWI, and 11 more, in any state you choose or all of them at once.
- **Attorneys and law firms in one pass** — every row is tagged `profileType` (attorney vs firm), and firm profiles expand into their individual attorney rosters so you capture the whole practice, not just the letterhead.
- **Full credentials on every profile** — bar admissions with year, law-school education, year first licensed, professional associations, and awards, read straight from each profile's structured data.
- **Client reviews with sentiment themes** — opt in to pull up to 100 reviews per profile inline: reviewer name, star rating, date, full review text, and FindLaw's sentiment themes (e.g. "Responsive", "Knowledgeable").
- **Free-consultation flag and languages spoken** — build lists of attorneys who offer a free consult or speak a specific language, both captured per profile.
- **Clean contact block per firm** — firm name, full street address (city, state, ZIP), phone, and the firm's own website, with directory and social links filtered out so `website` is the real site.
- **Free-text search built in** — resolve queries like "personal injury attorney, Miami FL" directly into results, or paste specific FindLaw profile URLs — no hand-built directory links required.
- **Ratings and review summaries on every row** — each profile carries its rating, review count, and average stars even when you skip the full review text.
- **One clean row per profile** — reviews nest inside the profile row, so your dataset stays one row per lawyer and you never pay per review.

### Use Cases

**Legal Lead Generation**
- Build targeted attorney and firm contact lists (name, firm, phone, website) by state and practice area
- Isolate attorneys who advertise a free initial consultation
- Assemble outreach lists for legal-service vendors, expert networks, and B2B suppliers
- Gauge firm size from the attorney roster attached to each firm profile

**Legal Recruiting**
- Source attorneys by practice area, years of experience, and bar admissions
- Find candidates licensed in a specific state or admitted to a specific bar
- Filter by law school or languages spoken for niche or bilingual roles
- Track prominent attorneys and their current firm affiliations

**Market & Competitive Research**
- Map firm density by practice area across all 50 states + DC
- Benchmark competitor firms on ratings, review counts, and average stars
- Mine client-review sentiment themes to spot service strengths and gaps
- See how firms position their awards and professional associations

**Directory & CRM Enrichment**
- Enrich existing attorney records with credentials, languages, and contact details
- Verify and refresh firm addresses, phones, and websites
- Append review summaries and sentiment themes to your legal database
- Sync de-duplicated profile rows straight into your CRM

### Getting Started

#### Browse by State and Practice Area

The simplest way to start — pick a state and a practice area:

```json
{
    "states": ["TX"],
    "practiceAreas": ["family-law"],
    "maxResults": 50
}
````

#### Scrape Specific Profiles by URL

```json
{
    "profileUrls": [
        "https://lawyers.findlaw.com/profile/view/1234567_1"
    ]
}
```

#### Free-Text Search

```json
{
    "searchQueries": ["divorce lawyers, Austin TX", "personal injury attorney, Miami FL"],
    "maxResults": 100
}
```

#### Multi-State Sweep with Client Reviews

```json
{
    "states": ["CA", "NY"],
    "practiceAreas": ["personal-injury", "criminal-defense"],
    "maxResults": 500,
    "includeReviews": true,
    "maxReviewsPerProfile": 25
}
```

### Input Reference

#### What to Scrape

Use any combination — empty fields are ignored, and at least one input must yield work.

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `profileUrls` | array | `[]` | FindLaw lawyer or law-firm profile URLs, one per line. Each URL produces one profile row. |
| `states` | array | `[]` (all) | US states to cover, chosen by full name (Alabama through Wyoming, plus District of Columbia). Leave empty to cover all 50 states + DC. |
| `practiceAreas` | array | `[]` (all) | Practice areas to filter by: Personal Injury, Criminal Defense, Divorce & Separation, Family Law, Bankruptcy & Debt, Employment & Labor, Estate Planning & Probate, Business & Commercial, Real Estate, Immigration, DUI & DWI, Intellectual Property, Tax, Medical Malpractice, Workers' Compensation, Social Security & Disability, Consumer Protection, and Civil Rights. Empty covers all of them. |
| `searchQueries` | array | `[]` | Free-text queries like "divorce lawyers, Austin TX". Use when you don't have URLs or exact state + practice-area combos in hand. |

#### Limits & Reviews

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `maxResults` | integer | `100` | Maximum number of profile rows to return. Set to 0 (or leave empty) for no cap. |
| `includeReviews` | boolean | `false` | Include each profile's client reviews inline as a nested array. Off by default; the review summary (count + average rating) is always returned regardless. |
| `maxReviewsPerProfile` | integer | `10` | Cap on reviews captured per profile (0 = unlimited, otherwise 1–100). Only applies when Include client reviews is on. |

### Output

One row per profile (attorney or firm). Here's a representative attorney result with client reviews enabled:

```json
{
    "profileType": "attorney",
    "name": "Jane A. Martinez",
    "firmName": "Martinez & Reed Family Law",
    "addressLine1": "820 Congress Ave, Suite 1400",
    "city": "Austin",
    "state": "TX",
    "zipcode": "78701",
    "phone": "5125550142",
    "website": "https://martinezreedlaw.com",
    "primaryPracticeArea": "Family Law",
    "practiceAreas": ["Family Law", "Divorce", "Child Custody"],
    "languages": ["English", "Spanish"],
    "yearsOfExperience": 18,
    "licensedSince": "2006",
    "education": ["University of Texas School of Law, J.D."],
    "barAdmissions": ["Texas, 2006", "U.S. District Court, Western District of Texas, 2008"],
    "awards": ["Super Lawyers Rising Star, 2012"],
    "associations": ["State Bar of Texas", "Travis County Bar Association"],
    "freeConsultation": true,
    "rating": 4.8,
    "reviewCount": 27,
    "averageReviewRating": 4.8,
    "description": "Jane Martinez focuses on high-conflict divorce and child custody matters across Central Texas...",
    "reviews": [
        {
            "reviewerName": "Michael Reyes",
            "rating": 5.0,
            "date": "2025-11-03T00:00:00Z",
            "text": "Jane guided me through a difficult custody case with patience and skill.",
            "themes": ["Responsive", "Knowledgeable"]
        }
    ],
    "profileUrl": "https://lawyers.findlaw.com/profile/view/1234567_1"
}
```

#### Core Profile

| Field | Type | Description |
|-------|------|-------------|
| `profileType` | string | `"attorney"` or `"firm"` |
| `name` | string | Attorney or firm name |
| `firmName` | string | Firm the attorney works for (equals `name` for firm profiles) |
| `primaryPracticeArea` | string | Main practice area |
| `practiceAreas` | array | All listed practice areas |
| `description` | string | Profile bio / summary |
| `profileUrl` | string | FindLaw profile URL |

#### Contact & Address

| Field | Type | Description |
|-------|------|-------------|
| `addressLine1` | string | Street address |
| `city` | string | City |
| `state` | string | Two-letter state code |
| `zipcode` | string | ZIP code |
| `phone` | string | Phone number |
| `website` | string | Firm's own website (directory and social links excluded) |

#### Credentials & Experience

| Field | Type | Description |
|-------|------|-------------|
| `languages` | array | Languages spoken |
| `yearsOfExperience` | number | Years in practice |
| `licensedSince` | string | Year first licensed |
| `education` | array | Law school and degrees |
| `barAdmissions` | array | Bar admissions, each with year where available |
| `awards` | array | Awards and honors |
| `associations` | array | Professional associations |
| `freeConsultation` | boolean | Whether a free consultation is offered |

#### Ratings & Reviews

| Field | Type | Description |
|-------|------|-------------|
| `rating` | number | FindLaw / peer rating |
| `reviewCount` | number | Number of client reviews |
| `averageReviewRating` | number | Average client review stars |
| `reviews` | array | Client reviews — present only when Include client reviews is on |

Each object inside `reviews`:

| Field | Type | Description |
|-------|------|-------------|
| `reviewerName` | string | Reviewer's display name (or "Anonymous") |
| `rating` | number | Star rating for this review |
| `date` | string | Review date (ISO 8601) |
| `text` | string | Full review text |
| `themes` | array | Sentiment themes tagged on the review |

### Tips for Best Results

- **Sample before you sweep** — set `maxResults` to 25–50 on your first run to confirm the data fits your needs, then scale up.
- **Narrow both filters for niche targeting** — every selected state × practice-area combination is swept in turn, so a tight selection (one state, one area) returns your sample faster than an all-states sweep.
- **Keep reviews off for pure contact data** — the review summary (`reviewCount` + `averageReviewRating`) is always included, so leave `includeReviews` off unless you need the actual review text, which adds run time.
- **`maxReviewsPerProfile` only bites when reviews are on** — set it to 0 to pull every review a profile has, or a number 1–100 to cap high-volume firms (some prominent firms carry 70+ reviews).
- **Use free-text search for city-level aim** — a query like "estate planning attorney, Scottsdale AZ" targets a single city when a state-wide sweep would be too broad.
- **Paste URLs for exact shortlists** — profiles listed in `profileUrls` are fetched exactly as given, with no roster or directory expansion, so you get precisely those profiles and nothing extra.
- **Filter downstream on `freeConsultation` and `languages`** — both populate per profile, making them powerful post-run filters for highly targeted outreach.

### Pricing

**From $2.00 per 1,000 results** — flat, predictable pay-per-result pricing for structured attorney and firm data. Bronze, Silver, and Gold subscribers pay progressively less; the table below shows total cost at each discount tier.

| Results | No discount | Bronze | Silver | Gold |
|---------|-------------|--------|--------|------|
| 100 | $0.24 | $0.23 | $0.21 | $0.20 |
| 1,000 | $2.40 | $2.25 | $2.10 | $2.00 |
| 10,000 | $24.00 | $22.50 | $21.00 | $20.00 |
| 100,000 | $240.00 | $225.00 | $210.00 | $200.00 |

A "result" is one profile row in the output dataset — client reviews are nested inside that row, so there is no per-review charge. **No compute or time-based charges — you pay per result, plus a small fixed per-run start fee.**

### Integrations

Export data in JSON, CSV, Excel, XML, or RSS. Connect to 1,500+ apps via:

- **Zapier** / **Make** / **n8n** — Workflow automation
- **Google Sheets** — Direct spreadsheet export
- **Slack** / **Email** — Notifications on new results
- **Webhooks** — Trigger custom APIs on run completion
- **Apify API** — Full programmatic access

### Legal & Ethical Use

This actor is designed for legitimate legal-industry research, market analysis, recruiting, and lead generation. You are responsible for complying with applicable laws and FindLaw's Terms of Service. Do not use extracted data for spam, harassment, or any unlawful purpose, and handle attorney and reviewer information responsibly and in line with applicable privacy regulations.

# Actor input Schema

## `profileUrls` (type: `array`):

FindLaw lawyer or law firm profile URLs (e.g. https://lawyers.findlaw.com/profile/view/1234567\_1). Paste one URL per line. Each URL produces one profile row.

## `states` (type: `array`):

Two-letter US state codes (e.g. CA, NY, TX). Leave empty to cover all 50 states + DC. Combined with the practice-area selection below to discover profiles via FindLaw directory pages.

## `practiceAreas` (type: `array`):

Practice areas to filter by. Leave empty to cover all common areas (broad sweep). Combined with the states selection above.

## `searchQueries` (type: `array`):

Free-text queries like 'divorce lawyers, Austin TX' or 'personal injury attorney, Miami FL'. Each query is resolved against the FindLaw directory search. Use this when you don't have URLs or precise state + practice-area combos in hand.

## `maxResults` (type: `integer`):

Cap on the total number of profile rows returned. Set to 0 (or leave empty) for no cap (internally limited to 50,000 rows). The actor stops requesting new directory pages once the cap is reached but keeps the full last page if it slightly overshoots. When multiple states and practice areas are selected, the actor sweeps every combination — narrow the selection if you only need a sample.

## `includeReviews` (type: `boolean`):

When ON, fetch client reviews for each profile and include them as a nested array on the profile row. When OFF, only the review summary (count + average rating) is returned. Turning this ON significantly increases run time and cost.

## `maxReviewsPerProfile` (type: `integer`):

Cap on the number of reviews captured per profile. Set to 0 to capture all available reviews (up to a safety ceiling of about 120 per profile); otherwise 1-100. Only applies when 'Include client reviews' is ON. Default 10.

## Actor input object example

```json
{
  "profileUrls": [],
  "states": [
    "TX"
  ],
  "practiceAreas": [
    "personal-injury"
  ],
  "searchQueries": [],
  "maxResults": 30,
  "maxReviewsPerProfile": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

Compact table of profiles: name, type, location, primary practice area, rating, and review count.

## `detail` (type: `string`):

Full profile rows including address, contact, credentials, experience, awards, languages, and fee info.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "profileUrls": [],
    "states": [
        "TX"
    ],
    "practiceAreas": [
        "personal-injury"
    ],
    "searchQueries": [],
    "maxResults": 30,
    "includeReviews": false,
    "maxReviewsPerProfile": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidcode/findlaw-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "profileUrls": [],
    "states": ["TX"],
    "practiceAreas": ["personal-injury"],
    "searchQueries": [],
    "maxResults": 30,
    "includeReviews": False,
    "maxReviewsPerProfile": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("solidcode/findlaw-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "profileUrls": [],
  "states": [
    "TX"
  ],
  "practiceAreas": [
    "personal-injury"
  ],
  "searchQueries": [],
  "maxResults": 30,
  "includeReviews": false,
  "maxReviewsPerProfile": 10
}' |
apify call solidcode/findlaw-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=solidcode/findlaw-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "FindLaw Lawyer Scraper",
        "description": "[💰 $2.00 / 1K] Extract US lawyer and law firm profiles from FindLaw. Search by state and practice area, profile URL, or free-text query. Get names, firms, contact info, practice areas, experience, credentials, and ratings — with reviews optional. One row per profile.",
        "version": "1.0",
        "x-build-id": "byW63McCBOmVuHhgr"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/solidcode~findlaw-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-solidcode-findlaw-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/solidcode~findlaw-scraper/runs": {
            "post": {
                "operationId": "runs-sync-solidcode-findlaw-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/solidcode~findlaw-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-solidcode-findlaw-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "profileUrls": {
                        "title": "Profile URLs",
                        "type": "array",
                        "description": "FindLaw lawyer or law firm profile URLs (e.g. https://lawyers.findlaw.com/profile/view/1234567_1). Paste one URL per line. Each URL produces one profile row.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "states": {
                        "title": "US states",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Two-letter US state codes (e.g. CA, NY, TX). Leave empty to cover all 50 states + DC. Combined with the practice-area selection below to discover profiles via FindLaw directory pages.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "AL",
                                "AK",
                                "AZ",
                                "AR",
                                "CA",
                                "CO",
                                "CT",
                                "DE",
                                "DC",
                                "FL",
                                "GA",
                                "HI",
                                "ID",
                                "IL",
                                "IN",
                                "IA",
                                "KS",
                                "KY",
                                "LA",
                                "ME",
                                "MD",
                                "MA",
                                "MI",
                                "MN",
                                "MS",
                                "MO",
                                "MT",
                                "NE",
                                "NV",
                                "NH",
                                "NJ",
                                "NM",
                                "NY",
                                "NC",
                                "ND",
                                "OH",
                                "OK",
                                "OR",
                                "PA",
                                "RI",
                                "SC",
                                "SD",
                                "TN",
                                "TX",
                                "UT",
                                "VT",
                                "VA",
                                "WA",
                                "WV",
                                "WI",
                                "WY"
                            ],
                            "enumTitles": [
                                "Alabama",
                                "Alaska",
                                "Arizona",
                                "Arkansas",
                                "California",
                                "Colorado",
                                "Connecticut",
                                "Delaware",
                                "District of Columbia",
                                "Florida",
                                "Georgia",
                                "Hawaii",
                                "Idaho",
                                "Illinois",
                                "Indiana",
                                "Iowa",
                                "Kansas",
                                "Kentucky",
                                "Louisiana",
                                "Maine",
                                "Maryland",
                                "Massachusetts",
                                "Michigan",
                                "Minnesota",
                                "Mississippi",
                                "Missouri",
                                "Montana",
                                "Nebraska",
                                "Nevada",
                                "New Hampshire",
                                "New Jersey",
                                "New Mexico",
                                "New York",
                                "North Carolina",
                                "North Dakota",
                                "Ohio",
                                "Oklahoma",
                                "Oregon",
                                "Pennsylvania",
                                "Rhode Island",
                                "South Carolina",
                                "South Dakota",
                                "Tennessee",
                                "Texas",
                                "Utah",
                                "Vermont",
                                "Virginia",
                                "Washington",
                                "West Virginia",
                                "Wisconsin",
                                "Wyoming"
                            ]
                        }
                    },
                    "practiceAreas": {
                        "title": "Practice areas",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Practice areas to filter by. Leave empty to cover all common areas (broad sweep). Combined with the states selection above.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "personal-injury",
                                "criminal-defense",
                                "divorce-separation",
                                "family-law",
                                "bankruptcy-debt",
                                "employment-labor",
                                "estate-planning",
                                "business-law",
                                "real-estate",
                                "immigration",
                                "dui-dwi",
                                "intellectual-property",
                                "tax-law",
                                "medical-malpractice",
                                "workers-compensation",
                                "social-security-disability",
                                "consumer-protection",
                                "civil-rights"
                            ],
                            "enumTitles": [
                                "Personal Injury",
                                "Criminal Defense",
                                "Divorce & Separation",
                                "Family Law",
                                "Bankruptcy & Debt",
                                "Employment & Labor",
                                "Estate Planning & Probate",
                                "Business & Commercial",
                                "Real Estate",
                                "Immigration",
                                "DUI & DWI",
                                "Intellectual Property",
                                "Tax",
                                "Medical Malpractice",
                                "Workers' Compensation",
                                "Social Security & Disability",
                                "Consumer Protection",
                                "Civil Rights"
                            ]
                        }
                    },
                    "searchQueries": {
                        "title": "Free-text search queries",
                        "type": "array",
                        "description": "Free-text queries like 'divorce lawyers, Austin TX' or 'personal injury attorney, Miami FL'. Each query is resolved against the FindLaw directory search. Use this when you don't have URLs or precise state + practice-area combos in hand.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max profiles",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Cap on the total number of profile rows returned. Set to 0 (or leave empty) for no cap (internally limited to 50,000 rows). The actor stops requesting new directory pages once the cap is reached but keeps the full last page if it slightly overshoots. When multiple states and practice areas are selected, the actor sweeps every combination — narrow the selection if you only need a sample."
                    },
                    "includeReviews": {
                        "title": "Include client reviews",
                        "type": "boolean",
                        "description": "When ON, fetch client reviews for each profile and include them as a nested array on the profile row. When OFF, only the review summary (count + average rating) is returned. Turning this ON significantly increases run time and cost."
                    },
                    "maxReviewsPerProfile": {
                        "title": "Max reviews per profile",
                        "minimum": 0,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Cap on the number of reviews captured per profile. Set to 0 to capture all available reviews (up to a safety ceiling of about 120 per profile); otherwise 1-100. Only applies when 'Include client reviews' is ON. Default 10."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
