Use Google PageSpeed Insights to analyze a public URL with Lighthouse. Choose desktop or mobile strategy and a locale, then retrieve performance, accessibility, SEO, and best-practice results. Performance metrics include First Contentful Paint, Largest Contentful Paint, and Speed Index.
Pass scores and diagnostics into reporting or alerting steps. An automated accessibility audit identifies some issues; it does not establish complete accessibility conformance.
Create an API key
- Open the Google Cloud Console and create or select a project.
- Enable the PageSpeed Insights API in the API Library.
- Open Credentials and create an API key.
- Paste the key into the Sim block.
See Google's PageSpeed API setup for project and authentication requirements.
Use the block
Analyze web pages for performance, accessibility, SEO, and best practices using Google PageSpeed Insights API powered by Lighthouse.
Actions
Google PageSpeed Analyze
Analyze a webpage for performance, accessibility, SEO, and best practices using Google PageSpeed Insights.