{
  "x402Version": 2,
  "id": 27740,
  "slug": "27740",
  "resource": "https://apiacre.com/v1/document/redact",
  "description": "Deterministically detect and redact PII and personal data in supplied text with overlap-safe matching for emails, phone numbers, validated IPv4 and IPv6 addresses, Luhn-valid payment cards, valid-checksum IBANs, and structurally valid US Social Security numbers.",
  "type": "http",
  "serviceName": "API Acre",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786471603/bazaar-icons/3cd5dfbdc8c7913d.png",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "additionalProperties": false,
            "properties": {
              "counts": {
                "type": "object"
              },
              "detector": {
                "type": "object"
              },
              "findings": {
                "items": {
                  "type": "object"
                },
                "type": "array"
              },
              "findingsReturned": {
                "type": "integer"
              },
              "findingsTruncated": {
                "type": "boolean"
              },
              "inputSha256": {
                "type": "string"
              },
              "limitations": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "outputSha256": {
                "type": "string"
              },
              "redactedCharacters": {
                "type": "integer"
              },
              "selectedTypes": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "text": {
                "type": "string"
              },
              "total": {
                "type": "integer"
              }
            },
            "required": [
              "text",
              "counts",
              "total",
              "selectedTypes",
              "findingsReturned",
              "findingsTruncated",
              "findings",
              "redactedCharacters",
              "inputSha256",
              "outputSha256",
              "detector",
              "limitations"
            ],
            "type": "object"
          },
          "meta": {
            "properties": {
              "cached": {
                "type": "boolean"
              },
              "duration_ms": {
                "type": "integer"
              },
              "next_actions": {
                "items": {
                  "type": "object"
                },
                "type": "array"
              },
              "sources": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "warnings": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "duration_ms",
              "cached",
              "sources",
              "warnings",
              "next_actions"
            ],
            "type": "object"
          },
          "request_id": {
            "type": "string"
          },
          "service": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "service",
          "version",
          "data",
          "meta"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "text": "Contact analyst@example.com about invoice card 4242 4242 4242 4242."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "counts": {
                "credit_card": 1,
                "email": 1,
                "ipv4": 0,
                "ipv6": 0,
                "phone": 0
              },
              "detector": {
                "deterministic": true,
                "networkRequestsMade": 0,
                "overlapSafe": true,
                "validatedTypes": [
                  "credit_card",
                  "iban",
                  "ipv4",
                  "ipv6",
                  "ssn"
                ],
                "version": "apiacre-pii-redaction/2"
              },
              "findings": [
                {
                  "characters": 19,
                  "end": 27,
                  "placeholder": "[REDACTED_EMAIL]",
                  "start": 8,
                  "type": "email"
                }
              ],
              "findingsReturned": 2,
              "findingsTruncated": false,
              "inputSha256": "04b4432fceb85a844f4a83b4ddabd14dda672c9c94b8c54c020ff06de182d2f6",
              "limitations": [
                "Deterministic patterns do not identify names, street addresses, or every loca...",
                "Review redacted output before treating it as safe for a particular privacy or..."
              ],
              "outputSha256": "7e30afcfe691fb4e6527ee782aaa6cccd68b726687540cb2d6de557cfe921c13",
              "redactedCharacters": 38,
              "selectedTypes": [
                "email",
                "phone",
                "ipv4",
                "ipv6",
                "credit_card",
                "ssn",
                "iban"
              ],
              "text": "Contact [REDACTED_EMAIL] about invoice card [REDACTED_CREDIT_CARD].",
              "total": 2
            },
            "meta": {
              "cached": false,
              "duration_ms": 42,
              "next_actions": [],
              "sources": [],
              "warnings": []
            },
            "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
            "service": "document.redact",
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "text": {
                    "type": "string"
                  },
                  "types": {
                    "items": {
                      "enum": [
                        "email",
                        "phone",
                        "ipv4",
                        "ipv6",
                        "credit_card",
                        "ssn",
                        "iban"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "text"
                ],
                "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": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "counts": {
                        "type": "object"
                      },
                      "detector": {
                        "type": "object"
                      },
                      "findings": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "findingsReturned": {
                        "type": "integer"
                      },
                      "findingsTruncated": {
                        "type": "boolean"
                      },
                      "inputSha256": {
                        "type": "string"
                      },
                      "limitations": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "outputSha256": {
                        "type": "string"
                      },
                      "redactedCharacters": {
                        "type": "integer"
                      },
                      "selectedTypes": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "text": {
                        "type": "string"
                      },
                      "total": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "text",
                      "counts",
                      "total",
                      "selectedTypes",
                      "findingsReturned",
                      "findingsTruncated",
                      "findings",
                      "redactedCharacters",
                      "inputSha256",
                      "outputSha256",
                      "detector",
                      "limitations"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "cached": {
                        "type": "boolean"
                      },
                      "duration_ms": {
                        "type": "integer"
                      },
                      "next_actions": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "sources": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "duration_ms",
                      "cached",
                      "sources",
                      "warnings",
                      "next_actions"
                    ],
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "service": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "request_id",
                  "service",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "documents",
    "data",
    "pii",
    "personal-data",
    "redaction",
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "apiacre.com",
  "lastUpdated": "2026-10-08T05:34:32.577Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T05:34:32.1Z"
  },
  "metadata": {
    "serviceName": "API Acre",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786471603/bazaar-icons/3cd5dfbdc8c7913d.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "text": "Contact analyst@example.com about invoice card 4242 4242 4242 4242."
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "counts": {
                  "credit_card": 1,
                  "email": 1,
                  "ipv4": 0,
                  "ipv6": 0,
                  "phone": 0
                },
                "detector": {
                  "deterministic": true,
                  "networkRequestsMade": 0,
                  "overlapSafe": true,
                  "validatedTypes": [
                    "credit_card",
                    "iban",
                    "ipv4",
                    "ipv6",
                    "ssn"
                  ],
                  "version": "apiacre-pii-redaction/2"
                },
                "findings": [
                  {
                    "characters": 19,
                    "end": 27,
                    "placeholder": "[REDACTED_EMAIL]",
                    "start": 8,
                    "type": "email"
                  }
                ],
                "findingsReturned": 2,
                "findingsTruncated": false,
                "inputSha256": "04b4432fceb85a844f4a83b4ddabd14dda672c9c94b8c54c020ff06de182d2f6",
                "limitations": [
                  "Deterministic patterns do not identify names, street addresses, or every loca...",
                  "Review redacted output before treating it as safe for a particular privacy or..."
                ],
                "outputSha256": "7e30afcfe691fb4e6527ee782aaa6cccd68b726687540cb2d6de557cfe921c13",
                "redactedCharacters": 38,
                "selectedTypes": [
                  "email",
                  "phone",
                  "ipv4",
                  "ipv6",
                  "credit_card",
                  "ssn",
                  "iban"
                ],
                "text": "Contact [REDACTED_EMAIL] about invoice card [REDACTED_CREDIT_CARD].",
                "total": 2
              },
              "meta": {
                "cached": false,
                "duration_ms": 42,
                "next_actions": [],
                "sources": [],
                "warnings": []
              },
              "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
              "service": "document.redact",
              "version": "1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "text": {
                      "type": "string"
                    },
                    "types": {
                      "items": {
                        "enum": [
                          "email",
                          "phone",
                          "ipv4",
                          "ipv6",
                          "credit_card",
                          "ssn",
                          "iban"
                        ],
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "text"
                  ],
                  "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": {
                  "properties": {
                    "data": {
                      "additionalProperties": false,
                      "properties": {
                        "counts": {
                          "type": "object"
                        },
                        "detector": {
                          "type": "object"
                        },
                        "findings": {
                          "items": {
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "findingsReturned": {
                          "type": "integer"
                        },
                        "findingsTruncated": {
                          "type": "boolean"
                        },
                        "inputSha256": {
                          "type": "string"
                        },
                        "limitations": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "outputSha256": {
                          "type": "string"
                        },
                        "redactedCharacters": {
                          "type": "integer"
                        },
                        "selectedTypes": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "text": {
                          "type": "string"
                        },
                        "total": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "text",
                        "counts",
                        "total",
                        "selectedTypes",
                        "findingsReturned",
                        "findingsTruncated",
                        "findings",
                        "redactedCharacters",
                        "inputSha256",
                        "outputSha256",
                        "detector",
                        "limitations"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "properties": {
                        "cached": {
                          "type": "boolean"
                        },
                        "duration_ms": {
                          "type": "integer"
                        },
                        "next_actions": {
                          "items": {
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "sources": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "warnings": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "duration_ms",
                        "cached",
                        "sources",
                        "warnings",
                        "next_actions"
                      ],
                      "type": "object"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "service": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "request_id",
                    "service",
                    "version",
                    "data",
                    "meta"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apiacre.com",
    "manifest_name": "apiacre.com",
    "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": {
        "counts": {},
        "detector": {},
        "findings": [
          {}
        ],
        "findingsReturned": 0,
        "findingsTruncated": true,
        "inputSha256": "string",
        "limitations": [
          "string"
        ],
        "outputSha256": "string",
        "redactedCharacters": 0,
        "selectedTypes": [
          "string"
        ],
        "text": "string",
        "total": 0
      },
      "meta": {
        "cached": true,
        "duration_ms": 0,
        "next_actions": [
          {}
        ],
        "sources": [
          "string"
        ],
        "warnings": [
          "string"
        ]
      },
      "request_id": "string",
      "service": "string",
      "version": "string"
    },
    "type": "string"
  }
}