pagespeedapi
Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.
get/pagespeedonline/v5/runPagespeed
Query parameters
urlstring required
Required. The URL to fetch and analyze
captchaTokenstring
The captcha token passed when filling out a captcha.
categorystring[]
A Lighthouse category to run; if none are given, only Performance category will be run
localestring
The locale used to localize formatted results
strategy'STRATEGY_UNSPECIFIED' | 'DESKTOP' | 'MOBILE'
The analysis strategy (desktop or mobile) to use, and desktop is the default
utm_campaignstring
Campaign name for analytics.
utm_sourcestring
Campaign source for analytics.
Response
Successful response