Justia Lawyer Details
POST /api/v1/justia/lawyers/details
Get a lawyer's Justia profile, including firm, offices, phone, website, ratings, practice areas, bar admissions, education, experience, awards, associations, languages and fees.
Overview
Get a lawyer's Justia profile, including firm, offices, phone, website, ratings, practice areas, bar admissions, education, experience, awards, associations, languages and fees.
POST /api/v1/justia/lawyers/details
Method: POST Path: /api/v1/justia/lawyers/details Category: Research & Public Records
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| profile_url | string | Required | Full Justia lawyer profile URL (e.g. https://lawyers.justia.com/lawyer/michael-eric-kraut-154028). |
Request Example
Justia Lawyer Details Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/justia/lawyers/details" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"profile_url": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "profile_id": 0, "name": "string", "profile_url": "https://example.com/...", "photo_url": "https://example.com/...", "listing_tier": "string", "firm": "string", "phone": "string", "website": "string", "rating": 0.0, "rating_label": "string", "peer_reviews": 0, "client_reviews": 0, "years_experience": 0, "highlights": [ "string" ], "job_titles": [ "string" ], "biography": "string", "practice_areas": [ { "name": "string", "sub_areas": [ "string" ] } ], "jurisdictions": [ { "jurisdiction": "string", "admitted_by": "string", "bar_number": "string", "admitted_since": 0 } ], "offices": [ { "name": "string", "note": "string", "street": "string", "city": "string", "region": "string", "postal_code": "string", "phone": "string", "latitude": 0.0, "longitude": 0.0, "hours": [ { "day": "string", "hours": "string" } ] } ], "experience": [ { "title": "string", "organization": "string", "years": "string", "details": "string" } ], "education": [ { "school": "string", "degree": "string", "years": "string", "details": "string" } ], "awards": [ { "award": "string", "issuer": "string", "year": 0, "details": "string" } ], "associations": [ { "organization": "string", "role": "string", "years": "string", "details": "string" } ], "languages": [ { "language": "string", "proficiency": "string" } ], "fees": [ "string" ], "video_conferencing": [ "string" ], "websites": [ { "type": "string", "url": "https://example.com/...", "description": "string" } ], "social_profiles": [ { "network": "string", "url": "https://example.com/..." } ], "badges": [ "string" ], "error": "string", "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Justia Lawyer Details", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| profile_id | integer | null | Yes | Justia lawyer ID. |
| name | string | Yes | Lawyer's name. |
| profile_url | string | Yes | Justia lawyer profile URL. |
| photo_url | string | null | No | Profile photo URL. |
| listing_tier | string | null | No | Directory listing tier shown on the profile, e.g. 'Premium'. |
| firm | string | null | No | Law firm or main office name. |
| phone | string | null | No | Main phone number. |
| website | string | null | No | Lawyer or firm website. |
| rating | number | null | No | Justia lawyer rating out of 10, when rated. |
| rating_label | string | null | No | Rating label, e.g. 'Top Rated Lawyer 10/10'. |
| peer_reviews | integer | null | No | Number of peer reviews. |
| client_reviews | integer | null | No | Number of client reviews. |
| years_experience | integer | null | No | Years of experience, when shown. |
| highlights | array<string> | No | Profile highlight lines (experience, main practice areas, licensed states). |
| job_titles | array<string> | No | Job titles held. |
| biography | string | null | No | Biography text, paragraphs separated by newlines. |
| practice_areas | array<object> | Yes | |
| practice_areas[].name | string | Yes | |
| practice_areas[].sub_areas | array<string> | Yes | |
| jurisdictions | array<object> | Yes | Jurisdictions the lawyer is admitted to practice in. |
| jurisdictions[].jurisdiction | string | Yes | State or court, e.g. California. |
| jurisdictions[].admitted_by | string | null | No | Admitting body, e.g. State Bar of California. |
| jurisdictions[].bar_number | string | null | No | Bar ID number, when listed. |
| jurisdictions[].admitted_since | integer | null | No | Year admitted. |
| offices | array<object> | Yes | |
| offices[].name | string | null | No | |
| offices[].note | string | null | No | Extra label, e.g. 'Meeting Location for Elderly or Disabled Clients'. |
| offices[].street | string | null | No | |
| offices[].city | string | null | No | |
| offices[].region | string | null | No | |
| offices[].postal_code | string | null | No | |
| offices[].phone | string | null | No | |
| offices[].latitude | number | null | No | |
| offices[].longitude | number | null | No | |
| offices[].hours | array<object> | No | |
| offices[].hours[].day | string | No | |
| offices[].hours[].hours | string | No | |
| experience | array<object> | No | |
| experience[].title | string | No | |
| experience[].organization | string | null | No | |
| experience[].years | string | null | No | Year or year range, e.g. 1994-2008. |
| experience[].details | string | No | |
| education | array<object> | No | |
| education[].school | string | No | |
| education[].degree | string | null | No | Degree and year, e.g. 'J.D. (1993)'. |
| education[].years | string | null | No | |
| education[].details | string | No | |
| awards | array<object> | No | |
| awards[].award | string | No | |
| awards[].issuer | string | null | No | |
| awards[].year | integer | null | No | |
| awards[].details | string | null | No | |
| associations | array<object> | No | |
| associations[].organization | string | No | |
| associations[].role | string | null | No | |
| associations[].years | string | null | No | |
| associations[].details | string | No | |
| languages | array<object> | No | |
| languages[].language | string | No | |
| languages[].proficiency | string | null | No | |
| fees | array<string> | No | Fee and payment notes, e.g. 'Free Consultation'. |
| video_conferencing | array<string> | No | Video conferencing tools offered. |
| websites | array<object> | No | |
| websites[].type | string | null | No | Website or Blog. |
| websites[].url | string | No | |
| websites[].description | string | null | No | |
| social_profiles | array<object> | No | |
| social_profiles[].network | string | null | No | |
| social_profiles[].url | string | No | |
| badges | array<string> | No | |
| error | string | No | Present only when the request failed. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/justia/lawyers/details?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
profile_url example
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |