HTML转Markdown

HTML转Markdown

官方自营

智能HTML转Markdown接口是一款功能强大的格式转换工具,致力于将HTML内容转换为Markdown格式,支持代码、表格等多种复杂格式转换。以满足内容迁移、数据处理与分析、机器学习等多种应用场景的需求。操作简单实用,可以大幅提高工作效率,为用户提供便捷、高效的解决方案。

已选规格
9.90
自购买起有效期 12 个月
专用资源包
支持通用资源包:充值通用资源包后可直接调用含本接口在内的全站付费接口,无需单独购买专用资源包去充值 ›
HTML转换MD
接入点说明
该接口功能是将网页HTML源码转换成Markdown格式的文本。本接口以每消耗3000个token(对应HTML中正文文字数量约为2300个)计费一次。如果HTML正文文字过多,则存在多次计费的情况。
接口地址
https://route.showapi.com/3193-2?appKey={your_appKey}查看密钥调用帮助
返回格式JSON
请求方式POST/GET
请求参数
Header 参数
Post 表单
返回参数
该接口为透传模式,直接返回服务商原始数据,无 showapi_res_body 封装
返回体
cURL
curl -X POST "https://route.showapi.com/3193-2?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -d "html=%20%3C!DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml4%2Floose.dtd%22%3E%20%3Chtml%3E%20%3Chead%3E%20%3Ctitle%3Elibcurl%20-%20the%20multiprotocol%20file%20transfer%20library%3C%2Ftitle%3E%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1.0%22%3E%20%3Cmeta%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20http-equiv%3D%22Content-Type%22%3E%20%3Cscript%20type%3D%22text%2Fjavascript%22%20nonce%3D%22fab99ea9780e4289b8051a24524%22%20src%3D%22%2F%2Finjections.adguard.org%3Fts%3D1712884296286%26amp%3Btype%3Dcontent-script%26amp%3Bdmn%3Dcurl.se%26amp%3Burl%3Dhttps%253A%252F%252Fcurl.se%252Flibcurl%252F%26amp%3Bapp%3Dcom.operasoftware.Opera%26amp%3Bcss%3D3%26amp%3Bjs%3D1%26amp%3Brel%3D1%26amp%3Brji%3D1%26amp%3Bsbe%3D1%22%3E%3C%2Fscript%3E%20%3Cscript%20type%3D%22text%2Fjavascript%22%20nonce%3D%22fab99ea9780e4289b8051a24524%22%20src%3D%22%2F%2Finjections.adguard.org%3Fts%3D1712884296286%26amp%3Bname%3DAdGuard%2520Popup%2520Blocker%26amp%3Bname%3DAdGuard%2520Extra%26amp%3Btype%3Duser-script%22%3E%3C%2Fscript%3E%3Clink%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%20href%3D%22%2Fcurl.css%22%3E%20%3Clink%20rel%3D%22shortcut%20icon%22%20href%3D%22%2Ffavicon.ico%22%3E%20%3Clink%20rel%3D%22icon%22%20href%3D%22%2Flogo%2Fcurl-symbol.svg%22%20type%3D%22image%2Fsvg%2Bxml%22%3E%20%3Clink%20rel%3D%22alternate%22%20type%3D%22application%2Frss%2Bxml%22%20title%3D%22cURL%20Releases%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fcurl%2Fcurl%2Freleases.atom%22%3E%20%3Cmeta%20name%3D%22description%22%20content%3D%22libcurl%20is%20a%20free%20and%20easy-to-use%20%20client-side%20URL%20transfer%20library%2C%20supporting%20DICT%2C%20FILE%2C%20FTP%2C%20FTPS%2C%20%20GOPHER%2C%20GOPHERS%2C%20HTTP%2C%20HTTPS%2C%20IMAP%2C%20IMAPS%2C%20LDAP%2C%20LDAPS%2C%20MQTT%2C%20POP3%2C%20POP3S%2C%20%20RTMP%2C%20RTMPS%2C%20RTSP%2C%20SCP%2C%20SFTP%2C%20SMB%2C%20SMBS%2C%20SMTP%2C%20SMTPS%2C%20TELNET%20and%20%20TFTP.%20libcurl%20supports%20SSL%20certificates%2C%20HTTP%20POST%2C%20HTTP%20PUT%2C%20FTP%20%20uploading%2C%20kerberos%2C%20HTTP%20form%20based%20upload%2C%20proxies%2C%20cookies%2C%20%20user%2Bpassword%20authentication%2C%20file%20transfer%20resume%2C%20http%20proxy%20tunneling%20%20and%20more%22%3E%20%3C%2Fhead%3E%20%3Cbody%3E%20%3Cdiv%20class%3D%22main%22%3E%20%3Cdiv%20class%3D%22menu%22%3E%20%3Ca%20href%3D%22%22%20class%3D%22itemselect%22%3Elibcurl%20%3C%2Fa%3E%20%3Cdiv%20class%3D%22dropdown%22%3E%20%20%20%3Ca%20class%3D%22dropbtn%22%20href%3D%22%2Flibcurl%2F%22%3EDocs%3C%2Fa%3E%20%20%20%3Cdiv%20class%3D%22dropdown-content%22%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fabi.html%22%3EABI%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fc%2F%22%3EAPI%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fbindings.html%22%3EBindings%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fcompetitors.html%22%3ECompetitors%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fc%2Fexample.html%22%3EExamples%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Ffeatures.html%22%3EFeatures%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Fmail%2Flist.cgi%3Flist%3Dcurl-library%22%3EMailing%20list%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Frelatedlibs.html%22%3ERelated%20libs%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fusing%2F%22%3EUsing%20libcurl%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fsecurity.html%22%3ESecurity%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fc%2Fsymbols-in-versions.html%22%3ESymbols%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fc%2Flibcurl-tutorial.html%22%3ETutorial%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Ftheysay.html%22%3ETestimonials%3C%2Fa%3E%20%20%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3Cdiv%20class%3D%22contents%22%3E%20%3Cdiv%20class%3D%22where%22%3E%3Ca%20href%3D%22%2F%22%3Ecurl%3C%2Fa%3E%20%2F%20%3Cb%3Elibcurl%20overview%3C%2Fb%3E%3C%2Fdiv%3E%20%3Ch1%3E%20libcurl%20-%20the%20multiprotocol%20file%20transfer%20library%20%3C%2Fh1%3E%20%3Cp%3E%20%20libcurl%20is%20a%20%3Ca%20href%3D%22%2Fdocs%2Fcopyright.html%22%20title%3D%22free%20as%20in%20both%20free%20%20speech%20and%20zero%20price!%22%3Efree%3C%2Fa%3E%20and%20easy-to-use%20client-side%20URL%20transfer%20%20library%2C%20supporting%20DICT%2C%20FILE%2C%20FTP%2C%20FTPS%2C%20GOPHER%2C%20GOPHERS%2C%20HTTP%2C%20HTTPS%2C%20%20IMAP%2C%20IMAPS%2C%20LDAP%2C%20LDAPS%2C%20MQTT%2C%20POP3%2C%20POP3S%2C%20RTMP%2C%20RTMPS%2C%20RTSP%2C%20SCP%2C%20SFTP%2C%20%20SMB%2C%20SMBS%2C%20SMTP%2C%20SMTPS%2C%20TELNET%20and%20TFTP.%20libcurl%20supports%20SSL%20%20certificates%2C%20HTTP%20POST%2C%20HTTP%20PUT%2C%20FTP%20uploading%2C%20HTTP%20form%20based%20upload%2C%20%20proxies%2C%20HTTP%2F2%2C%20HTTP%2F3%2C%20cookies%2C%20user%2Bpassword%20authentication%20(Basic%2C%20%20Digest%2C%20NTLM%2C%20Negotiate%2C%20Kerberos)%2C%20file%20transfer%20resume%2C%20http%20proxy%20%20tunneling%20and%20more!%20%3C%2Fp%3E%20%3Cp%3E%20%20libcurl%20is%20highly%20portable%2C%20it%20builds%20and%20works%20identically%20on%20numerous%20%20platforms%2C%20including%20Solaris%2C%20NetBSD%2C%20FreeBSD%2C%20OpenBSD%2C%20Darwin%2C%20HPUX%2C%20IRIX%2C%20%20AIX%2C%20Tru64%2C%20Linux%2C%20UnixWare%2C%20HURD%2C%20Windows%2C%20Amiga%2C%20OS%2F2%2C%20BeOs%2C%20Mac%20OS%20X%2C%20%20Ultrix%2C%20QNX%2C%20OpenVMS%2C%20RISC%20OS%2C%20Novell%20NetWare%2C%20DOS%20and%20more...%20%3C%2Fp%3E%20%3Cp%3E%20%20libcurl%20is%20%3Ca%20href%3D%22%2Fdocs%2Fcopyright.html%22%3Efree%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23thread%22%3Ethread-safe%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23ipv6%22%3EIPv6%20compatible%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23features%22%3Efeature%20rich%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23support%22%3Ewell%20supported%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23fast%22%3Efast%3C%2Fa%3E%2C%20%3Ca%20href%3D%22features.html%23docs%22%3Ethoroughly%20%20documented%3C%2Fa%3E%20and%20is%20already%20used%20by%20many%20known%2C%20big%20and%20successful%20%3Ca%20%20href%3D%22%2Fdocs%2Fcompanies.html%22%3Ecompanies%3C%2Fa%3E.%20%3C%2Fp%3E%20%3Cp%3E%3Cb%3EDownload%3C%2Fb%3E%20%3Cp%3E%20%20Go%20to%20the%20regular%20curl%20%3Ca%20href%3D%22%2Fdownload.html%22%3Edownload%20page%3C%2Fa%3E%20and%20get%20the%20%20latest%20curl%20package%2C%20or%20one%20of%20the%20specific%20libcurl%20packages%20listed.%20%3Cp%3E%3Cb%3EAPI%3C%2Fb%3E%20%3Cp%3E%20%20You%20use%20libcurl%20with%20the%20provided%20%3Ca%20href%3D%22c%2F%22%3EC%20API%3C%2Fa%3E.%20The%20curl%20team%20works%20%20hard%20to%20keep%20the%20%3Ca%20href%3D%22features.html%23stableapi%22%3EAPI%20and%20ABI%20stable%3C%2Fa%3E.%20%20If%20you%20prefer%20using%20libcurl%20from%20your%20other%20favorite%20language%2C%20chances%20are%20%20there's%20already%20a%20%3Ca%20href%3D%22bindings.html%22%3Ebinding%3C%2Fa%3E%20written%20for%20it.%20%3Cp%3E%3Cb%3EHowto%3C%2Fb%3E%20%3Cp%3E%20%20Check%20out%20our%20%3Ca%20href%3D%22using%2F%22%3Eusing%20libcurl%3C%2Fa%3E%20page%20for%20general%20hints%20and%20%20advice%20and%20man%20pages%20for%20%3Ca%20href%3D%22c%2Fallfuncs.html%22%3Eevery%20function%3C%2Fa%3E%20and%20%20option.%20Also%2C%20check%20out%20%20the%20%3Ca%20href%3D%22https%3A%2F%2Feverything.curl.dev%2Flibcurl%22%3Elibcurl%20section%20of%20%20everything%20curl%3C%2Fa%3E.%20%3Cp%3E%20%20libcurl%20is%20probably%20the%20most%20portable%2C%20most%20powerful%20and%20most%20often%20used%20%20network%20transfer%20library%20on%20this%20planet.%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3C%2Fbody%3E%20%3C%2Fhtml%3E&ret_type=markdown&run_type=async&task_name="
返回示例
JSON
{
  "remark": "请求成功",
  "md_text": "",
  "task_id": "",
  "ret_code": 0
}
MCP 服务集成接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。

MCP JSON
{
  "mcpServers": {
    "showapi-mcp-3193": {
      "url": "http://www.showapi.com.cn/mcp/3193/{your_appKey}"
    }
  }
}
OpenAPI 文档接口级

标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。