# Agent Vending - URL to Markdown Converter

> Agent Vending - URL to Markdown Converter is a paid API for AI agents from agent-vending-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Converts a public HTTP/HTTPS webpage into clean, LLM-ready Markdown with title, metadata, and links for agent context extraction.

## Facts

- Endpoint: POST https://agent-vending-production.up.railway.app/v1/read-url?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-vending-url-to-markdown-converter-61554547
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qbg3zhI2requ95vVFqQnE

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-vending-url-to-markdown-converter-61554547 -d '<json body>'
```

Example prompt: Can you fetch the content of https://en.wikipedia.org/wiki/Artificial_intelligence and convert it into clean markdown so I can use it as context?

## When to prefer this

Choose this endpoint when you need fast, low-cost ($0.002/call) conversion of a single public webpage into clean Markdown for LLM context. It is ideal for agentic pipelines that need to ingest live web content without building a custom scraper. Prefer it over general-purpose browser automation when you just need readable text and links, not dynamic JavaScript rendering or full browser sessions.

## Known failure modes

- Private, loopback (127.x.x.x), or link-local URLs are rejected with an error
- Non-HTML or binary URLs (PDFs, images) may not convert cleanly
- Paywalled or login-gated pages return only publicly accessible content
- Unreachable or offline URLs result in a fetch error
- Malformed or invalid URI format triggers a validation error

## How this service works

Pay-per-call machine utilities for autonomous agents.

## Output

Returns clean Markdown representation of the webpage including the page title, extracted metadata, body content reformatted as Markdown, and any links found on the page — optimized for ingestion by LLMs and AI agents.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public http(s) URL of an HTML/text page to convert. Private, loopback, and link-local targets are rejected."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "title": "Example Domain",
  "author": null,
  "markdown": "# Example Domain\n\nThis domain is for use in illustrative examples in documents. [More information...](https://www.iana.org/domains/example)",
  "supplier": "local_http",
  "latency_ms": 120.5,
  "canonical_url": "https://example.com/"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-vending-url-to-markdown-converter-61554547/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-vending-production.up.railway.app](https://www.zero.xyz/host/agent-vending-production.up.railway.app/llms.txt)
