PageSpeed Insights icon

PageSpeed Insights

Get performance data from Google PageSpeed Insights

PageSpeed Insights

AI-generated

Summary

Analyze a specified URL using Google PageSpeed Insights to retrieve performance data based on selected strategies and categories.

Inputs

  • URL (required) — The URL to analyze.
  • Strategy — The analysis strategy to use; either 'mobile' or 'desktop'.
  • Categories — One or more Lighthouse audit categories to run, including 'performance', 'accessibility', 'best-practices', and 'seo'.
  • Locale — Locale code to localize the formatted results; defaults to 'en'.
  • Additional Fields — Optional analytics and captcha fields including UTM Campaign, UTM Source, and Captcha Token.
  • Simplify Response — Whether to return a simplified response containing only key metrics; defaults to true.

Output shape

a single JSON object containing the PageSpeed Insights report data for each input URL

If 'Simplify Response' is true, the output includes a streamlined object with URL, strategy, fetch time, rounded scores per category, key performance metrics (e.g., First Contentful Paint), and loading experience data. Otherwise, the full API response is returned. Errors per item are captured if 'Continue On Fail' is enabled.

Discussion