Replace identified persons and organizations in a case law excerpt with [PERSON] tokens.
Artificial IntelligenceClassificationLegal ResearchLegal TechNatural Language ProcessingPrivacy
Vlex Iceberg Anonymization Anonymize Text Example is an example object payload from vLex, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"title": "Anonymize Legal Text",
"description": "Replace identified persons and organizations in a case law excerpt with [PERSON] tokens.",
"operation": "anonymizeText",
"request": {
"method": "POST",
"url": "https://api.vlex.com/v1/anonymize",
"headers": {
"Ocp-Apim-Subscription-Key": "your-vlex-subscription-key",
"Content-Type": "application/json"
},
"body": {
"text": "In the case of John Smith v. ABC Corporation, filed on March 15, 2026 in the District Court of New York, the plaintiff John Smith alleges that his supervisor Jane Doe subjected him to a hostile work environment.",
"mode": "replace",
"replacement_token": "[PERSON]",
"entity_types": ["PERSON", "ORGANIZATION"]
}
},
"response": {
"status": 200,
"body": {
"anonymized_text": "In the case of [PERSON] v. [ORGANIZATION], filed on March 15, 2026 in the District Court of New York, the plaintiff [PERSON] alleges that his supervisor [PERSON] subjected him to a hostile work environment.",
"entities": [
{
"text": "John Smith",
"entity_type": "PERSON",
"confidence": 0.98,
"start_offset": 21,
"end_offset": 31
},
{
"text": "ABC Corporation",
"entity_type": "ORGANIZATION",
"confidence": 0.96,
"start_offset": 35,
"end_offset": 50
},
{
"text": "John Smith",
"entity_type": "PERSON",
"confidence": 0.98,
"start_offset": 107,
"end_offset": 117
},
{
"text": "Jane Doe",
"entity_type": "PERSON",
"confidence": 0.97,
"start_offset": 141,
"end_offset": 149
}
],
"entity_count": 4,
"processing_time_ms": 45
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.