# PayAI Legal Due Diligence Profile

> PayAI Legal Due Diligence Profile is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-15).

Returns a composite legal risk profile for a business entity combining litigation, patent, and federal regulatory records with a scored risk signal (0-100) and per-dimension flags.

## Facts

- Endpoint: GET https://payai.agentstools.dev/legal/profile
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payai-legal-due-diligence-profile-ab102242
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Swb1CpUvPz8nrqvwoSHcS

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 payai-legal-due-diligence-profile-ab102242
```

Example prompt: Pull a full legal due diligence profile for Palantir Technologies — I want their litigation history, patent records, and any federal regulatory actions, plus the overall legal risk score and what's driving it.

## When to prefer this

Use this endpoint when you need a unified, scored legal risk view of a business entity across litigation, patents, and federal regulatory dimensions in a single call. Prefer it over searching individual databases (PACER, USPTO, SEC EDGAR) when speed, consolidation, and a machine-readable risk signal matter — especially for M&A screening, vendor due diligence, or investment research workflows.

## Known failure modes

- Entity name not recognized or too ambiguous — returns empty or low-confidence records
- No SEC CIK match found when CIK hint is provided — falls back to name-based search
- Patent or regulatory dimension returns zero records if entity has no filings in those systems
- Rate limit or payment failure returns 402 or relevant error code
- Invalid query parameters (e.g. limit out of 1–25 range) return validation error

## How this service works

Composite legal due-diligence profile of a business entity: litigation, patents and federal regulatory records in one call, plus a deterministic legal-risk signal (score 0-100, band, per-dimension flags and reasons).

## Output

A composite legal risk profile including: litigation records, patent filings, and federal regulatory records for the named entity; a deterministic legal risk score (0–100); a risk band (e.g. low/medium/high); per-dimension flags (litigation, patents, regulatory); and human-readable reasons explaining the score — all in one response.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "cik": {
       "type": "string",
       "description": "Optional SEC CIK id hint"
      },
      "qid": {
       "type": "string",
       "description": "Optional Wikidata QID id hint"
      },
      "name": {
       "type": "string",
       "description": "Business entity name (primary identifier)"
      },
      "limit": {
       "type": "integer",
       "maximum": 25,
       "minimum": 1,
       "description": "Max records per dimension, default 10"
      },
      "agency": {
       "type": "string",
       "description": "Optional agency slug filter for regulatory"
      },
      "assignee": {
       "type": "string",
       "description": "Optional patent assignee override"
      },
      "inventor": {
       "type": "string",
       "description": "Optional inventor last name for patents"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payai-legal-due-diligence-profile-ab102242/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
