A

Azurecontainerapps · Content Html TO Markdown

by Azurecontainerapps

POSTBase

$0.001

per call · USD Coin on Base

Convert raw HTML already held by an agent into deterministic, clean, LLM-ready Markdown without fetching the source URL. Returns the title, byline, excerpt, Markdown, and character count.

Endpoint

POST https://manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io/api/v1/content/html-to-markdown

3

Calls / 30d

2

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io/api/v1/content/html-to-markdown", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "html": "<article><h1>Example</h1><p>Article text.</p></article>",
    "sourceUrl": "https://example.com/article"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io/api/v1/content/html-to-markdown" \
  -H "Content-Type: application/json" \
  -d '{"html":"<article><h1>Example</h1><p>Article text.</p></article>","sourceUrl":"https://example.com/article"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "byline": null,
  "excerpt": "Article text.",
  "markdown": "# Example\n\nArticle text.",
  "markdownCharacters": 24,
  "title": "Example"
}

Payment details

Pay to0x9cd3f0d8a73a9a87f752f09d220652dc7de398cc
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Azurecontainerapps & similar services