# Markdown Extractor > Fetches a public URL and returns clean, token-efficient markdown, paywalled with the x402 v2 protocol on Base Mainnet. Designed for autonomous AI agents to call directly: no API key, no signup — pay per call in USDC. ## Docs - [OpenAPI specification](https://markdown-extractor.jannioura.workers.dev/openapi.json): Full request/response schema, including the x402 payment requirements. - [x402 discovery manifest](https://markdown-extractor.jannioura.workers.dev/.well-known/x402): Machine-readable payment capability manifest (draft-hawkins-x402-dns-discovery). - [Agent usage guide](https://markdown-extractor.jannioura.workers.dev/AGENTS.md): How to call this tool end-to-end, including payment. ## Usage - POST https://markdown-extractor.jannioura.workers.dev/ with a JSON body `{"url": "https://example.com"}` to extract markdown. - GET https://markdown-extractor.jannioura.workers.dev/?url=https://example.com works identically, for clients that prefer a plain GET.