Convert any web page into clean Markdown for LLMs

$0.003 per call20 free calls/day via MCP

Convert any web page into clean Markdown for LLMs: main content only (no nav, footer, scripts, cookie banners), with headings, lists, links, images, tables and code blocks preserved. Optional maxChars (1,000-200,000, default 50,000). Fast (1-3 s).

markdownscrapewebcontentllmreaderextracttext

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool page_markdown:

{
  "name": "page_markdown",
  "arguments": {
    "url": "https://en.wikipedia.org/wiki/HTTP_402",
    "maxChars": 20000
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/page-markdown \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"url":"https://en.wikipedia.org/wiki/HTTP_402","maxChars":20000}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.003 and retries automatically. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public http(s) URL"
    },
    "maxChars": {
      "type": "number",
      "description": "Max characters returned (1000-200000)"
    }
  },
  "required": [
    "url"
  ]
}

Example output

{
  "url": "https://example.com/",
  "title": "Example Domain",
  "markdown": "# Example Domain\n\nThis domain is for use in illustrative examples...",
  "chars": 180,
  "truncated": false
}

Related tools

Get a page's metadata ($0.002) · Extract contact details from a web page ($0.003) · List every link on a web page with its anchor text, split into internal and external, with nofollow flags and the external domains linked to ($0.002) · Text statistics for a web page's visible content ($0.002) · Extract all structured data from a web page ($0.003) · Find a website's RSS/Atom feeds (declared links and common paths like /feed and /rss.xml) and return the latest items from the first one ($0.003) · List the images on a web page with absolute URL, alt text, declared width/height and lazy-loading, plus counts of images missing alt text (accessibility/SEO) ($0.002) · Get the heading outline of a web page (H1-H6 in document order) with counts per level and structure warnings (no H1, several H1s, skipped levels) ($0.001)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402