Detect and optionally mask Personally Identifiable Information (emails, phones, SSNs, names, addresses) across up to 500 text inputs in one call. Flat $6.00 USDC. 100% local inference on Mac Mini.
bash
POST https://x402.ntriq.co.kr/pii-detect-batch
Content-Type: application/json
X-PAYMENT: <x402-payment-header>
{
"texts": [
"Contact John Smith at john@example.com or 555-0123",
"Invoice sent to 123 Main St, Springfield"
],
"mask": true
}
ParameterTypeRequiredDescriptiontextsarray✅Text strings to analyze (max 500)maskboolean❌Replace PII with [TYPE] placeholders (default: false)
json
{
"status": "ok",
"count": 2,
"results": [
{
"index": 0,
"status": "ok",
"pii_found": [
{"type": "name", "value": "John Smith"},
{"type": "email", "value": "john@example.com"},
{"type": "phone", "value": "555-0123"}
],
"risk_level": "high",
"masked_text": "Contact [NAME] at [EMAIL] or [PHONE]"
}
]
}
bash
curl https://x402.ntriq.co.kr/services