Pii Detect
pii_detectDetect and redact PII in text: emails, phone numbers (E.164, NANP, keyword-anchored national), credit cards (Luhn + issuer prefix/length, brand), US SSNs (SSA validity rules) and IBANs (registry length + mod-97). Returns counts per type, findings with code-point offsets, confidence and masked values, and a redacted copy using stable labels ([EMAIL_1]) or inline masks. Raw values are only echoed with reveal:true. Offline; 200 KB text limit. Price: $0.01 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/pii-detect
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to scan (max 200 KB) | |
| style | No | label (default, [EMAIL_1]) or mask (j***@example.com) | |
| types | No | Subset of email, phone, credit_card, ssn, iban (default all) | |
| reveal | No | Include raw matched values in findings (default false) |