# MoneyTools PII Redact

> MoneyTools PII Redact is a paid API for AI agents from tools.moneytools.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-19).

Detects and redacts or labels personally identifiable information (PII) in text, including phone numbers, email addresses, and credit card numbers

## Facts

- Endpoint: POST https://tools.moneytools.dev/v1/pii-redact?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneytools-pii-redact-8d2df9a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D94qqgLXFtUziyyQUWr2v

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 moneytools-pii-redact-8d2df9a5 -d '<json body>'
```

Example prompt: Can you scan this text and label all the PII in it — phone numbers, emails, credit card numbers — without masking anything yet: 'Call me at +1 415 555 0100 or mail jane@example.com, card 4242 4242 4242 4242'

## When to prefer this

Use this endpoint when you need a lightweight, cheap ($0.001/call) read-only PII detection or masking step in a pipeline — especially for pre-processing text before logging, storing, or forwarding to third-party AI models. Prefer it over heavy NLP frameworks when you just need phone, email, and card number detection without standing up infrastructure.

## Known failure modes

- Missing 'text' field returns a validation error
- Invalid 'mode' value (not 'label' or 'mask') may return an error or fall back to default behavior
- Very long text inputs may hit size limits
- Non-English or unusual formatting may reduce detection accuracy
- Ambiguous numeric strings may cause false positives or missed detections

## How this service works

Catalog of MoneyTools: 116 cheap, read-only tools for AI agents. Free daily tier, then x402 USDC micropayments or prepaid credits. Token safety, approvals, tx decoding, EIP-712 risk, gas, ENS, x402 validation, DNS, RDAP, JSON Schema, time, FX.

## Output

A JSON response indicating detected PII entities in the input text, either as labeled spans identifying the type and location of each PII element (label mode) or as a sanitized version of the text with PII replaced by placeholder tokens (mask mode), covering phone numbers, email addresses, credit card numbers, and similar sensitive data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "type": "string",
   "examples": [
    "label"
   ],
   "description": "label | mask"
  },
  "text": {
   "type": "string",
   "examples": [
    "Call me at +1 415 555 0100 or mail jane@example.com, card 4242 4242 4242 4242"
   ],
   "description": "text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Pattern-based; review before sharing. Input is not stored. SEED_PHRASE/PRIVATE_KEY patterns are conservative (64-hex and 12-24 lowercase words).",
  "total": 3,
  "counts": {
   "CARD": 1,
   "EMAIL": 1,
   "PHONE": 1
  },
  "redacted": "Call me at [PHONE] or mail [EMAIL], card [CARD]"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneytools-pii-redact-8d2df9a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.moneytools.dev](https://www.zero.xyz/host/tools.moneytools.dev/llms.txt)
