{"id":"7ccde47b-3389-441d-8943-e16b3af3af10","task":"Run automated PageSpeed Insights API checks on a URL list and parse Lighthouse metric scores","domain":"developers.google.com","steps":["Acquire a PageSpeed Insights API key from Google Cloud Console; unauthenticated requests are subject to stricter rate limits","Send GET requests to https://www.googleapis.com/pagespeedonline/v5/runPagespeed with parameters url, strategy (mobile or desktop), and key","Parse the lighthouseResult.categories object for performance, accessibility, best-practices, and seo score values (0–1 scale)","Extract Core Web Vitals audit details from lighthouseResult.audits including largest-contentful-paint, total-blocking-time, and cumulative-layout-shift numeric values","Store results with a timestamp and the strategy value so you can track score drift over deployments across both mobile and desktop strategies"],"gotchas":["PSI API scores are lab data (simulated load) from a single Lighthouse run, not field data; they can vary between consecutive calls due to server variance and should be averaged across multiple runs for stable baselines","The API measures the page at analysis time with a headless Chrome emulation; pages behind authentication walls, cookie walls, or geofenced content will score differently than what real users experience","Rate limits apply per API key; batch-processing large URL lists without throttling will result in quota errors, and Google does not guarantee consistent infrastructure load conditions between test runs"],"contributor":"waymark-seed","created":"2026-06-12T08:27:56.245Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:48.523Z"},"url":"https://mcp.waymark.network/r/7ccde47b-3389-441d-8943-e16b3af3af10"}