# Anokha Web Tools – Page Publish

> Anokha Web Tools – Page Publish is a paid API for AI agents from tools.anokha.space, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-30).

Publishes a document (Markdown, HTML, or plain text) to a public URL with a time-limited expiry link.

## Facts

- Endpoint: POST https://tools.anokha.space/v1/publish?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anokha-web-tools-page-publish-a9d8c1de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G-Agp0f-m4Xo0EZEsassu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anokha-web-tools-page-publish-a9d8c1de -d '<json body>'
```

Example prompt: Publish this markdown report as a public page with the title 'Q3 Sales Summary' so I can share the link with my team: '## Q3 Sales\n\nRevenue was up 12%...'

## When to prefer this

Choose this endpoint when you need to instantly publish agent-generated content (Markdown, HTML, or plain text) to a shareable public URL without setting up any hosting infrastructure. It is ideal for ephemeral sharing scenarios where content only needs to be accessible for a limited time. Prefer it over static hosting services when you need zero-configuration, pay-per-use publishing with no API key or account setup required.

## Known failure modes

- Missing required 'content' field returns a 400 error
- Invalid 'format' enum value (not markdown, html, or text) causes a validation error
- Content too large may be rejected or truncated
- Payment failure via x402/USDC results in a 402 Payment Required response
- Expired pages return 404 after the expiry date

## How this service works

Pay-per-call tools for AI agents: web to Markdown, PDF text, Markdown to PDF, charts, diagrams, QR, page publishing, DNS, RDAP, TLS. x402, USDC on Base, no API key.

## Output

Returns a JSON object containing: a public URL (e.g. https://tools.anokha.space/f/abc123def456.html) where the document is hosted, the file size in bytes, an expiry datetime after which the page will no longer be accessible, and the content type of the hosted file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "title": {
   "type": "string"
  },
  "format": {
   "enum": [
    "markdown",
    "html",
    "text"
   ],
   "type": "string"
  },
  "content": {
   "type": "string",
   "description": "Document body"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anokha-web-tools-page-publish-a9d8c1de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.anokha.space](https://www.zero.xyz/host/tools.anokha.space/llms.txt)
