Skip to content
Free static example · no wallet required

PII and personal-data redaction

Inspect the exact response envelope first. When you need current analysis for your own input, one successful x402 call costs $0.01 USDC on Base or Solana.

No accountNo subscriptionExact USDC priceFresh calls only are paid
Full response envelope

What you receive

Demonstration data only. The paid endpoint returns a fresh result and settlement receipt.

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "document.redact",
  "version": "1",
  "data": {
    "text": "Contact [REDACTED_EMAIL] about invoice card [REDACTED_CREDIT_CARD].",
    "counts": {
      "email": 1,
      "phone": 0,
      "ipv4": 0,
      "ipv6": 0,
      "credit_card": 1,
      "ssn": 0,
      "iban": 0
    },
    "total": 2,
    "selectedTypes": [
      "email",
      "phone",
      "ipv4",
      "ipv6",
      "credit_card",
      "ssn",
      "iban"
    ],
    "findingsReturned": 2,
    "findingsTruncated": false,
    "findings": [
      {
        "type": "email",
        "start": 8,
        "end": 27,
        "characters": 19,
        "placeholder": "[REDACTED_EMAIL]"
      },
      {
        "type": "credit_card",
        "start": 47,
        "end": 66,
        "characters": 19,
        "placeholder": "[REDACTED_CREDIT_CARD]"
      }
    ],
    "redactedCharacters": 38,
    "inputSha256": "04b4432fceb85a844f4a83b4ddabd14dda672c9c94b8c54c020ff06de182d2f6",
    "outputSha256": "7e30afcfe691fb4e6527ee782aaa6cccd68b726687540cb2d6de557cfe921c13",
    "detector": {
      "version": "apiacre-pii-redaction/2",
      "deterministic": true,
      "overlapSafe": true,
      "validatedTypes": [
        "credit_card",
        "iban",
        "ipv4",
        "ipv6",
        "ssn"
      ],
      "networkRequestsMade": 0
    },
    "limitations": [
      "Deterministic patterns do not identify names, street addresses, or every locale-specific identifier.",
      "Review redacted output before treating it as safe for a particular privacy or compliance policy."
    ]
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": [],
    "next_actions": []
  }
}
Example request

Input JSON

{
  "text": "Contact [email protected] about invoice card 4242 4242 4242 4242."
}
Delivery contract

One paid POST

Deterministically detect and redact PII and personal data in supplied text with overlap-safe matching for emails, phone numbers, validated IPv4 and IPv6 addresses, Luhn-valid payment cards, valid-checksum IBANs, and structurally valid US Social Security numbers.

POST /v1/document/redact

Inspect validation rules and output schema

Need current data?

Run this exact service.

The checkout verifies the request, selected network, USDC asset, recipient, and price before opening a wallet.

Continue · $0.01 USDC