> ## Documentation Index
> Fetch the complete documentation index at: https://help.decodo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Markdown 响应

> 网页抓取 API 可以返回 Markdown 格式的响应

<Danger>
  核心版和高级版套餐已停止销售。请考虑迁移到一体化网络爬虫 API；[请点击此处查看指南](https://help.decodo.com/docs/cn/web-scraping-api-migration-guide).
</Danger>

Scraper API 支持自动将 HTML 输出转换为 Markdown。此格式提供了清晰、易读的输出，简化了集成到您的内容工作流程和应用程序中的过程，特别适用于将抓取结果输入到大型语言模型中，这些模型通常具有有限的令牌上下文。

<Note>
  此功能适用于 **Web API Advanced 计划**
</Note>

**使用 Web Advanced 的示例：**

<CodeGroup>
  ```shellscript cURL theme={null}
  # 将 'TOKEN VALUE' 更新为您的授权令牌
  curl --request 'POST' \
          --url 'https://scraper-api.decodo.com/v2/task' \
          --header 'Accept: application/json' \
          --header 'Authorization: Basic TOKEN VALUE' \ 
          --header 'Content-Type: application/json' \
          --data '
      {
       	"url": "https://www.githubstatus.com",
       	"markdown": true
      }
  '
  ```
</CodeGroup>

**示例输出：**

```text theme={null}
# Example Domain\\n\\nThis domain is for use in illustrative examples in documents. You may use this\\ndomain in literature without prior coordination or asking for permission.\\n\\n[More information...](https://www.iana.org/domains/example)
```

***

<Columns cols={2}>
  <Card title="支持" href="https://direct.lc.chat/12092754" cta="让我们聊聊！">
    需要帮助或只是想打个招呼？我们的支持团队全天候为您服务。 \
    您也可以随时通过电子邮件 [support@decodo.com](mailto:support@decodo.com) 联系我们。
  </Card>

  <Card title="反馈" href="mailto:feedback@decodo.com" cta="分享反馈">
    找不到您要找的内容？请求一篇文章！ \
    有反馈意见？分享您对我们如何改进的想法。
  </Card>
</Columns>
