# Lighthouse & Core Web Vitals Checker API — Bulk PageSpeed (`factpipe/lighthouse-auditor`) Actor

Run real Google Lighthouse audits in bulk: performance, SEO, accessibility and best-practices scores, LCP/CLS/TBT with pass/fail, and top fixes. Mobile and desktop. No API key or quota. $10 per 1,000 audits.

- **URL**: https://apify.com/factpipe/lighthouse-auditor.md
- **Developed by:** [Neo B](https://apify.com/factpipe) (community)
- **Categories:** SEO tools, Developer tools
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Lighthouse & Core Web Vitals Checker API — Bulk PageSpeed

Run **real Google Lighthouse audits in bulk** and get one clean JSON record per page: **Performance, SEO, Accessibility and Best-Practices scores**, lab **Core Web Vitals (LCP, CLS, TBT)** with good / needs-improvement / poor ratings and an overall pass/fail, plus the **top optimization opportunities** ranked by estimated time saved. Mobile, desktop or both.

This Actor runs the open-source Lighthouse engine itself in headless Chrome — **no PageSpeed Insights API key, no daily quota, no 429 errors** — so large URL lists finish reliably.

### Quick start

1. Click **Start** with the prefilled URL `https://example.com`. It usually finishes in one to two minutes.
2. You get one full mobile Lighthouse audit: performance, accessibility, SEO and best-practices scores plus Core Web Vitals.
3. That first run costs $0.01, well within Apify's free monthly credit. Then swap in your own input or schedule it.

### What you get

```json
{
  "query": "https://example.com",
  "ok": true,
  "requested_url": "https://example.com/",
  "final_url": "https://example.com/",
  "strategy": "mobile",
  "performance_score": 100,
  "accessibility_score": 100,
  "best_practices_score": 96,
  "seo_score": 80,
  "lcp_ms": 754,
  "cls": 0,
  "tbt_ms": 0,
  "fcp_ms": 754,
  "speed_index_ms": 754,
  "time_to_interactive_ms": 754,
  "server_response_ms": 7,
  "total_byte_weight_kb": 0,
  "lcp_rating": "good",
  "cls_rating": "good",
  "tbt_rating": "good",
  "core_web_vitals_lab": "pass",
  "top_opportunities": [],
  "failing_insights": [],
  "failing_seo_audits": [
    "meta-description",
    "link-text"
  ],
  "failing_accessibility_audits": [],
  "lighthouse_version": "12.8.2",
  "audited_at": "2026-09-15T07:54:17.472Z",
  "source_url": "https://example.com/",
  "fetched_at": "2026-09-15T12:00:00.000Z"
}
```

### Use cases

- **SEO & performance monitoring**: schedule weekly audits of your key pages and alert when scores or Core Web Vitals regress.
- **Agencies**: audit every page in a client's sitemap (pair it with our Sitemap URL Extractor) and prioritize fixes by estimated savings.
- **Competitor benchmarking**: compare performance and SEO scores across a market's top websites.
- **CI & AI agents**: call via API or the Apify MCP server with a list of URLs; deterministic flat output.

### Input

| Field | Type | Notes |
|---|---|---|
| `urls` | string\[], required | Pages to audit; `example.com` works too |
| `strategy` | `mobile` | `desktop` | `both` | `both` runs two audits per URL |
| `maxUrls` | integer | Cap on URLs per run (default 100) |

### Pricing (pay per event)

| Event | Price | Meaning |
|---|---|---|
| `page-audited` | **$10.00 per 1,000** ($0.01 each) | One completed Lighthouse audit (URL x device). Unreachable pages, invalid URLs and failed audits are never charged. |

Example: auditing 500 URLs on mobile and desktop (1,000 audits) costs **$10.00**. No start fee.

### factpipe Website Audit Toolkit

Bulk technical checks for agencies, SEO teams and deliverability owners, all pay-per-result. Feed a list of sites in, get one flat row per page or domain out.

| Workflow | Actor | What it does | Price |
|---|---|---|---|
| Website audit | [Sitemap URL Extractor & 404 Checker](https://apify.com/factpipe/sitemap-url-extractor) | Extract every URL from XML sitemaps and flag 404s and broken entries | $0.30/1k |
| Website audit | **Lighthouse Auditor** (this Actor) | Lighthouse scores and Core Web Vitals for many pages, mobile or desktop | $10/1k |
| Website audit | [Email Security Checker](https://apify.com/factpipe/email-security-checker) | SPF, DKIM, DMARC and MX audit for any list of domains | $3/1k |

**Use it together:**

- **Audit every page, not just the homepage:** get the full URL list from [Sitemap URL Extractor & 404 Checker](https://apify.com/factpipe/sitemap-url-extractor) first, then audit it here.
- **Client health report:** add SPF/DKIM/DMARC results from [Email Security Checker](https://apify.com/factpipe/email-security-checker).

### FAQ

**Is this the same as Google PageSpeed Insights?**
It runs the same open-source Lighthouse engine that powers PageSpeed Insights' lab data, with the same mobile emulation and simulated throttling defaults. It does not return PageSpeed's field (CrUX) data, which comes from real Chrome users.

**Why does my score differ slightly between runs?**
Lab scores vary a few points with network and server conditions; that is normal Lighthouse behavior. For monitoring, compare trends across scheduled runs.

**What is TBT and why no INP?**
INP needs real user interaction and is only available as field data. Total Blocking Time (TBT) is Lighthouse's lab proxy for responsiveness and is rated against Core Web Vitals-aligned thresholds.

**Am I charged when a page fails to load?**
No. DNS errors, blocked pages, timeouts and invalid URLs are returned with an `error_code` and are never charged.

**Can I call it from Python, JavaScript, Make, Zapier or an AI agent?**
Yes. Run it through the Apify API or official Python/JavaScript clients, connect it to Make, Zapier, n8n, Slack or Google Sheets via Apify integrations, or expose it to AI agents through the Apify MCP server.

### Reliability

Deterministic Lighthouse runs in an isolated headless Chrome, automatic browser restart on hangs, per-audit timeouts, structured failure reporting, daily health checks.

# Actor input Schema

## `urls` (type: `array`):

Pages to audit. Domains without https:// are accepted.

## `strategy` (type: `string`):

Mobile uses Lighthouse's emulated mid-tier phone and throttled network; desktop uses the desktop preset.

## `maxUrls` (type: `integer`):

Cap on URLs audited in one run.

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "strategy": "mobile",
  "maxUrls": 100
}
```

# Actor output Schema

## `resultsDatasetUrl` (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 = {
    "urls": [
        "https://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("factpipe/lighthouse-auditor").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 = { "urls": ["https://example.com"] }

# Run the Actor and wait for it to finish
run = client.actor("factpipe/lighthouse-auditor").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 '{
  "urls": [
    "https://example.com"
  ]
}' |
apify call factpipe/lighthouse-auditor --silent --output-dataset

```

## MCP server setup

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

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/Quxlir4keE4Up8hGE/builds/p79la3QVCxafaqT2c/openapi.json
