# PageSpeed Insights API API

> PageSpeed Insights API API on Apizie: 1 endpoint (Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of…) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/analytics:googleapis-pagespeedonline/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-pagespeedonline`
- Category: Analytics
- Status: byok
- Source: https://developers.google.com/speed/docs/insights/v5/about
- Page: https://www.apizie.tech/api/analytics/googleapis-pagespeedonline
- OpenAPI: https://www.apizie.tech/api/analytics/googleapis-pagespeedonline/openapi.json

The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights…

## Endpoints

### Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of…
`GET https://www.apizie.tech/v1/analytics:googleapis-pagespeedonline/pagespeedonline-pagespeedapi-runpagespeed` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| captchaToken | string | no | The captcha token passed when filling out a captcha. |
| category | string | no | A Lighthouse category to run; if none are given, only Performance category will be run |
| locale | string | no | The locale used to localize formatted results |
| strategy | string | no | The analysis strategy (desktop or mobile) to use, and desktop is the default |
| url | string | yes | Required. The URL to fetch and analyze |
| utm_campaign | string | no | Campaign name for analytics. |
| utm_source | string | no | Campaign source for analytics. |

## Example
```
curl "https://www.apizie.tech/v1/analytics:googleapis-pagespeedonline/pagespeedonline-pagespeedapi-runpagespeed" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the PageSpeed Insights API API?
Create a free Apizie key, then send GET https://www.apizie.tech/v1/analytics:googleapis-pagespeedonline/pagespeedonline-pagespeedapi-runpagespeed with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the PageSpeed Insights API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. PageSpeed Insights API itself also needs your own key from googleapis.com.

### Can AI agents use the PageSpeed Insights API API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-pagespeedonline.

### What is the status of the PageSpeed Insights API API?
Needs your own provider key (bring your own key)
