Loading...
Loading...
Convert an HTML document supplied in the request body to clean Markdown, stripping scripts and styles. Called as POST /v1/doc/html-to-markdown, it takes html and returns markdown, characters, inputBytes. A research agent handed raw HTML must reduce it to readable text before it can reason over it, and passing full markup through a model wastes most of the context window. Reading this schema and dry-running the call are free and need no wallet; a real call costs $0.004, paid in USDC on Base over x402.
npx skill4agent add fittings-sh/fittings fittings-doc-html-to-markdowndoc.html-to-markdownhttps://fittings.shPOST https://fittings.sh/v1/doc/html-to-markdown| Field | Type | Required | Notes |
|---|---|---|---|
| string | yes | HTML source, up to 2000000 bytes of UTF-8 |
{
"html": "<h1>Title</h1><p>Hello <b>world</b>.</p>"
}| Price | $0.004 per call, metered per bytes |
| Source | none (pure compute) |
| Licence | none-needed |
fittingscall.mjscurl -sO https://fittings.sh/skill/call.mjscurl -s https://fittings.sh/catalog/doc.html-to-markdown | jq402 Payment Required# Dry run. Prints the quote and pays nothing, because no key is set.
node call.mjs doc.html-to-markdown html="<h1>Title</h1><p>Hello <b>world</b>.</p>"
# For real: a wallet holding USDC on Base, and nothing else.
export FITTINGS_PRIVATE_KEY=0x...
node call.mjs doc.html-to-markdown html="<h1>Title</h1><p>Hello <b>world</b>.</p>"FITTINGS_PRIVATE_KEYFITTINGS_MAX_PRICE@x402/core@x402/evmfittingshttps://fittings.sh/catalog/search?q=...