{
  "x402Version": 2,
  "id": 14198,
  "slug": "14198",
  "resource": "https://pii-redactor.pdfextractapi.workers.dev/redact",
  "description": "Detect and redact PII / sensitive data from text.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA0AC44BECC6302298f01ed255B175ca1060C189E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "text": "Contact John Smith at john@example.com or 555-123-4567."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "entities": [
              {
                "type": "NAME"
              },
              {
                "type": "EMAIL"
              },
              {
                "type": "PHONE"
              }
            ],
            "has_pii": true,
            "redacted_text": "Contact [NAME] at [EMAIL] or [PHONE]."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "include_values": {
                    "description": "If true, include the original raw values in 'entities'. Default false.",
                    "type": "boolean"
                  },
                  "text": {
                    "description": "The text to redact PII from, max 50,000 characters.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ]
              },
              "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"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "pii-redactor.pdfextractapi.workers.dev",
  "lastUpdated": "2026-08-30T15:48:23.093Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-08-30T15:48:22.625Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "pii-redactor.pdfextractapi.workers.dev",
    "manifest_name": "pii-redactor.pdfextractapi.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}