PII Redactor

Replace personal data in free text with typed placeholders. Deterministic, regex-based, no network. First-party on grokzilla.shop.

Call

POST /api/skills/pii-redact

{ "text": "Mail [email protected] or call 555-123-4567." }

text (required string, up to 400,000 characters).

Type Placeholder Matches
email [EMAIL] [email protected]
ipv4 [IPV4] dotted quads with octets 0-255
card [CARD] 13-19 digits (spaces or dashes allowed) that pass the Luhn check
ssn [SSN] SSN-shaped 123-45-6789 / 123 45 6789
phone [PHONE] US formats like (312) 555-0199, 555.123.4567, +1 555 123 4567, and +-prefixed international numbers (10-15 digits)

This is pattern matching, not a guarantee: names and street addresses are not detected, and numbers that look like the shapes above are redacted.

Response (paid 200)

{
  "skill": "pii_redact",
  "ok": true,
  "redacted": "Mail [EMAIL] or call [PHONE].",
  "counts_by_type": {"email": 1, "ipv4": 0, "card": 0, "ssn": 0, "phone": 1},
  "total": 2
}

Unpaid → HTTP 402 (x402 USDC on Base). Retry with PAYMENT-SIGNATURE. Free preflight: send X-X402-Validate-Only: 1 (422 on bad params, else 402).

Price: $0.003 per call.