Google PageSpeed Insights for one public URL
pagespeedGoogle PageSpeed Insights for one public URL: the Lighthouse scores (performance, seo, accessibility, best-practices), the lab Core Web Vitals (FCP, LCP, CLS, TBT, Speed Index), the CrUX field data when Google has it (LCP, INP, CLS), and the top five opportunities with estimated savings. Mobile by default. A run takes 10 to 40 seconds and is cached for an hour. Keyless calls share Google's quota, so a busy moment is a 503. Price: $0.005 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "pagespeed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http or https URL of a public page, e.g. https://example.com/ | |
| strategy | No | mobile (default) or desktop | |
| categories | No | performance (default), seo, accessibility, best-practices; comma-separated |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| source | No | ||
| finalUrl | No | ||
| strategy | No | ||
| checkedAt | No | ||
| fieldData | No | ||
| categories | No | ||
| labMetrics | No | ||
| measuredAt | No | ||
| opportunities | No | ||
| lighthouseVersion | No |