html-to-markdown-x402
HTML 转 Markdown API
将 HTML 转换为干净的 Markdown —— 去除脚本/样式,保留标题、链接、列表和图片。通过 x402 按调用付费(使用 Base L2 上的 USDC)——无需 API 密钥、无需注册、无速率限制。
作为 klymax402 市场的一部分——为 AI 智能体提供 100 个 x402 微支付 API,一个钱包即可使用 Base 上的 USDC。
快速入门 —— MCP
在 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等)中添加:
{
"mcpServers": {
"html-to-markdown": {
"url": "https://html-to-markdown.api.klymax402.com/mcp"
}
}
}Related MCP server: urltomarkdown-mcp
快速入门 —— HTTP(x402)
curl -X POST "https://html-to-markdown.api.klymax402.com/api/convert" \
-H "Content-Type: application/json" \
-d '{"html":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body任何支持 x402 的客户端(@x402/fetch、x402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试循环。
工具
工具 | 方法 | 路径 | 价格 | 描述 |
| POST |
| $0.003 | 将 HTML 转换为 Markdown |
text_convert_html_to_markdown
当需要将 HTML 转换为干净的 Markdown 文本时使用此。转换后的 Markdown 以 JSON 形式返回。
参数
| 名称 | 类型 | 是否必填 | 描述 |
| ---- | ------ | ------ | ------ | -------- |
| html | string | 是 | 要转换为 Markdown 的 HTML 内容 |
示例响应:
{"markdown":"# Hello World\n\nThis is **bold** and *italic*.\n\n[Link](https://example.com)","inputLength":156,"outputLength":68,"strippedElements":["script","style"]}适用场景:将网页内容转换为适合 LLM 的格式、迁移 CMS 内容、清理 HTML 邮件,以及为基于 Markdown 的系统准备内容。
不适用于:将 Markdown 转换为 HTML(使用 text_convert_markdown_to_html)、网页抓取(获取 + 转换)(使用 web_scrape_to_markdown)、PDF 生成(使用 document_generate_pdf)。
示例智能体提示词
“将 HTML 转换为干净的 Markdown 文本”
支付
协议:x402 —— 原生 HTTP 按调用付费,无需注册、无需 API 密钥
网络:Base L2(
eip155:8453)资产:DC—— USDC
促进方:Coinbase CDP(主要)、PayAI(备用)
也可通过 ATXP(以 OAuth 封装 x402,遵循 RFC 9728 受保护资源元数据)访问
属于 klymax402.com
为 AI 智能体提供的 100 个 x402 微支付 API——一个钱包、Base 上的 USDC、零注册。
完整 API 参考:https://klymax402.com/llms-full.txth * 实时统计:https://klymax402.com/stats
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenancePay-per-use clean web reader for AI agents. URL in, markdown plus metadata out, in milliseconds. Settled per-call in USDC over x402 — no signup, no API keys.1852MIT
- AlicenseAqualityDmaintenanceConverts URLs and raw HTML to clean Markdown, enabling AI assistants to read web pages for summarization, analysis, or ingestion.2171MIT
- AlicenseNot gradedqualityCmaintenanceEnables extracting clean Markdown from any webpage by paying $0.005 USDC per call via the x402 protocol, with automatic wallet-based payment settlement.14MIT
- AlicenseNot gradedqualityBmaintenanceRenders Markdown to styled HTML with CSS themes (light, dark, GitHub) via pay-per-call x402 micropayments. No API key or signup required.MIT
Related MCP Connectors
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Web intelligence for AI agents: fetch, render, extract, research. x402 micropayments, no API keys.
Web reader for AI agents — output ~4x smaller than raw HTML. Card API key or x402. Free tier.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/html-to-markdown-x402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server