What it does
PurgoMalum is a profanity filter web service that removes or masks swear words in text, for example in comments or usernames before they are shown on a site. Call /service/json, /service/xml or /service/plain with a text parameter, or /service/containsprofanity for a true/false answer. Options let you add your own words to the list and choose the replacement text or character. Free, no key needed.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free, no key needed.
- From the browser
- Yes (CORS)
- Formats
- JSON, XML
- Interface
- REST, HTTP-GET
- Provider
- purgomalum.com
More information: https://www.purgomalum.com/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://www.purgomalum.com/service/json?text=hello'
JavaScript
const response = await fetch("https://www.purgomalum.com/service/json?text=hello");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://www.purgomalum.com/service/json?text=hello",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.