# PageSpeed Insights Bulk — Lighthouse Audit + Core Web Vitals (`steadyfetch/pagespeed-insights-bulk`) Actor

Bulk Lighthouse audits for a list of pages: performance, accessibility, best practices and SEO scores, the lab Core Web Vitals (LCP, CLS, TBT, FCP, Speed Index, TTI) and the top opportunities, one row per page per device (mobile, desktop or both). Up to 200 URLs per run. No login, no API key.

- **URL**: https://apify.com/steadyfetch/pagespeed-insights-bulk.md
- **Developed by:** [Steadyfetch Team](https://apify.com/steadyfetch) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $11.00 / 1,000 audits

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## PageSpeed Insights Bulk — Lighthouse Audit + Core Web Vitals

**Paste a list of page addresses and get a Lighthouse audit for each one, on mobile, desktop or both: the performance, accessibility, best-practices and SEO scores (0–100), the lab Core Web Vitals (LCP, CLS, TBT, FCP, Speed Index, TTI) and the top opportunities to fix — one row per page per device, up to 200 URLs per run. Priced per audit, from $11.00 per 1,000 audits. No login, no API key.**

SEO and web teams use it to check a whole site or a client's top pages at once instead of pasting them into PageSpeed Insights one by one; agencies to build a before-and-after table for a speed project; monitoring teams to run the same list every week and watch the scores move. One run turns a list of pages into one table you can filter, sort and export.

**Using an AI agent?** Pin this actor in Apify's MCP server with one link: `https://mcp.apify.com?tools=steadyfetch/pagespeed-insights-bulk`

- **Actor id:** `steadyfetch/pagespeed-insights-bulk`
- **Input:** `{ "urls": ["https://example.com/", "https://example.com/pricing"], "device": "mobile" }`
- **Cap the bill:** set `maxTotalChargeUsd` on the run (a run option, not Actor input), e.g. `3.00` for 100 pages on both devices on a paid Apify plan — the run buys only the audits that can pay.
- **Price:** $0.011 per audit at Gold ($0.014 on the Apify free plan). An audit = one page on one device. Both devices = two audits. No start fee. Full table below.
- **How often it changes:** scores move with every deploy and with the site's traffic. Lighthouse measures fresh on every run, so a weekly run of the same list is a weekly scoreboard.

*Unofficial. Not affiliated with, endorsed by, or sponsored by Google. Lighthouse is Google's open-source audit tool.*

### What you get

One row per page per device (`rowType: "audit"`). Rows arrive as each audit finishes, so sort by `urlIndex` to see them in the order of your list:

| Column | What it holds |
|---|---|
| `url` · `urlIndex` · `device` | the address you gave, its place in your list, and the device it was audited as (`mobile` or `desktop`) |
| `finalUrl` | where the page actually loaded from after redirects |
| `performanceScore` · `accessibilityScore` · `bestPracticesScore` · `seoScore` | the Lighthouse category scores, 0–100 (`agenticBrowsingScore` too when the audit reports it) |
| `lcpMs` · `cls` · `tbtMs` · `fcpMs` · `speedIndexMs` · `ttiMs` | the lab Core Web Vitals: Largest Contentful Paint, Cumulative Layout Shift, Total Blocking Time, First Contentful Paint, Speed Index, Time to Interactive (milliseconds; CLS is a plain number) |
| `inpMs` | Interaction to Next Paint, only when the audit reports it (a lab run usually does not) |
| `dataSource` | `lab` — every number is measured in a fresh browser session, not collected from real visitors |
| `opportunities` | the top 10 audits that can still save time, biggest first: `id`, `title`, `savingsMs`, `savingsBytes`, `score` |
| `auditsFailed` · `auditsWarned` | how many of the 160 or so individual checks scored red, and how many amber |
| `lighthouseVersion` · `fetchTime` | which Lighthouse measured the page, and when |

Every row also carries `charged`, `chargedEvents`, `status`, `retryable` and `statusReason`, so you can reconcile your bill from the dataset itself.

### How to use it

1. Put your page addresses in **Page addresses** — one per line, the page itself (not a PDF or an image). Up to 200 URLs per run; a longer list audits the first 200, and one row says how many were left out (nothing charged for them).
2. Pick the **Device**: `mobile` (the default), `desktop`, or `both` (two audits per page).
3. Optionally narrow the **Categories** or set the **Report language**, then press Start — or schedule it weekly.

Checked first, and never charged: an entry that is not a web address, a file (PDF, image, download), an address with no page at it or no such host, and a page that answers 401, 403 or an error to a plain visitor. Each gets its own row saying why and what to do; the rest of the list goes ahead. One audit takes about 10 to 20 seconds and up to 5 run at once, so 100 pages on one device take about 5 minutes.

### Pricing

Pay per audit, all-inclusive (no platform usage on top), no start fee:

| Event | Apify Free plan | Bronze | Silver | Gold and up |
|---|---|---|---|---|
| Audit (one page on one device) | $0.014 | $0.013 | $0.012 | $0.011 |

From $11.00 per 1,000 audits at Gold. An audit is one page measured on one device. Both devices = two audits. Every audit is a fresh measurement, so a page audited again on a later run is charged again.

Never charged: a page refused before the audit (not a web page, not there, blocked to a plain visitor), a page the audit could not load (`try_again` — the row says whether to re-run), an audit your maximum cost per run could not pay (delivered uncharged when it was already bought, skipped otherwise), and the bare-Start sample.

Examples at Gold: 1 page on mobile = $0.011. 100 pages on mobile = $1.10. 100 pages on both devices = $2.20. 200 pages on both devices = $4.40.

### Good to know

- **Lab numbers only.** Every score is measured in a fresh, throttled browser session, the way PageSpeed Insights' lab section measures. Real-user (field) data and INP from real visitors are not part of this audit.
- **Scores vary a little between runs** — that is Lighthouse, not the actor. For a trend, run the same list on the same device and compare runs over time.
- **A time limit ends the auditing, never the delivering**: audits already bought are delivered, and the receipt says which limit stopped the run.
- **Free plan:** on the Apify free plan your account gets five audits per 24 hours; the row says when it resets. Paid plans have no daily allowance.
- **Standby endpoint:** one page per HTTP request (`GET /?url=https://example.com/`), mobile by default, `device=both` on paid plans, at the same price per audit. It keeps no account memory.
- **Bare Start:** with no page set, the run audits https://steadyfetch.com/ on mobile as a sample and charges nothing.
- **Honest rows:** `not_found` (no page at the address), `input_error` (the row names the fix), `try_again` (blocked by the site or no answer — the row says whether to re-run or to check the page opens without a login), `skipped_budget` / `skipped_deadline`. None is charged.
- The receipt is the last row (`run_summary`) and the run's `OUTPUT` record.

### Support

Questions, a page that comes back odd, or a column you need: open an issue on the Issues tab and it will be looked at.

If it earned its keep, a rating helps other buyers find it, and saving the actor keeps it one click away.

# Changelog

This Actor's version history is a separate document: https://apify.com/steadyfetch/pagespeed-insights-bulk/changelog.md

# Actor input Schema

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

One page address per entry, like https://example.com/pricing — the page itself, not a PDF or an image. Up to 200 URLs per run (a longer list audits the first 200 and says so); an address listed twice is audited once. Checked first, never charged: an address that is not a web page, one with no page at it, one the host does not exist for, and one that blocks plain visitors. Each gets its own row saying why, and the rest of the list goes ahead.

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

Audit each page as a phone (mobile, the default), as a desktop computer, or both. Both devices = two audits per page, two rows, two fees. A value that names no device is refused on every page's row, never guessed.

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

Which Lighthouse categories to score: performance, accessibility, best-practices, seo. All four by default, which also brings the agentic browsing score when the audit reports it. Fewer categories make a smaller answer, not a cheaper audit. pwa is no longer a category: it is left out with a note and the rest are scored. A category that names nothing is refused, never guessed.

## `language` (type: `string`):

The language the opportunity titles are written in: a code (en, de, pt …) or a name (German). 42 languages; a value that names none of them is refused on every page's row, never guessed.

## `maxRunSeconds` (type: `integer`):

Optional. Stop starting new audits after this many seconds; audits already bought are always delivered. One audit takes about 10 to 20 seconds; up to 5 run at once, so 100 pages on one device take about 5 minutes.

## Actor input object example

```json
{
  "urls": [
    "https://steadyfetch.com/"
  ],
  "device": "mobile",
  "categories": [
    "performance",
    "accessibility",
    "best-practices",
    "seo"
  ],
  "language": "en"
}
```

# Actor output Schema

## `audits` (type: `string`):

One row per page per device (rowType audit): url, device, finalUrl, the four category scores 0–100 (performanceScore, accessibilityScore, bestPracticesScore, seoScore; agenticBrowsingScore when reported), the lab Core Web Vitals (lcpMs, cls, tbtMs, fcpMs, speedIndexMs, ttiMs; inpMs only when the audit reports it), dataSource lab, the top 10 opportunities (id, title, savingsMs, savingsBytes, score), auditsFailed, auditsWarned, lighthouseVersion, fetchTime. Each audit row bills one `audit` (charged: true on the row); a row delivered after your maximum cost per run was reached says charged: false and why. Every row carries `charged`, `chargedEvents`, `status`, `retryable` and `statusReason`, so the invoice reconciles from the dataset itself.

## `misses` (type: `string`):

One uncharged row for each page × device that was not audited: `not_found` (no page at the address, or no such host), `input_error` (not a web address, a file, a device / category / language that names nothing — the row names the field), `try_again` (the site blocked a plain visitor, did not answer, or the audit could not load the page; a re-run is the fix), `skipped_budget` / `skipped_deadline` (your maximum charge or the run clock stopped it first) and `skipped.free_plan_allowance` (Apify free plan only: the plan's daily allowance on this actor; the row names the reset time).

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

The run's receipt: audits delivered, what was asked for, pages audited, pages not found or blocked, the charged events and what stopped the run. Uncharged.

# 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://steadyfetch.com/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyfetch/pagespeed-insights-bulk").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://steadyfetch.com/"] }

# Run the Actor and wait for it to finish
run = client.actor("steadyfetch/pagespeed-insights-bulk").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://steadyfetch.com/"
  ]
}' |
apify call steadyfetch/pagespeed-insights-bulk --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyfetch/pagespeed-insights-bulk"
        }
    }
}
```

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/IoN432OqTr5boAwcC/builds/UNuxv4AH05Cl6m1rX/openapi.json
