# Page Speed Evidence Audit (`datalantern/page-speed-evidence-audit`) Actor

Measure public pages with verified Lighthouse metrics, explicit resource limits and failure statuses.

- **URL**: https://apify.com/datalantern/page-speed-evidence-audit.md
- **Developed by:** [Data Lantern](https://apify.com/datalantern) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / 1,000 complete page speed measurements

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

## Page Speed Evidence Audit

Measure one to five final public URLs you are authorized to test. This integration runs Lighthouse in Chromium with a fixed mobile or desktop lab profile. It requires no PageSpeed provider key.

### Try the saved example

```
{"sample":true}
```

This returns a dated measurement from our self-authored local page. It opens no browser, reads no submitted website and has no result event fee. It is a saved example, not a measurement of your website.

### Measure your pages

```
{"sample":false,"authorized":true,"urls":["https://your-site.example/"],"strategy":"mobile"}
```

Replace the example URL with your final public URL. Only authorized same-origin resources with allowed robots rules are read. Query URLs, redirects, private addresses and access challenges are refused. Third-party resources, additional browser targets and unsupported resources prevent a complete measurement. The integration does not bypass authentication, access controls or source limits.

Open the dataset or export CSV/JSON. A measured row contains the score, FCP, LCP, total blocking time, layout shift, speed index, audit IDs, Lighthouse version, measurement time and source/network notes. Partial rows have no complete score or metrics. Skipped rows explain the source or browser limit. Startup and measurement failures include a safe stage/code in rendererFailure. Fragment-only duplicate URLs share a result with their original input positions.

### Limits and interpretation

Chromium may request a default tab icon separately from the rendered page. A same-origin GET request classified as other for exactly /favicon.ico is answered locally with HTTP 204 and is not fetched from the source. The count and policy appear in network.browserMetadata. These responses share the existing maximum of 40 local replays. Other excluded resources still produce a partial result.

These are controlled lab measurements, not real-user field Core Web Vitals. Network interception, allowed-resource limits and fixed CPU conditions affect the result. Compare runs only under the same profile and configuration. A partial page cannot establish the performance of the complete site.

The worker checks the event budget before opening another browser, stops on browser infrastructure failure, and uses sequential processing with bounded source/measurement limits. A sample, partial or skipped row has no measured-page result fee. A complete measured page costs $0.015 ($15 per 1,000). Saved examples, partial and skipped rows have no result event fee. Review the Actor pricing tab before running.

Start a fresh run after inspecting retained results; results are not silently overwritten. A separate non-root Chromium process is restricted by Linux file, socket and process-boundary controls. A fresh private attestation is verified before rendering. Chromium's internal namespace sandbox is not enabled in this candidate. Missing or unrecognized protection evidence stops the batch; there is no unprotected compatibility fallback.

Use trusted pages you control or are authorized to test, and avoid sensitive content. These controls do not guarantee protection against every browser vulnerability. A compromised browser or runtime could affect data or limited-permission operations available to the run. This tool does not audit the security of a website and does not bypass logins or anti-bot controls.

Lighthouse 13.4.0 and Puppeteer 25.16.0 are pinned. The saved example was measured on our own offline page with this engine version. Its date, source-page hash and measurement-receipt hash identify the recorded example. It is not a measurement of a submitted URL, and its timing does not predict cloud performance.

### Engine credits

This is an independent integration using Lighthouse and Puppeteer with their original licenses and attribution. See THIRD_PARTY_NOTICES.txt and licenses/ for upstream details.

### Runtime isolation evidence

A successful live result includes browserIsolation.runtimeProof with policyVersion 2, verified file and socket controls and a fresh private attestation. The browser receives a minimal environment. Invalid native program metadata, missing isolation evidence or a browser infrastructure failure stops further attempts and returns a fixed diagnostic stage/code. Unsupported runtime protection is a failure, not a successful empty result. Saved examples do not establish the current runtime's protection.

# Actor input Schema

## `sample` (type: `boolean`):

Returns a dated measurement of our self-authored test page without opening a browser. Turn off before submitting your own URLs.

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

One to five public final URLs you may measure. No query parameters; fragments are deduplicated.

## `authorized` (type: `boolean`):

Confirm that you own these pages or have permission to measure them and load their first-party resources.

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

Optional for live measurements; mobile is used when omitted. Leave unset for the saved example.

## Actor input object example

```json
{
  "authorized": false
}
```

# Actor output Schema

## `rows` (type: `string`):

No description

## `csv` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("datalantern/page-speed-evidence-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("datalantern/page-speed-evidence-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 '{}' |
apify call datalantern/page-speed-evidence-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datalantern/page-speed-evidence-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/FsNH0ChMVsOp7EB7N/builds/l2yTHgiZdLaFb4nDI/openapi.json
