HTML to plain text
intel.rallylive.ca/data/html-to-text
HTML to plain text: strips tags, scripts and styles, decodes entities, keeps paragraph and line breaks, and returns word count. Clean up scraped or generated HTML. $0.01 per call.
POST
https://intel.rallylive.ca/data/html-to-textUptime100% of 5 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://intel.rallylive.ca/data/html-to-text", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"html":"<h1>Hi</h1><p>there <b>friend</b></p>"}),
});
console.log(await res.json());Example input
{
"html": "<h1>Hi</h1><p>there <b>friend</b></p>"
}