# Legal Memory API - Case Detail Lookup

> Legal Memory API - Case Detail Lookup is a paid API for AI agents from legal.memoryapi.org, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Retrieve detailed information about a specific federal court case or docket by its ID or name.

## Facts

- Endpoint: GET https://legal.memoryapi.org/x402/legal/case
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/legal-memoryapi-org-09d89fd6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aQwAAkA0F7f_J8d8j2juk

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 legal-memoryapi-org-09d89fd6
```

Example prompt: Can you pull up the full case details for the federal lawsuit Goldman Sachs v. SEC, docket number 1:23-cv-09170, from the Southern District of New York?

## When to prefer this

Use this endpoint when you already know a specific case ID, docket number, or precise case name and need full details about that single case. Prefer this over the search/company-lookup sibling endpoints when you have a specific identifier rather than needing to discover cases. Best for retrieving structured docket metadata for a known federal proceeding.

## Known failure modes

- Case ID or name not found — returns 404 or empty result
- Ambiguous case name matches multiple records — may return unexpected case
- Case exists in state court (not federal) — not covered by this endpoint
- Payment failure (x402 protocol) — call blocked if USDC payment not processed
- Invalid docket format — malformed ID returns error

## How this service works

Federal court opinion search via CourtListener. Search 10M+ opinions, docket records, and case history. Pay-per-request via x402 protocol on Base mainnet.

## Output

Returns detailed information about the specified court case, including docket number, case name, parties involved, court jurisdiction, case status, filing dates, and related docket entries from the federal court record.

## Example request

```json
{
 "method": "GET"
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "cause": null,
  "court": "scotus",
  "parties": null,
  "success": true,
  "case_name": "Roe v. Wade",
  "date_filed": "1970-01-01",
  "docket_number": "70-18",
  "nature_of_suit": null,
  "opinions_count": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/legal-memoryapi-org-09d89fd6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from legal.memoryapi.org](https://www.zero.xyz/host/legal.memoryapi.org/llms.txt)
