# URL to Markdown Converter

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

Converts any public URL to clean, article-quality markdown by extracting main content and stripping navigation, ads, and boilerplate

## Facts

- Endpoint: GET https://api.strale.io/x402/url-to-markdown?utm_source=zero.xyz
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-c6574992
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6zrDjjZC7MbCM8-f1fo7y

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 api-strale-io-c6574992
```

Example prompt: Can you grab the main article content from https://www.theverge.com/2024/1/15/some-article and give it to me as clean markdown, including links but without the ads and nav?

## When to prefer this

Choose this endpoint when you need clean, readable markdown from any public webpage — especially blog posts, news articles, and documentation pages — without writing your own scraper. It handles both static and JavaScript-rendered pages automatically, making it ideal for agents that need to read and reason about web content without manual HTML parsing.

## Known failure modes

- URL is unreachable or returns non-200 status — extraction fails
- Page has no extractable main content (e.g. login wall, empty SPA shell)
- JavaScript rendering timeout for complex SPAs — may return partial content
- URL parameter missing — returns 400 bad request
- Paywalled content may only return teaser text
- Rate limiting or network errors on the target site

## How this service works

Convert any URL to clean, article-quality markdown. Extracts main content and strips navigation, ads, and boilerplate. Handles static sites instantly and JavaScript-rendered pages via fallback rendering. Supports blogs, documentation, news articles, and m…

## Output

Returns the main article or page content as clean markdown text, with navigation, ads, sidebars, and boilerplate removed. Optionally includes hyperlinks and images from the original page. Handles both static HTML and JavaScript-rendered pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to convert"
  },
  "include_links": {
   "type": "boolean"
  },
  "include_images": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "title": {
  "type": "string"
 },
 "markdown": {
  "type": "string"
 },
 "word_count": {
  "type": "integer"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-c6574992/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)
