# Core Web Vitals of a client vs 10 competitors, phone

**Use case:** 

One client and 10 competitors on phone with 25 weeks of CrUX history: p75 LCP, INP, CLS, pass or fail and the gap to the best site. Schedule monthly.

## Input

```json
{
  "urls": [
    "zalando.de",
    "aboutyou.de",
    "otto.de",
    "hm.com",
    "asos.com",
    "zara.com",
    "mango.com",
    "bonprix.de",
    "c-and-a.com",
    "tchibo.de",
    "amazon.de"
  ],
  "level": "origin",
  "formFactor": "PHONE",
  "includeHistory": true,
  "historyPeriods": 25,
  "includeLighthouse": false,
  "lighthouseStrategy": "mobile"
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "queried": {
    "label": "Queried",
    "format": "string"
  },
  "queriedFallback": {
    "label": "Fallback origin used",
    "format": "boolean"
  },
  "formFactor": {
    "label": "Form factor",
    "format": "string"
  },
  "passesCoreWebVitals": {
    "label": "Passes CWV",
    "format": "boolean"
  },
  "largest_contentful_paint": {
    "label": "LCP (p75, shares)",
    "format": "object"
  },
  "interaction_to_next_paint": {
    "label": "INP (p75, shares)",
    "format": "object"
  },
  "cumulative_layout_shift": {
    "label": "CLS (p75, shares)",
    "format": "object"
  },
  "first_contentful_paint": {
    "label": "FCP (p75, shares)",
    "format": "object"
  },
  "experimental_time_to_first_byte": {
    "label": "TTFB (p75, shares)",
    "format": "object"
  },
  "collectionPeriod": {
    "label": "Data period",
    "format": "object"
  },
  "history": {
    "label": "History",
    "format": "object"
  },
  "historyError": {
    "label": "History error",
    "format": "string"
  },
  "trend": {
    "label": "Trend (last 4 vs 4 before)",
    "format": "object"
  },
  "lcpBreakdown": {
    "label": "LCP parts (p75 ms)",
    "format": "object"
  },
  "lcpResourceType": {
    "label": "LCP element type",
    "format": "object"
  },
  "bestInRun": {
    "label": "Best in run",
    "format": "object"
  },
  "gapToBest": {
    "label": "Gap to best",
    "format": "object"
  },
  "wins": {
    "label": "Best at",
    "format": "array"
  },
  "lighthouse": {
    "label": "Lighthouse (lab)",
    "format": "object"
  },
  "lighthouseError": {
    "label": "Lighthouse error",
    "format": "string"
  },
  "duplicateOf": {
    "label": "Repeat of",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "source": {
    "label": "Source",
    "format": "string"
  }
}
```

## How it works

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

The Core Web Vitals Benchmark: Page Speed Competitors, CrUX Actor is ready to run with the inputs already set for "Core Web Vitals of a client vs 10 competitors, phone". [Sign up or log in](https://console.apify.com/create-task-from-example/LlO43WaHHBgD5OMYE) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Core Web Vitals of a client vs 10 competitors, phone" task

The Core Web Vitals Benchmark: Page Speed Competitors, CrUX Actor will start running based on the input automatically. You can also change all the input fields, like sites to compare, level, and more, to match your specific use case.

### 3. Receive the "Core Web Vitals of a client vs 10 competitors, phone" 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 input, queried, fallback origin used, 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 "Core Web Vitals of a client vs 10 competitors, phone" task via API](https://apify.com/solidfetch/crux-competitor-benchmark.md).

## About this Actor

This example demonstrates how to use [Core Web Vitals Benchmark: Page Speed Competitors, CrUX](https://apify.com/solidfetch/crux-competitor-benchmark.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/solidfetch/crux-competitor-benchmark.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/solidfetch/crux-competitor-benchmark.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`).
