Api Endpoint

PII Redaction and Anonymization

PII redaction for agent pipelines: remove personal data from text before it goes to another model, a log, a ticket system or a dataset. Emails, IBANs (checksum verified), card numbers (Luhn verified), phone numbers and IP addresses are found by exact patterns; names of people, street addresses, birth dates and ID numbers by Claude Haiku 5.5.

Open interactive test console

Offering

Provider
agentsvc.io
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agentsvc.io/api/v1/proxy/pii-redact
MIME type
application/json
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
pii-redaction, data-anonymization, gdpr, privacy, data-masking

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
0.003 USDC
Atomic price: 3000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.003 USDC
Atomic price: 3000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "3000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "3000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  }
]

Observed health

Status
Healthy
Latest latency
1154 ms
Average latency
970 ms
HTTP status
204
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "properties": {
        "text": {
          "type": "string",
          "description": "Text to redact, max 8,000 chars"
        },
        "mode": {
          "type": "string",
          "enum": [
            "placeholder",
            "mask",
            "remove"
          ],
          "default": "placeholder",
          "description": "placeholder: [EMAIL_1]; mask: ████; remove: delete"
        },
        "types": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "PERSON",
              "EMAIL",
              "PHONE",
              "ADDRESS",
              "IBAN",
              "CARD",
              "IP",
              "DATE_OF_BIRTH",
              "ID_NUMBER",
              "ORGANIZATION",
              "URL"
            ]
          },
          "description": "Which kinds to redact. Default all except ORGANIZATION and URL"
        },
        "keep": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Values to leave in place, e.g. your own support address"
        },
        "return_mapping": {
          "type": "boolean",
          "default": true,
          "description": "Return placeholder to original value mapping"
        }
      },
      "required": [
        "text"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "required": [
        "success",
        "data"
      ],
      "properties": {
        "success": {
          "type": "boolean"
        },
        "data": {
          "type": "object",
          "properties": {
            "redacted_text": {
              "type": "string"
            },
            "entities_found": {
              "type": "number"
            },
            "counts": {
              "type": "object"
            },
            "mode": {
              "type": "string"
            },
            "mapping": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  },
                  "placeholder": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  }
                }
              }
            },
            "types_checked": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "chars_checked": {
              "type": "number"
            },
            "model": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "required": [
    "type"
  ]
}