Page list
Page list
Get a list of the pages (one for each device - desktop/mobile) as well as the latest metrics. To get a raw list of the pages and the ability to edit them, see Settings / Pages
GET /{website-id}/pages
The result looks like this:
200 OK
{
"result": {
"list": [
{
"id": "27ebx6g5v2",
"alias": "Home",
"url": "/",
"device": "desktop",
"timeline": [
{
"date": "2023-06-15",
"fcp": 942,
"lcp": 5458,
"cls": 0.39,
"tbt": 174,
"ttfb": 875,
"speed_index": 3735,
"performance_score": 43,
"accessibility_score": 100,
"best_practices_score": 83,
"seo_score": 92,
"kb_total": 2745,
"cpu_total": 2371,
"budgets_exceeded": 2,
"budgets_at_risk": 0,
"opportunities": 20,
"crux_lcp": 1604,
"crux_fid": 7,
"crux_cls": 0.01,
"crux_fcp": 959,
"crux_ttfb": 701,
"crux_inp": 151,
"crux_passed": 1
},
...
],
"latest": {
"fcp": 942,
"lcp": 5458,
"cls": 0.39,
"tbt": 174,
"ttfb": 875,
"speed_index": 3735,
"performance_score": 43,
"accessibility_score": 100,
"best_practices_score": 83,
"seo_score": 92,
"kb_total": 2745,
"cpu_total": 2371,
"budgets_exceeded": 2,
"budgets_at_risk": 0,
"opportunities": 20,
"crux_lcp": 1604,
"crux_fid": 7,
"crux_cls": 0.01,
"crux_fcp": 959,
"crux_ttfb": 701,
"crux_inp": 151,
"crux_passed": 1
}
},
...
]
}
}
Each website item has these properties:
Property | Description |
---|---|
id | The internal ID of the page |
alias | The displayed name of the page in the admin UI |
url | The relative URL of the page, relative to the website domain |
device | Either desktop or mobile |
timeline | An array of metrics, one for each day. See below |
latest | A collection of metrics, averaged over the last 3 days. See below. |
The timeline
array items and the latest
collection contain the same properties, with the only exception that the timeline
array items contains the date
property which shows the date in the yyyy-MM-dd format. The properties are shown here:
Properties from Lighthouse tests
Property | Data type | Description |
---|---|---|
fcp | integer | First Contentful Paint (ms) |
lcp | integer | Largest Contentful Paint (ms) |
cls | float | Cumulative Layout Shift (unitless) |
tbt | integer | Total Blocking Time (ms) |
ttfb | integer | Time To First Byte (ms) |
speed_index | integer | Speed Index (ms) |
performance_score | integer | Performance Score (ms) |
accessibility_score | integer | Accessibility Score (ms) |
best_practices_score | integer | Best Practices Score (ms) |
seo_score | integer | SEO Score (ms) |
kb_total | integer | Total transfer size (KB) |
cpu_time | integer | Total CPU time (ms) |
budgets_exceeded | integer | Number of budgets exceeded |
budgets_at_risk | integer | Number of budgets within 10% of exceeding |
opportunities | integer | Number of opportunities / recommendations identified by Google Lighthouse |
Properties from CrUX
Property | Data type | Description |
---|---|---|
crux_lcp | integer | Largest Contentful Paint (ms) |
crux_fid | integer | First Input Delay (ms) |
crux_cls | integer | Cumulative Layout Shift (unitless) |
crux_fcp | integer | First Contentful Paint (ms) |
crux_ttfb | integer | Time To First Byte (ms) |
crux_inp | integer | Interaction To Next Paint (ms) |
crux_passed | integer | 1 if Core Web Vitals passed, otherwise 0 |
Properties from Google Search Console
If you have enabled the Google Search Console integration, you'll also get these metrics
Property | Data type | Description |
---|---|---|
impressions | integer | Google impressions the past 14 days |
clicks | integer | Google Search clicks the past 14 days |
CTR | double | The average click through rate the past 14 days (in percent) |
position | integer | The average position on Google's search result page the past 14 days |