All workflows

PII Redaction Map

Detect and redact common emails, phones, IPv4 addresses and Luhn-valid payment-card-like numbers while preserving offsets and hashes.

1 credit per call · $0.003 USDC with x402

Sample input

{
  "text": "Email me at agent@example.com or call +30 210 123 4567."
}

Worked sample output

{
  "ok": true,
  "mode": "pii_redaction_map",
  "finding_count": 2,
  "findings": [
    {
      "type": "email",
      "start_utf16": 12,
      "end_utf16": 29,
      "sha256": "58a95c78e3beee8314b84cfaf78d08a3b787573e4765037cd9e5ed648af73031"
    },
    {
      "type": "phone",
      "start_utf16": 38,
      "end_utf16": 54,
      "sha256": "59159146211f23f6090cc3d9cdf5f2edfedfa84ce1792cc47de412974dce7ef8"
    }
  ],
  "redacted_text": "Email me at [REDACTED_EMAIL] or call [REDACTED_PHONE].",
  "input_sha256": "7c7bf3adff122fdc8fb162a57cb68320988627716ca5c53f5a0470930dfa8e42",
  "limitations": [
    "Pattern-based detector for common emails, phones, IPv4 addresses and Luhn-valid payment-card-like numbers. It does not detect all personal data."
  ]
}

Worked example using published sample data only. Own-data execution is paid.

Connect in curl

Set BOUNTY_API_KEY privately after your payment is verified. Change the retry key for each new logical request.

curl 'https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/pii-redaction-map' \
  -H "Authorization: Bearer $BOUNTY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: workflow-request-001' \
  -H 'X-Max-Credits: 1' \
  --data '{"text":"Email me at agent@example.com or call +30 210 123 4567."}'

Connect in n8n

Download the inactive n8n template. Import it, configure the private Header Auth credential, inspect the sample and run it manually. A new execution creates a new billable request; there is no automatic schedule.

Use an HTTP POST to https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/pii-redaction-map. Send JSON and these headers; store the Bearer token as a private credential.

{
  "method": "POST",
  "headers": {
    "Authorization": "Bearer YOUR_PRIVATE_API_KEY",
    "Content-Type": "application/json",
    "Idempotency-Key": "UNIQUE_PER_LOGICAL_REQUEST",
    "X-Max-Credits": "1"
  },
  "body": {
    "text": "Email me at agent@example.com or call +30 210 123 4567."
  }
}

Reuse a retry key only for the same input. Failed execution returns reserved credits. Full integration and recovery guide · Machine-readable recipe