Justia Lawyers Scraper
Pricing
from $1.00 / 1,000 results
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
Maintained by CommunityActor stats
1
Bookmarked
23
Total users
6
Monthly active users
20 days ago
Last modified
Categories
Features
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_premiumfield, 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?
| Field | Type | Description |
|---|---|---|
full_name | String | Lawyer name as published on Justia |
profile_url | String | Canonical Justia lawyer profile URL |
profile_id | String | Numeric Justia profile identifier |
firm_name | String | Law firm or office name when published |
city | String | Office city |
state_abbr | String | Two-letter state code |
state_name_full | String | Full state name |
address | String | Office street address when published |
postal_code | String | Office postal code when published |
latitude | Number | Office latitude when published |
longitude | Number | Office longitude when published |
phone | String | Public phone number |
website_url | String | Firm or lawyer website |
email_url | String | Public contact form URL |
profile_image_url | String | Profile photo URL |
practice_areas | Array | Practice area labels |
law_schools | Array | Law school names |
badges | Array | Claimed profile, Q&A, social media, video, and directory badges |
reviews_overall | Number | Justia review score out of 10 when available |
years_licensed | Number | Years of experience when published |
is_premium | Boolean | Paid placement flag |
is_claimed | Boolean | Whether the lawyer has claimed the profile |
free_consultation | Boolean | Whether a free consultation is advertised |
tagline | String | Short profile headline when published |
has_email | Boolean | Whether an email contact option is available |
connect_pro | Boolean | Whether the profile exposes Justia Connect Pro |
current_badge_level | Number | Numeric badge level |
badge_class | String | Badge tier such as platinum or gold |
badge_id | Number | Badge identifier |
badge_metro_id | String | Metro identifier for the badge |
badge_practice_id | String | Practice identifier for the badge |
practice_area | String | Practice area slug used for the run |
state | String | State slug used for the run |
listing_page_number | Integer | Directory page where the profile was found |
listing_page_url | String | Directory URL for that page |
source | String | Dataset source identifier |
crawled_at | String | ISO timestamp for the saved record |
How to use Justia Lawyers Scraper
- Open the Actor in Apify Console.
- Keep the example directory URL, or paste another public Justia lawyer directory URL.
- To build a URL instead, clear
startUrland enter a practice area and state. Add a city for a narrower search. - Set the maximum number of profiles and directory pages.
- Clear
includeSponsoredif you only want organic profiles. - Leave the proxy disabled for standard runs. If a run is challenged, enable US residential proxy.
- Start the run and download the dataset or connect it to your workflow.
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
startUrl | String | No | https://www.justia.com/lawyers/criminal-law/california | Public Justia directory URL. Main search mode. |
practiceArea | String | No | - | Practice area slug such as family-law. Used with state when startUrl is cleared. |
state | String | No | - | State slug such as texas. Used with practiceArea when startUrl is cleared. |
city | String | No | - | City slug such as houston. Narrows a practice area and state search. |
includeSponsored | Boolean | No | true | Include Premium and other paid placements. |
results_wanted | Integer | No | 20 | Stop after this many saved profiles. |
max_pages | Integer | No | 10 | Upper limit on directory pages visited. |
proxyConfiguration | Object | No | Disabled | Optional. 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
startUrlbefore usingpracticeAreaandstate. 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_pageshigh 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.
Is it legal to collect Justia directory data?
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.
Related Actors
- FindLaw Directory Scraper - Collect lawyer and law firm profiles from another legal directory.
- WebMD Doctor Scraper - Collect provider profiles, locations, ratings, and contact details from a professional directory.
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.
Legal Notice
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.