# Justia lawyer directory API

Browse Justia lawyers by practice area, state and city via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as city, output, practice_area, and retrieve structured data including source lawyer identifier, lawyer display name, source sponsored-placement flag, available source filter choices, and current page number for legal directory, and filter choices.

Documentation: https://openany.si/justia/justia-lawyer-directory-api/58535879-664d-4253-adf6-dfe43af557e9/
API ID: 58535879-664d-4253-adf6-dfe43af557e9
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/justia/v1/lawyers
Page update time: 2026-12-03T02:46:25.918Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:46:24.419Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Justia Lawyer Directory API

Use practice\_area and state with optional city, or the documented directory URL. available\_filters supplies source-specific service and language identifiers; sponsored and listing\_tier describe placement separately from ratings.

## What You Can Build

- **Legal directory**: Connect source lawyer IDs to their profile links.
- **Filter choices**: Use returned names and IDs for services and languages.

## Returned Data

| Field | Meaning |
| --- | --- |
| `lawyers[].id` | Source lawyer identifier |
| `lawyers[].name` | Lawyer display name |
| `lawyers[].sponsored` | Source sponsored-placement flag |
| `available_filters` | Available source filter choices |
| `page` | Current page number |
| `next_page` | Next page number when available |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Justia lawyer directory API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "practice_area": {
          "type": "string",
          "description": "Practice area slug as on Justia, e.g. `divorce`, `criminal-law`, `personal-injury` (see `/justia/v1/practice-areas`)."
        },
        "state": {
          "type": "string",
          "description": "US state: two-letter code (`WA`) or name (`washington`)."
        },
        "city": {
          "type": "string",
          "description": "City, e.g. `Seattle` (needs a state)."
        },
        "url": {
          "type": "string",
          "description": "Instead of practice_area, state and city: a justia.com/lawyers/<practice-area>/<state>/<city> directory link."
        },
        "free_consultation": {
          "type": "string",
          "description": "`true`: only lawyers who offer a free consultation.",
          "enum": [
            "true",
            "false"
          ]
        },
        "top_rated": {
          "type": "string",
          "description": "`true`: only top-rated lawyers (Justia Lawyer Rating 9+).",
          "enum": [
            "true",
            "false"
          ]
        },
        "open_now": {
          "type": "string",
          "description": "`true`: only offices open now.",
          "enum": [
            "true",
            "false"
          ]
        },
        "video_chat": {
          "type": "string",
          "description": "`true`: only lawyers who offer video conferencing.",
          "enum": [
            "true",
            "false"
          ]
        },
        "accepts_credit_cards": {
          "type": "string",
          "description": "`true`: only lawyers who accept credit cards.",
          "enum": [
            "true",
            "false"
          ]
        },
        "experience": {
          "type": "string",
          "description": "Minimum years of experience: `5`, `10` or `20`.",
          "enum": [
            "5",
            "10",
            "20"
          ]
        },
        "language": {
          "type": "string",
          "description": "Language spoken, by name (e.g. `Spanish`) or the id in `available_filters.language`."
        },
        "service": {
          "type": "string",
          "description": "A service within the practice area, by name (e.g. `Uncontested Divorce`) or the id in `available_filters.service`."
        },
        "profile_includes": {
          "type": "string",
          "description": "Comma-separated profile contents the lawyer must have: `photo`, `awards`, `certifications`, `claimed`, `professional_associations`, `publications`, `videos`, `website`."
        },
        "page": {
          "type": "integer",
          "description": "Page number (1-200). Pass `next_page` back as `page`."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "practice_area",
        "state"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "applied_filters": {
      "type": "object",
      "properties": {}
    },
    "available_filters": {
      "type": "object",
      "properties": {
        "accepts_credit_cards": {
          "type": "string"
        },
        "experience": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ]
          }
        },
        "free_consultation": {
          "type": "string"
        },
        "language": {
          "type": "object",
          "properties": {
            "Arabic": {
              "type": "string"
            },
            "Chinese": {
              "type": "string"
            },
            "French": {
              "type": "string"
            },
            "German": {
              "type": "string"
            },
            "Italian": {
              "type": "string"
            },
            "Japanese": {
              "type": "string"
            },
            "Korean": {
              "type": "string"
            },
            "Russian": {
              "type": "string"
            },
            "Spanish": {
              "type": "string"
            }
          }
        },
        "open_now": {
          "type": "string"
        },
        "profile_includes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "service": {
          "type": "object",
          "properties": {
            "Collaborative Law": {
              "type": "string"
            },
            "Contested Divorce": {
              "type": "string"
            },
            "Military Divorce": {
              "type": "string"
            },
            "Property Division": {
              "type": "string"
            },
            "Same Sex Divorce": {
              "type": "string"
            },
            "Spousal Support & Alimony": {
              "type": "string"
            },
            "Uncontested Divorce": {
              "type": "string"
            }
          }
        },
        "top_rated": {
          "type": "string"
        },
        "video_chat": {
          "type": "string"
        }
      }
    },
    "breadcrumb": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "heading": {
      "type": "string"
    },
    "lawyers": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "address": {
                "type": "null"
              },
              "badges": {
                "type": "array",
                "items": {}
              },
              "description": {
                "type": "string"
              },
              "headline": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "law_schools": {
                "type": "null"
              },
              "links": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  }
                }
              },
              "listing_tier": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "photo": {
                "type": "string"
              },
              "practice_area_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "practice_areas": {
                "type": "null"
              },
              "rating": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "integer"
                  }
                ]
              },
              "sponsored": {
                "type": "boolean"
              },
              "tagline": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "website": {
                "type": "string"
              },
              "years_experience": {
                "type": "null"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/justia/v1/lawyers?city=Seattle&output=json&practice_area=divorce&state=WA' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "applied_filters": {},
  "available_filters": {
    "accepts_credit_cards": "true",
    "experience": [
      5,
      10,
      "… 1 more"
    ],
    "free_consultation": "true",
    "language": {
      "Arabic": "34",
      "Chinese": "129",
      "French": "197",
      "German": "213",
      "Italian": "280",
      "Japanese": "284",
      "Korean": "342",
      "Russian": "563",
      "Spanish": "627"
    },
    "open_now": "true",
    "profile_includes": [
      "photo",
      "awards",
      "… 6 more"
    ],
    "service": {
      "Collaborative Law": "636",
      "Contested Divorce": "637",
      "Military Divorce": "638",
      "Property Division": "639",
      "Same Sex Divorce": "640",
      "Spousal Support & Alimony": "641",
      "Uncontested Divorce": "642"
    },
    "top_rated": "true",
    "video_chat": "true"
  },
  "breadcrumb": [
    {
      "name": "Justia",
      "url": "https://www.justia.com/"
    },
    {
      "name": "Lawyer Directory",
      "url": "https://www.justia.com/lawyers"
    },
    "… 3 more"
  ],
  "cached": false,
  "count": 47,
  "credits_used": 1,
  "heading": "Seattle Divorce Lawyers",
  "lawyers": [
    {
      "address": null,
      "badges": [],
      "description": "With offices in Seattle, Bellevue, and Everett, Envision Family Law delivers skilled advocacy in divorce, custody, and family law matters. C…",
      "headline": "Divorce Lawyer Serving Seattle, WA",
      "id": "1666521",
      "law_schools": null,
      "links": [
        {
          "title": "View Client Reviews",
          "url": "https://www.envisionfamilylaw.com/jacqueline-clark-reviews/"
        },
        {
          "title": "Divorce Practice",
          "url": "https://www.envisionfamilylaw.com/practice_area/divorce/"
        }
      ],
      "listing_tier": "platinum",
      "name": "Jacqueline Clark",
      "phone": "+1 555 010 0000",
      "photo": "https://justatic.com/profile-images/1666521-1763659630-s.jpeg",
      "practice_area_ids": [
        "226",
        "219",
        "… 1 more"
      ],
      "practice_areas": null,
      "rating": null,
      "sponsored": true,
      "tagline": "Strategic, Compassionate Family Law Representation You Can Trust",
      "url": "https://lawyers.justia.com/lawyer/jacqueline-clark-1666521",
      "website": "https://www.envisionfamilylaw.com/seattle/divorce-lawyer/",
      "years_experience": null
    },
    {
      "address": null,
      "badges": [],
      "description": "I am an experienced family law and divorce lawyer and will fight for the best results for you and your children. My practice includes large …",
      "headline": "Top Rated Lawyer 10/10",
      "id": "834504",
      "law_schools": null,
      "listing_tier": "gold",
      "name": "Jason S. Newcombe",
      "phone": "+1 555 010 0000",
      "photo": "https://justatic.com/profile-images/834504-1739312523-s.jpeg",
      "practice_area_ids": [
        "218",
        "219",
        "… 7 more"
      ],
      "practice_areas": null,
      "rating": 10,
      "sponsored": true,
      "tagline": "Compassionate representation in divorce and custody cases.",
      "url": "https://lawyers.justia.com/lawyer/jason-s-newcombe-834504",
      "website": "https://www.washingtonstateattorneys.com/divorce.html",
      "years_experience": null
    },
    "… 45 more"
  ],
  "next_page": 2,
  "page": 1,
  "title": "Best Divorce Lawyers in Seattle, WA | Justia Lawyer Directory",
  "url": "https://www.justia.com/lawyers/divorce/washington/seattle"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Where do category and filter values come from?
Use Practice Areas for category slugs and available_filters for language or service names and IDs.

### What experience choices are documented?
Use minimum experience of 5, 10 or 20 years.

### How do I paginate?
page accepts 1–200; pass next_page back as page.

### Does top_rated imply a fresh qualification check?
No. It selects the source Justia Lawyer Rating 9+ filter; keep that rating separate from credentials and placement labels.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/justia/justia-lawyer-directory-api/58535879-664d-4253-adf6-dfe43af557e9/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
