# agentshelf.syntexa.ch URL to Markdown

> agentshelf.syntexa.ch URL to Markdown is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Fetches the main content of a public HTTP(S) URL and returns it as Markdown along with the page title and final resolved URL, with SSRF protection.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/url-to-md?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-syntexa-ch-url-to-markdown-60120d4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tyi1giCtBqyzVsRty9STx

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 agentshelf-syntexa-ch-url-to-markdown-60120d4b -d '<json body>'
```

Example prompt: Can you fetch the main content of https://en.wikipedia.org/wiki/Large_language_model and give it to me as markdown text?

## When to prefer this

Choose this endpoint when you need to retrieve and read the primary textual content of a public web page in a clean, agent-friendly Markdown format. It is SSRF-safe, making it suitable for automated agent pipelines that must not access internal network resources. Prefer the free sandbox endpoint (/v1/sandbox/url-to-md) for testing or low-volume use; use this paid endpoint for production reliability.

## Known failure modes

- URL is unreachable or returns a non-200 status — fetch fails with an error
- URL targets a private/internal IP address — blocked by SSRF protection
- URL content is not parseable HTML (e.g. binary file) — may return empty or minimal markdown
- URL exceeds 2048 characters — rejected by input validation
- Page requires JavaScript rendering — static fetch may miss dynamically loaded content
- Payment of $0.005 USDC not included or fails — request rejected with 402

## How this service works

Call when an agent needs main content of a public http(s) URL as markdown plus title and final_url. SSRF-safe fetch. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/url-to-md first.

## Output

Returns the main body content of the requested URL as a Markdown string, along with the page title and the final resolved URL (after any redirects). Content is cleaned of navigation, ads, and boilerplate to expose the primary readable content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "examples": [
    "https://example.com/"
   ],
   "maxLength": 2048,
   "minLength": 8,
   "description": "Public http(s) URL whose main content should be returned as markdown. Private, localhost, and metadata hosts are rejected."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-syntexa-ch-url-to-markdown-60120d4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
