# Delx PII Risk Scan

> Delx PII Risk Scan is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Counts likely personal-data classes in a text input without echoing detected values, returning a machine-readable JSON risk summary.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/pii-risk-scan
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-pii-risk-scan-2a55acb0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0SKHh9fdbBiJLYWQRyxX-

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 delx-pii-risk-scan-2a55acb0 -d '<json body>'
```

Example prompt: Before you process this form submission, scan it for personal data — I need to know which PII categories are present and how many instances of each, without you repeating back any of the actual values.

## When to prefer this

Choose this endpoint when you need a fast, stateless, privacy-safe preflight check for personal data in untrusted text before an autonomous agent acts on it, logs it, forwards it to another API, or evaluates its reliability. Because execution is local-only and detected values are never echoed, it is safe to use with sensitive content. Prefer this over general-purpose LLM-based PII detection when you need deterministic, bounded, machine-readable output at low cost ($0.002 USDC) without sending data to an upstream provider.

## Known failure modes

- Input text exceeds 500,000 character limit — returns a validation error without billing
- Malformed JSON request body — returns a structured validation error without billing
- Empty or missing text field — returns a validation error without billing
- Payment not provided or insufficient — returns a 402 Payment Required response
- Network timeout reaching the endpoint

## How this service works

Count likely personal-data classes without echoing detected values. Use it before an autonomous workflow acts on untrusted input, changes an API, retries a request, or evaluates production reliability. Returns bounded machine-readable JSON for $0.002 USDC via x402 on Base. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.

## Output

Returns a bounded JSON object containing counts of detected personal-data classes (e.g. email, phone, name, address) found in the input text, without reproducing any of the actual detected values. Structured validation failures are returned as error responses and are not billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 500000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risk": "low",
  "schema": "delx/pii-risk-scan/v1",
  "text_sha256": "2fb2835f6697091bb0ecb740d8691cd3d31407453033b2aafb19d203f0150ab0",
  "finding_count": 0,
  "finding_types": {},
  "values_returned": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-pii-risk-scan-2a55acb0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
