{
  "x402Version": 2,
  "id": 53550,
  "slug": "53550",
  "resource": "https://pii-redact.x402supply.com/tools/redact",
  "description": "Detect and redact PII in text or JSON. Recognizers are pure pattern/checksum matching (regex + Luhn/mod-97/SSN-area validation) — no LLM calls, no external services. Person names and dates of birth are matched only via nearby context (e.g. 'Mr. Smith', 'DOB: ...'), not general NER, to keep false positives low.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x07fFB5044cF2Cd4352Be4655f578D0ba8cb754EB",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "input": "Contact Jane Doe at jane.doe@example.com or 513-555-0142. SSN 123-45-6789.",
            "options": {
              "mode": "label"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "counts": {
              "email": 1,
              "phone": 1,
              "ssn": 1
            },
            "findings": [
              {
                "confidence": 0.95,
                "span_end": 40,
                "span_start": 20,
                "type": "email"
              },
              {
                "confidence": 0.85,
                "span_end": 56,
                "span_start": 44,
                "type": "phone"
              },
              {
                "confidence": 0.9,
                "span_end": 73,
                "span_start": 62,
                "type": "ssn"
              }
            ],
            "redacted": "Contact Jane Doe at [EMAIL_1] or [PHONE_1]. SSN [SSN_1]."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "input": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "additionalProperties": {},
                        "type": "object"
                      },
                      {
                        "items": {},
                        "type": "array"
                      }
                    ]
                  },
                  "options": {
                    "additionalProperties": false,
                    "properties": {
                      "entities": {
                        "items": {
                          "enum": [
                            "email",
                            "phone",
                            "ssn",
                            "credit_card",
                            "iban",
                            "ip",
                            "us_passport",
                            "us_driver_license",
                            "dob",
                            "us_address",
                            "person_name"
                          ],
                          "type": "string"
                        },
                        "minItems": 1,
                        "type": "array"
                      },
                      "locale": {
                        "enum": [
                          "us"
                        ],
                        "type": "string"
                      },
                      "mode": {
                        "enum": [
                          "mask",
                          "label",
                          "remove"
                        ],
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "input"
                ],
                "type": "object"
              },
              "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": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "pii-redact.x402supply.com",
  "lastUpdated": "2026-10-09T15:32:48.801Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-09T15:32:48.408Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "input": "Contact Jane Doe at jane.doe@example.com or 513-555-0142. SSN 123-45-6789.",
              "options": {
                "mode": "label"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "counts": {
                "email": 1,
                "phone": 1,
                "ssn": 1
              },
              "findings": [
                {
                  "confidence": 0.95,
                  "span_end": 40,
                  "span_start": 20,
                  "type": "email"
                },
                {
                  "confidence": 0.85,
                  "span_end": 56,
                  "span_start": 44,
                  "type": "phone"
                },
                {
                  "confidence": 0.9,
                  "span_end": 73,
                  "span_start": 62,
                  "type": "ssn"
                }
              ],
              "redacted": "Contact Jane Doe at [EMAIL_1] or [PHONE_1]. SSN [SSN_1]."
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "input": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "additionalProperties": {},
                          "type": "object"
                        },
                        {
                          "items": {},
                          "type": "array"
                        }
                      ]
                    },
                    "options": {
                      "additionalProperties": false,
                      "properties": {
                        "entities": {
                          "items": {
                            "enum": [
                              "email",
                              "phone",
                              "ssn",
                              "credit_card",
                              "iban",
                              "ip",
                              "us_passport",
                              "us_driver_license",
                              "dob",
                              "us_address",
                              "person_name"
                            ],
                            "type": "string"
                          },
                          "minItems": 1,
                          "type": "array"
                        },
                        "locale": {
                          "enum": [
                            "us"
                          ],
                          "type": "string"
                        },
                        "mode": {
                          "enum": [
                            "mask",
                            "label",
                            "remove"
                          ],
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "required": [
                    "input"
                  ],
                  "type": "object"
                },
                "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": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "pii-redact.x402supply.com",
    "manifest_name": "pii-redact.x402supply.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}