# AgentsTools Legal Profile

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

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

## Facts

- Endpoint: GET https://api.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/agentstools-legal-profile-fdba304a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9OWIFk2tbfJgDiITA17uI

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 agentstools-legal-profile-fdba304a
```

Example prompt: Pull a full legal due-diligence profile for Pfizer Inc — I need their litigation history, patent records, and federal regulatory actions all in one report, with a risk score so I can see how exposed they are.

## When to prefer this

Use this endpoint when you need a single-call composite legal risk assessment of a business entity rather than querying litigation, patents, and regulatory databases separately. Ideal for M&A screening, vendor due diligence, investment research, or compliance workflows where a deterministic risk score and per-dimension flags are needed alongside raw records. Prefer this over generic search when you want structured, scored output rather than unstructured documents.

## Known failure modes

- Entity name too ambiguous — multiple matches found, returns partial or low-confidence data
- Unknown entity — no records found across any dimension, returns empty arrays with score defaulting to baseline
- Invalid CIK or QID hint — ignored or returns 400 validation error
- limit out of range (>25 or <1) — returns 400 validation error
- Downstream federal database unavailable — partial response with missing dimension data
- Rate limit exceeded or payment failure — returns 402 or 429 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 structured composite object containing: a legal risk score (0–100) with a risk band label (e.g. low/medium/high), per-dimension flags and human-readable reasons for litigation, patents, and federal regulatory dimensions, plus the underlying records (up to the requested limit) for each dimension sourced from SEC, Wikidata, and federal regulatory databases.

## 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/agentstools-legal-profile-fdba304a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
