{
  "name": "mdapi",
  "what": "Web pages -> LLM-ready Markdown or structured JSON. Pay per call with x402 (USDC on Base). No signup, no API key.",
  "endpoints": {
    "POST /md": {
      "what": "HTML -> clean Markdown",
      "body": {
        "url": "https://example.com/article",
        "mode": "article | full"
      },
      "returns": [
        "markdown",
        "title",
        "byline",
        "excerpt",
        "mode",
        "words",
        "url",
        "ms"
      ]
    },
    "POST /extract": {
      "what": "HTML -> structured fields (no markdown)",
      "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",
  "docs": "https://github.com/coinbase/x402",
  "support": "constant-7997@agentmail.to"
}