Skip to content
Fourohtwo

Converts raw HTML you send (up to 500 KB) to GitHub-flavoured Markdown

api.fadeandco.workers.dev/api/agent-intel/html-dom-to-clean-markdown

Converts raw HTML you send (up to 500 KB) to GitHub-flavoured Markdown: headings, paragraphs, links, images, lists, code blocks, quotes, bold and italic. Scripts, styles, navigation, footers, forms and comments are removed; tables are flattened to text. Relative links need a base URL to become absolute.

BaseSolanaArcPolygonArbitrumWorld Chain+1Answering
POSThttps://api.fadeandco.workers.dev/api/agent-intel/html-dom-to-clean-markdown

Uptime100% 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.fadeandco.workers.dev/api/agent-intel/html-dom-to-clean-markdown", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"baseUrl":"https://example.com/","html":"<h2>Title</h2><p>See <a href=\"/docs\">the docs</a>.</p>"}),
});
console.log(await res.json());

Example input

{
  "baseUrl": "https://example.com/",
  "html": "<h2>Title</h2><p>See <a href=\"/docs\">the docs</a>.</p>"
}

More from SiteCheck Agent Intel & Dev