Skip to content
Fourohtwo

Convert anything at a URL

agent402.tools/api/skill/any-to-markdown

Convert anything at a URL - HTML, PDF, or an image - to clean markdown. The 'I have a URL but it might be any content-type, give me markdown either way' workflow: HEAD-detect the content-type, branch to the right deterministic extractor (article extract for HTML, pdf-to-markdown for PDFs, OCR for images), and report token/word stats on the output so the caller can budget the result against an LLM

SolanaBaseUnchecked
POSThttps://agent402.tools/api/skill/any-to-markdown

UptimeNot checked yet

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://agent402.tools/api/skill/any-to-markdown", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://agent402.tools"}),
});
console.log(await res.json());

Example input

{
  "url": "https://agent402.tools"
}

Price changes

  • Nov 25, 20260.01 → 0.03
  • Nov 25, 20260.03 → 0.01