# fittings URL to Markdown

> fittings URL to Markdown is a paid API for AI agents from fittings.sh, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches a public web page and returns its content as clean Markdown with its title, capped at 2 MB.

## Facts

- Endpoint: GET https://fittings.sh/v1/doc/url-to-markdown
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-url-to-markdown-d656bc06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a3ndDMuFjdCtgBat1Qo9T

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 fittings-url-to-markdown-d656bc06
```

Example prompt: Can you fetch the page at https://en.wikipedia.org/wiki/Markdown and give me its content as clean Markdown so I can read through it?

## When to prefer this

Choose this endpoint when you need to read a public web page's human-readable content in a clean, LLM-friendly Markdown format without dealing with raw HTML. It is ideal for agents that need to ingest, summarize, or archive web content. Prefer it over raw HTTP fetching when you want boilerplate stripped and structure preserved as Markdown. Not suitable for pages that require login, JavaScript rendering, or for crawling entire sites.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns an error
- Page exceeds the 2 MB cap — content is truncated or rejected
- URL is malformed or uses a non-http/https scheme — validation error
- Target server is slow or unresponsive — timeout error
- Page is JavaScript-rendered only (SPA) — may return minimal or empty content
- URL points to a binary file (PDF, image) rather than an HTML page — may fail or return garbled output

## How this service works

Fetch a public web page and return it as clean Markdown with its title. Capped at 2 MB.

## Output

Returns the fetched web page converted to clean Markdown text along with the page's title. HTML markup, navigation, and boilerplate are stripped, leaving readable prose and structure in Markdown format. Response is capped at 2 MB of content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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