GET /profanity/filter
Filter profanity from text, replacing bad words with asterisks or a custom replacement. Toetab adding custom words to filter.
text
kohustuslik
Text to filter
add
valikuline
Additional words to filter (comma-separated)
fill_char
valikuline
Replacement character (default: *)
fill_text
valikuline
Replacement text instead of characters
| Nimi | Kohustuslik | Vaikeväärtus | Kirjeldus |
|---|---|---|---|
text |
Jah | - | Text to filter |
add |
Ei | - | Additional words to filter (comma-separated) |
fill_char |
Ei | - | Replacement character (default: *) |
fill_text |
Ei | - | Replacement text instead of characters |
curl "https://nordapi.ee/api/v1/profanity/filter?text=hello+world"
{
"data": {
"result": "hello world"
},
"success": true
}