{
"count": 1,
"items": [
{
"url": "https://example.com",
"finalUrl": "https://example.com/",
"strategy": "mobile",
"fetchedAt": "2026-11-10T15:22:28.871Z",
"performance": 100,
"accessibility": 96,
"bestPractices": 100,
"seo": 80,
"lcpMs": 801,
"fcpMs": 776,
"cls": 0,
"tbtMs": 73,
"speedIndexMs": 776,
"ttiMs": 947,
"totalByteWeight": 1999,
"requests": 2,
"opportunities": [],
"failingAudits": [
{
"id": "meta-description",
"title": "Document does not have a meta description",
"category": "seo"
},
{
"id": "link-text",
"title": "Links do not have descriptive text",
"category": "seo"
},
{
"id": "landmark-one-main",
"title": "Document does not have a main landmark.",
"category": "accessibility"
}
],
"lighthouseVersion": "13.6.0",
"durationSec": 6.2,
"error": null
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14822/lighthouse+pagespeed+audit+api/38416/lighthouse+pagespeed+checker?urls=https://example.com&strategy=mobile&maxUrls=50&alertDrop=5&onlyAlerts=false&includeErrorRows=false' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 灯塔页面速度审核 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
在一系列网址上进行真正的谷歌灯塔(无头Chromium)测试,包括移动端和/或桌面端。每个网址和策略一行:性能、可访问性、最佳实践和SEO得分,LCP,FCP,CLS,TBT,速度指数,TTI,页面权重,请求,前五名。
真正的Google Lighthouse(无头Chromium)在一系列URL上,移动和/或桌面。每个URL和策略一行:性能,可访问性,最佳实践和SEO分数,LCP,FCP,CLS,TBT,速度指数,TTI,页面重量,请求,前5名
每个请求最多返回100个结果,具体取决于端点
每个请求从公共来源收集实时数据 相同的请求可以从缓存中提供长达6小时
参数列表接受多个用逗号分隔的值,例如:伦敦,巴黎