网页快照

GET

网页快照截图高性能

https://api.hk0.cc/api/screenshot
https://api.hk0.cc/api/screenshot?url=https://www.baidu.com

请求参数

请求示例

Shell
JavaScript
Python
PHP
Java
Go
C#
Ruby
curl -X GET 'https://api.hk0.cc/api/screenshot?url=string&width=int&height=int&full=bool&output=string&cache=bool'

返回示例

{
  "code": 200,
  "url": "图片链接",
  "expires": "22.5h",
  "time": "1.23s",
  "cache": "hit"
}