The Mine Works
Build US Attorney and Law Firm Lead Lists by Practice Area and City
← All posts
use-case November 20, 2026 · 8 min read Updated November 20, 2026

Build US Attorney and Law Firm Lead Lists by Practice Area and City

Pull US lawyers from the Martindale-Hubbell directory by practice area and city, with firm, phone, website, bar admissions and years licensed, and turn them into a lead list your team can work.

Try the scraper

The actor referenced in this article. Pay only for results delivered.

View the scraper →

Selling to law firms starts with a list, and the list is where most teams lose a week. A legal marketing agency wants every personal injury firm in three metros. A legal tech sales team wants family and estate planning practices in the cities its reps cover. A referral network wants lawyers with a set number of years at the bar, admitted in the right state, who speak a second language. The data is public in the Martindale-Hubbell directory, but copying it by hand page after page, then opening each profile for admissions and phone numbers, does not scale past a few dozen names.

Try it live: Lawyer Directory Scraper. Pay per result delivered.

The Lawyer Directory Scraper reads martindale.com by practice area and city or state, or from Martindale links you paste, and returns one flat row per attorney. No login, cookies or API key. This guide shows how to set up the search for each kind of buyer, what a row holds, what it costs and where the gaps are.

Which tool fits which job

A lawyer list usually needs more than one source. Here is how the pieces fit:

JobActorWhat it gives you
Attorneys by practice area and city, with credentialsLawyer Directory ScraperOne row per lawyer: firm, address, phone, website, practice areas, bar admissions, years licensed, ratings
Law firm offices as local businesses, with emailsGoogle Maps Leads ScraperVerified B2B leads from Google Maps listings
Firms listed in a US business directoryYellow Pages ScraperUS business listings with phone, address and website
Emails and social profiles from firm websitesWebsite Contact FinderEmails, phones and social profiles found on each domain
Checking emails before a sendEmail Verifier & ValidatorMX, SMTP, disposable and catch-all checks

The lawyer scraper is the only one of these that knows who practices what and where they are admitted. The others fill in channels it does not cover, chiefly email. If you have not built a local lead list before, Maps Leads: verified email extraction from Google Maps and the B2B lead generation stack explain how those pieces chain together.

Set up the search for your use

All inputs take plain words. Practice areas are matched to Martindale’s own list of 345 areas, so “criminal defense” finds Criminal Law and “DUI” finds DUI/DWI. Locations take “Dallas, TX”, “Los Angeles, California” or a state on its own. Each practice area is searched in each location, and a lawyer that two searches find is delivered once.

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

That is nine searches in one run, up to 200 lawyers each. Every row is labelled with practice_area_searched and location_searched, so one sheet holds the whole territory and you can split it by rep or by city later. Profiles are opened by default (includeDetails is true), which gives you the practice areas each lawyer lists, not only the one you searched.

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

A whole state needs a practice area. With includeDetails off, rows come from the results cards only: name, firm, address, phone, website, the AV flag and ratings. That is enough to group lawyers by firm_name and decide which firms to call first. In our test this mode returned 61 lawyers in 5.5 seconds, and only the lawyer event is charged.

Referral network: senior lawyers with credentials

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

Keep profiles on for this one. Each profile row carries year_first_admitted, years_licensed, bar_admissions (every state bar and federal court with its year), state_bars, law_school, languages, free_consultation and the AV Preeminent flag. Sort by years_licensed or filter on is_av_preeminent to find the senior names, then check state_bars before you route a matter across state lines.

Refresh lawyers you already have

{
  "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. A results link is read from the page it shows onward. A run takes up to 500 attorney links.

What a row holds

Here is part of one profile row from our sample output, a family law search in Chicago:

{
  "lawyer_id": "1816179",
  "name": "Peter Ordower",
  "firm_name": "Law Office of Peter Ordower",
  "city": "Chicago",
  "state": "IL",
  "phone": "312-448-6930",
  "website": "http://www.chicagolawsuits.com",
  "practice_areas": ["Contract Disputes", "Employment Disputes", "Consumer Fraud", "Business Litigation"],
  "year_first_admitted": 1980,
  "years_licensed": 46,
  "state_bars": ["Illinois"],
  "is_av_preeminent": true,
  "client_rating": 5,
  "client_review_count": 7,
  "free_consultation": true,
  "practice_area_searched": "Family Law",
  "location_searched": "Chicago, IL",
  "details_scraped": true
}

The full row also has profile_url, firm_url, job_title, the street address and ZIP, latitude and longitude, phones and fax, memberships, the isln, awards, peer and Avvo ratings with review counts, hourly_rate, payment_terms and a biography of up to 5,000 characters. A value Martindale does not show is left out of the row, never guessed.

Each run also writes a free summary row with _type: "summary", plus info and error rows. Lawyer rows have no _type field, so filtering on it separates them. The summary tells you lawyers_delivered, duplicates_skipped, profiles_charged_for and, when you got fewer lawyers than you asked for, a shortfall_reason.

Run it from Python

pip install apify-client
import csv
from collections import Counter
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("themineworks/lawyer-directory-scraper").call(run_input={
    "practiceAreas": ["Family Law", "Divorce", "Estate Planning"],
    "locations": ["Chicago, IL", "Houston, TX", "Miami, FL"],
    "maxItems": 200,
    "includeDetails": True,
})

lawyers, summary = [], None
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item.get("_type") == "summary":
        summary = item
        continue
    if "_type" in item:
        continue  # info and error rows
    lawyers.append(item)

# How many lawyers of each firm are in THIS list (not the firm's real headcount)
per_firm = Counter((l.get("firm_name"), l.get("city")) for l in lawyers if l.get("firm_name"))

rows = []
for l in lawyers:
    rows.append({
        "name": l.get("name"),
        "firm": l.get("firm_name", ""),
        "lawyers_in_list": per_firm.get((l.get("firm_name"), l.get("city")), 1),
        "city": l.get("city"),
        "state": l.get("state"),
        "phone": l.get("phone", ""),
        "website": l.get("website", ""),
        "searched": f'{l.get("practice_area_searched")} in {l.get("location_searched")}',
        "practice_areas": "; ".join(l.get("practice_areas") or []),
        "years_licensed": l.get("years_licensed", ""),
        "state_bars": "; ".join(l.get("state_bars") or []),
        "av_preeminent": l.get("is_av_preeminent", False),
        "claimed_profile": l.get("claimed_profile", ""),
        "profile_url": l.get("profile_url"),
    })

if rows:
    with open("lawyer_leads.csv", "w", newline="", encoding="utf-8") as f:
        writer = csv.DictWriter(f, fieldnames=list(rows[0].keys()))
        writer.writeheader()
        writer.writerows(rows)

print(f"{len(rows)} lawyers across {len(per_firm)} firm offices")
if summary:
    print(f'{summary.get("duplicates_skipped", 0)} duplicates skipped, '
          f'{summary.get("profiles_charged_for", 0)} profiles charged')
    if summary.get("shortfall_reason"):
        print(summary["shortfall_reason"])

The CSV has one row per lawyer, with a count of how many lawyers from the same firm office landed in your list. That count is a rough way to tell solo practices from bigger offices in your territory. It is not a headcount, since it only counts lawyers your searches found.

What it costs

There are three charges, per event:

EventWhen it is chargedFree planGold and above
lawyerOnce per lawyer row stored in your dataset$3.59 per 1,000 ($0.00359 each)$2.69 per 1,000 ($0.00269 each)
profileOnce per row whose profile page was opened and read (details_scraped: true)$1.50 per 1,000 ($0.0015 each)$1.20 per 1,000 ($0.0012 each)
run-startOnce per run, after the first results page returns lawyers$0.003$0.003

With profiles on, the default, a row costs the two events together: $5.09 per 1,000 on the Free plan and $3.89 per 1,000 on Gold. With includeDetails off you pay the lawyer event only. Not charged: the summary, info and error rows, a lawyer a second search finds again, the profile event when a profile page could not be read, and a run that finds no lawyers. If you set a max cost per run, the actor stops below it and keeps every row it delivered.

Limits worth knowing

  • No email field. Rows carry phones, fax, website and the firm page, not email. Run firm websites through the Website Contact Finder and check the results with the Email Verifier & Validator if email is your channel.
  • Unclaimed profiles have no phone. Martindale hides the phone of lawyers who have not claimed their profile (claimed_profile: false). Name, firm, address and credentials still come back.
  • About 5,000 lawyers per search. That is Martindale’s own ceiling. For a large state, run city by city, or split by practice area. The summary row shows total_on_site for each search so you can see what you missed.
  • One source. It reads Martindale only, not Justia, Avvo or FindLaw. A profile row carries avvo_profile_url and avvo_rating when Martindale links the same lawyer on Avvo.
  • Profiles take longer. Profiles are read four at a time. Our test took 58 seconds for 32 lawyers with full profiles, against 5.5 seconds for 61 lawyers from the cards alone.

Before you reach out

The actor reads public professional listings that lawyers publish to be found, and it collects no client data. What you do with the list is your responsibility: Martindale’s terms, the advertising rules your law firm clients work under, and the privacy and anti spam laws that apply to the channel you use. This post is general information, not legal advice, so check your outreach plan with your own counsel. For background on scraping and the law, see web scraping legality: what developers need to know.

Keep the list current

Save your input as a task in Apify Console, add a schedule (every Monday at 08:00, for example) and compare runs on lawyer_id to find lawyers who joined a city or practice area, or moved firms. Apify’s Google Sheets, Make, Zapier and n8n integrations can push each run straight to the sheet or CRM your team uses. If you also prospect other local businesses the same way, how to scrape Yellow Pages US business listings covers that side.

Related Actor

Explore the scraper referenced in this article: inputs, outputs, and pricing, then run it on Apify.

Frequently asked questions

Does the lawyer list include email addresses? +

No. The rows carry phone, every phone and fax on the profile, the website and the firm's Martindale page, but no email field. If you need a published email, pass the firm websites to a contact finder and verify the addresses before you send anything.

Why is the phone empty for some lawyers? +

Martindale hides the phone of lawyers who have not claimed their profile. Those rows show claimed_profile as false and still carry the name, firm, address and, with profiles on, the credentials.

How large can one list get? +

maxItems goes up to 5,000 per practice area and location pair, and Martindale shows about 5,000 lawyers per search. One run accepts up to 100 searches and 500 attorney links. For a big state, search city by city or practice area by practice area.

Is a run that finds no lawyers charged? +

No. The $0.003 start fee is charged only after the first results page returns lawyers, and the lawyer and profile events are charged only for rows stored in your dataset.

Apify Store

Find a ready-made scraper for your job

Apify has over 80,000 scrapers and automations, ours included. Start free with $5 of platform credit every month.