Anokha Web Tools

GET /v1/markdown

Fetch any web page and return its main content as clean Markdown (boilerplate, nav, ads removed) plus title, author, date. Ideal for LLM context.

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

Example call

npx x402-fetch "https://tools.anokha.space/v1/markdown?url=https%3A%2F%2Fexample.com%2Farticle"

Example response

{
  "url": "...",
  "title": "...",
  "author": "...",
  "date": "2026-01-01",
  "markdown": "# ...",
  "chars": 1234
}

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.