Host a web page API for AI agents

From $0.01 per successful call · failed calls are never charged · no account needed · Markdown version: /guides/host-web-page-api.md

Publish an HTML page and get a public URL for it (valid up to 7 days): send the HTML (up to 200,000 characters) and an optional title; the page is sanitised (no scripts, styles, frames, forms or event handlers; links and https images stay), screened by content moderation, stored, and served at /p/<id> with noindex. Use to hand a person a report, table or summary your agent produced, or to share results between agents. Removal requests: /support.

Host a web page, publish HTML: a URL for your agent's output $0.01

Publish an HTML page and get a public URL for it (valid up to 7 days): send the HTML (up to 200,000 characters) and an optional title; the page is sanitised (no scripts, styles, frames, forms or event handlers; links and https images stay), screened by content moderation, stored, and served at /p/<id> with noindex. Use to hand a person a report, table or summary your agent produced, or to share results between agents. Removal requests: /support.

Inputs: html (required): The HTML to publish (body content or a full document), up to 200,000 characters; title: Page title (default: the first line of text); days: Days the page stays online, 1 to 7 (default 7).

Not in the free calls (it costs capacity per call); pay from the first call.

With a card key from /credits, in a header or, when your client can only fetch a URL, in the URL:

curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/page/publish?html=%3Ch1%3EWeekly%20report%3C%2Fh1%3E%3Cp%3ESales%20rose%2012%25.%3C%2Fp%3E%3Ctable%3E%3Ctr%3E%3Cth%3ERegion%3C%2Fth%3E%3Cth%3EChange%3C%2Fth%3E%3C%2Ftr%3E%3Ctr%3E%3Ctd%3EEU%3C%2Ftd%3E%3Ctd%3E%2B12%25%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftable%3E"
curl "https://tools.funwords.eu/page/publish?html=%3Ch1%3EWeekly%20report%3C%2Fh1%3E%3Cp%3ESales%20rose%2012%25.%3C%2Fp%3E%3Ctable%3E%3Ctr%3E%3Cth%3ERegion%3C%2Fth%3E%3Cth%3EChange%3C%2Fth%3E%3C%2Ftr%3E%3Ctr%3E%3Ctd%3EEU%3C%2Ftd%3E%3Ctd%3E%2B12%25%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftable%3E&api_key=adt_…"

Without a key the same URL answers 402 Payment Required with x402 and MPP terms, so a wallet client pays USDC per call and retries. Over MCP (https://tools.funwords.eu/mcp) this tool is page_publish.

Example result
{
  "id": "k7m2p9qxw4rt",
  "url": "https://agent-data-tools.revmesh2074.workers.dev/p/k7m2p9qxw4rt",
  "title": "Weekly report",
  "bytes": 131,
  "expiresAt": "2026-11-07T12:00:00.000Z",
  "days": 7,
  "removed": [
    "script",
    "style",
    "iframe",
    "form",
    "event handlers",
    "javascript: links"
  ],
  "notice": "Published for the publisher's own use; noindex; removal requests to the support address on /support."
}

Tool page, inputs and limits

Markdown to HTML: render Markdown text as HTML $0.01

Convert Markdown (headings, paragraphs, bold, italic, strikethrough, links, images, inline and fenced code, lists and task lists, tables, quotes, rules) to HTML. Raw HTML in the input is escaped, so the output is safe to embed. Use to publish agent-written Markdown on a web page.

Inputs: markdown (required): The Markdown.

Free first (25 successful calls per caller, no key):

curl "https://tools.funwords.eu/markdown/to-html?markdown=%23%20Title%0ASome%20**bold**%20text%20and%20a%20%5Blink%5D(https%3A%2F%2Fexample.com).&trial=1"

With a card key from /credits, in a header or, when your client can only fetch a URL, in the URL:

curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/markdown/to-html?markdown=%23%20Title%0ASome%20**bold**%20text%20and%20a%20%5Blink%5D(https%3A%2F%2Fexample.com)."
curl "https://tools.funwords.eu/markdown/to-html?markdown=%23%20Title%0ASome%20**bold**%20text%20and%20a%20%5Blink%5D(https%3A%2F%2Fexample.com).&api_key=adt_…"

Without a key the same URL answers 402 Payment Required with x402 and MPP terms, so a wallet client pays USDC per call and retries. Over MCP (https://tools.funwords.eu/mcp) this tool is markdown_to_html.

Example result
{
  "html": "<h1>Title</h1>\n<p>Some <strong>bold</strong> text and a <a href=\"https://example.com\">link</a>.</p>"
}

Tool page, inputs and limits

Questions

How do I pay?

Each successful call costs the tool's price; failed calls are not charged. Then pay with card credits from $1 (the key goes in an Authorization header or as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.