HTML Clean
FREE
By neutrinoapi
Updated a year ago

HTML Clean API Documentation

Clean and sanitize untrusted HTML.
This can be used to make user supplied content safe and prevent cross-site scripting attacks (XSS).
The scrubbing method used is immune to XSS evasion techniques by using an HTML whitelist approach.

Learn more about this API
POSTHTML Clean
POSTHTML Clean
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
contentSTRING
REQUIREDThe HTML content. This can be either a URL to load HTML from or an actual HTML content string
output-typeSTRING
REQUIREDThe level of sanitization, possible values are: (1) plain-text: reduce the content to plain-text only (no HTML tags at all) (2) simple-text: allow only very basic text formatting tags like b, em, i, strong, u (3) basic-html: allow advanced text formatting and hyper links (4) basic-html-with-images: same as basic-html but also allows image tags (5) advanced-html: same as basic-html-with-images but also allows more structural HTML tags like h1 - h6, table, ul, dl, pre
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication