agents.204-168-199-108.sslip.io/v1/security/html-sanitize
Clean HTML from users, LLM output, emails or scraped pages before you show or store it. Drops script/style/iframe/object/form/svg and similar, strips every on* handler and style attribute, removes javascript:/data:/vbscript: URLs, unwraps unknown tags (keeps their text) and adds rel=nofollow to external links. Modes: basic (rich text, tables, images), strict (simple formatting + links), text (plai
GET
https://agents.204-168-199-108.sslip.io/v1/security/html-sanitizeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/security/html-sanitize?html=%3Cp+style%3D%22color%3Ared%22+class%3D%22x%22%3EHi+%3Cb%3Ethere%3C%2Fb%3E+%3Ca+href%3D%22https%3A%2F%2Fex.com%2Fa%22+target%3D%22_blank%22%3Eok%3C%2Fa%3E%3C%2Fp%3E%3C%21--+note+--%3E%3Cfont+color%3Dred%3Ered%3C%2Ffont%3E%3Cform+action%3D%22%2Ff%22%3E%3Cinput+name%3D%22q%22%3E%3C%2Fform%3E&mode=strict");
console.log(await res.json());Example input
{
"html": "<p style=\"color:red\" class=\"x\">Hi <b>there</b> <a href=\"https://ex.com/a\" target=\"_blank\">ok</a></p><!-- note --><font color=red>red</font><form action=\"/f\"><input name=\"q\"></form>",
"mode": "strict"
}