PII and personal-data redaction
Detect and redact PII and personal data in text, including email addresses, phone numbers, IPv4 addresses, payment cards, and US Social Security numbers.
$0.01 USDCBasex402 v2POST
Endpoint
https://apiacre.com/v1/document/redactSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Input example
{
"text": "Contact [email protected] about this report."
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "document.redact",
"version": "1",
"data": {
"text": "example",
"counts": {},
"total": 1
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/document/redact' \
-H 'content-type: application/json' \
--data '{"text":"Contact [email protected] about this report."}'