{
  "x402Version": 2,
  "id": 35693,
  "slug": "35693",
  "resource": "https://agentsvc.io/api/v1/proxy/pii-redact",
  "description": "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.",
  "type": "http",
  "serviceName": "PII Redaction and Anonymization",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "chars_checked": {
                "type": "number"
              },
              "counts": {
                "type": "object"
              },
              "entities_found": {
                "type": "number"
              },
              "mapping": {
                "items": {
                  "properties": {
                    "placeholder": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "mode": {
                "type": "string"
              },
              "model": {
                "type": "string"
              },
              "redacted_text": {
                "type": "string"
              },
              "types_checked": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "text",
      "info": {
        "input": {
          "body": {
            "text": "Hi, this is Anna Schulz from Berlin. Please refund order 4471 to DE89 3704 0044 0532 0130 00 and confirm to anna.schulz@example.com or +49 30 1234 5678."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {},
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "keep": {
                    "description": "Values to leave in place, e.g. your own support address",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "mode": {
                    "default": "placeholder",
                    "description": "placeholder: [EMAIL_1]; mask: ████; remove: delete",
                    "enum": [
                      "placeholder",
                      "mask",
                      "remove"
                    ],
                    "type": "string"
                  },
                  "return_mapping": {
                    "default": true,
                    "description": "Return placeholder to original value mapping",
                    "type": "boolean"
                  },
                  "text": {
                    "description": "Text to redact, max 8,000 chars",
                    "type": "string"
                  },
                  "types": {
                    "description": "Which kinds to redact. Default all except ORGANIZATION and URL",
                    "items": {
                      "enum": [
                        "PERSON",
                        "EMAIL",
                        "PHONE",
                        "ADDRESS",
                        "IBAN",
                        "CARD",
                        "IP",
                        "DATE_OF_BIRTH",
                        "ID_NUMBER",
                        "ORGANIZATION",
                        "URL"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "text"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "chars_checked": {
                        "type": "number"
                      },
                      "counts": {
                        "type": "object"
                      },
                      "entities_found": {
                        "type": "number"
                      },
                      "mapping": {
                        "items": {
                          "properties": {
                            "placeholder": {
                              "type": "string"
                            },
                            "source": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string"
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "mode": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "redacted_text": {
                        "type": "string"
                      },
                      "types_checked": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "success",
                  "data"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "pii",
        "redaction",
        "gdpr",
        "privacy",
        "anonymization",
        "pii-redaction",
        "data-anonymization",
        "data-masking"
      ]
    },
    "builder-code": {
      "info": {
        "a": "bc_q6wi3opd"
      }
    }
  },
  "tags": [
    "pii",
    "redaction",
    "gdpr",
    "privacy",
    "anonymization",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "agentsvc.io",
  "lastUpdated": "2026-10-11T11:59:46.091Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T11:59:45.861Z"
  },
  "metadata": {
    "serviceName": "PII Redaction and Anonymization",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
    "extensions": {
      "bazaar": {
        "category": "text",
        "info": {
          "input": {
            "body": {
              "text": "Hi, this is Anna Schulz from Berlin. Please refund order 4471 to DE89 3704 0044 0532 0130 00 and confirm to anna.schulz@example.com or +49 30 1234 5678."
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {},
              "success": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "keep": {
                      "description": "Values to leave in place, e.g. your own support address",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "mode": {
                      "default": "placeholder",
                      "description": "placeholder: [EMAIL_1]; mask: ████; remove: delete",
                      "enum": [
                        "placeholder",
                        "mask",
                        "remove"
                      ],
                      "type": "string"
                    },
                    "return_mapping": {
                      "default": true,
                      "description": "Return placeholder to original value mapping",
                      "type": "boolean"
                    },
                    "text": {
                      "description": "Text to redact, max 8,000 chars",
                      "type": "string"
                    },
                    "types": {
                      "description": "Which kinds to redact. Default all except ORGANIZATION and URL",
                      "items": {
                        "enum": [
                          "PERSON",
                          "EMAIL",
                          "PHONE",
                          "ADDRESS",
                          "IBAN",
                          "CARD",
                          "IP",
                          "DATE_OF_BIRTH",
                          "ID_NUMBER",
                          "ORGANIZATION",
                          "URL"
                        ],
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "text"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "properties": {
                        "chars_checked": {
                          "type": "number"
                        },
                        "counts": {
                          "type": "object"
                        },
                        "entities_found": {
                          "type": "number"
                        },
                        "mapping": {
                          "items": {
                            "properties": {
                              "placeholder": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              },
                              "value": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "mode": {
                          "type": "string"
                        },
                        "model": {
                          "type": "string"
                        },
                        "redacted_text": {
                          "type": "string"
                        },
                        "types_checked": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "data"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "pii",
          "redaction",
          "gdpr",
          "privacy",
          "anonymization",
          "pii-redaction",
          "data-anonymization",
          "data-masking"
        ]
      },
      "builder-code": {
        "info": {
          "a": "bc_q6wi3opd"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentsvc.io",
    "manifest_name": "agentsvc.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {
        "chars_checked": 0,
        "counts": {},
        "entities_found": 0,
        "mapping": [
          {
            "placeholder": "string",
            "source": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "mode": "string",
        "model": "string",
        "redacted_text": "string",
        "types_checked": [
          "string"
        ]
      },
      "success": true
    },
    "type": "string"
  }
}