{
"billed": 3,
"count": 3,
"items": [
{
"bytes": 990650,
"contentHash": "6d874cf04544a4ee6266dcd2",
"device": "desktop",
"deviceScaleFactor": 1,
"error": null,
"finalUrl": "https://en.wikipedia.org/wiki/Screenshot",
"format": "png",
"fullPage": true,
"height": 4923,
"key": "shot-en.wikipedia.org-ce96fea443.png",
"loadTimeMs": 1903,
"pageHeight": 4923,
"related": [
{
"body": {
"startUrls": [
"https://en.wikipedia.org/wiki/Screenshot"
]
},
"endpoint": "/url-to-markdown-llm",
"why": "the page as clean Markdown for LLMs"
},
{
"body": {
"urls": [
"https://en.wikipedia.org/wiki/Screenshot"
]
},
"endpoint": "/link-preview-open-graph",
"why": "title, description, Open Graph image, favicon"
},
{
"body": {
"domains": [
"en.wikipedia.org"
]
},
"endpoint": "/website-tech-stack-detector",
"suite": "Website Audit API - Tech Stack, SEO Audit, PageSpeed",
"why": "tech stack of the site"
}
],
"screenshotUrl": "https://2-29-135-242.sslip.io/m/f/vQgqSdGB9lCRKe7eF/shot-en.wikipedia.org-ce96fea443.png?s=1MQpPaUZamQJJ0pZAf7rk",
"sha256": "51e374038b2f4e73b79d638fc5024a28aa1e628aba69ee306a392e7ffe7065ee",
"statusCode": 200,
"takenAt": "2026-11-12T16:53:11Z",
"title": "Screenshot - Wikipedia",
"truncated": false,
"url": "https://en.wikipedia.org/wiki/Screenshot",
"warning": null,
"width": 1366
},
{
"bytes": 392739,
"contentHash": "4460fd861407520ad65ea80c",
"device": "desktop",
"deviceScaleFactor": 1,
"error": null,
"finalUrl": "https://www.python.org/",
"format": "png",
"fullPage": true,
"height": 2605,
"key": "shot-www.python.org-4863eab2e0.png",
"loadTimeMs": 1394,
"pageHeight": 2605,
"related": [
{
"body": {
"startUrls": [
"https://www.python.org/"
]
},
"endpoint": "/url-to-markdown-llm",
"why": "the page as clean Markdown for LLMs"
},
{
"body": {
"urls": [
"https://www.python.org/"
]
},
"endpoint": "/link-preview-open-graph",
"why": "title, description, Open Graph image, favicon"
},
{
"body": {
"domains": [
"python.org"
]
},
"endpoint": "/website-tech-stack-detector",
"suite": "Website Audit API - Tech Stack, SEO Audit, PageSpeed",
"why": "tech stack of the site"
}
],
"screenshotUrl": "https://2-29-135-242.sslip.io/m/f/vQgqSdGB9lCRKe7eF/shot-www.python.org-4863eab2e0.png?s=1rRqEKtvzXG2qm3PHyd9a",
"sha256": "9f20cceec7df6ce332074948ce8512f480f8205c99cac2a4ab08468dbfcd4e0a",
"statusCode": 200,
"takenAt": "2026-11-12T16:53:13Z",
"title": "Welcome to Python.org",
"truncated": false,
"url": "https://www.python.org",
"warning": null,
"width": 1366
},
{
"bytes": 950560,
"contentHash": "86650f255d85f5151d23cf6f",
"device": "desktop",
"deviceScaleFactor": 1,
"error": null,
"finalUrl": "https://apify.com/",
"format": "png",
"fullPage": true,
"height": 10000,
"key": "shot-apify.com-7c0cb88185.png",
"loadTimeMs": 3827,
"pageHeight": 10072,
"related": [
{
"body": {
"startUrls": [
"https://apify.com/"
]
},
"endpoint": "/url-to-markdown-llm",
"why": "the page as clean Markdown for LLMs"
},
{
"body": {
"urls": [
"https://apify.com/"
]
},
"endpoint": "/link-preview-open-graph",
"why": "title, description, Open Graph image, favicon"
},
{
"body": {
"domains": [
"apify.com"
]
},
"endpoint": "/website-tech-stack-detector",
"suite": "Website Audit API - Tech Stack, SEO Audit, PageSpeed",
"why": "tech stack of the site"
}
],
"screenshotUrl": "https://2-29-135-242.sslip.io/m/f/vQgqSdGB9lCRKe7eF/shot-apify.com-7c0cb88185.png?s=AY4pOMdZTDGh30FnVLgu",
"sha256": "0291cb94690bea3d2e424243f59974b7077f548f82474bc51f6982ac4ed272fc",
"statusCode": 200,
"takenAt": "2026-11-12T16:53:13Z",
"title": "Apify: Marketplace of ready-to-run tools for AI",
"truncated": true,
"url": "https://apify.com",
"warning": null,
"width": 1366
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14845/website+screenshot+api/38660/screenshot?urls=https://apify.com,https://en.wikipedia.org/wiki/Screenshot,https://www.python.org&device=desktop&fullPage=true&format=png&jpegQuality=80&viewportWidth=OptionalviewportHeight=OptionalmaxHeight=10000&waitUntil=load&delayMs=OptionalhideCookieBanners=true&darkMode=false' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 网站截图 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
网站截图 API:将任何公共网址转换为完整页面或视口的 PNG JPEG 或 PDF,使用真实的 Chromium。桌面 平板和移动视口 等待选择器 延迟 深色模式 隐藏 cookie 横幅和任何元素 捕捉一个元素
每个请求最多返回100个结果,具体取决于端点
每个请求从公共源收集实时数据 相同的请求可以从缓存中提供服务最长可达6小时
列表参数接受多个用逗号分隔的值,例如:伦敦,巴黎
API返回公共URL的屏幕截图数据,包括图像格式(PNG JPEG)和PDF。它提供了屏幕截图URL 设备类型 格式和页面尺寸等详细信息
关键字段包括 `url`、`finalUrl`、`statusCode`、`screenshotUrl`、`device`、`format`、`width`、`height` 和 `loadTimeMs` 这些字段提供关于截屏和网页的重要信息
用户可以通过指定参数如视口类型(桌面、平板、手机)、图像格式(PNG、JPEG)以及等待特定选择器或隐藏元素的选项来自定义请求
响应以JSON格式构建,包含结果的`count`和一个包含单个截图详细信息的`items`数组。每个项目包括有关截图和网页的元数据
典型用例包括网站监控 视觉回归测试 生成内容预览 和归档网页 该API对开发人员 市场营销人员 和质量保证团队非常有用
数据准确性通过使用真实的Chromium捕获实时截图来保持,确保输出反映网页的当前状态。每个请求从源获取最新数据
接受的参数值包括视口类型(桌面、平板、手机)、图像格式(PNG、JPEG、PDF)以及完整页面捕获或特定元素捕获的选项。用户可以在请求中指定这些。
用户可以通过访问 `screenshotUrl` 来显示图像,使用 `statusCode` 进行错误处理,分析 `loadTimeMs` 以获得性能洞察