Get Started with the PageSpeed Insights API

Deprecated. This page was written for version 4 of the PageSpeed Insights API, which is
deprecated and will be shut down in May 2019. Version 5 is the latest and provides
both real-world data from the Chrome User Experience Report and lab data from Lighthouse.

There are several options for how to start using the PageSpeed Insights API.

The one-minute experience: APIs Explorer

To play around and see what the API can do, without writing any code, visit the APIs Explorer. Instant gratification!

The one-hour experience: Your First App

For a step-by-step tutorial explaining how to get up and running, follow the instructions in Your First App.