code.halowerk.com/v1/html-nu-validate
Validate HTML, CSS or SVG with the real Nu Html Checker (vnu.jar 26.10.12) run locally: errors, warnings and info with line, column and extract. Runs the Nu Html Checker (the checker behind validator.w3.org/nu; vnu.jar 26.10.12, MIT, SHA-256 verified) as a local child process per request with a 1.2 GB address-space limit, 8 s CPU and 7.5 s wall-clock limit, one run at a time.
POST
https://code.halowerk.com/v1/html-nu-validateUptime100% of 2 checks 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://code.halowerk.com/v1/html-nu-validate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"html":"<!DOCTYPE html><html lang=\"en\"><head><title>x</title></head><body><img src=\"a.png\"></body></html>"}),
});
console.log(await res.json());Example input
{
"html": "<!DOCTYPE html><html lang=\"en\"><head><title>x</title></head><body><img src=\"a.png\"></body></html>"
}