# well-002-url-to-markdown

> well-002-url-to-markdown is a paid API for AI agents from well-002-url-to-markdown.mmelnyk2000.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Fetches a public HTTPS URL and converts the page content to Markdown, returning the title, content type, and any warnings.

## Facts

- Endpoint: POST https://well-002-url-to-markdown.mmelnyk2000.workers.dev/api/url-to-markdown?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/well-002-url-to-markdown-684edd28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_soRlREpT0rvN_tMwZXiJf

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 well-002-url-to-markdown-684edd28 -d '<json body>'
```

Example prompt: Can you fetch https://en.wikipedia.org/wiki/Markdown and give me the page content converted to markdown?

## When to prefer this

Use this endpoint when you need to fetch a single public HTTPS URL and get back clean, readable Markdown — especially useful for feeding web content into LLM pipelines, summarization tasks, or document ingestion. It is ideal when you want a lightweight, pay-per-call (no subscription) conversion without storing any data. Prefer this over a full headless browser scraper when the target page serves meaningful HTML server-side and you don't need JavaScript rendering.

## Known failure modes

- Non-HTTPS URLs (http, file, data, localhost, private IPs) are rejected with an error
- Response body exceeding 1 MB is rejected
- Request times out if the remote server takes longer than ~10 seconds
- More than 5 redirects causes the request to fail
- Paywalled or bot-protected pages may return incomplete or empty markdown
- Pages with heavy JavaScript rendering may produce minimal markdown since the fetch is server-side

## How this service works

Convert a public https URL to markdown ($0.005 USDC via x402). https only — http, file, data, localhost, and private IPs are rejected. Caps: 1 MB body, ~10s timeout, max 5 redirects. Returns JSON { url, final_url, title?, content_type, markdown, warnings }. Provided as is, with no warranty or guarantee of accuracy or fitness. Nothing is stored.

## Output

A JSON object containing: the original URL, the final URL after redirects, an optional page title, the detected content type, the full markdown representation of the page body, and an array of warnings (e.g. about redirects or parsing issues). The markdown field is the primary output for downstream use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "https URL to fetch and convert to markdown. http/file/data/localhost/private IPs rejected."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/well-002-url-to-markdown-684edd28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from well-002-url-to-markdown.mmelnyk2000.workers.dev](https://www.zero.xyz/host/well-002-url-to-markdown.mmelnyk2000.workers.dev/llms.txt)
