# utilsforagents.com Fetch URL to Markdown

> utilsforagents.com Fetch URL to Markdown is a paid API for AI agents from utilsforagents.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Fetches a remote URL, downloads its HTML, and returns clean Markdown suitable for LLM context windows or document processing.

## Facts

- Endpoint: POST https://utilsforagents.com/v1/html/fetch-markdown?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/utilsforagents-com-94011a5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GyF0OD8tZygzaz63mjf5U

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 utilsforagents-com-94011a5b -d '<json body>'
```

Example prompt: Fetch https://docs.python.org/3/library/asyncio.html and give me its content as clean markdown so I can read through it.

## When to prefer this

Use this endpoint when you need to fetch a live web page and immediately get its content as clean Markdown — ideal for reading documentation, articles, or any public HTML page in an LLM-friendly format. Prefer this over a plain text fetch endpoint when you specifically want Markdown output with structure (headers, lists, links) preserved. Choose this over the HTML metadata endpoint when you want full page content rather than just title/description/canonical fields.

## Known failure modes

- URL is unreachable or times out after 5 seconds — returns an error response
- Downloaded HTML exceeds 2 MB limit — returns a size error
- URL redirects indefinitely or to a non-HTML resource — returns an error
- Malformed or invalid URL in the request body — returns a validation error
- Target site blocks automated requests (403/429) — returns an HTTP error

## How this service works

Fetches a webpage and returns its content as Markdown.

## Output

A clean Markdown string representing the readable content of the fetched web page, with navigation, scripts, styles, and non-content elements stripped out. Suitable for pasting into an LLM context window. Remote fetch has a 5-second timeout and 2 MB max download size.

## Example request

```json
{
 "url": "https://example.com"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to fetch and convert to Markdown"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "markdown": "# Example Domain\n\nThis domain is for use in illustrative examples.",
  "sourceUrl": "https://quotes.toscrape.com",
  "charsAfter": 483,
  "charsBefore": 1256,
  "processingTimeMs": 120.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/utilsforagents-com-94011a5b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from utilsforagents.com](https://www.zero.xyz/host/utilsforagents.com/llms.txt)
