# Anokha Web Tools – Web Scrape to Markdown

> Anokha Web Tools – Web Scrape to Markdown is a paid API for AI agents from tools.anokha.space, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-01).

Fetches a web page and returns its content as Markdown, HTML, raw HTML, extracted links, and/or screenshots

## Facts

- Endpoint: POST https://tools.anokha.space/v1/scrape?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anokha-web-tools-web-scrape-to-markdown-c395c7bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kwNQoYwtAgBSO4iqSBOoV

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-web-scrape-to-markdown-c395c7bb -d '<json body>'
```

Example prompt: Scrape the page at https://example.com and give me the main content as markdown, also extract all the links on the page.

## When to prefer this

Choose this endpoint when an AI agent needs to retrieve and read web page content on-demand without an API key, paying only per call via USDC on Base (x402). Ideal for lightweight, pay-as-you-go web scraping in agent workflows where setting up a subscription-based scraping service is overkill. Well-suited for markdown extraction tasks feeding LLMs directly.

## Known failure modes

- URL is unreachable or returns a non-200 status — success field is false or statusCode reflects the error
- Page requires JavaScript rendering and waitFor is too short — incomplete or empty content returned
- Invalid URL format — request rejected
- Screenshot format requested on a page that blocks headless browsers — blank or error screenshot
- Payment failure via x402 — request not processed

## 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 with a success flag and a data object containing the requested formats: markdown text, HTML, raw HTML, an array of links, and/or screenshot data, plus page metadata including title and HTTP status code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "mobile": {
   "type": "boolean"
  },
  "formats": {
   "type": "array",
   "items": {
    "enum": [
     "markdown",
     "html",
     "rawHtml",
     "links",
     "screenshot",
     "screenshot@fullPage"
    ],
    "type": "string"
   }
  },
  "waitFor": {
   "type": "integer"
  },
  "onlyMainContent": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "links": [
    "https://..."
   ],
   "markdown": "# ...",
   "metadata": {
    "title": "...",
    "statusCode": 200
   }
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anokha-web-tools-web-scrape-to-markdown-c395c7bb/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)
