Built-in tool
Check Page Speed
Measure a public page’s loading speed, responsiveness and visual stability, with evidence and suggested fixes.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| urlstring · required | string | required | Public page URL, or a domain for its home page. No credentials or private URLs. |
| devicestring · optional | string | optional | Device to measure. Defaults to mobile; run again with desktop to compare. One of: Default: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"success",
"status",
"url",
"device",
"checkedAt",
"field",
"lab",
"findings",
"limitations"
],
"properties": {
"lab": {
"type": "object",
"required": [
"status",
"source",
"measuredAt",
"finalUrl",
"lighthouseVersion",
"performanceScore",
"lcp",
"cls",
"tbtMs",
"inp",
"errorCode",
"diagnostics"
],
"properties": {
"cls": {
"type": "object",
"required": [
"value",
"unit",
"rating"
],
"properties": {
"unit": {
"enum": [
"ms",
"score"
],
"type": "string"
},
"value": {
"type": [
"number",
"null"
]
},
"rating": {
"enum": [
"good",
"needs_improvement",
"poor",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"inp": {
"type": "null"
},
"lcp": {
"type": "object",
"required": [
"value",
"unit",
"rating"
],
"properties": {
"unit": {
"enum": [
"ms",
"score"
],
"type": "string"
},
"value": {
"type": [
"number",
"null"
]
},
"rating": {
"enum": [
"good",
"needs_improvement",
"poor",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"tbtMs": {
"type": [
"number",
"null"
]
},
"source": {
"type": "string",
"const": "PageSpeed Insights / Lighthouse"
},
"status": {
"enum": [
"available",
"error",
"not_configured"
],
"type": "string"
},
"finalUrl": {
"type": [
"string",
"null"
]
},
"errorCode": {
"type": [
"string",
"null"
]
},
"measuredAt": {
"type": [
"string",
"null"
]
},
"diagnostics": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"description",
"savingsMs",
"savingsBytes",
"resources"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"resources": {
"type": "array",
"items": {
"type": "string"
}
},
"savingsMs": {
"type": [
"number",
"null"
]
},
"description": {
"type": "string"
},
"savingsBytes": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"performanceScore": {
"type": [
"number",
"null"
]
},
"lighthouseVersion": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"url": {
"type": "string"
},
"field": {
"type": "object",
"required": [
"status",
"source",
"scope",
"measuredUrl",
"period",
"lcp",
"inp",
"cls",
"errorCode"
],
"properties": {
"cls": {
"type": "object",
"required": [
"value",
"unit",
"rating"
],
"properties": {
"unit": {
"enum": [
"ms",
"score"
],
"type": "string"
},
"value": {
"type": [
"number",
"null"
]
},
"rating": {
"enum": [
"good",
"needs_improvement",
"poor",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"inp": {
"type": "object",
"required": [
"value",
"unit",
"rating"
],
"properties": {
"unit": {
"enum": [
"ms",
"score"
],
"type": "string"
},
"value": {
"type": [
"number",
"null"
]
},
"rating": {
"enum": [
"good",
"needs_improvement",
"poor",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"lcp": {
"type": "object",
"required": [
"value",
"unit",
"rating"
],
"properties": {
"unit": {
"enum": [
"ms",
"score"
],
"type": "string"
},
"value": {
"type": [
"number",
"null"
]
},
"rating": {
"enum": [
"good",
"needs_improvement",
"poor",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"anyOf": [
{
"enum": [
"url",
"origin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"period": {
"type": "object",
"required": [
"firstDate",
"lastDate"
],
"properties": {
"lastDate": {
"type": [
"string",
"null"
]
},
"firstDate": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"source": {
"type": "string",
"const": "CrUX"
},
"status": {
"enum": [
"available",
"no_data",
"error",
"not_configured"
],
"type": "string"
},
"errorCode": {
"type": [
"string",
"null"
]
},
"measuredUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"device": {
"enum": [
"mobile",
"desktop"
],
"type": "string"
},
"status": {
"enum": [
"complete",
"partial",
"failed"
],
"type": "string"
},
"success": {
"type": "boolean"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"area",
"url",
"why",
"how"
],
"properties": {
"id": {
"type": "string"
},
"how": {
"type": "string"
},
"url": {
"type": "string"
},
"why": {
"type": "string"
},
"area": {
"type": "string",
"const": "Performance"
},
"title": {
"type": "string"
}
},
"additionalProperties": false
}
},
"checkedAt": {
"type": "string"
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}