{
  "service": "getmarkdown",
  "version": "1.0.0",
  "conversionApiAvailable": true,
  "fileConversionApiAvailable": true,
  "description": "Public URLs can be converted through /api/v1/extract and convert_url. Free file conversions run in the browser. Every account can use the authenticated, quote-first PDF API and MCP conversion tools. Developer keys intentionally access all owned conversions, including browser-created jobs.",
  "endpoints": [
    {
      "method": "POST",
      "path": "/api/v1/agent-keys",
      "description": "Buy an accountless API key: send {pack}, have a person pay checkoutUrl, then poll pollUrl to claim the key once. Requires developer access and Checkout enabled. See /developers#agent-keys."
    },
    {
      "method": "GET",
      "path": "/api/v1/agent-keys/sessions/:sessionToken",
      "description": "Private purchase polling capability: 202 pending, 200 paid with the initial key once, then 410 key_already_claimed. Paid top-ups return credits without a new key."
    },
    {
      "method": "POST",
      "path": "/api/v1/agent-keys/topup",
      "description": "Bearer API key plus {pack} creates another human-paid Checkout link for the same credit balance."
    },
    {
      "method": "GET",
      "path": "/api/v1/usage",
      "description": "Read account balance, credit expiries, free URL allowance, recent spends, and per-key totals. Requires a Clerk session or an enabled gmk_ API key. See /developers#usage."
    },
    {
      "method": "GET",
      "path": "/api/v1/extract",
      "description": "Convert a public web page via ?url=; request text/markdown or ?format=markdown for raw Markdown."
    },
    {
      "method": "POST",
      "path": "/api/v1/extract",
      "description": "Convert a public web page with a JSON {url} body. Optional Clerk session or gmk_ API key authentication; keys return 503 while developer access is disabled."
    },
    {
      "method": "GET",
      "path": "/",
      "description": "Homepage with content negotiation; send Accept: text/markdown for Markdown."
    },
    {
      "method": "GET",
      "path": "/index.md",
      "description": "Homepage as Markdown, no negotiation required."
    },
    {
      "method": "GET",
      "path": "/llms.txt",
      "description": "Concise agent instructions and canonical links."
    },
    {
      "method": "GET",
      "path": "/llms-full.txt",
      "description": "Expanded product, privacy, pricing, and troubleshooting reference."
    },
    {
      "method": "GET",
      "path": "/developers.md",
      "description": "Developer resources in Markdown."
    },
    {
      "method": "GET",
      "path": "/openapi.json",
      "description": "OpenAPI 3.1 specification of this agent surface."
    },
    {
      "method": "POST",
      "path": "/api/mcp",
      "description": "MCP server (Streamable HTTP): initialize, tools/list, tools/call."
    },
    {
      "method": "GET",
      "path": "/api/agent/status",
      "description": "This status document."
    },
    {
      "method": "GET",
      "path": "/sitemap.xml",
      "description": "Every public URL."
    },
    {
      "method": "POST",
      "path": "/api/v1/convert",
      "description": "API key and sufficient credits required. Create a PDF upload job, upload bytes, inspect the quote, explicitly start, poll, and download. See /developers#conversion-api."
    },
    {
      "method": "POST",
      "path": "/api/v1/crawls",
      "description": "Start a public website section conversion. Requires a session or enabled API key and reserves the maximum credit cost. Reuse Idempotency-Key on retries."
    },
    {
      "method": "GET",
      "path": "/api/v1/crawls",
      "description": "List the account's recent website conversions."
    },
    {
      "method": "GET",
      "path": "/api/v1/crawls/:id",
      "description": "Poll progress, per-page outcomes, credit settlement, and expiry for an owned crawl."
    },
    {
      "method": "DELETE",
      "path": "/api/v1/crawls/:id",
      "description": "Request cancellation; successful pages are charged and unused credits refunded when settled."
    },
    {
      "method": "GET",
      "path": "/api/v1/crawls/:id/download",
      "description": "Authenticated Markdown or ZIP export with format=markdown|zip; available for 48 hours after settlement."
    }
  ],
  "supportedFormats": [
    ".pdf",
    ".docx",
    ".pptx",
    ".xlsx",
    ".html",
    ".htm",
    ".txt",
    ".jpg",
    ".jpeg",
    ".png",
    ".mp3",
    ".wav"
  ],
  "limits": {
    "maxFileSizeMb": 10,
    "maxFilesPerBatch": 8,
    "freeUrlExtractsPerDay": 20,
    "creditsPerUrl": 1
  },
  "workflows": {
    "urlConversion": "https://www.getmarkdown.com/url-to-markdown",
    "freeBrowserConversion": "https://www.getmarkdown.com/",
    "advancedPdf": "https://www.getmarkdown.com/pro"
  },
  "developerLimits": {
    "maxFileSizeMb": 25,
    "maxPages": 500,
    "maxMcpFileSizeMb": 1,
    "requestsPerMinute": 60,
    "proRequestsPerMinute": 120,
    "maxPendingJobs": 5,
    "unstartedJobTtlHours": 2
  },
  "websiteConversionApiAvailable": true,
  "websiteLimits": {
    "maxPages": 50,
    "maxDepth": 5,
    "creditsPerSuccessfulPage": 1,
    "retentionHours": 48
  }
}