✛ Text Analysis
PII Redact
Send up to 100,000 characters of text. You get the text back with personal data replaced by labels such as [EMAIL] or by asterisks, and a list of every span found with its kind, position and score. Works across European languages. Use it before sending text to a language model, a log or a support tool. The model runs on our own hardware in the EU; your text is processed in memory, never stored and never sent to anyone else. A model can miss things: treat this as a strong filter, not a guarantee.
Send text and get it back with personal data masked, plus where each piece was found and how sure the model is.
POST/v1/pii/redact
Try it ↓- Price
- $0.001 per 1k characters · REST and MCP
- RapidAPI
- $0.00125 per 1k characters · listing at launch
- Per call
- up to 100,000 characters · at most $0.10
- Returns
- application/json
- MCP tool
- pii_redact_redact
Request body
| Field | Type | Description |
|---|---|---|
| textrequired | string | Up to 100,000 characters. |
| labels | string[] | What to look for. Left out, everything: person, email, phone_number, address, date, date_of_birth, organization, iban, credit_card_number, bank_account_number, passport_number, id_number, tax_id, ip_address, url, username, password. |
| threshold | number | How sure the model must be, 0.1 to 0.99. Lower finds more and is wrong more often. 0.6 if left out. |
| mask | label | stars | none | — |
example
curl https://readymadeapi.com/v1/pii/redact \
-H "Authorization: Bearer $READYMADE_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Hi, I'\''m Maria Popescu. Write to [email protected] or call +40 721 234 567."
}'What comes back
{
"redacted": "Hi, I'm [PERSON]. Write to [EMAIL] or call [PHONE_NUMBER].",
"spans": [
{
"label": "person",
"start": 8,
"end": 21,
"score": 0.9513,
"text": "Maria Popescu"
},
{
"label": "email",
"start": 32,
"end": 56,
"score": 1.0,
"text": "[email protected]"
},
{
"label": "phone_number",
"start": 65,
"end": 80,
"score": 1.0,
"text": "+40 721 234 567"
}
],
"counts": {
"email": 1,
"person": 1,
"phone_number": 1
}
}Use it from an agent
Every endpoint above is also an MCP tool. Add the server to Claude, Cursor or any MCP client and the tools appear with their prices; calls draw from the same credit.
mcp config
{
"mcpServers": {
"readymade": {
"type": "http",
"url": "https://readymadeapi.com/mcp",
"headers": {
"Authorization": "Bearer ${READYMADE_KEY}"
}
}
}
}