Web to Markdown API
api.aiskills402.com/v1/run/web-to-markdown
Web to Markdown API: reads one public web page from the Cloudflare edge (static HTML, robots.txt respected, no JavaScript rendering) and returns clean markdown or plain text of the main content (nav and footer dropped; scope: page keeps all) with title, description, language and links. $0.005 USDC per page; you pay only when the page text is returned - refusals cost nothing. POST JSON {url, format
POST
https://api.aiskills402.com/v1/run/web-to-markdownUptime100% 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://api.aiskills402.com/v1/run/web-to-markdown", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"format":"markdown","links":true,"scope":"main","url":"https://www.iana.org/help/example-domains"}),
});
console.log(await res.json());Example input
{
"format": "markdown",
"links": true,
"scope": "main",
"url": "https://www.iana.org/help/example-domains"
}