API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.


For Pagespeedapi Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/pagespeedonline/v4, or https://www.googleapis.cn/pagespeedonline/v4 for China users.
runpagespeed GET  /runPagespeed 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.

Required query parameters: url