---
title: "PII Redaction (x402)"
method: GET
path: "/x402/v2/pii-redact"
tags: ["x402"]
---

# PII Redaction (x402)

`GET /x402/v2/pii-redact`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/pii-redact`
- Auth: none required

Detect and redact personally identifiable information (PII) from text. Identifies names, emails, phone numbers, national ID numbers (Swedish personnummer, Finnish henkilötunnus, etc.), addresses, and more.

## Query parameters

- `text` string, required: Text to redact PII from

## Response `200`

Success

- object
  - `entities` unknown[]
    - unknown
  - `entity_counts` object
  - `redacted_text` string

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
