ParseRail
api.thecompound.tech/v1
39 endpoints1 paused242/242 checks passingcredits from $20

Content & moderation

PII redaction

Detect and strip names, emails, phones, SSNs, cards, and PHI from text before you store or log it.

POST/v1/redact$0.03/call, 3 credits, charged only on success120 calls a minute per key

The example in the published schema

charged 0 credits
  1. auth (bearer key)
  2. per-key throttle
  3. validate body
  4. balance precheck
  5. run the capability
  6. charge credits ON SUCCESS ONLY
  7. JSON
The request body/v1/redact
{
  "text": "Call Jane Doe at 415-555-0199 or jane@acme.com."
}
The responsepublished example
// sending the call
// 0 credits charged so far
curl https://api.thecompound.tech/v1/redact \
  -H "Authorization: Bearer $COMPOUND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Call Jane Doe at 415-555-0199 or jane@acme.com."}'

Scored

7 of 7 field checks passed when the eval suite last ran against production, on 2026-07-08. Every endpoint's score

The Content & moderation guide has this endpoint with its example response. The reference has every parameter.

More from Content & moderation

Get a key and buy credits