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
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
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent Martindale-Hubbell attorney search API · GET · View API reference | $0.002 / billing credit | 0 | —successP50— |
- 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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
q | URL query parametersquery | string | Yes | Legal issue, practice area, lawyer name or law school, e.g. `divorce`. |
where | URL query parametersquery | string | No | City and state, e.g. `Seattle, WA` (optional; added to the search the way the site's location box does). |
practice_area | URL query parametersquery | string | No | Practice area as the site lists it, e.g. `Divorce` or `Family Law` (`facets` lists the values for the search). Several: separate with `|`. |
location | URL query parametersquery | string | No | City as the site lists it in `facets`, e.g. `Seattle, WA`. Several: separate with `|`. |
peer_rating | URL query parametersquery | string | No | Peer review rating. enum: "5to5", "4to5", "3to5", "2to5", "1to5", "prNotReviewed" |
client_rating | URL query parametersquery | string | No | Share of clients who recommend. enum: "100to100", "90andUp", "70andUp", "50andUp", "0to50", "crNotReviewed" |
firm_size | URL query parametersquery | string | No | Firm size. enum: "1to1", "2to9", "10to24", "25to49", "50to99", "100+" |
feature | URL query parametersquery | string | No | `Open For Business` or `Offers Video Chat` (both: separate with `|`). |
language | URL query parametersquery | string | No | Language spoken, e.g. `Spanish`. Several: separate with `|`. |
law_school | URL query parametersquery | string | No | Law school as the site lists it, e.g. `University of Washington School of Law` (attorney search). |
sort | URL query parametersquery | string | No | Sort order (default: best match). enum: "name_asc", "name_desc", "peer_reviews", "client_reviews", "peer_awards" |
page | URL query parametersquery | integer | No | Page number (1-500), default 1. |
page_size | URL query parametersquery | integer | No | Results per page: 30 (default) or 50. |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed. enum: "json" |
records | URL query parametersquery | string | No | 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
applied_filtersobjectpractice_areastring[]
attorneys(object | string)[]avvo_ratingnumberavvo_reviews_countintegerbiostringclient_recommendedstring | nullclient_reviews_countintegerclient_scoreintegerfirmobjectidstringnamestringoffice_idstringurlstring
idstringlocationstringnamestringoffers_video_callsbooleanopen_for_businessbooleanpeer_ratingnullphonestringphotostringpositionstringsubscriberbooleanurlstringwebsitestring
cachedbooleancountintegercredits_usedintegerfacets(object | string)[]paramstringtitlestringvalues(object | string)[]labelstringselectedbooleanvaluestring
keywordstringnext_pageintegerpageintegerpage_sizeintegerquerystringsortstringsortsstring[]totalintegertotal_pagesintegertypestring
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 item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 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.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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'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" }