# Martindale-Hubbell attorney search API

Search Martindale-Hubbell attorneys by issue, name or law school via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, where, and retrieve structured data including source attorney identifier, attorney display name, source firm identifier, source firm-office identifier, and available source filter values for attorney catalogue, and facet interface.

Documentation: https://openany.si/martindale-hubbell/martindale-hubbell-attorney-search-api/5450247f-6184-413f-aa59-31427e01148a/
API ID: 5450247f-6184-413f-aa59-31427e01148a
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/martindale/v1/search
Page update time: 2026-12-03T02:46:26.047Z
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:25.331Z. 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
## Martindale-Hubbell Attorney Search API

Provide q and optionally where, with source facet selections or law\_school. Keep attorney id separate from firm.id and firm.office\_id, and preserve source peer and client ratings independently.

## What You Can Build

- **Attorney catalogue**: Connect each source lawyer to firm and office references.
- **Facet interface**: Use source-provided filter and sort choices.

## Returned Data

| Field | Meaning |
| --- | --- |
| `attorneys[].id` | Source attorney identifier |
| `attorneys[].name` | Attorney display name |
| `attorneys[].firm.id` | Source firm identifier |
| `attorneys[].firm.office_id` | Source firm-office identifier |
| `facets` | Available source filter values |
| `sorts` | Source sort choices |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Martindale-Hubbell attorney search 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": {
        "q": {
          "type": "string",
          "description": "Legal issue, practice area, lawyer name or law school, e.g. `divorce`."
        },
        "where": {
          "type": "string",
          "description": "City and state, e.g. `Seattle, WA` (optional; added to the search the way the site's location box does)."
        },
        "practice_area": {
          "type": "string",
          "description": "Practice area as the site lists it, e.g. `Divorce` or `Family Law` (`facets` lists the values for the search). Several: separate with `|`."
        },
        "location": {
          "type": "string",
          "description": "City as the site lists it in `facets`, e.g. `Seattle, WA`. Several: separate with `|`."
        },
        "peer_rating": {
          "type": "string",
          "description": "Peer review rating.",
          "enum": [
            "5to5",
            "4to5",
            "3to5",
            "2to5",
            "1to5",
            "prNotReviewed"
          ]
        },
        "client_rating": {
          "type": "string",
          "description": "Share of clients who recommend.",
          "enum": [
            "100to100",
            "90andUp",
            "70andUp",
            "50andUp",
            "0to50",
            "crNotReviewed"
          ]
        },
        "firm_size": {
          "type": "string",
          "description": "Firm size.",
          "enum": [
            "1to1",
            "2to9",
            "10to24",
            "25to49",
            "50to99",
            "100+"
          ]
        },
        "feature": {
          "type": "string",
          "description": "`Open For Business` or `Offers Video Chat` (both: separate with `|`)."
        },
        "language": {
          "type": "string",
          "description": "Language spoken, e.g. `Spanish`. Several: separate with `|`."
        },
        "law_school": {
          "type": "string",
          "description": "Law school as the site lists it, e.g. `University of Washington School of Law` (attorney search)."
        },
        "sort": {
          "type": "string",
          "description": "Sort order (default: best match).",
          "enum": [
            "name_asc",
            "name_desc",
            "peer_reviews",
            "client_reviews",
            "peer_awards"
          ]
        },
        "page": {
          "type": "integer",
          "description": "Page number (1-500), default 1."
        },
        "page_size": {
          "type": "integer",
          "description": "Results per page: 30 (default) or 50."
        },
        "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": [
        "q"
      ]
    },
    "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": {
        "practice_area": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "attorneys": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "avvo_rating": {
                "type": "number"
              },
              "avvo_reviews_count": {
                "type": "integer"
              },
              "bio": {
                "type": "string"
              },
              "client_recommended": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "client_reviews_count": {
                "type": "integer"
              },
              "client_score": {
                "type": "integer"
              },
              "firm": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "office_id": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              },
              "id": {
                "type": "string"
              },
              "location": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "offers_video_calls": {
                "type": "boolean"
              },
              "open_for_business": {
                "type": "boolean"
              },
              "peer_rating": {
                "type": "null"
              },
              "phone": {
                "type": "string"
              },
              "photo": {
                "type": "string"
              },
              "position": {
                "type": "string"
              },
              "subscriber": {
                "type": "boolean"
              },
              "url": {
                "type": "string"
              },
              "website": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "facets": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "param": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "values": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "selected": {
                          "type": "boolean"
                        },
                        "value": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "string"
                    }
                  ]
                }
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "keyword": {
      "type": "string"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "page_size": {
      "type": "integer"
    },
    "query": {
      "type": "string"
    },
    "sort": {
      "type": "string"
    },
    "sorts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "total": {
      "type": "integer"
    },
    "total_pages": {
      "type": "integer"
    },
    "type": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/martindale/v1/search?output=json&q=divorce&where=Seattle%2C+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": {
    "practice_area": [
      "Divorce"
    ]
  },
  "attorneys": [
    {
      "avvo_rating": 5,
      "avvo_reviews_count": 1,
      "bio": "Elaine Inos’ career in family law is rooted in a lifelong commitment to service. Growing up on ...",
      "client_recommended": "100%",
      "client_reviews_count": 1,
      "client_score": 0,
      "firm": {
        "id": "300029619",
        "name": "Truce Law, PLLC",
        "office_id": "300040817",
        "url": "https://www.martindale.com/organization/truce-law-pllc-300029619/seattle-washington-300040817-f/"
      },
      "id": "2200054",
      "location": "Seattle, WA Divorce Attorney",
      "name": "Elaine Inos",
      "offers_video_calls": true,
      "open_for_business": true,
      "peer_rating": null,
      "phone": "+1 555 010 0000",
      "photo": "https://www.martindale.com/LBM_Images/Lawyers/lawyer-elaine-inos-photo-5196363.png",
      "position": "Attorney",
      "subscriber": true,
      "url": "https://www.martindale.com/attorney/elaine-inos-2200054/",
      "website": "https://trucelaw.com/"
    },
    {
      "avvo_rating": 4.9,
      "avvo_reviews_count": 164,
      "bio": "Matthew Webbeking is a true Seattle local who has spent over two decades navigating the legal ...",
      "client_recommended": null,
      "client_reviews_count": 0,
      "client_score": 0,
      "firm": {
        "id": "300030549",
        "name": "Lawgena Lawyers",
        "office_id": "300042105",
        "url": "https://www.martindale.com/organization/lawgena-lawyers-300030549/seattle-washington-300042105-f/"
      },
      "id": "2202671",
      "location": "Seattle, WA Divorce Attorney",
      "name": "Matthew Webbeking",
      "offers_video_calls": true,
      "open_for_business": true,
      "peer_rating": null,
      "phone": "+1 555 010 0000",
      "photo": "https://www.martindale.com/LBM_Images/Lawyers/lawyer-matthew-s-webbeking-915712456-26326.jpg",
      "position": "Founder",
      "subscriber": true,
      "url": "https://www.martindale.com/attorney/matthew-swain-webbeking-2202671/",
      "website": "https://www.lawgena.com"
    },
    "… 28 more"
  ],
  "cached": false,
  "count": 30,
  "credits_used": 1,
  "facets": [
    {
      "param": "practice_area",
      "title": "AREAS OF PRACTICE",
      "values": [
        {
          "label": "Divorce",
          "selected": true,
          "value": "Divorce"
        },
        {
          "label": "Family Law",
          "selected": false,
          "value": "Family Law"
        },
        "… 14 more"
      ]
    },
    {
      "param": "location",
      "title": "LOCATIONS",
      "values": [
        {
          "label": "Seattle, WA",
          "selected": false,
          "value": "Seattle, WA"
        },
        {
          "label": "Tacoma, WA",
          "selected": false,
          "value": "Tacoma, WA"
        },
        "… 3 more"
      ]
    },
    "… 6 more"
  ],
  "keyword": "Seattle, WA",
  "next_page": 2,
  "page": 1,
  "page_size": 30,
  "query": "divorce Seattle, WA",
  "sort": "best_match",
  "sorts": [
    "name_asc",
    "name_desc",
    "… 3 more"
  ],
  "total": 323,
  "total_pages": 11,
  "type": "attorneys"
}
```

## 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
### Can I filter by law school?
Yes. Use law_school as the source lists it for attorney search.

### How do I select several facet values?
Use documented pipe-separated values for inputs such as practice_area, location or language.

### What pagination is supported?
page accepts 1–500 and page_size accepts 30 or 50. Follow next_page.

### Do open_for_business and video-call labels schedule a meeting?
No. They describe source service attributes. This read operation does not create a meeting or booking.

### 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/martindale-hubbell/martindale-hubbell-attorney-search-api/5450247f-6184-413f-aa59-31427e01148a/

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