{
"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/14846/website+thumbnail+api/38661/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:将任何公共URL转换为完整页面或视口的PNG JPEG或PDF格式,使用真实的Chromium。桌面平板电脑和移动视口,等待选择器,延迟,暗模式,隐藏cookie横幅和任何元素,捕获一个元素
每个请求最多返回100个结果,具体取决于端点
每个请求从公共源收集实时数据 相同的请求可以从缓存中服务长达6小时
列表参数接受多个用逗号分隔的值,例如:伦敦,巴黎
网站截图API返回公共URL的视口缩略图,格式为PNG或JPEG。它提供诸如URL、状态码、设备类型、截图URL、尺寸和加载时间等详细信息
关键字段包括 `url` `finalUrl` `statusCode` `device` `format` `screenshotUrl` `width` `height` 和 `loadTimeMs` 这些字段提供了关于屏幕截图和网页的重要信息
响应数据采用JSON格式,包含结果的`count`和一个`items`数组。每个项目包括有关屏幕截图的详细信息,例如URLs、尺寸和设备类型
该端点接受参数,如`url`用于目标网页,`device`用于指定桌面、平板或移动视图,以及`format`用于选择PNG或JPEG之间的格式。其他参数可能包括全页捕获的选项
用户可以通过指定所需的`url`选择`device`类型和选择`format`来自定义请求。他们还可以设置选项如`fullPage`以获取完整的截图或`waitForSelector`以捕获特定元素
典型的用例包括为社交媒体生成链接预览 创建网站目录和监控网页变化 该API对需要网页内容可视化表示的开发人员很有用
通过使用真实的Chromium直接从公共源捕捉实时屏幕截图来保持数据的准确性这确保了缩略图反映网页的当前状态
如果请求返回部分或空结果,请检查`statusCode`字段以获取错误信息。状态码200表示成功,而其他代码可能表示URL或访问权限存在问题