{
  "name": "mdapi",
  "what": "Scrape web pages into LLM-ready Markdown (URL to Markdown, HTML to Markdown) or structured JSON. Optional render:true executes JavaScript in a headless browser for SPAs. Pay per call with x402 (USDC on Base). No signup, no API key.",
  "endpoints": {
    "POST /md": {
      "what": "Scrape any web page: URL to Markdown / HTML to Markdown for LLM context",
      "body": {
        "url": "https://example.com/article",
        "mode": "article | full",
        "render": "true = execute JavaScript in a real headless browser before converting, for SPAs (React/Next/Vue) that return empty HTML to a plain fetch"
      },
      "returns": [
        "markdown",
        "title",
        "byline",
        "excerpt",
        "mode",
        "words",
        "url",
        "rendered",
        "ms"
      ]
    },
    "POST /extract": {
      "what": "Scrape a web page to structured JSON: title, byline, text, links, images, OpenGraph meta",
      "body": {
        "url": "https://example.com/article",
        "mode": "article | full"
      },
      "returns": [
        "title",
        "byline",
        "excerpt",
        "siteName",
        "publishedTime",
        "lang",
        "text",
        "words",
        "links",
        "images",
        "meta"
      ]
    }
  },
  "price_usdc": "0.005",
  "pay_to": "0x072F3a2bD93bB75b1Eb84a9E45D17a4F90a6D801",
  "payment": "x402 — unpaid requests get HTTP 402 with payment requirements; retry with X-PAYMENT header",
  "mcp": {
    "endpoint": "https://md.fastdb.in/mcp",
    "transport": "streamable-http",
    "tools": [
      "html_to_markdown",
      "extract_page",
      "service_info"
    ],
    "payments": "x402 v2 in-protocol (@x402/mcp) — unpaid tool calls return the payment requirements; x402-aware MCP clients pay automatically",
    "registry": "https://registry.modelcontextprotocol.io/v0.1/servers?search=in.fastdb.md/mdapi"
  },
  "docs": "https://github.com/coinbase/x402",
  "support": "constant-7997@agentmail.to"
}