---
title: "Get Web Vitals page breakdown"
method: GET
path: "/api/sites/{id}/web-vitals/pages"
tags: ["Sites"]
---

# Get Web Vitals page breakdown

`GET /api/sites/{id}/web-vitals/pages`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/sites/{id}/web-vitals/pages`
- Auth: one of:
  - API key in cookie `hk_token`
  - HTTP bearer
  - API key in header `X-API-Key`

Returns page paths ranked by the selected metric p75, with per-metric p75 cells for every Web Vital available on each path.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `path` string
- `rating` 'good' | 'needs_improvement' | 'poor'
- `metric` 'LCP' | 'INP' | 'CLS' | 'FCP' | 'TTFB'
- `limit` integer

## Response `200`

Web Vitals pages

- WebVitalPageRow[]
  - `good` integer
  - `metrics` object
  - `needs_improvement` integer
  - `p75` number
  - `path` string
  - `poor` integer
  - `rating` 'good' | 'needs_improvement' | 'poor'
  - `samples` integer

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
