← Back to all APIs

Markdown

$0.002

Fetch a URL and convert its main content to clean, LLM-ready Markdown (strips nav/ads/sidebars). Options: output_format (markdown|text|json), css_selector, max_length, include_links, include_images.

POST https://x402.freeq.one/tools/markdown
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/markdown \ -H "Content-Type: application/json" \ -d '{"url":"https://en.wikipedia.org/wiki/Base_(blockchain)","options":{"max_length":20000}}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.