# Compare page speed across competitor websites

**Use case:** 

Runs PageSpeed Insights on a list of competitor homepages side by side, so you can see who loads fastest on mobile and which Core Web Vitals each one fails. Replace the example e-commerce platforms with your own competitors.

## Input

```json
{
  "urls": [
    "https://www.shopify.com/",
    "https://www.bigcommerce.com/",
    "https://www.wix.com/",
    "https://www.squarespace.com/"
  ],
  "maxPagesPerSite": 25,
  "sitemapSampling": "spread",
  "strategy": "mobile",
  "categories": [
    "performance",
    "seo",
    "accessibility",
    "best-practices"
  ],
  "includeFieldData": true,
  "fieldDataOnly": false,
  "maxOpportunities": 5,
  "includeSiteSummary": true,
  "monitorMode": false,
  "regressionThreshold": 10,
  "locale": "en",
  "maxConcurrency": 6,
  "maxAudits": 500
}
```

## Output

```json
{
  "rowType": {
    "label": "Row type",
    "format": "string"
  },
  "requestedUrl": {
    "label": "URL",
    "format": "string"
  },
  "strategy": {
    "label": "Device",
    "format": "string"
  },
  "performanceScore": {
    "label": "Performance",
    "format": "integer"
  },
  "seoScore": {
    "label": "SEO",
    "format": "integer"
  },
  "accessibilityScore": {
    "label": "Accessibility",
    "format": "integer"
  },
  "bestPracticesScore": {
    "label": "Best practices",
    "format": "integer"
  },
  "cwvVerdict": {
    "label": "CWV verdict",
    "format": "string"
  },
  "fieldLcpP75Ms": {
    "label": "LCP p75 (ms)",
    "format": "number"
  },
  "fieldInpP75Ms": {
    "label": "INP p75 (ms)",
    "format": "number"
  },
  "fieldClsP75": {
    "label": "CLS p75",
    "format": "number"
  },
  "topOpportunity": {
    "label": "Top fix",
    "format": "string"
  },
  "errorMessage": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bulk PageSpeed Insights & Core Web Vitals Checker Actor is ready to run with the inputs already set for "Compare page speed across competitor websites". [Sign up or log in](https://console.apify.com/create-task-from-example/e8LOQpp63zXJZVAXR) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare page speed across competitor websites" task

The Bulk PageSpeed Insights & Core Web Vitals Checker Actor will start running based on the input automatically. You can also change all the input fields, like page urls, max pages per site, and more, to match your specific use case.

### 3. Receive the "Compare page speed across competitor websites" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as row type, URL, device, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Compare page speed across competitor websites" task via API](https://apify.com/zrk1212/pagespeed-bulk-auditor.md).

## FAQ

### What does this task return?

The Compare page speed across competitor websites task returns one row per URL with Lighthouse performance, SEO, accessibility and best-practices scores, real-user LCP, INP and CLS with pass or fail, and the top fixes.

### How much does it cost?

The Compare page speed across competitor websites task is pay per result: $5 per 1,000 audits, $2 with your own Google API key, or $1 per 1,000 field-data checks. You can set a maximum spend per run.

### Can I run it on a schedule or through the API?

The Compare page speed across competitor websites task runs on an Apify schedule, through the API, or from Zapier, Make and n8n. Turn on monitor mode to flag pages whose score drops by more than your threshold.

## About this Actor

This example demonstrates how to use [Bulk PageSpeed Insights & Core Web Vitals Checker](https://apify.com/zrk1212/pagespeed-bulk-auditor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zrk1212/pagespeed-bulk-auditor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zrk1212/pagespeed-bulk-auditor.md

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`).
