PurgoMalum API
Overview
PurgoMalum is a free, no-auth REST API for filtering profanity and obscene words from text, returning a cleaned version with offensive terms replaced by asterisks or a custom fill character. It works with plain HTTP GET requests — just pass the text as a query parameter — making it one of the simplest content moderation APIs available. A `containsprofanity` endpoint lets you check for profanity presence without transforming the text.
Beginner Tip
No API key needed. Pass text via the `text` parameter: `https://www.purgomalum.com/service/plain?text=your+text+here`. Use `/service/json` for a JSON response or `/service/xml` for XML. To use a custom replacement character instead of asterisks, add `&fill_char=X`. The API is GET-only and works directly from the browser address bar.
Available Data
Example Response
{
"input": "[email protected]",
"is_valid": true,
"format_valid": true,
"details": "Input passes all validation checks"
} Field Reference
result The input text with profanity replaced by asterisks (or your custom `fill_char`). Returned when using the `/service/json` endpoint. Implementation Example
const url = "http://www.purgomalum.com/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Postman Echo
⭐ Beginner's PickPostman Echo is a free HTTP test server that mirrors back exactly what you send — headers, query parameters, body, cookies, and request method — making it invaluable for debugging API clients and understanding HTTP behavior without needing a real backend.
Lob.com
Lob.com provides a US Address Verification API that validates, standardizes, and geocodes US mailing addresses using USPS data, ensuring mail deliverability and cleaning up address databases.
US Autocomplete
Smarty's US Autocomplete Pro API provides real-time US address suggestions as users type, returning up to 10 valid USPS-deliverable address candidates per query to reduce data entry errors and speed up checkout flows.
US Extract
Smarty's US Extract API scans any block of unstructured text — emails, documents, web pages — and extracts all US postal addresses it finds, then validates each one against USPS data for deliverability.
US Street Address
The Smarty US Street Address API validates and enriches US postal addresses in real time, returning standardized components like delivery line, city, state, ZIP+4, and county FIPS code.