# Strale URL to Markdown Converter

> Strale URL to Markdown Converter is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-14).

Fetches a URL and converts its HTML content into clean Markdown text, optionally including links and images

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/url-to-markdown
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-url-to-markdown-converter-24426ab6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eIiObL1hv6ZalK49fmw0Q

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 strale-url-to-markdown-converter-24426ab6
```

Example prompt: Can you fetch the page at https://example.com/blog/article and convert it to clean markdown, including links but skipping images?

## When to prefer this

Choose this endpoint when you need a reliable, auditable conversion of any public web page to Markdown, especially in agentic pipelines that require cryptographic audit trails. Prefer it over generic scrapers when you need structured Markdown output with optional link/image inclusion and a trust layer guaranteeing result provenance.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — conversion fails with an error
- URL points to a non-HTML resource (PDF, binary) — markdown output may be empty or malformed
- URL requires authentication or returns a paywall — only publicly accessible content is converted
- Malformed or missing 'url' query parameter — returns a validation error
- Rate limiting or payment failure via x402 — request is rejected before fetching

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns the fetched webpage's content rendered as clean Markdown text, along with an audit record containing a cryptographic chain hash for traceability. The markdown may include inline links and image references depending on the query parameters supplied.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ]
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "URL to convert"
      },
      "include_links": {
       "type": "boolean"
      },
      "include_images": {
       "type": "boolean"
      }
     }
    }
   },
   "required": [
    "type",
    "method"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-url-to-markdown-converter-24426ab6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
