PageSpeed Audit avatar

PageSpeed Audit

Pricing

from $1.40 / 1,000 pagespeed audit checkeds

Go to Apify Store
PageSpeed Audit

PageSpeed Audit

Batch Google PageSpeed Insights audits for supplied URLs, using your own free Google API key. Lighthouse scores and metrics; failed checks are uncharged.

Pricing

from $1.40 / 1,000 pagespeed audit checkeds

Rating

0.0

(0)

Developer

Gabor Molnar

Gabor Molnar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Run Google's PageSpeed Insights / Lighthouse performance audit for a batch of supplied URLs.

This Actor is intentionally narrow: it calls the official PageSpeed Insights API for the URL and strategy you provide, returns the performance score, core timing metrics and the top savings opportunities. It does not crawl a site, run a browser itself, or guarantee Google can fetch every page.

Input

{
"urls": ["https://example.com"],
"strategies": ["mobile"],
"apiKey": "your Google PSI API key"
}
  • urls: 1–50 HTTP(S) URLs. Credentials, localhost and non-80/443 ports are refused.
  • strategies: mobile, desktop, or both. Each URL/strategy pair is one row.
  • apiKey: your own Google PageSpeed Insights API key. Google gives one free: see Get Started with the PageSpeed Insights API. Apify stores it encrypted and it never appears in a result row. In practice you need one: without it the run uses Google's shared keyless quota, which is often exhausted, and rows come back rate_limited. Those rows are free. A key that Google rejects normally gives upstream_error with httpStatus 400. Google has also answered a rejected key with 429, which shows as rate_limited. Both are free.
  • Canonical repeats are audited once per strategy.

Output

Each row includes:

  • url, strategy, finalUrl
  • performanceScore from Lighthouse, 0–100
  • metrics: first contentful paint, largest contentful paint, total blocking time, cumulative layout shift and speed index
  • up to 10 Lighthouse opportunities with estimated savings
  • reasonCode

Billing

One charge per completed audit. Everything else is free.

reasonCodeMeaningCharged?
auditedGoogle PSI returned a valid Lighthouse performance result.yes
invalid_urlThe submitted URL is malformed or outside this Actor's URL limits.no
rate_limitedPageSpeed Insights returned HTTP 429. Respect retryAfter.no
upstream_errorPageSpeed Insights or the network failed.no
invalid_responsePageSpeed Insights returned JSON this Actor could not validate.no

No start fee. Failed audits are free. Processing stops at the run's charge limit; URLs not reached get no row.

Limits

  • Uses Google's PageSpeed Insights API; Google may throttle, reject or fail pages independently of this Actor.
  • One PSI API request per URL/strategy pair, processed sequentially.
  • Performance data is a point-in-time Lighthouse result, not a monitoring history.