CrUX Core Web Vitals report

Field Core Web Vitals from the Chrome UX Report, kept separate from lab timings so the two are never confused. Needs your own Google Cloud API key.

What it does

Field data, not lab data

crux-report returns LCP, INP and CLS at the 75th percentile, measured on real Chrome visits. Each metric is judged against the web.dev thresholds and marked good, needs improvement or poor. Lighthouse and PageSpeed results are lab measurements and are kept in separate reports.

  • Thresholds: LCP 2.5 and 4 s, INP 200 and 500 ms, CLS 0.1 and 0.25.
  • Missing data is shown as unavailable, never as a pass.
  • The report carries the collection dates.

Key and scope

You need a Google Cloud API key with the Chrome UX Report API enabled. Without it the report says it did not run. You can ask for one URL, an origin, or a bounded sample of up to 25 URLs.

  • The key is read from CRUX_API_KEY or the config path, and is sent in a request header, not in the URL.
  • --form-factor takes PHONE, DESKTOP or TABLET.
  • --origin gives an origin aggregate, labeled as such. It does not stand in for missing URL data.
  • --cache-dir keeps a private local cache for sampled runs.

Into a site audit

Save the crux-report JSON and pass it to site-audit with --crux-evidence. The audit reads the saved file and makes no call to Google. This keeps one field result reusable across several audits.

  • URL and origin scopes stay distinct in the audit.
  • Field results never replace Lighthouse lab results.

Three steps, one saved scan

  1. Add your Google API key

    Store a Chrome UX Report API key in the config path or CRUX_API_KEY. Without it the report says it did not run.

  2. Pull field p75 for one URL

    Run crux-report on a URL, optionally with --form-factor PHONE or DESKTOP, and get LCP, INP and CLS at the 75th percentile.

  3. Read the verdicts against official thresholds

    Each metric is marked good, needs improvement or poor using the web.dev limits (LCP 2.5/4 s, INP 200/500 ms, CLS 0.1/0.25). Missing data is shown as unavailable, never as passing.

One command

bash
spiderhead crux-report --url https://example.com/

Install first: installation guide. Every command also runs as an MCP tool for AI agents.

What you need

  • A Google Cloud API key with the Chrome UX Report API enabled
  • A page URL, an origin, or up to 25 URLs for a sample
  • Optional: a form factor (PHONE, DESKTOP or TABLET)

Limits

  • CrUX covers only URLs and origins with enough real Chrome traffic. Others return no data.
  • It reports the current collection window, not a diagnosis of why a page is slow.
  • SpiderHead tests the response parsing offline. It does not claim your key works until you run it.
  • Field data is not lab data and does not replace Lighthouse.

Questions

Do I need a Google account or a paid plan?
You need a Google Cloud API key with the Chrome UX Report API enabled. The calls are free within Google's API quota.
Why does a metric say unavailable?
CrUX has no current record for that URL or form factor, the collection period is invalid, or the provider call failed. An unavailable metric is never counted as a pass.
Can I get CrUX for a whole site?
Use --origin for an origin-level aggregate. It is labeled as an origin aggregate and does not stand in for missing URL data. For several pages, pass --urls with a sample of up to 25 URLs.
Is this the same as PageSpeed or Lighthouse?
No. CrUX is field data from real Chrome users. PSI and Lighthouse are lab measurements and stay separate in the reports.
How do I put CrUX into a site audit?
Save the crux-report JSON, then pass it to site-audit with --crux-evidence. The audit reads the saved file locally and does not call Google.
What is stored on my machine?
Nothing by default. The key stays in your environment or config folder. If you use --cache-dir, a private cache of the sampled results is kept there for 24 hours by default.

Try it on your own site