Skip to content
Fourohtwo

mcp.naxytra.com/mcp/http402/html.to-text

HTML to plain text (MCP tool "html.to-text"), $0.01 USDC per call on Base mainnet ($0.001 on Base Sepolia), paid with x402; charged only if the call succeeds. Converts HTML to readable plain text: drops scripts/styles/comments and all attribute text, keeps paragraph and list structure, separates table cells with " | ", decodes numeric and common named entities, and returns the <title> separately.

BaseBase SepoliaAnswering
POSThttps://mcp.naxytra.com/mcp/http402/html.to-text

Uptime100% 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://mcp.naxytra.com/mcp/http402/html.to-text", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"html":"<h1>Release notes</h1><p>Paid per call, <b>settled on Base</b>.</p>"},"name":"html.to-text"}}),
});
console.log(await res.json());

Example input

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "html": "<h1>Release notes</h1><p>Paid per call, <b>settled on Base</b>.</p>"
    },
    "name": "html.to-text"
  }
}

More from naxytraProvider status