
PageSpeed Insights API
PageSpeed Insights API
Analyze a page with runPagespeed and feed performance diagnostics into site quality tooling.
Simple surface centered on runPagespeed
Very narrow surface, not a general website management API
Start with a single runPagespeed request against a target URL, then decide how you want to store thresholds, regressions, and historical comparisons in your build pipeline.
Uptime · 30-day window
About this API
This API is intentionally narrow: the center of gravity is runPagespeed. Its value comes from turning page performance analysis into an automated check, release gate, or trend dashboard. In the published OpenAPI surface, the most concrete handles are "/pagespeedonline/v5/runPagespeed", backed by tags such as "pagespeedapi".
That makes the API practical for run page performance checks in ci, track regression on important urls, and pipe optimization suggestions into a site quality dashboard. The spec lists scopes such as "openid".
Very narrow surface, not a general website management API The spec exposes very little auth detail beyond a minimal scope listing
What you can build
- 1Run page performance checks in CI
- 2Track regression on important URLs
- 3Pipe optimization suggestions into a site quality dashboard
Strengths & limitations
Strengths
- Simple surface centered on runPagespeed
- Easy to embed into developer tooling
- Naturally fits scheduled analysis of target URLs
Limitations
- Very narrow surface, not a general website management API
- The spec exposes very little auth detail beyond a minimal scope listing
Example request
curl https://google.com/<endpoint> \
-H "Authorization: Bearer $ACCESS_TOKEN"Getting started
Start with a single runPagespeed request against a target URL, then decide how you want to store thresholds, regressions, and historical comparisons in your build pipeline.
Technical details
- Auth type
- oauth
- Pricing
- unknown
- Protocols
- REST
- Response time
- 532 ms
- Last health check
- 5/12/2026, 7:37:36 AM
More from Google
Google Workspace Admin SDK API programmatically manages Workspace organizations — users, groups, devices, domains, audit logs, organizational units.
Retrieve AdMob accounts, apps, ad units, ad sources, and generate mediation or network reports.
Work with AdSense Host accounts, ad clients, ad units, reports, and ad code generation from one API surface.
Programmatically manage Apigee organizations, API proxy deployments, attributes, certificates, and hybrid operations.
Google BigQuery API is the REST interface to GCP's flagship data warehouse — execute SQL queries, manage datasets/tables, stream inserts, and use built-in ML.
Control Binary Authorization attestors and policy checks for container images deployed to GKE and Anthos.
Fetch Business Profile location metrics, daily time series, and monthly search keyword impressions.
Google Calendar API lets apps create, read, and update calendar events programmatically — the go-to integration for scheduling apps.