# SML Agent Web Read Markdown

> SML Agent Web Read Markdown is a paid API for AI agents from squeezeos-api.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Fetches a public HTTPS URL and returns its content as LLM-ready Markdown text, requiring no API key.

## Facts

- Endpoint: GET https://squeezeos-api.onrender.com/api/web/read-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/sml-agent-web-read-markdown-6329480e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nLOcQjACwvmQsVh_gUk7s

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 sml-agent-web-read-markdown-6329480e
```

Example prompt: Can you fetch the content of https://example.com/some-article and give it back to me as clean markdown text, up to 10000 characters?

## When to prefer this

Choose this endpoint when you need to fetch and read arbitrary public web pages as clean LLM-ready Markdown without setting up a separate scraping service or API key. It is especially useful inside agentic workflows where an LLM needs to ingest live web content on-demand at low cost ($0.001 per call). Prefer it over browser-automation tools when the target page is a standard public HTML page and you do not need JavaScript rendering.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error
- URL points to non-HTML content (e.g. binary file) — may return empty or garbled output
- max_chars out of range (below 1000 or above 50000) — may be rejected or clamped
- Target server is slow or unreachable — timeout error
- Payment of 0.001 USDC not fulfilled — HTTP 402 response blocking access

## How this service works

URL to Markdown API and converter for AI agents — convert any public HTTPS URL to clean Markdown, HTML-to-text, and LLM-ready web content with no separate scraper account or API key.

## Output

Returns the textual content of the requested public HTTPS URL converted to clean, LLM-ready Markdown (or JSON-wrapped Markdown if format=json is specified), truncated to max_chars if provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public HTTPS URL to convert to LLM-ready Markdown Search intents: url to markdown api, url to markdown, url to markdown converter, convert url to markdown, webpage to markdown, website to markdown, html to markdown, web scraping api for ai agents, llm ready web."
      },
      "format": {
       "enum": [
        "json"
       ],
       "type": "string",
       "description": "Bazaar discovery uses JSON; omit for raw text/markdown Search intents: url to markdown api, url to markdown, url to markdown converter, convert url to markdown, webpage to markdown, website to markdown, html to markdown, web scraping api for ai agents, llm ready web."
      },
      "max_chars": {
       "type": "string",
       "description": "Maximum extracted text characters, 1000-50000 Search intents: url to markdown api, url to markdown, url to markdown converter, convert url to markdown, webpage to markdown, website to markdown, html to markdown, web scraping api for ai agents, llm ready web."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready",
  "product": "SML Agent Web Access",
  "markdown": "# Example Domain\n\nExample Domain ...",
  "price_usdc": "0.001",
  "source_url": "https://example.com/",
  "technical_service": "SML x402 Clean Web Reader"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sml-agent-web-read-markdown-6329480e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from squeezeos-api.onrender.com](https://www.zero.xyz/host/squeezeos-api.onrender.com/llms.txt)
