获取网页内容
接口说明
目前仅支持华北 2(北京)和新加坡地区。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| RegionId | string | 是 | 地域 ID。 | cn-beijing |
| Url | string | 是 | 待抓取的目标网页 URL 地址。 | https://xxx/projects/spring-boot |
| OutputFormat | string | 否 | 输出格式。取值:
| markdown |
返回参数
示例
正常返回示例
JSON格式
{
"RequestId": "A30D0930-xxxx-xxxx-xxxx-C2C661CC8B58",
"Success": true,
"HttpStatusCode": 200,
"ErrorCode": "ErrorMessage Code",
"ErrorMessage": "ErrorMessage Example",
"Url": "https://xxxx/projects/spring-boot",
"UrlType": "static_html",
"ContentFormat": "markdown",
"Title": "Spring Boot",
"Content": "Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications."
}错误码
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 |
|---|---|---|
| 2026-06-15 | 新增 OpenAPI | 查看变更详情 |
