# ScriptMasterLabs Web Markdown Fetcher (x402)

> ScriptMasterLabs Web Markdown Fetcher (x402) is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Fetches a web page at a given URL and returns its content as Markdown, settled via x402 micropayment in USDC on Base.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/web-markdown
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-web-markdown-fetcher-x402-40e362a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7lS6DgMVATA40_aiE5zW2

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 scriptmasterlabs-web-markdown-fetcher-x402-40e362a5
```

Example prompt: Can you fetch the page at https://example.com and give me its content as clean Markdown?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call web-to-Markdown conversion without managing a scraping infrastructure subscription. It is ideal for one-off page fetches where micropayment via USDC on Base is acceptable and you need the result in clean Markdown rather than raw HTML or JSON.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty body
- Paywalled or JavaScript-heavy pages may return incomplete or no markdown content
- Invalid or malformed URL input causes a request error
- Payment not settled via x402 results in a 402 response blocking the call
- Response schema is minimal — structured error messages may not be well-defined

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns the content of the requested web page converted to Markdown format, stripping HTML and rendering the readable text, headings, links, and structure as Markdown.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "example": "https://example.com"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-web-markdown-fetcher-x402-40e362a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
