Core Web Vitals
get_web_vitalsReal-user Core Web Vitals (LCP, INP, CLS, FCP, TTFB) at a percentile with the share of good/poor samples; set by to rank pages, countries or browsers for one metric, or over_time for one metric per day to see when it changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Rank by this instead of the summary | |
| to | No | Last day, inclusive, YYYY-MM-DD; default today | |
| from | No | First day, YYYY-MM-DD; overrides period | |
| limit | No | Rows to return, at most 50 | |
| metric | No | Metric to rank by or follow over time | LCP |
| period | No | Window ending now; days are whole days in the timezone. Ignored when from is set. | 30d |
| site_id | Yes | site_id from list_sites; a site name, slug or domain also resolves | |
| timezone | No | IANA zone for day boundaries; default the user's | |
| over_time | No | metric per bucket instead of the summary | |
| percentile | No | p75 |