{
  "x402Version": 2,
  "id": 12581,
  "slug": "12581",
  "resource": "https://scan.openverbs.com/v1/redact",
  "description": "Return the input text with every detected PII span replaced. `mode` controls the replacement: \"label\" (default) → `[EMAIL]`; \"mask\" → the value covered with a mask character; \"hash\" → `[EMAIL:1a2b3c4d]`, a stable per-value fingerprint so equal values stay linkable without exposing them. Same validated detectors as `/detect`. Fully offline.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "mode": "label",
            "text": "example",
            "types": [
              "email"
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "mask": {
                    "description": "Mask character used when mode=\"mask\" (first character is used). Default \"•\".",
                    "maxLength": 8,
                    "minLength": 1,
                    "type": "string"
                  },
                  "mode": {
                    "description": "Replacement style. Default \"label\".",
                    "enum": [
                      "label",
                      "mask",
                      "hash"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "The text to redact.",
                    "maxLength": 200000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "types": {
                    "description": "Optional subset of PII types to look for. Omit to scan for all.",
                    "items": {
                      "enum": [
                        "email",
                        "phone",
                        "credit_card",
                        "iban",
                        "ipv4",
                        "ipv6",
                        "us_ssn",
                        "jwt"
                      ],
                      "type": "string"
                    },
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "scan.openverbs.com",
  "lastUpdated": "2026-09-14T19:57:48.075Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-14T19:57:47.785Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "scan.openverbs.com",
    "manifest_name": "scan.openverbs.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}