OpenAny
Get API keyAPI Key
APIDataLead Generation

martindale-hubbell logo
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.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Martindale-Hubbell Attorney Search API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Martindale-Hubbell Attorney Search API

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.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: q. Optional: where, practice_area, location, peer_rating, client_rating, firm_size, feature, language, law_school, sort, page, page_size. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · Martindale-Hubbell attorney search API
Billing See the pricing area for the selected implementation and request options

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

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/martindale/v1/search \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode output=json \
  --data-urlencode q=divorce \
  --data-urlencode 'where=Seattle, WA'

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published Martindale-Hubbell Attorney Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Legal issue, practice area, lawyer name or law school, e.g. `divorce`.
Optional parameters (17)
City and state, e.g. `Seattle, WA` (optional; added to the search the way the site's location box does).
Practice area as the site lists it, e.g. `Divorce` or `Family Law` (`facets` lists the values for the search). Several: separate with `|`.
City as the site lists it in `facets`, e.g. `Seattle, WA`. Several: separate with `|`.
Peer review rating.
Share of clients who recommend.
Firm size.
`Open For Business` or `Offers Video Chat` (both: separate with `|`).
Language spoken, e.g. `Spanish`. Several: separate with `|`.
Law school as the site lists it, e.g. `University of Washington School of Law` (attorney search).
Sort order (default: best match).
Page number (1-500), default 1.
Results per page: 30 (default) or 50.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
Martindale-Hubbell attorney search API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/martindale/v1/search
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
qURL query parametersquerystringYes

Legal issue, practice area, lawyer name or law school, e.g. `divorce`.

whereURL query parametersquerystringNo

City and state, e.g. `Seattle, WA` (optional; added to the search the way the site's location box does).

practice_areaURL query parametersquerystringNo

Practice area as the site lists it, e.g. `Divorce` or `Family Law` (`facets` lists the values for the search). Several: separate with `|`.

locationURL query parametersquerystringNo

City as the site lists it in `facets`, e.g. `Seattle, WA`. Several: separate with `|`.

peer_ratingURL query parametersquerystringNo

Peer review rating.

enum: "5to5", "4to5", "3to5", "2to5", "1to5", "prNotReviewed"

client_ratingURL query parametersquerystringNo

Share of clients who recommend.

enum: "100to100", "90andUp", "70andUp", "50andUp", "0to50", "crNotReviewed"

firm_sizeURL query parametersquerystringNo

Firm size.

enum: "1to1", "2to9", "10to24", "25to49", "50to99", "100+"

featureURL query parametersquerystringNo

`Open For Business` or `Offers Video Chat` (both: separate with `|`).

languageURL query parametersquerystringNo

Language spoken, e.g. `Spanish`. Several: separate with `|`.

law_schoolURL query parametersquerystringNo

Law school as the site lists it, e.g. `University of Washington School of Law` (attorney search).

sortURL query parametersquerystringNo

Sort order (default: best match).

enum: "name_asc", "name_desc", "peer_reviews", "client_reviews", "peer_awards"

pageURL query parametersqueryintegerNo

Page number (1-500), default 1.

page_sizeURL query parametersqueryintegerNo

Results per page: 30 (default) or 50.

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.

enum: "json"

recordsURL query parametersquerystringNo

Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • applied_filtersobject
    • practice_areastring[]
  • attorneys(object | string)[]
    • avvo_ratingnumber
    • avvo_reviews_countinteger
    • biostring
    • client_recommendedstring | null
    • client_reviews_countinteger
    • client_scoreinteger
    • firmobject
      • idstring
      • namestring
      • office_idstring
      • urlstring
    • idstring
    • locationstring
    • namestring
    • offers_video_callsboolean
    • open_for_businessboolean
    • peer_ratingnull
    • phonestring
    • photostring
    • positionstring
    • subscriberboolean
    • urlstring
    • websitestring
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • facets(object | string)[]
    • paramstring
    • titlestring
    • values(object | string)[]
      • labelstring
      • selectedboolean
      • valuestring
  • keywordstring
  • next_pageinteger
  • pageinteger
  • page_sizeinteger
  • querystring
  • sortstring
  • sortsstring[]
  • totalinteger
  • total_pagesinteger
  • typestring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Official documentation response · Supplier-tr

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 18

    Review these request fields before running. Keep the published provider and request method unchanged.

    q
    Legal issue, practice area, lawyer name or law school, e.g. `divorce`.
    where
    City and state, e.g. `Seattle, WA` (optional; added to the search the way the site's location box does).
    practice_area
    Practice area as the site lists it, e.g. `Divorce` or `Family Law` (`facets` lists the values for the search). Several: separate with `|`.
    location
    City as the site lists it in `facets`, e.g. `Seattle, WA`. Several: separate with `|`.
    peer_rating
    Peer review rating.
    client_rating
    Share of clients who recommend.
    firm_size
    Firm size.
    feature
    `Open For Business` or `Offers Video Chat` (both: separate with `|`).
    language
    Language spoken, e.g. `Spanish`. Several: separate with `|`.
    law_school
    Law school as the site lists it, e.g. `University of Washington School of Law` (attorney search).
    sort
    Sort order (default: best match).
    page
    Page number (1-500), default 1.
    page_size
    Results per page: 30 (default) or 50.
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
    records
    Native CSV/NDJSON record selector; it has no effect on this JSON-only product.
    Terminal · cURL
    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'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "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"
    }

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.

Use Martindale-Hubbell Attorney Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.