# PII Redact

> PII Redact is a paid API for AI agents from pii-redact.x402supply.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Detects and redacts personally identifiable information (PII) from text or JSON using pattern matching and checksum validation, without LLM calls or external services.

## Facts

- Endpoint: POST https://pii-redact.x402supply.com/mcp
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pii-redact-5ea3d6f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aqlwTWbDcCJqLsghdS2NM

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 pii-redact-5ea3d6f3 -d '<json body>'
```

Example prompt: Can you redact all PII from this text before I log it — things like SSNs, credit card numbers, email addresses, and any names mentioned with a title like Mr. or Dr.?

## When to prefer this

Choose this endpoint when you need fast, deterministic, privacy-preserving PII redaction without sending data to an LLM or external NLP service. Ideal for compliance pipelines, pre-logging sanitization, and GDPR/HIPAA scrubbing where auditability and low false-positive rates matter more than catching edge-case names via NER. Prefer alternatives if you need full named-entity recognition across arbitrary prose without contextual cues.

## Known failure modes

- Malformed JSON input causes parsing error
- False negatives on uncommon PII formats not covered by built-in patterns
- False positives on numeric strings that pass Luhn/mod-97 checksums coincidentally
- Person names and dates of birth without recognized context keywords (e.g. 'Mr.', 'DOB:') are not detected
- Very large payloads may hit size or timeout limits

## How this service works

Detect and redact PII in text or JSON. Recognizers are pure pattern/checksum matching (regex + Luhn/mod-97/SSN-area validation) — no LLM calls, no external services. Person names and dates of birth are matched only via nearby context (e.g. 'Mr. Smith', 'DOB: ...'), not general NER, to keep false positives low.

## Output

Returns the input text or JSON with PII values replaced by redaction placeholders, along with metadata about what types of PII were found and where (positions/field names). Uses regex and checksum-based matching (Luhn for card numbers, mod-97 for IBANs, area-code validation for SSNs) without external NLP services.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pii-redact-5ea3d6f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pii-redact.x402supply.com](https://www.zero.xyz/host/pii-redact.x402supply.com/llms.txt)
