# Bulk Lighthouse & Core Web Vitals Audit - PageSpeed + SEO (`digivibetech/seo-lighthouse-audit`) Actor

🥈 Top 5 tested: equal scores (tested 22 Nov 2026). Audit every page of a site with Google Lighthouse via the official PageSpeed Insights API: 4 scores, lab metrics, real-user Core Web Vitals (CrUX), on-page SEO, duplicate titles, broken links and one ranked fix list. $0.008/page + $0.02/run.

- **URL**: https://apify.com/digivibetech/seo-lighthouse-audit.md
- **Developed by:** [DigiVibeTech](https://apify.com/digivibetech) (community)
- **Categories:** SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 page auditeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bulk Lighthouse & Core Web Vitals Audit - PageSpeed + SEO

![SEO Lighthouse Audit, Top 5 tested, equal scores, 22 Nov 2026](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/seo-lighthouse-audit-v3-2026-11-22.png)

**🥈 Top 5 tested: equal scores**

*Tested 22 Nov 2026 against the top 5 most-used Apify actors for this job, same input.*

**Bulk Lighthouse & Core Web Vitals Audit** runs Google Lighthouse on every page of a site through the official **Google PageSpeed Insights API**, adds **real-user Core Web Vitals from the Chrome UX Report** when Google has them, checks on-page SEO, and gives you one ranked fix list for the whole site.

> **Try it:** press **Start**. The prefilled input audits 3 real pages (3 × $0.008 + $0.02 start = $0.044). Set **Max cost per run** to cap any run.

- **What you get per page:** 4 Lighthouse scores, lab LCP/CLS/TBT/FCP/Speed Index, real-user LCP/INP/CLS p75 with Google's FAST/AVERAGE/SLOW rating, failed audits, on-page SEO issues
- **For the whole site:** `REPORT.html` to send to a client, `SITE-REPORT` JSON, `PAGES.csv`
- **Who it's for:** SEO and web-performance freelancers, agencies and shop owners
- **Price:** $0.008 per audited page plus $0.02 per run. Failed, blocked and error pages are free

### What is it?

You give one or more site URLs. The actor finds pages through `sitemap.xml` and internal links (up to `maxPages`, max 500), then for each page:

1. fetches the HTML itself (robots.txt respected, max one request per second per site) and runs on-page SEO checks;
2. asks Google PageSpeed Insights to run Lighthouse on Google's own servers (mobile or desktop);
3. reads the Chrome UX Report field data that PageSpeed Insights returns for the page, or for the whole origin when the page has too little traffic.

Because Lighthouse runs at Google, no browser runs inside the actor. Audits run 4 at a time by default, a run uses 512 MB, and a single slow page cannot freeze the run: it is retried, then skipped and not charged.

### ✅ Why this one

- **Lab + field in one row.** This one adds real-user LCP, INP and CLS (p75) and a "Core Web Vitals passed" flag when Google has the data.
- **A site audit, not just a list of scores.** On-page SEO checks per page and site-wide checks (duplicate titles and descriptions, internal links to 404 pages) end up in one ranked fix list.
- **A report you can send.** `REPORT.html` shows average scores, real-user Core Web Vitals, "fix first" and the slowest pages.
- **Fair billing.** One charge per page that got both the SEO checks and a Lighthouse result. robots.txt-blocked pages, error pages, non-HTML files and failed audits cost nothing.
- **Fast.** Real run on 22 Nov 2026: 5 pages in 22 seconds of run time, $0.0004 of platform compute.

### How pages are found

Start URLs are always audited first. With crawling on, the actor reads `sitemap.xml` (and child sitemaps) and follows links on the same host until `maxPages` is reached. With several sites in one run, pages are shared fairly between them. Use `includePattern` and `excludePattern` to focus, for example, on `/products/` only.

### 📸 Real run

![HTML report from a real 5-page PageSpeed Insights audit on 22 Nov 2026](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/seo-lighthouse-audit-psi-std-05-report.png)

![Results table from the same real PageSpeed Insights run](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/seo-lighthouse-audit-psi-std-02-results-table.png)

![One result item, including real-user Core Web Vitals](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/seo-lighthouse-audit-psi-std-03-result-item.png)

![Run cost for the same real 5-page audit](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/seo-lighthouse-audit-psi-std-04-run-cost.png)

Run `zy8Hnid5RsxxaAJWi` on Apify, 22 Nov 2026 (build 1.2.2, PageSpeed Insights engine, Lighthouse 13.6.0). Input: `startUrls` `https://digivibetech.com/` and `https://www.wikipedia.org/`, `maxPages: 5`, mobile. 5 pages audited and charged, 0 skipped.

```csv
url,performance,accessibility,best-practices,seo,labLcpMs,labCls,fieldLcpMs,fieldInpMs,fieldCls,fieldScope,coreWebVitalsPassed
https://digivibetech.com/,100,100,92,92,1531,0,,,,none,
https://www.wikipedia.org/,100,94,100,100,1223,0.001,1281,99,0,page,true
https://digivibetech.com/support/,100,100,92,100,1531,0,,,,none,
https://digivibetech.com/confluence-markdown-export/,100,100,92,100,1531,0,,,,none,
https://digivibetech.com/legal/,99,100,92,100,1560,0,,,,none,
```

`fieldScope` is `page` when Google has Chrome UX Report data for that URL, `origin` when only the whole site has data, and `none` for low-traffic sites (lab scores still apply).

### ⬇️ What data you get

Per page (dataset, **Overview** view):

- **Lighthouse scores** 0-100: performance, accessibility, best practices, SEO (Lighthouse run by Google PageSpeed Insights; the version is in `lighthouseVersion`).
- **Lab metrics**: Largest Contentful Paint, Cumulative Layout Shift, Total Blocking Time, First Contentful Paint, Speed Index, server response time, page weight and request count.
- **Real-user field data** (`fieldData`, `originFieldData`): p75 LCP, INP, CLS, FCP and TTFB with Google's FAST/AVERAGE/SLOW rating and `coreWebVitalsPassed`. `null` when Google has no data.
- **Performance insights** with estimated savings, and **failed Lighthouse audits** ranked by weight.
- **On-page SEO**: title and length, meta description and length, H1s, canonical, noindex (meta and X-Robots-Tag), lang, viewport, images without alt, word count, Open Graph, JSON-LD blocks, hreflang, mixed content.

For the whole site (key-value store, also linked in the **Output** tab):

- `REPORT.html`: average scores, real-user Core Web Vitals summary, "fix first" list, slowest pages.
- `SITE-REPORT`: the same as JSON, with every issue, its priority and the pages it affects.
- `PAGES.csv`: one row per page for Excel or Google Sheets, lab and field columns side by side.
- `ERRORS`: every skipped or failed page and why (none of them charged). `SUMMARY`: counts.

### 🎯 Use cases

- Audit every product, category and blog page of a shop, not just the homepage
- Check whether real visitors pass Core Web Vitals, page by page
- Send a client a one-file report with what to fix first
- Re-run on a schedule to track scores after each release

### ▶️ How to use

1. Open the actor; the input is prefilled with a small real example.
2. Put in your own site and set `maxPages` to control the cost.
3. Press **Start**. Results appear in the **Output** tab.
4. Download JSON, CSV or Excel, use the API, or schedule the actor.

### ⚙️ Input

```json
{
  "startUrls": ["https://digivibetech.com/"],
  "maxPages": 3,
  "crawl": true,
  "device": "mobile",
  "excludePattern": "/tag/|\\?page="
}
```

Optional: `concurrency` (1-8, default 4), `pageTimeoutSecs` (default 120), `categories`, `includePattern`, and `googleApiKey` if you want your own Google quota for very large volumes. Without it, the actor's own key is used.

### ⬆️ Output

One record, shortened:

```json
{
  "url": "https://www.wikipedia.org/",
  "httpStatus": 200,
  "lighthouseVersion": "13.6.0",
  "engine": "pagespeed-insights-api",
  "device": "mobile",
  "scores": {
    "performance": 100,
    "accessibility": 94,
    "best-practices": 100,
    "seo": 100
  },
  "metrics": {
    "firstContentfulPaintMs": 1053,
    "largestContentfulPaintMs": 1223,
    "totalBlockingTimeMs": 0,
    "cumulativeLayoutShift": 0.001,
    "speedIndexMs": 2485,
    "serverResponseMs": 19,
    "totalBytes": 101032,
    "requests": 5
  },
  "fieldData": {
    "scope": "page",
    "overall": "FAST",
    "lcpMs": 1281,
    "lcpMsRating": "FAST",
    "inpMs": 99,
    "inpMsRating": "FAST",
    "cls": 0,
    "clsRating": "FAST",
    "fcpMs": 1158,
    "fcpMsRating": "FAST",
    "ttfbMs": 547,
    "ttfbMsRating": "FAST",
    "coreWebVitalsPassed": true
  },
  "originFieldData": "{ ...same fields for the whole origin... }",
  "failedAudits": [
    {
      "category": "accessibility",
      "id": "label",
      "title": "Form elements do not have associated labels",
      "score": 0,
      "weight": 10
    },
    {
      "category": "accessibility",
      "id": "heading-order",
      "title": "Heading elements are not in a sequentially-descending order",
      "score": 0,
      "weight": 3
    }
  ],
  "seo": {
    "title": "Wikipedia",
    "titleLength": 9,
    "metaDescriptionLength": 130,
    "h1": [
      "Wikipedia The Free Encyclopedia"
    ],
    "canonical": null,
    "lang": "en",
    "wordCount": 1229
  },
  "issues": [
    {
      "severity": "low",
      "code": "title-short",
      "message": "Title is only 9 characters."
    }
  ],
  "auditedAt": "2026-11-22T15:27:36.692Z"
}
```

### 💵 Pricing and cost estimate

**$0.008 per audited page plus $0.02 per run** ($8 per 1,000 pages, plus the per-run start fee). No subscription. Not charged: pages robots.txt does not allow, pages that answer an error (they still show up in the site report as broken links), non-HTML files, and pages where PageSpeed Insights fails after retries. When your maximum cost per run is reached, the actor stops and lists the skipped pages.

| Pages audited | Cost (including $0.02 start) |
|---|---|
| 100 | $0.82 |
| 1,000 | $8.02 |
| 10,000 | $80.02 |

### 🔌 Integrations and API

Run it from **n8n, Make, Zapier, Clay** or any tool that can call an HTTP endpoint, connect a **webhook** to get notified when a run finishes, or let AI agents call it through the **Apify MCP server** (`mcp.apify.com`).

Run it and get the results in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/digivibetech~seo-lighthouse-audit/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://digivibetech.com/"], "maxPages": 3}'
```

Python (`pip install apify-client`):

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("digivibetech/seo-lighthouse-audit").call(run_input={"startUrls": ["https://digivibetech.com/"], "maxPages": 3})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### ⚠️ Limits

- Lighthouse runs on Google's PageSpeed Insights servers, so lab scores reflect Google's test location and settings, which can differ from your own Chrome DevTools run.
- Field data exists only for pages and sites with enough Chrome traffic; small sites usually show `fieldScope: none`.
- PageSpeed Insights can audit public pages only. Pages behind a login, on localhost or on a private network cannot be audited.
- Up to 500 pages per run. Links on other hosts and subdomains are not followed.
- The actor stops about 90 seconds before the run timeout and saves everything it has, so a long run never ends without results.

### 🛡️ Data source, privacy and legality

Page HTML is fetched from the public sites you enter, respecting robots.txt. Lighthouse and Chrome UX Report data come from the official Google PageSpeed Insights API.

#### Processing, storage and payment

Input, run logs, dataset rows and generated files are processed and stored by Apify. Access to a run's storage depends on Apify settings; some generated file URLs may grant access to anyone who has the link. Treat output URLs as sensitive and do not put secrets, customer records or personal data in sample inputs.

Storage retention depends on your Apify plan, storage settings and deletion actions; no fixed retention period or automatic deletion by this Actor is promised. Apify handles run billing under pay-per-event pricing. [Privacy and support information](https://digivibetech.com/privacy/).

Page URLs are sent to the Google PageSpeed Insights API, which loads the pages on Google's servers. Use first-party or permissioned pages; reports contain URLs and page metadata.

### ❓ FAQ

#### How much does it cost?

$0.008 per audited page plus $0.02 per run. See the cost table above. There is no monthly fee.

#### Why PageSpeed Insights and not a local Chrome?

Local Lighthouse needs a 2 GB browser container and a single heavy page can hang it. With PageSpeed Insights, Google runs Lighthouse, you also get real-user Chrome UX Report data, and runs are faster and more reliable.

#### Do I need my own Google API key?

No. The actor has its own key. Add `googleApiKey` only if you run very large volumes and want your own Google quota.

#### Is it legal to audit a website with this actor?

The actor reads only public pages, respects robots.txt, sends at most one HTML request per second per site and uses no logins or anti-bot evasion. Lighthouse runs through Google's official PageSpeed Insights API. Audit your own sites or sites you have permission to test, and follow the site's terms. This is not legal advice.

#### Can I use it through the API or an MCP server?

Yes. Every run is available through the Apify API and client libraries, and AI agents can call it through the Apify MCP server.

#### Something does not work. Where do I get help?

Open an issue on the Issues tab or use [digivibetech.com/support](https://digivibetech.com/support/). Include the run ID.

### 📝 Changelog

#### 23 Nov 2026

- PageSpeed Insights retries now stop before the run timeout, so a slow Google answer can no longer push a run past its time limit. FAQ: legality question added. Price unchanged.

#### 1.2 (22 Nov 2026)

- Engine switched to the Google PageSpeed Insights API: no local Chrome, 4 audits in parallel, 512 MB instead of 2 GB, retries and a stop-before-timeout guard. Fixes runs that timed out.
- New: real-user Core Web Vitals (Chrome UX Report) per page and per origin, in the dataset, CSV and HTML report.
- Multiple sites in one run now share `maxPages` fairly. Price unchanged.

#### 1.1 (20 Nov 2026)

- Lighthouse 13.6.0 (local Chrome), listing refresh.

### 🧩 More DigiVibeTech actors

- [Website SEO & AI Search Audit (GEO/AEO)](https://apify.com/digivibetech/ai-search-citation-readiness)
- [Broken Link & Image Checker - Sitemap or Crawl](https://apify.com/digivibetech/broken-link-image-checker)
- [Bulk WHOIS & DNS Lookup - Domain Expiry, RDAP, SPF, DMARC](https://apify.com/digivibetech/domain-whois-rdap-dns)
- [Redirect Chain & Migration Map Checker](https://apify.com/digivibetech/redirect-chain-migration-checker)

*Maintained by DigiVibeTech. Questions or bugs: use the Issues tab or [digivibetech.com/support](https://digivibetech.com/support/); we reply within 2–5 business days.*

# Changelog

This Actor's version history is a separate document: https://apify.com/digivibetech/seo-lighthouse-audit/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

Home page or any page of each site to audit. With crawling on, links and the sitemap on the same host are followed.

## `crawl` (type: `boolean`):

Audit more pages of the same site, found through links and sitemap.xml. Off audits only the start URLs.

## `useSitemap` (type: `boolean`):

Also take pages from /sitemap.xml (and child sitemaps).

## `device` (type: `string`):

Mobile (Lighthouse mobile settings: emulated mid-range phone, slow 4G) or desktop. Lab scores come from Lighthouse run by Google PageSpeed Insights; real-user field data comes from the Chrome UX Report when Google has it.

## `categories` (type: `array`):

Which Lighthouse scores to measure. All four by default.

## `includePattern` (type: `string`):

Regular expression, e.g. /blog/. Start URLs are always audited.

## `excludePattern` (type: `string`):

Regular expression, e.g. ?page=|/tag/.

## `maxPages` (type: `integer`):

Pages to audit in total (1-500). Each audited page is one charge.

## `pageTimeoutSecs` (type: `integer`):

Maximum wait per page for the PageSpeed Insights answer. Pages that time out are retried, then listed in ERRORS and not charged.

## `concurrency` (type: `integer`):

How many pages are audited at the same time (1-8). The site itself still gets at most one HTML request per second.

## `googleApiKey` (type: `string`):

Leave empty to use the actor's built-in key. Add your own PageSpeed Insights API key only if you run very large volumes and want your own Google quota.

## Actor input object example

```json
{
  "startUrls": [
    "https://digivibetech.com/"
  ],
  "crawl": true,
  "useSitemap": true,
  "device": "mobile",
  "categories": [
    "performance",
    "accessibility",
    "best-practices",
    "seo"
  ],
  "maxPages": 3,
  "pageTimeoutSecs": 120,
  "concurrency": 4
}
```

# Actor output Schema

## `pages` (type: `string`):

No description

## `report` (type: `string`):

No description

## `siteReport` (type: `string`):

No description

## `csv` (type: `string`):

No description

## `errors` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://digivibetech.com/"
    ],
    "maxPages": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("digivibetech/seo-lighthouse-audit").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": ["https://digivibetech.com/"],
    "maxPages": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("digivibetech/seo-lighthouse-audit").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://digivibetech.com/"
  ],
  "maxPages": 3
}' |
apify call digivibetech/seo-lighthouse-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,digivibetech/seo-lighthouse-audit"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/r5fRIlHLeanCDBDdr/builds/Lwc1bdc1YhSdA2JZy/openapi.json
