# Agent Tools – URL to Markdown Converter

> Agent Tools – URL to Markdown Converter is a paid API for AI agents from agent-tools.faling-bot.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Fetches a web page by URL and returns its content converted to clean Markdown text, with title and character count.

## Facts

- Endpoint: POST https://agent-tools.faling-bot.workers.dev/api/markdown?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tools-url-to-markdown-converter-13ac24c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6_EDQdtOlozA0S-7eApD9

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 agent-tools-url-to-markdown-converter-13ac24c0 -d '<json body>'
```

Example prompt: Grab the content of https://en.wikipedia.org/wiki/Markdown and convert it to markdown so I can read through it — cap it at 15000 characters.

## When to prefer this

Choose this endpoint when an AI agent needs to read and process web page content without requiring a signup or API key — ideal for pay-per-call agent workflows. It is best for one-off URL fetches where you want clean markdown output suitable for downstream LLM processing, summarization, or information extraction. Prefer this over browser automation tools when simplicity and low cost per call matter most.

## Known failure modes

- Invalid or unreachable URL returns an error response
- Pages behind authentication or paywalls may return empty or partial content
- Very large pages may be truncated at the specified or default max_chars limit
- Rate limiting or network timeouts on the target server can cause fetch failures
- Payment failure via x402 will result in a 402 response before content is returned

## How this service works

Pay-per-call web tools for AI agents. No signup, no API key: pay USDC on Base or Solana per request via x402.

## Output

Returns a JSON object containing the original URL, the page title, total character count of the markdown output, and the full markdown-formatted text of the fetched web page (truncated to max_chars if specified).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "http(s) URL of the page"
  },
  "max_chars": {
   "type": "number",
   "description": "truncate output (default 20000, max 50000)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "chars": {
   "type": "number"
  },
  "title": {
   "type": "string"
  },
  "markdown": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tools-url-to-markdown-converter-13ac24c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-tools.faling-bot.workers.dev](https://www.zero.xyz/host/agent-tools.faling-bot.workers.dev/llms.txt)
