# Google PageSpeed Insights API

Category: [SEO and site checks](https://free-web-services.com/web-services/web-development/seo/)  
Page: https://free-web-services.com/web-services/web-development/seo/google-pagespeed-insights-api.html  
Documentation: https://developers.google.com/speed/docs/insights/v5/get-started

The PageSpeed Insights API runs Google Lighthouse on any public URL and returns its scores for performance, accessibility, best practices and SEO, together with Core Web Vitals from real Chrome users where available. Run tests for mobile or desktop and get detailed audits and suggestions. Responses are JSON. Free; a free API key raises the request limits.

- API key: Needed, free
- Pricing: Free; a free API key raises the request limits.
- From the browser: Yes (CORS)
- Interface: REST, HTTP-GET
- Provider: developers.google.com
- Last checked: Working on November 15th, 2026

Example request:

```sh
curl 'https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=https://example.com&key=YOUR_API_KEY'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

