# Lawyer Directory Scraper: US Attorneys, Firms, Phones, Bar Data (`themineworks/lawyer-directory-scraper`) Actor

Scrape the Martindale-Hubbell US lawyer directory by practice area and city or state: one row per attorney with law firm, address, phone, website, practice areas, years licensed, bar admissions, law school, AV rating and reviews. No login.

- **URL**: https://apify.com/themineworks/lawyer-directory-scraper.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** Lead generation, Automation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.69 / 1,000 lawyers

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## Lawyer Directory Scraper: US Attorneys, Firms, Phones, Bar Data

[![32 US lawyers with firm, phone, practice areas and bar admissions in 58 seconds](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/lawyer-directory-scraper-hero.png)](https://console.apify.com/actors/C0dmxyqDZK7j3qSvq/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

Returns US lawyers from the Martindale-Hubbell lawyer directory (martindale.com) by practice area and city or state, or from Martindale links: one row per attorney with law firm, office address, phone, website, practice areas, year of first admission and years licensed, every bar and court admission, law school, ISLN, AV Preeminent rating, peer, client and Avvo review scores, awards and the biography. No login, no cookies, no API key. You pay $3.59 per 1,000 lawyers on the Free plan and $2.69 per 1,000 on the Gold plan, plus $1.50 (Free) or $1.20 (Gold) per 1,000 for each lawyer whose full profile was opened, and a $0.003 start fee per run. With profiles on (the default) that is $5.09 per 1,000 on Free and $3.89 on Gold.

From **The Mine Works**, with over 360,000 runs across 350+ public actors.

Updated 17 Nov 2026: first release. Practice area and location search (city or whole state), pasted Martindale results and attorney links, and the full profile of each lawyer, one flat row per lawyer. Bookmark this Actor on its Store page so it is one click away next time.

### Why choose this actor?

- **Credentials, not only contacts.** Every profile row has `year_first_admitted`, `years_licensed`, `bar_admissions` (each state bar and federal court with its year), `state_bars`, `law_school`, `university`, `memberships` and the `isln` (International Standard Lawyer Number). In our test runs on Apify, 44 of 44 profile rows had practice areas, first admission and admissions.
- **Ratings you can sort.** `is_av_preeminent`, `peer_rating`, `client_rating`, `avvo_rating` and `overall_rating`, each with its review count, plus awards such as AV Preeminent, Client Champion and Super Lawyers.
- **Ready for outreach.** Firm name and firm page, street address, city, state and ZIP, map position, main phone and every other phone and fax on the profile, website, Avvo profile link, job title, hourly rates and free consultation.
- **Any city, any of 345 practice areas.** Type "Personal Injury" and "Dallas, TX", or a whole state such as "Texas", in plain words. Martindale shows up to about 5,000 lawyers per search.
- **Pay per lawyer, nothing for errors.** Links that are not Martindale links, the summary row and a lawyer found by two of your searches are never charged. The `profile` charge applies only to rows whose profile page was actually opened and read; turn `includeDetails` off and it is never charged.

[![Run it on Apify](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/button-run.png)](https://console.apify.com/actors/C0dmxyqDZK7j3qSvq/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Part of The Mine Works Company and business data family:** [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [SEC EDGAR Filings Scraper](https://apify.com/themineworks/sec-edgar-filings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [EU VAT Checker (VIES)](https://apify.com/themineworks/eu-vat-vies-validator?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Tech Stack Detector](https://apify.com/themineworks/tech-stack-detector?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral).

### Try it in one minute

Paste this into the input (JSON view) and press Start. It returns 10 personal injury lawyers in Dallas with their full profiles. It took 9 seconds in our test run on Apify:

```json
{
  "practiceAreas": ["Personal Injury"],
  "locations": ["Dallas, TX"],
  "maxItems": 10
}
```

Put several practice areas and several locations on separate lines: each practice area is searched in each location. A lawyer that two searches find is delivered once.

Apify's free plan includes $5 of credit every month, which covers about 980 lawyers with full profiles, or about 1,390 lawyers from the results cards only.

#### Copy to your AI assistant

```text
themineworks/lawyer-directory-scraper on Apify. Searches the Martindale-Hubbell US lawyer directory (martindale.com) by practice area and city or state, or by pasted Martindale links, and returns one flat row per attorney, with no login. Call ApifyClient("TOKEN").actor("themineworks/lawyer-directory-scraper").call(run_input={"practiceAreas": ["Personal Injury"], "locations": ["Dallas, TX"], "maxItems": 100}), then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: practiceAreas (list of plain words such as "Criminal Law", "Family Law", "DUI"; empty = all lawyers of each city), locations (list of "City, ST" or a state name; a whole state needs a practice area), startUrls (martindale.com results links such as https://www.martindale.com/criminal-law-lawyers/los-angeles/california/ or attorney links such as https://www.martindale.com/attorney/<name>-<id>/), maxItems (default 50, 1 to 5000, per search), includeDetails (default true; opens each profile). Billing: event lawyer per row, event profile per row whose profile was read (details_scraped true), run-start once per run. Lawyer rows have no _type field and carry lawyer_id, name, profile_url, firm_name, firm_url, job_title, street_address, city, state, postal_code, country, latitude, longitude, phone, phones, fax, website, image_url, practice_areas, year_first_admitted, years_licensed, bar_admissions, state_bars, law_school, university, alma_mater, memberships, isln, is_av_preeminent, awards, peer_rating, peer_review_count, client_rating, client_review_count, avvo_rating, avvo_review_count, overall_rating, overall_review_count, avvo_profile_url, claimed_profile, open_for_business, offers_video_calls, free_consultation, hourly_rate, credit_cards_accepted, payment_terms, languages, biography, source, practice_area_searched, location_searched, search_url, page, position, details_scraped, details_error, scraped_at. Each run also writes one row with _type "summary", one with _type "info" when lawyers were delivered, and a row with _type "error" for each input that could not be read; none of these is charged. Full spec: GET https://api.apify.com/v2/acts/themineworks~lawyer-directory-scraper/builds/default (Bearer TOKEN), which returns inputSchema and readme. Token: https://console.apify.com/account/integrations?fpr=ymnoit&utm_source=apify-readme&utm_medium=referral
```

### Key features

- **Plain words in, Martindale pages out.** Practice areas are matched to Martindale's own list of 345 areas ("criminal defense" finds Criminal Law, "DUI" finds DUI/DWI, "employment" finds Labor and Employment). Locations take "Dallas, TX", "Los Angeles, California" or a state on its own.
- **City or whole state.** A city search reads `/<practice>-lawyers/<city>/<state>/`; a state search with a practice area reads the state list (6,812 bankruptcy lawyers in Texas in our test). Leave the practice area empty to get every lawyer of a city.
- **Full profile per lawyer.** With `includeDetails` on (the default), each lawyer's Martindale profile is opened for practice areas, admissions, education, memberships, ISLN, job title, all phones and fax, map position, awards, overall rating, hourly rates, payment terms, languages and the biography.
- **Fast card only mode.** With `includeDetails` off, rows come from the results cards: name, firm, address, phone, website, AV flag and ratings. 61 lawyers took 5.5 seconds this way in our test.
- **Paste what you see.** Results links (any page) and single attorney links work as input, next to or instead of the search fields.
- **Stops cleanly.** Two pages in a row with no new lawyers end a search; five failed pages in a row end the run; the run stops before its time limit and keeps every row it read. The summary row says why.

### How to use it

#### Basic: one practice area in one city

```json
{
  "practiceAreas": ["Criminal Law"],
  "locations": ["Los Angeles, CA"],
  "maxItems": 300
}
```

Ten results pages, 300 lawyers with full profiles. Sort by `years_licensed` or filter on `is_av_preeminent` to find the senior names.

#### Lead list: several practice areas across several cities

```json
{
  "practiceAreas": ["Family Law", "Divorce", "Estate Planning"],
  "locations": ["Chicago, IL", "Houston, TX", "Miami, FL"],
  "maxItems": 200
}
```

Nine searches in one run. `practice_area_searched` and `location_searched` label each row, so one sheet holds the whole list.

#### A whole state, card data only

```json
{
  "practiceAreas": ["Bankruptcy"],
  "locations": ["Texas"],
  "maxItems": 3000,
  "includeDetails": false
}
```

Name, firm, address, phone, website and ratings for 3,000 Texas bankruptcy lawyers, one results page of 30 every 1 to 3 seconds. Only the `lawyer` event is charged, no `profile` charge.

#### Every lawyer of a city

```json
{
  "locations": ["Seattle, WA"],
  "maxItems": 1000
}
```

No practice area: Martindale's all lawyers list for the city, with each lawyer's practice areas in the row.

#### Refresh known lawyers from their links

```json
{
  "startUrls": [
    "https://www.martindale.com/attorney/darryl-j-horowitt-98299/",
    "https://www.martindale.com/criminal-law-lawyers/los-angeles/california/?page=3"
  ]
}
```

An attorney link returns that lawyer's profile row (charged `lawyer` plus `profile`). A results link is read from the page it shows onward.

### Input parameters

| Parameter | Type | Default | What it does |
|---|---|---|---|
| `practiceAreas` | array of strings | empty | Areas of law in plain words, for example `Personal Injury`. Empty means all lawyers of each city. |
| `locations` | array of strings | empty | US cities as `City, ST` or a state name. A whole state needs a practice area. |
| `startUrls` | array of strings | empty | Martindale results links or attorney links copied from your browser. |
| `maxItems` | integer | `50` | Most lawyers per search (per practice area and location pair, or per link), 1 to 5,000. |
| `includeDetails` | boolean | `true` | Opens each lawyer's profile for practice areas, admissions, education, phones, awards and biography. |

Give locations, startUrls or both. Up to 100 searches and 500 attorney links per run.

### What data do you get?

One row per lawyer. Lawyer rows have no `_type` field; the summary, info and error rows do, so a filter on `_type` separates them.

| Field | What it is |
|---|---|
| `lawyer_id`, `name`, `profile_url` | Martindale id, name and profile link |
| `firm_name`, `firm_url`, `job_title` | Law firm, its Martindale page, title at the firm (profile) |
| `street_address`, `city`, `state`, `postal_code`, `country` | Office address |
| `latitude`, `longitude` | Office map position (profile) |
| `phone`, `phones`, `fax` | Main phone, every phone on the profile, fax (profile) |
| `website`, `image_url`, `avvo_profile_url` | Website, photo, the same lawyer on Avvo (profile) |
| `practice_areas` | Areas of practice listed on the profile |
| `year_first_admitted`, `years_licensed` | Year of first bar admission, years since (profile) |
| `bar_admissions`, `state_bars` | Every bar and court admission with its year, and the state bars alone (profile) |
| `law_school`, `university`, `alma_mater` | Schools, degrees and years (profile) |
| `memberships`, `isln` | Bar associations and other memberships, International Standard Lawyer Number (profile) |
| `is_av_preeminent`, `awards` | AV Preeminent peer rating flag, and awards such as Client Champion and Super Lawyers |
| `peer_rating`, `peer_review_count` | Martindale peer review score out of 5 and count |
| `client_rating`, `client_review_count` | Martindale client review score out of 5 and count |
| `avvo_rating`, `avvo_review_count` | Avvo client review score and count shown on Martindale |
| `overall_rating`, `overall_review_count` | Overall score on the profile and the reviews behind it (profile) |
| `claimed_profile`, `open_for_business`, `offers_video_calls`, `free_consultation` | Profile flags |
| `hourly_rate`, `credit_cards_accepted`, `payment_terms`, `languages` | As listed on the profile |
| `biography` | Biography text, up to 5,000 characters (profile) |
| `source`, `practice_area_searched`, `location_searched`, `search_url`, `page`, `position` | Where the row came from |
| `details_scraped`, `details_error`, `scraped_at` | Whether the profile was read, why not if it failed, and when |

Fields marked (profile) need `includeDetails`. A value the directory does not show is left out of the row; the actor never invents one. Martindale shows no phone for lawyers who have not claimed their profile (`claimed_profile: false`).

**Summary row** (`_type: "summary"`, never charged): `searches_requested`, `searches_read`, `searches_failed`, `pages_read`, `lawyers_found`, `lawyers_delivered`, `charged_for`, `profile_rows_delivered`, `profiles_charged_for`, `duplicates_skipped`, `details_ok`, `details_failed`, `http_requests`, `ended_on_deadline`, `stopped_by_max_cost`, `shortfall_reason` when fewer lawyers came back than asked, and `per_search`, one entry per search with the total Martindale lists (`total_on_site`), pages read, lawyers delivered and why it `stopped`. The same summary is saved as the `OUTPUT` record of the run.

#### Output example

```json
{
  "lawyer_id": "1816179",
  "name": "Peter Ordower",
  "profile_url": "https://www.martindale.com/attorney/peter-ordower-1816179/",
  "firm_name": "Law Office of Peter Ordower",
  "job_title": "Member",
  "street_address": "155 N. Michigan Ave., Suite 630",
  "city": "Chicago",
  "state": "IL",
  "postal_code": "60601",
  "phone": "312-448-6930",
  "phones": ["312-448-6930", "312-263-8060"],
  "fax": "312-263-8083",
  "website": "http://www.chicagolawsuits.com",
  "practice_areas": ["Contract Disputes", "Employment Disputes", "Consumer Fraud", "Business Litigation"],
  "year_first_admitted": 1980,
  "years_licensed": 46,
  "bar_admissions": ["1980, Illinois", "1980, U.S. District Court, Northern District of Illinois", "1981, U.S. Court of Appeals, Seventh Circuit"],
  "state_bars": ["Illinois"],
  "law_school": "University of Chicago, J.D., 1980",
  "isln": "904675434",
  "is_av_preeminent": true,
  "awards": ["AV Preeminent", "Martindale-Hubbell Client Champion Gold 2026"],
  "peer_rating": 5,
  "client_rating": 5,
  "client_review_count": 7,
  "avvo_rating": 5,
  "avvo_review_count": 10,
  "overall_rating": 5,
  "overall_review_count": 17,
  "free_consultation": true,
  "practice_area_searched": "Family Law",
  "location_searched": "Chicago, IL",
  "details_scraped": true,
  "scraped_at": "2026-11-17T14:22:12.129Z"
}
```

### Pricing

Pay per event: you pay for the lawyers you receive, a second small charge for each lawyer whose full profile was opened and read, and a flat $0.003 per run, whatever memory you choose.

| Event | When it is charged | Free plan | Bronze (Starter) | Silver (Scale) | Gold (Business) |
|---|---|---|---|---|---|
| `lawyer` | Once per lawyer row stored in your dataset | $3.59 per 1,000 | $3.29 per 1,000 | $2.99 per 1,000 | $2.69 per 1,000 |
| `profile` | Once per lawyer row stored in your dataset whose public profile page was opened and read (`details_scraped: true`). Never with `includeDetails` off, never when a profile failed | $1.50 per 1,000 | $1.40 per 1,000 | $1.30 per 1,000 | $1.20 per 1,000 |
| `run-start` | Once per run, after the first results page returned lawyers | $0.003 | $0.003 | $0.003 | $0.003 |

With profiles on (the default), one lawyer row costs `lawyer` plus `profile`: $5.09 per 1,000 on the Free plan, $4.69 on Bronze, $4.29 on Silver and $3.89 on Gold. With `includeDetails` off it costs `lawyer` only: $3.59 down to $2.69. The price of one row is the price per 1,000 divided by 1,000.

Never charged:

- an input that is not a US location or a Martindale link (it gets an error row);
- `profile`, for a row whose profile page could not be read (it keeps the results card data and `details_error`);
- a lawyer that two of your searches find, after the first time;
- the summary, info and error rows;
- a run with no lawyers: the start fee is charged only after the first results page returned lawyers;
- anything past your "Max cost per run". The actor checks the budget (lawyer plus profile charges) before each batch and stops while the total is still below your limit, so the run ends SUCCEEDED with a partial result and a status message saying so.

### How it compares

| Actor | Price per 1,000 on the Free plan | Price per 1,000 on the Gold plan | Start fee | Bar admissions and first admission year | Search by practice area and city |
|---|---|---|---|---|---|
| **This actor** | $3.59 cards only, $5.09 with full profiles | $2.69 cards only, $3.89 with full profiles | $0.003 per run | Yes, in every profile row | Yes, city or whole state |
| [Martindale Scraper by jungle_synthesizer](https://apify.com/jungle_synthesizer/martindale-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | $8.00 ($16.00 premium rows) | $6.40 ($12.80 premium rows) | $0.0001 per run | Not listed | State and practice area, crawls city lists |
| [Martindale Scraper with Mails by fatihtahta](https://apify.com/fatihtahta/martindale-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | $3.99 | $3.99 | none | With profile enrichment (credentials) | Yes |
| [Martindale US Attorney Directory by memo23](https://apify.com/memo23/martindale-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | $1.00 plus $1.00 for additional data | $1.00 plus $1.00 for additional data | $0.05 per run | Not listed (reads listing pages only) | Yes |

Checked 17 Nov 2026 from the public Store listings.

### Run it on a schedule

1. Open the actor in Apify Console, set your input and click **Save as a new task**.
2. In the task, open **Schedules**, click **Add schedule** and pick how often (every Monday at 08:00, for example).
3. Compare runs on `lawyer_id` to find lawyers who joined a city or practice area, or changed firm.
4. Optional: add an integration (Google Sheets, a CRM, a webhook) so each run lands where your team works.

### FAQ

#### What does this actor read?

The public Martindale-Hubbell lawyer directory at martindale.com: its results pages by practice area and location, and each lawyer's public profile, as any visitor sees them without an account. It does not log in, send contact forms or read client data.

#### Do I need an account, cookies or an API key?

No account, no cookies and no API key. The actor handles the connection, including the proxy, at the price above.

#### Does it scrape Justia, Avvo or FindLaw?

Not at this time. Martindale is the source. Each profile row carries `avvo_profile_url` when Martindale links the same lawyer on Avvo, and Avvo's client review score shows in `avvo_rating`.

#### How many lawyers can I get?

Martindale shows up to about 5,000 lawyers per search (about 167 pages of 30). Split a large state into cities, or into several practice areas, to go further. The summary row shows how many lawyers Martindale lists for each search (`total_on_site`).

#### Why do some rows have no phone?

Martindale hides the phone of lawyers who have not claimed their profile (`claimed_profile: false`). Their name, firm, address and credentials are still in the row.

#### How fast is it?

A results page of 30 lawyers takes 1 to 3 seconds. With profiles on, 4 profiles are read at a time: 32 lawyers with full profiles took 58 seconds in our test, and 61 lawyers without profiles 5.5 seconds.

#### Which formats can I download?

JSON, CSV, Excel, XML and HTML from the run's Storage tab or through the API. Lists such as `practice_areas` and `bar_admissions` become columns in CSV and Excel. The dataset has three views: Lawyers, Contact details, and Admissions and ratings.

#### Can I use it from Claude, ChatGPT or Cursor (MCP)?

Yes, through Apify's MCP server. Connector URL: https://mcp.apify.com/?tools=themineworks/lawyer-directory-scraper

- Claude: Settings > Connectors > Add custom connector, paste the URL, sign in with Apify.
- ChatGPT: turn on developer mode, add an MCP connector with the URL, sign in with Apify.
- Cursor or VS Code: add it as an HTTP MCP server with that URL.
- Claude Code: `claude mcp add -t http lawyer-directory-scraper "https://mcp.apify.com/?tools=themineworks/lawyer-directory-scraper"`

#### Is it legal to scrape Martindale?

The actor reads only public professional listings that lawyers and firms publish to be found, without logging in, and it collects no client data. You are responsible for how you use the data, including Martindale's terms, attorney advertising rules and the privacy and anti spam laws that apply to your outreach. This is general information, not legal advice.

### Integrations

- **Google Sheets**: send each run's lawyers to a sheet with Apify's Google Sheets integration; one row per lawyer fits a sheet as is.
- **Make, Zapier and n8n**: start a run and read its dataset with the Apify apps and nodes, for example "new family lawyers in Austin every Monday to HubSpot".
- **Webhooks**: have Apify call your URL when a run succeeds, then fetch the dataset.
- **API and SDKs**: run it from Python or JavaScript with the Apify client, or with a plain HTTP call (see "Copy to your AI assistant" above).
- **MCP clients**: Claude, ChatGPT, Cursor and VS Code can run it as a tool through the connector URL in the FAQ.

If this actor saved you time, a short rating on the Store helps other buyers find it.

### More from The Mine Works

**Company and business data**

- [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [SEC EDGAR Filings Scraper](https://apify.com/themineworks/sec-edgar-filings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [EU VAT Checker (VIES)](https://apify.com/themineworks/eu-vat-vies-validator?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Tech Stack Detector](https://apify.com/themineworks/tech-stack-detector?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Bundesanzeiger Scraper](https://apify.com/themineworks/germany-bundesanzeiger-monitor?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Domain to LinkedIn URL Resolver](https://apify.com/themineworks/domain-to-linkedin-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [World Bank Trade Scraper](https://apify.com/themineworks/global-trade-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [US Import Records](https://apify.com/themineworks/us-import-supplier-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Y Combinator Scraper](https://apify.com/themineworks/y-combinator-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Norway Company Register](https://apify.com/themineworks/norway-brreg-entity-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Social media and video**

- [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Reddit Scraper](https://apify.com/themineworks/reddit-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Threads Search Scraper](https://apify.com/themineworks/threads-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Instagram Profile Scraper](https://apify.com/themineworks/instagram-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Leads and business directories**

- [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Skip Trace Lookup](https://apify.com/themineworks/skip-trace-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Maps Email Scraper](https://apify.com/themineworks/maps-leads?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [2GIS Places Scraper](https://apify.com/themineworks/2gis-places-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Marketing, SEO and reviews**

- [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**LinkedIn**

- [LinkedIn Company Scraper](https://apify.com/themineworks/linkedin-company-details?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Post Scraper](https://apify.com/themineworks/linkedin-post-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Employees Scraper](https://apify.com/themineworks/linkedin-employees?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Profile Scraper](https://apify.com/themineworks/linkedin-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Real estate**

- [Zillow Rentals Scraper](https://apify.com/themineworks/zillow-rental-listings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zillow Sold Comps Scraper](https://apify.com/themineworks/zillow-recently-sold?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Real Estate MCP](https://apify.com/themineworks/india-real-estate-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Housing.com Scraper](https://apify.com/themineworks/housing-com-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Science, health and government data**

- [Academic Research MCP](https://apify.com/themineworks/academic-research-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [CourtListener Scraper](https://apify.com/themineworks/courtlistener-court-records?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Socrata Open Data Scraper](https://apify.com/themineworks/socrata-open-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [OpenAlex Scraper](https://apify.com/themineworks/openalex-scholarly-works?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Jobs and hiring**

- [Foundit Monster India Jobs](https://apify.com/themineworks/foundit-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Hirist Jobs Scraper](https://apify.com/themineworks/hirist-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Jobs MCP](https://apify.com/themineworks/india-jobs-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naukri Jobs Scraper](https://apify.com/themineworks/naukri-jobs?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**E-commerce and marketplaces**

- [Ozon.ru Scraper](https://apify.com/themineworks/ozon-product-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [⭐ Amazon Reviews Scraper](https://apify.com/themineworks/amazon-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Etsy Listings Scraper](https://apify.com/themineworks/etsy-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Food and local services**

- [NoBroker Scraper](https://apify.com/themineworks/nobroker-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Swiggy Restaurant Scraper](https://apify.com/themineworks/swiggy-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zomato Scraper](https://apify.com/themineworks/zomato-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Developer and AI tools**

- [Website to Markdown Crawler](https://apify.com/themineworks/rag-crawler?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Skill Finder](https://apify.com/themineworks/github-skill-discovery?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Repo Scraper](https://apify.com/themineworks/github-repo-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Trending Scraper](https://apify.com/themineworks/github-trending-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**More tools**

- [G2 Reviews Scraper](https://apify.com/themineworks/g2-reviews-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naver Blog Scraper](https://apify.com/themineworks/naver-blog-posts-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [WeChat Article Scraper 微信公众号文章](https://apify.com/themineworks/wechat-article-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Taobao Products Scraper 淘宝 天猫](https://apify.com/themineworks/taobao-products-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

### Support

Found a search that returns fewer lawyers than the site, or a field that comes back empty? Open an issue in the Issues tab with the input and the run ID, and we will look at it. For a field you need or another lawyer directory, email dmineworks@gmail.com.

*Search the Martindale-Hubbell US lawyer directory by practice area and city and get every attorney back as one row, with firm, phone, website, practice areas, bar admissions, years licensed and ratings, no login.*

# Actor input Schema

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

Areas of law, one per line, in plain words. Examples: Personal Injury, Criminal Law, Family Law, Divorce, DUI, Immigration, Estate Planning, Bankruptcy, Real Estate, Labor and Employment. Leave empty to get all lawyers of each city. Each practice area is searched in each location.

## `locations` (type: `array`):

US cities as "City, ST" (for example Dallas, TX or Los Angeles, California), or a whole state (Texas, NY). A whole state needs a practice area.

## `startUrls` (type: `array`):

Martindale results links copied from your browser, for example https://www.martindale.com/criminal-law-lawyers/los-angeles/california/ or https://www.martindale.com/all-lawyers/chicago/illinois/, or attorney profile links such as https://www.martindale.com/attorney/darryl-j-horowitt-98299/. A results link is read from the page it shows onward.

## `maxItems` (type: `integer`):

The most lawyers to return for each practice area and location pair (or each results link), 1 to 5,000. A results page holds 30 lawyers; Martindale shows up to about 5,000 per search. Example: 200.

## `includeDetails` (type: `boolean`):

On: each lawyer's Martindale profile is opened too, for the practice areas, year of first admission and years licensed, every bar and court admission, law school, memberships, ISLN, job title, all phones and fax, awards, overall rating, hourly rates, languages and the biography. Each row whose profile was read is charged the profile event ($1.50 per 1,000 on the Free plan, $1.20 on Gold) on top of the lawyer event ($3.59 per 1,000 on Free, $2.69 on Gold). Off: rows come from the results cards only (name, firm, address, phone, website, ratings), which is faster, and only the lawyer event is charged.

## Actor input object example

```json
{
  "practiceAreas": [
    "Personal Injury"
  ],
  "locations": [
    "Dallas, TX"
  ],
  "maxItems": 10,
  "includeDetails": true
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "practiceAreas": [
        "Personal Injury"
    ],
    "locations": [
        "Dallas, TX"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/lawyer-directory-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 = {
    "practiceAreas": ["Personal Injury"],
    "locations": ["Dallas, TX"],
    "maxItems": 10,
}

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

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

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

```

## CLI example

```bash
echo '{
  "practiceAreas": [
    "Personal Injury"
  ],
  "locations": [
    "Dallas, TX"
  ],
  "maxItems": 10
}' |
apify call themineworks/lawyer-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,themineworks/lawyer-directory-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/C0dmxyqDZK7j3qSvq/builds/ekrDZUWVbMKawAcad/openapi.json
