# 2s.io Attorney Lookup

> 2s.io Attorney Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.0036/call, status unknown (last checked 2026-09-15).

Search US attorneys by name in the CourtListener RECAP/PACER directory, returning contact details and appearance counts

## Facts

- Endpoint: GET https://2s.io/api/law/attorney-lookup
- Price: $0.0036/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-af393ff4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__glaiuaLjgeyi8epITyLJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-io-af393ff4
```

Example prompt: Can you look up attorneys named 'Jennifer Lee' in the CourtListener RECAP directory and show me up to 20 results, including their firm, contact info, and how many federal court appearances they have on record?

## When to prefer this

Use this endpoint when you need to find US federal court attorneys by name from public PACER-derived records, perform opposing counsel research, run conflict checks, or retrieve attorney contact information and appearance history. Prefer this over general web search when you need structured, normalized attorney data with court appearance counts and direct CourtListener profile links.

## Known failure modes

- Name query shorter than 2 characters returns a validation error
- Limit outside 1-50 range returns validation error
- No matching attorneys found returns empty result set
- Firm filter too restrictive combined with name prefix yields zero results
- Network or upstream CourtListener API outage returns 5xx error

## How this service works

Find US attorneys by name in CourtListener's RECAP corpus (PACER-derived attorney directory). Query by name (case-insensitive prefix match: "Jennifer Lee" matches "Jennifer Lee Pasquarella" but not "Sara Jennifer Lee"), optional firm/contact-text contains filter, and limit (1-50, default 10). Returns id, normalized name, parsed firm + mailing address, phone, email, fax, count of known (docket, party) appearances, and canonical CourtListener URL per match. Use for opposing-counsel research, conflict checks, and "who has filed this type of motion in this district" queries. Underlying data is public domain (PACER filings); the directory itself is maintained by Free Law Project.

## Output

A list of up to 50 matching attorney records, each with: numeric id, normalized full name, parsed firm name, mailing address, phone, email, fax, count of docket appearances, count of party appearances, and a canonical CourtListener profile URL.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "name": "Smith",
   "limit": 10
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "firm": {
       "type": "string",
       "maxLength": 200,
       "minLength": 2,
       "description": "Optional contains filter on the firm / contact block (e.g. \"Skadden\")."
      },
      "name": {
       "type": "string",
       "maxLength": 200,
       "minLength": 2,
       "description": "Attorney name (or name prefix) to search. Case-insensitive prefix match — \"Jennifer Lee\" finds \"Jennifer Lee Pasquarella\" but not \"Sara Jennifer Lee\"."
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1,
       "description": "Max attorney records to return (1-50). Default 10."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-af393ff4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
