{"uid":"cap_bdIoQKnJhPEijeHlWfR1v","slug":"sitecheck-pagespeed-insights-f3c3ddef","name":"SiteCheck PageSpeed Insights","description":"Google 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.","url":"https://api.sitecheck-api.workers.dev/api/pagespeed?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"http or https URL of a public page, e.g. https://example.com/"},"strategy":{"type":"string","description":"mobile (default) or desktop"},"categories":{"type":"string","description":"performance (default), seo, accessibility, best-practices; comma-separated"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/","source":"Google PageSpeed Insights v5 (Lighthouse lab run; CrUX field data when available)","finalUrl":"https://example.com/","strategy":"mobile","checkedAt":"2026-10-15T06:00:00.000Z","fieldData":null,"categories":{"performance":96},"labMetrics":{"si":{"value":1400,"display":"1.4 s"},"cls":{"value":0,"display":"0"},"fcp":{"value":1100,"display":"1.1 s"},"lcp":{"value":1500,"display":"1.5 s"},"tbt":{"value":0,"display":"0 ms"}},"measuredAt":"2026-10-15T06:00:00.000Z","opportunities":[{"id":"render-blocking-resources","title":"Eliminate render-blocking resources","estimatedSavingsMs":150,"estimatedSavingsBytes":null}],"lighthouseVersion":"12.0.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Tw88vNTk9WpQxekbhoEM0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a Google PageSpeed Insights / Lighthouse audit on a public URL and returns performance scores, Core Web Vitals, and optimization opportunities","exampleAgentPrompt":"Can you run a PageSpeed audit on https://mystore.com/ for mobile and tell me the performance score, LCP, CLS, and what the biggest opportunities are to speed it up?","exampleUseCases":[{"title":"Pre-launch performance gate check","prompt":"Before we go live, run a mobile Lighthouse performance audit on https://staging.myapp.com/ and tell me if the score is above 90 and whether LCP is under 2.5 seconds."},{"title":"Competitor website benchmarking","prompt":"I want to compare our site's performance against a competitor — can you audit https://competitor.com/ on desktop and give me the performance score and Core Web Vitals?"},{"title":"SEO and accessibility audit","prompt":"Run a PageSpeed audit on https://myblog.com/landing-page on mobile, but check SEO and accessibility categories this time — I want to know where we're losing points."}],"resultDescription":"Returns a JSON object with the audited URL, strategy used, timestamp, overall category scores (e.g. performance: 96), lab metrics for LCP, CLS, FCP, TBT, and Speed Index with human-readable display values, optional CrUX field data, a list of improvement opportunities with estimated time/byte savings, and the Lighthouse version used.","failureModes":["URL is not publicly accessible or returns a non-200 status — audit may fail or return incomplete data","Private/intranet URLs that Lighthouse cannot reach","Very slow pages may time out during the lab run","Invalid URL format causes a 400-level error","categories or strategy values outside allowed enums may be rejected"],"whenToPreferThis":"Use this endpoint when you need a real Lighthouse lab run with Core Web Vitals (LCP, CLS, FCP, TBT, SI) and actionable optimization opportunities for a public URL. Prefer it over generic HTTP checkers when you need Google's PageSpeed score specifically, want CrUX field data when available, or need to compare mobile vs. desktop performance with estimated savings per opportunity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:40:21.468Z","isFirstParty":false,"canonicalSlug":"sitecheck-pagespeed-insights-f3c3ddef"}