PII redaction API
Strips emails, phone numbers, card numbers, SINs and IPv4s. Runs locally, no model. This is one of 71 pay-per-call tools in the Highland Intel API, also available as an MCP tool named pii-redact.
Price
1¢ per successful call (USD). 1 credit = 1 US cent. After the daily free allowance, pay with credits or per call with x402 (USDC on Base). Category: Text.
Try it
POST https://api.highlnd-intel.group/v1/api/pii-redact with a Bearer key and a JSON body.
curl -s https://api.highlnd-intel.group/v1/api/pii-redact \
-H "authorization: Bearer $HIGHLAND_KEY" \
-H "content-type: application/json" \
-d '{"text":"Call 902-555-0142 or mail ops@example.com"}'{
"text": "Call 902-555-0142 or mail ops@example.com"
}Request body
| Field | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Text to redact, up to 32,000 characters. (max 32000 chars) |
ip | boolean | No | Also redact IPv4 addresses. (default true) |
What it returns
{ text, counts }: the redacted text with [EMAIL]-style placeholders and a count per kind (email, card, sin, phone, ip). A successful response wraps that payload in the usual Highland envelope: api, priceCents, payment (for example free_tier or credits), balanceCents, freeUsedToday, freeLimit, freeRemaining, and result.
Get a free API key
No email, no card. The key is shown once.
curl -s -X POST https://api.highlnd-intel.group/v1/keys
export HIGHLAND_KEY="hk_live_paste_yours_here"Full walkthrough: Quickstart. Key management: API keys. Buy more credits: api.highlnd-intel.group/buy.
MCP and x402
The same tool is available over MCP (Streamable HTTP) at https://api.highlnd-intel.group/mcp as pii-redact. Connect it in Claude, ChatGPT, Grok, or Cursor and other editors.
OpenAPI: /openapi.json. Catalog: /v1/catalog. This tool in the API reference.
Related tools
- Summarize API — Three-bullet summary of up to 8,000 characters. Input is PII-redacted first (4¢)
- Classify API — Picks one label from your list (2 to 20 labels) for a piece of text (3¢)
- Translate (EN/FR and more) API — Translates text between languages; defaults to English to French for NS/NB customers (4¢)
- Text statistics API — Word, sentence and character counts, reading time and a Flesch reading-ease score (1¢)
- DNS records API — A, AAAA, MX, NS and TXT records for a domain over DNS-over-HTTPS (2¢)
See every tool on the tool pages index or the API reference.