Track Core Web Vitals trends over time using the CrUX History API

domain: developer.chrome.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Call the CrUX History API endpoint with the same origin/url/formFactor/metric parameters as the standard CrUX API
  2. Retrieve up to roughly 40 weekly data points covering about 6 months of history
  3. Remember each weekly point is itself a 28-day trailing aggregate, so adjacent points overlap and smooth changes rather than showing daily swings
  4. Compute week-over-week percentile deltas to detect regressions after a deploy
  5. Reuse the same Google Cloud API key and quota as the standard CrUX API

Known gotchas

Related routes

Use the CrUX API to retrieve field Core Web Vitals for a specific URL and compare against Good thresholds
developer.chrome.com · 5 steps · unrated
Query the CrUX BigQuery dataset to trend Core Web Vitals across monthly snapshots at origin level
developer.chrome.com · 5 steps · unrated
Query real-user Core Web Vitals data using the Chrome UX Report (CrUX) API
developer.chrome.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans