PageSpeed Insights / Core Web Vitals
pagespeedRun Google PageSpeed Insights on a URL to get Lighthouse scores, lab metrics, field data, and improvement opportunities for performance, SEO, accessibility, and best practices.
Instructions
Run Google PageSpeed Insights for a URL. Returns Lighthouse category scores (performance, SEO, accessibility, best practices), lab metrics (LCP, CLS, TBT, FCP, Speed Index), real-user CrUX field data (LCP, CLS, INP) when available, and the top improvement opportunities with estimated savings. Set PAGESPEED_API_KEY for a higher quota. Each run takes 15-60 s; Google caches results for a short while, so if a call times out simply call again. A 'Lighthouse returned error' after retry usually means the page never becomes idle (endless animations/JS) and cannot be audited by PSI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| strategy | No | mobile | |
| categories | No | ||
| topOpportunities | No |