Anokha Web Tools

POST /v1/publish

Publish Markdown, HTML or text as a styled web page at a public URL (30 days). Share reports and results with humans. Scripts are disabled.

Price: $0.03 per call, paid in USDC on Base via x402. No API key or signup.

Example call

npx x402-fetch -X POST -H 'Content-Type: application/json' -d '{"content": "# Findings\n\nSummary here.", "format": "markdown", "title": "Findings"}' https://tools.anokha.space/v1/publish

Example response

{
  "url": "https://tools.anokha.space/f/abc123def456.html",
  "bytes": 20480,
  "expires": "2026-10-25T00:00:00Z",
  "content_type": "text/html"
}

How payment works

The first request returns HTTP 402 with a PAYMENT-REQUIRED header. An x402 client signs a USDC authorization and retries with a PAYMENT-SIGNATURE header. You are charged only when the call succeeds.