US Lawyers API logo
DataMAINTAINED10 tokens / call

US Lawyers API

Search 14 state bar directories through one API: verify an attorney's licence, status and admission

Look up US attorneys by jurisdiction through one normalized API. Every state bar publishes its directory with a different search form, so each state is an adapter that declares its own search criteria: list the active states and the fields each one supports, then run a validated search to retrieve the matching attorney records. Fourteen jurisdictions are live β€” California, Texas, Georgia, Colorado, Oregon, Maryland, Delaware, Arizona, Louisiana, Maine, Tennessee, Montana, Utah, and North Carolina β€” returning fields such as license status, admission date, firm/address, phone, and (where published) email and practice areas, sourced directly from each official bar directory. More states are being added.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 10 tokens per call, so the free plan covers about 50 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "state": "CA",
  "source": "The State Bar of California",
  "count": 1,
  "results": [
    {
      "barNumber": "122821",
      "name": "Gary Carl Nelson",
      "licenseStatus": "Active",
      "address": "Law Ofc Gary Nelson, 421 13th St, Modesto, CA 95354-2439",
      "phone": "209-524-9200",
      "fax": "209-524-9300",
      "website": "www.garynelsonlaw.com",
      "county": null,
      "district": null,
      "sections": [
        "Labor & Employment",
        "Workers' Compensation"
      ],
      "lawSchool": "McGeorge SOL Univ of the Pacific; CA",
      "undergraduateSchool": null,
      "admissionDate": "6/10/1986",
      "history": [
        {
          "date": "Present",
          "licenseStatus": "Active",
          "discipline": "",
          "administrativeAction": ""
        },
        {
          "date": "6/10/1986",
          "licenseStatus": "Admitted to the State Bar of California",
          "discipline": "",
          "administrativeAction": ""
        }
      ],
      "detailUrl": "https://apps.calbar.ca.gov/attorney/Licensee/Detail/122821",
      "source": "The State Bar of California"
    }
  ]
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform β€” anime, finance, sports, and more.

Use cases for US Lawyers API

  • Verify that a lawyer is licensed and in good standing in a state before onboarding them to a legal marketplace.

  • Look up bar number, admission date and status for KYC and vendor due diligence.

  • Build a find-a-lawyer feature that searches by name, city or practice area where the state supports it.

  • Monitor a panel of attorneys for status changes such as suspension or inactivity.

US Lawyers API endpoints

Every endpoint with its parameters and a real example response.

GETGet State

https://api-us-lawyers.dataandapis.com/v1/states/{code}

Path parameters

ParameterExample
codeCARequired

Example request

curl "https://api-us-lawyers.dataandapis.com/v1/states/CA" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "code": "CA",
  "name": "California",
  "bar": "The State Bar of California",
  "requireAny": [],
  "criteria": [
    {
      "name": "barNumber",
      "label": "Bar Number",
      "type": "string",
      "required": true,
      "description": "California bar/license number.",
      "example": "122821"
    }
  ]
}

GETList States

https://api-us-lawyers.dataandapis.com/v1/states

This endpoint takes no parameters.

Example request

curl "https://api-us-lawyers.dataandapis.com/v1/states" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "count": 1,
  "states": [
    {
      "code": "CA",
      "name": "California",
      "bar": "The State Bar of California",
      "requireAny": [],
      "criteria": [
        {
          "name": "barNumber",
          "label": "Bar Number",
          "type": "string",
          "required": true,
          "description": "California bar/license number.",
          "example": "122821"
        }
      ]
    }
  ]
}

GETSearch Attorneys

https://api-us-lawyers.dataandapis.com/v1/states/{code}/search

Path parameters

ParameterExample
codeCARequired

Query parameters

ParameterExample
barNumber122821Required

Example request

curl "https://api-us-lawyers.dataandapis.com/v1/states/CA/search?barNumber=122821" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "state": "CA",
  "source": "The State Bar of California",
  "count": 1,
  "results": [
    {
      "barNumber": "122821",
      "name": "Gary Carl Nelson",
      "licenseStatus": "Active",
      "address": "Law Ofc Gary Nelson, 421 13th St, Modesto, CA 95354-2439",
      "phone": "209-524-9200",
      "fax": "209-524-9300",
      "website": "www.garynelsonlaw.com",
      "county": null,
      "district": null,
      "sections": [
        "Labor & Employment",
        "Workers' Compensation"
      ],
      "lawSchool": "McGeorge SOL Univ of the Pacific; CA",
      "undergraduateSchool": null,
      "admissionDate": "6/10/1986",
      "history": [
        {
          "date": "Present",
          "licenseStatus": "Active",
          "discipline": "",
          "administrativeAction": ""
…
Show full response
{
  "state": "CA",
  "source": "The State Bar of California",
  "count": 1,
  "results": [
    {
      "barNumber": "122821",
      "name": "Gary Carl Nelson",
      "licenseStatus": "Active",
      "address": "Law Ofc Gary Nelson, 421 13th St, Modesto, CA 95354-2439",
      "phone": "209-524-9200",
      "fax": "209-524-9300",
      "website": "www.garynelsonlaw.com",
      "county": null,
      "district": null,
      "sections": [
        "Labor & Employment",
        "Workers' Compensation"
      ],
      "lawSchool": "McGeorge SOL Univ of the Pacific; CA",
      "undergraduateSchool": null,
      "admissionDate": "6/10/1986",
      "history": [
        {
          "date": "Present",
          "licenseStatus": "Active",
          "discipline": "",
          "administrativeAction": ""
        },
        {
          "date": "6/10/1986",
          "licenseStatus": "Admitted to the State Bar of California",
          "discipline": "",
          "administrativeAction": ""
        }
      ],
      "detailUrl": "https://apps.calbar.ca.gov/attorney/Licensee/Detail/122821",
      "source": "The State Bar of California"
    }
  ]
}

Where the data comes from

Source
Live queries against the public attorney directories of 14 US state bars.
Freshness
Live on every search; nothing is cached beyond the request.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
3endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses β€” auto-completion in your IDE
  • Tracks the API in lockstep β€” new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-us-lawyers.dataandapis.com/v1/states/{code}',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

US Lawyers API Β· X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Path Parameters

code
import axios from 'axios';

const url = 'https://api-us-lawyers.dataandapis.com/v1/states/{code}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time β€” we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales β†’

Questions about US Lawyers API

Ship US Lawyers API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.