# 网页截图
**请求方式:** GET
**接口地址:** https://api.aiys.net/api/webpage_screenshot
**接口描述:** 截图网页的内容
## 请求参数
| 参数名 | 可传值说明 | 传入位置 | 是否必填 | 示例值 | 默认值 | 参数说明 |
|--------|----------|----------|----------|--------|--------|----------|
| url | api.aiys.net | query | 必传 | — | — | 网站地址 |
| type | 1/2 | query | 可选 | — | — | 1返回json,2直接打开图片 |
| mode | 1/2 | query | 可选 | — | — | 1当前页面,2整个页面 |
| Authorization | Bearer <access_key> | header | 必传 | Bearer <access_key> | — | 请登录后前往控制面板查询 API Key |
## 返回示例
```json
"code": 200,
"msg": "成功",
"cache": "HIT",
"data": {
"url": "https://cdn.aiys.net/api/webpage_screenshot/screenshots/ad16813a26f7b3a9334562fd8cf9dbda.png"
}
}
```