{"uid":"cap_hUa1k7itOONjk92OJb3UI","slug":"x402-gateway-markdown-renderer-def248ac","name":"x402-gateway Markdown Renderer","description":"x402-gateway tool: markdown — 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.","url":"https://x402.freeq.one/tools/markdown","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"The URL to fetch and convert"},"options":{"type":"object","description":"Conversion options (output_format, css_selector, max_length, include_links, include_images)"}}},"responseSchema":{"type":"json","example":{"result":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZvSXqRokJJNmd0QlUl5Uy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a Markdown string to rendered HTML via a pay-per-call x402 micropayment gateway on Base","exampleAgentPrompt":"Can you convert this markdown text to HTML for me: '# Hello World\n\nThis is a **bold** statement and here is a [link](https://example.com).'","exampleUseCases":[{"title":"README preview as HTML","prompt":"Take the contents of my README.md and convert it to HTML so I can display it in my web app's documentation page. Here's the markdown: '# My Project\n\nInstall with `npm install my-pkg`.\n\n## Features\n- Fast\n- Reliable'"},{"title":"Blog post rendering pipeline","prompt":"I have a blog post written in markdown and I need it converted to HTML before I publish it — here it is: '## Why I Love Open Source\n\nOpen source software has changed the world. Here's **why**...'"},{"title":"Dynamic markdown snippet rendering","prompt":"Convert this short markdown snippet to HTML for me so I can inject it into my dashboard widget: '### Status Update\n\n✅ All systems **operational** as of today.'"}],"resultDescription":"Returns rendered HTML corresponding to the input markdown string, suitable for direct embedding in web pages or further processing.","failureModes":["Payment not provided or insufficient USDC balance — 402 Payment Required","Malformed or missing markdown input body — 400 Bad Request","Rate limiting or gateway downtime — 503 Service Unavailable","Invalid x402 payment header — payment rejected by facilitator"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call markdown-to-HTML conversion without committing to a subscription. Ideal for agents that only occasionally need markdown rendering and want to pay micro-amounts (fractions of a cent) per call via USDC on Base rather than managing API keys or monthly plans.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:34:19.716Z","isFirstParty":false}