kadi_bence/pagespeed-checker
kadi_bence--pagespeed-checkerThis tool calls the Actor "kadi_bence/pagespeed-checker" and retrieves its output results. Actor description: $3.90 per 1,000 audits, failed audits free. Run Google PageSpeed Insights on many URLs or a sitemap. Input: URLs or sitemap, mobile/desktop, categories; no API key needed for up to 25 audits per run. Returns per URL: Lighthouse scores, Core Web Vitals (LCP, INP, CLS), top fixes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kadi_bence--pagespeed-checker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | One page per line, e.g. https://www.example.com/pricing. https:// is added when missing. Duplicates are skipped. Each URL is audited once per strategy (mobile/desktop). Example values: ["https://apify.com/","https://www.wikipedia.org/"] | |
| locale | No | Locale for Lighthouse texts such as opportunity titles, e.g. en, de, fr, pt-BR. Example values: "en" | en |
| maxUrls | No | Stop after this many URLs (from the list and the sitemap together). Each URL is audited once per device. Without your own Google API key a run is limited to 25 audits. The default without input (API, MCP and AI-agent calls) is 20. Example values: 20 | |
| strategy | No | Mobile (Moto G Power emulation, slow 4G - what Google uses for ranking), desktop, or both (2 audits per URL). Example values: "mobile" | mobile |
| waitSecs | No | Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget. | |
| categories | No | Which Lighthouse scores to compute. Leave empty for all four. Core Web Vitals and lab metrics need Performance. Example values: ["performance","accessibility","best-practices","seo"] | |
| sitemapUrl | No | Audit the pages listed in a sitemap.xml (sitemap indexes and .gz files work too). Combined with the URL list and capped by "Max URLs". | |
| useCruxApi | No | Needs your API key with the Chrome UX Report API enabled. Adds the data collection period and exact device form factor; falls back to the PageSpeed field data when CrUX has no record. 1-2 extra Google calls per audit (free). | |
| googleApiKey | No | Optional for small runs: without a key the Actor uses its built-in key, limited to 25 audits (URLs x devices) per run. For bigger runs, and for the Chrome UX Report API option, paste your own free Google Cloud API key with the PageSpeed Insights API enabled (25,000 free audits per day). Your key is always used when given, is stored encrypted and is never logged. How to create one in 3 minutes: see the README section "Get your free Google API key". | |
| maxConcurrency | No | Audits running at the same time. One audit takes 10-40 s at Google. Example values: 4 | |
| includeFieldData | No | Adds Chrome UX Report p75 values and good / needs-improvement / poor shares for LCP, INP, CLS, FCP and TTFB (page level, or the whole site when the page has too little traffic), plus the Core Web Vitals pass/fail assessment. No extra cost. Example values: true | |
| maxOpportunities | No | How many failed performance audits with the largest estimated savings to return (id, title, savings in ms and bytes). 0 = none. Example values: 5 | |
| maxRequestsPerSecond | No | Start rate limit for Google API calls. Google's default PageSpeed quota is 400 requests per 100 seconds; keep 2 unless you share the key with other tools. Example values: 2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Advisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key | |
| runId | Yes | Actor run ID | |
| stats | No | Run statistics | |
| status | Yes | Run status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED | |
| actorId | Yes | Stable Apify Actor ID from the run record | |
| summary | Yes | Past-tense summary of the run state | |
| exitCode | No | Actor process exit code; populated for terminal states (especially FAILED) | |
| nextStep | Yes | One primary follow-up action with identifiers interpolated | |
| storages | Yes | Dataset and key-value store metadata, keyed by alias. "default" is always the primary entry. | |
| actorName | No | "username/actor-name" | |
| startedAt | No | ISO timestamp when the run started | |
| finishedAt | No | ISO timestamp when the run finished (terminal states only) | |
| statusMessage | No | Pass-through from Apify run.statusMessage | |
| apifyConsoleUrl | No | Personalized Apify Console link to the run; present only for Console sessions |