Justia Lawyers Scraper avatar

Justia Lawyers Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Justia Lawyers Scraper

Justia Lawyers Scraper

Scrape comprehensive lawyer profiles, contact info & reviews from Justia. Extract detailed attorney data for lead generation, market research & competitive analysis. Residential proxy required. Handles pagination, filtering & large-scale extraction efficiently.

Pricing

from $1.00 / 1,000 results

Rating

5.0

(3)

Developer

Shahid Irfan

Shahid Irfan

Maintained by Community

Actor stats

1

Bookmarked

23

Total users

6

Monthly active users

20 days ago

Last modified

Features

Limited permissions

Share

What does Justia Lawyers Scraper do?

Justia Lawyers Scraper collects structured lawyer profiles from the public Justia lawyer directory. Start with a directory URL, or clear the URL and build one from a practice area, state, and optional city. Each run returns names, firm names, contact details, office addresses, practice areas, education, ratings, badges, and profile links for legal market research, lead generation, and directory monitoring.

The Actor follows the directory page by page, removes duplicate profiles, and stops when it reaches your result limit. Premium placements and organic profiles are both included by default, and you can exclude paid placements with one checkbox.

Why use Justia Lawyers Scraper?

  • Build legal contact lists by practice area, state, or city without copying profiles by hand.
  • Compare coverage across markets with firm names, cities, practice areas, and years licensed in one dataset.
  • Track directory changes by running the Actor on a schedule and comparing datasets over time.
  • Keep paid placements separate with the is_premium field, or exclude them entirely.
  • Export structured records to JSON, CSV, Excel, Google Sheets, Airtable, or your own pipeline.

What data can you extract from Justia?

FieldTypeDescription
full_nameStringLawyer name as published on Justia
profile_urlStringCanonical Justia lawyer profile URL
profile_idStringNumeric Justia profile identifier
firm_nameStringLaw firm or office name when published
cityStringOffice city
state_abbrStringTwo-letter state code
state_name_fullStringFull state name
addressStringOffice street address when published
postal_codeStringOffice postal code when published
latitudeNumberOffice latitude when published
longitudeNumberOffice longitude when published
phoneStringPublic phone number
website_urlStringFirm or lawyer website
email_urlStringPublic contact form URL
profile_image_urlStringProfile photo URL
practice_areasArrayPractice area labels
law_schoolsArrayLaw school names
badgesArrayClaimed profile, Q&A, social media, video, and directory badges
reviews_overallNumberJustia review score out of 10 when available
years_licensedNumberYears of experience when published
is_premiumBooleanPaid placement flag
is_claimedBooleanWhether the lawyer has claimed the profile
free_consultationBooleanWhether a free consultation is advertised
taglineStringShort profile headline when published
has_emailBooleanWhether an email contact option is available
connect_proBooleanWhether the profile exposes Justia Connect Pro
current_badge_levelNumberNumeric badge level
badge_classStringBadge tier such as platinum or gold
badge_idNumberBadge identifier
badge_metro_idStringMetro identifier for the badge
badge_practice_idStringPractice identifier for the badge
practice_areaStringPractice area slug used for the run
stateStringState slug used for the run
listing_page_numberIntegerDirectory page where the profile was found
listing_page_urlStringDirectory URL for that page
sourceStringDataset source identifier
crawled_atStringISO timestamp for the saved record

How to use Justia Lawyers Scraper

  1. Open the Actor in Apify Console.
  2. Keep the example directory URL, or paste another public Justia lawyer directory URL.
  3. To build a URL instead, clear startUrl and enter a practice area and state. Add a city for a narrower search.
  4. Set the maximum number of profiles and directory pages.
  5. Clear includeSponsored if you only want organic profiles.
  6. Leave the proxy disabled for standard runs. If a run is challenged, enable US residential proxy.
  7. Start the run and download the dataset or connect it to your workflow.

Input Parameters

ParameterTypeRequiredDefaultDescription
startUrlStringNohttps://www.justia.com/lawyers/criminal-law/californiaPublic Justia directory URL. Main search mode.
practiceAreaStringNo-Practice area slug such as family-law. Used with state when startUrl is cleared.
stateStringNo-State slug such as texas. Used with practiceArea when startUrl is cleared.
cityStringNo-City slug such as houston. Narrows a practice area and state search.
includeSponsoredBooleanNotrueInclude Premium and other paid placements.
results_wantedIntegerNo20Stop after this many saved profiles.
max_pagesIntegerNo10Upper limit on directory pages visited.
proxyConfigurationObjectNoDisabledOptional. Direct access works on Apify Cloud in tests. Use US residential for large runs or if a run is challenged.

startUrl takes priority when it differs from the default example. If you want to use the practice area and state fields, clear startUrl first.

Usage Examples

Collect the default directory

Save 20 criminal law profiles from California:

{
"startUrl": "https://www.justia.com/lawyers/criminal-law/california",
"results_wanted": 20,
"max_pages": 5
}

Build a city-level directory

Clear the URL and use the location fields to reach Houston family lawyers:

{
"startUrl": "",
"practiceArea": "family-law",
"state": "texas",
"city": "houston",
"results_wanted": 100,
"max_pages": 10
}

Exclude paid placements

Collect only organic profiles from a personal injury directory:

{
"startUrl": "https://www.justia.com/lawyers/personal-injury/new-york",
"includeSponsored": false,
"results_wanted": 100,
"max_pages": 8
}

Sample Output

Records are saved as soon as each directory page is processed, so a later page failure does not discard earlier results. Empty values are omitted, which means records can have different field sets.

{
"full_name": "Mr. Michael J. Wise",
"profile_url": "https://lawyers.justia.com/lawyer/mr-michael-j-wise-1494601",
"profile_id": "1494601",
"listing_page_number": 1,
"listing_page_url": "https://www.justia.com/lawyers/criminal-law/california",
"practice_area": "criminal-law",
"state": "california",
"state_name_full": "California",
"state_abbr": "CA",
"firm_name": "Wise Law Group",
"city": "Sacramento",
"phone": "(916) 498-9473",
"website_url": "http://www.wisechoicelaw.com/michael-j-wise.html",
"email_url": "https://lawyers.justia.com/lawyer/mr-michael-j-wise-1494601/contact",
"profile_image_url": "https://justatic.com/profile-images/1494601-1507150927-s.jpg",
"practice_areas": ["Criminal Law", "DUI & DWI", "White Collar Crime"],
"law_schools": ["University of the Pacific, McGeorge School of Law"],
"badges": ["Premium", "Cornell LII Bronze", "Oyez Bronze"],
"years_licensed": 32,
"is_premium": true,
"is_claimed": false,
"free_consultation": true,
"tagline": "Sacramento, CA Criminal Law Attorney with 32 years of experience",
"has_email": true,
"connect_pro": false,
"current_badge_level": 700,
"badge_class": "gold",
"badge_id": 659612,
"badge_metro_id": "39",
"badge_practice_id": "218",
"source": "justia-lawyers",
"crawled_at": "2026-10-27T08:15:57.996Z"
}

Tips for best results

  • Use a complete public directory URL when you already know the exact practice area and location.
  • Clear startUrl before using practiceArea and state. Both fields are required to build a URL.
  • Start with 20 to 50 profiles to confirm the directory scope before increasing the limits.
  • Set max_pages high enough for the requested result count. Each directory page holds about 50 cards, including paid placements that rotate between pages.
  • Keep the proxy disabled for standard runs. Enable US residential proxy if a run is challenged or you collect at high volume.
  • Expect optional fields such as firm name, address, ratings, and badges to vary by profile.
  • Check the dataset preview after the first run before scheduling recurring jobs.

Integrations

  • Google Sheets - Send results to a spreadsheet for review and sharing.
  • Airtable - Build a searchable legal contact database.
  • Make or Zapier - Trigger CRM updates, notifications, or enrichment steps.
  • Webhooks - Send a run event when a dataset is ready.
  • API access - Read dataset items from your own application or data pipeline.

Apify datasets can be exported as JSON, CSV, Excel, XML, and other supported formats.

Frequently Asked Questions

How many lawyer profiles can I collect?

The Actor stops at results_wanted, at max_pages, or when the directory runs out of new profiles. Each directory page contains about 50 cards, and paid placements rotate between pages. Deduplication reduces the number of new records per page.

Can I target a specific city?

Yes. Clear startUrl, then set practiceArea, state, and city. For example, family-law, texas, and houston produce the Houston family law directory.

Can I exclude paid placements?

Yes. Set includeSponsored to false. The Actor still reads the whole page, then removes profiles marked as Premium or sponsored before saving.

Do I need a proxy?

No. Direct access worked on Apify Cloud in tests. If a run is challenged or you need a stable IP for high-volume work, enable US residential proxy. Non-US residential IPs failed in tests.

Does the Actor remove duplicate profiles?

Yes. Profiles are deduplicated by Justia profile identifier across all pages in the run.

Why are some fields missing?

Justia does not publish every field for every lawyer. Address, ratings, firm name, law schools, and badges appear only when the directory exposes them. The Actor omits empty values instead of saving placeholders.

Can I schedule recurring collections?

Yes. Create an Apify Schedule and choose the interval you need. Scheduled runs are useful for tracking new profiles, removed profiles, and changed contact details.

What happens if Justia changes the page layout?

The Actor reads more than one part of each directory page, so a single layout change rarely removes every field. If the site changes substantially, open an issue with the run ID and the input used.

You are responsible for following applicable laws, privacy rules, and Justia's terms when collecting or using public directory data. Use the dataset for legitimate research and business purposes.

Support

For issues, field requests, or target changes, use the Issues tab on the Actor page. Include the input used, the run ID, and one example of the missing or incorrect result.

This Actor is intended for legitimate data collection from publicly available directory pages. You are responsible for complying with applicable laws, website terms, privacy rules, and internal data governance requirements.