# md.fastdb.in HTML to Markdown Converter

> md.fastdb.in HTML to Markdown Converter is a paid API for AI agents from md.fastdb.in, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Converts raw HTML content into clean, readable Markdown text

## Facts

- Endpoint: POST https://md.fastdb.in/md
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/md-fastdb-in-html-to-markdown-converter-27e33d5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Oj_v_mnd-STmvV6aohjqO

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 md-fastdb-in-html-to-markdown-converter-27e33d5d -d '<json body>'
```

Example prompt: Take this HTML I just scraped and convert it to clean Markdown — strip out all the tags and formatting noise so I can feed it to the model: <html><body><h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p></body></html>

## When to prefer this

Use this endpoint when you need to convert HTML content — scraped web pages, email bodies, CMS output — into clean Markdown suitable for LLM consumption, document storage, or human reading. Prefer this over manual regex stripping when you need properly formatted Markdown with headings, links, and emphasis preserved.

## Known failure modes

- Empty or missing HTML body returns an error or empty markdown
- Malformed HTML may produce incomplete or garbled markdown output
- Very large HTML documents may time out or be rejected
- Non-HTML input (e.g. plain text or binary) may return an error

## How this service works

Scrape any web page: URL to Markdown / HTML to Markdown for LLM context. Readability article extraction strips nav, ads, scripts, and footers while keeping tables and code blocks. Optional render:true executes JavaScript in a headless browser for SPAs (React/Next/Vue).

## Output

Returns a clean Markdown string derived from the input HTML, with tags stripped, headings converted to # syntax, bold/italic preserved as Markdown notation, links formatted as [text](url), and extraneous HTML artifacts removed

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "article",
  "title": "Title",
  "words": 7139,
  "byline": "Author name or null",
  "markdown": "# Title\n\nBody...",
  "rendered": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/md-fastdb-in-html-to-markdown-converter-27e33d5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from md.fastdb.in](https://www.zero.xyz/host/md.fastdb.in/llms.txt)
