Core Web Vitals field history (CrUX)
crux_historyRetrieve weekly p75 Core Web Vitals metrics (LCP, INP, CLS, FCP, TTFB) and experience distribution from the Chrome UX Report for a URL or origin over the past 25 weeks.
Instructions
Real-user Core Web Vitals from the Chrome UX Report History API for an origin or URL: weekly p75 of LCP, INP, CLS, FCP, TTFB over the last ~25 weeks and the share of good/needs-improvement/poor. Needs the 'Chrome UX Report API' enabled on the GCP project and a key in CRUX_API_KEY / GOOGLE_API_KEY / PAGESPEED_API_KEY. Returns 404 when the page has too little traffic for CrUX; try the origin instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | origin | |
| weeks | No | ||
| target | Yes | Page URL or origin (https://example.com). | |
| formFactor | No | PHONE |