# Google PageSpeed Insights

> Measure how fast a web page loads with Google PageSpeed Insights, and get its performance, accessibility, best practices and SEO scores.

App · Analytics · 1 action. Web page: https://docs.lodol.com/docs/integrations/google-pagespeed

## Actions

### Analyze webpage

Run a Google PageSpeed Insights (Lighthouse) analysis of a web page and get back its scores, Core Web Vitals and the audits it failed.

**Inputs**

- Page URL (`url`, text, required): The web address of the page to analyze, for example https://example.com. The page has to be reachable publicly, because Google loads it from its own servers.
- Device (`strategy`, text): Which device to measure the page on. Mobile is what Google uses for Search ranking. One of: `mobile` (Mobile (what Google uses for Search ranking)), `desktop`. Default: `mobile`.
- Report on (`categories`, text): Which parts of the page to report on. Each one adds to how long the analysis takes. Leave empty for Performance only. One or more of: `performance`, `accessibility`, `best-practices` (Best Practices), `seo`.
- Report language (`locale`, text): The language to write the audit titles and descriptions in. Scores and measurements are the same in every language. One of: `ar` (Arabic (ar)), `bg` (Bulgarian (bg)), `ca` (Catalan (ca)), `hr` (Croatian (hr)), `cs` (Czech (cs)), `da` (Danish (da)), `nl` (Dutch (nl)), `en-GB` (English (United Kingdom) (en-GB)), `en-US` (English (United States) (en-US)), `fil` (Filipino (fil)), and 35 more. Default: `en-US`.

**Outputs**

- `analyzed_at` (text): When the analysis ran, in UTC.
- `failed_audit_count` (number): How many audits failed in total, including any beyond the 50 listed.
- `failed_audits` (list): The audits this page did not pass, the ones that would save the most load time first. Capped at 50.
- `field_data` (object)
- `lab_metrics` (object): What Lighthouse measured in its own test browser.
- `lighthouse_version` (text): The version of Lighthouse that scored the page.
- `locale` (text): The language the report was written in.
- `origin_field_data` (object): The same real-visitor data for the whole site rather than this one page.
- `performance_score` (number): The performance score from 0 to 100, repeated here because it is the one most workflows act on. Empty when Performance was not reported on.
- `report_url` (text): A link that opens this analysis in full on pagespeed.web.dev.
- `requested_url` (text): The address that was submitted.
- `scores` (object): A score from 0 to 100 for each part that was reported on.
- `strategy` (text): The device that was measured, mobile or desktop.
- `url` (text): The page that was actually measured, after any redirects.
- `warnings` (list): Anything Lighthouse flagged about the run itself, such as an unusually slow page.

**Example output**

```json
{
  "analyzed_at": "2026-08-21T17:04:11.492Z",
  "failed_audit_count": 2,
  "failed_audits": [
    {
      "category": "performance",
      "description": "Resources are blocking the first paint of your page.",
      "display_value": "Potential savings of 480 ms",
      "estimated_savings_ms": 480.0,
      "id": "render-blocking-resources",
      "score": 42,
      "title": "Eliminate render-blocking resources"
    },
    {
      "category": "seo",
      "description": "Meta descriptions may be included in search results to concisely summarize page content.",
      "display_value": "",
      "estimated_savings_ms": 0.0,
      "id": "meta-description",
      "score": 0,
      "title": "Document does not have a meta description"
    }
  ],
  "field_data": {
    "available": true,
    "metrics": {
      "cumulative_layout_shift": {
        "rating": "FAST",
        "unit": "score",
        "value": 0.05
      },
      "interaction_to_next_paint_ms": {
        "rating": "FAST",
        "unit": "ms",
        "value": 168.0
      },
      "largest_contentful_paint_ms": {
        "rating": "AVERAGE",
        "unit": "ms",
        "value": 2604.0
      }
    },
    "overall_category": "AVERAGE"
  },
  "lab_metrics": {
    "cumulative_layout_shift": {
      "display_value": "0.014",
      "score": 100,
      "unit": "score",
      "value": 0.014
    },
    "first_contentful_paint_ms": {
      "display_value": "1.8 s",
      "score": 88,
      "unit": "ms",
      "value": 1834.2
    },
    "largest_contentful_paint_ms": {
      "display_value": "2.9 s",
      "score": 71,
      "unit": "ms",
      "value": 2941.7
    },
    "speed_index_ms": {
      "display_value": "2.4 s",
      "score": 86,
      "unit": "ms",
      "value": 2410.5
    },
    "total_blocking_time_ms": {
      "display_value": "210 ms",
      "score": 79,
      "unit": "ms",
      "value": 210.0
    }
  },
  "lighthouse_version": "12.6.0",
  "locale": "en-US",
  "origin_field_data": {
    "available": true,
    "metrics": {
      "largest_contentful_paint_ms": {
        "rating": "FAST",
        "unit": "ms",
        "value": 2180.0
      }
    },
    "overall_category": "FAST"
  },
  "performance_score": 84,
  "report_url": "https://pagespeed.web.dev/analysis?url=https%3A%2F%2Fexample.com&form_factor=mobile",
  "requested_url": "https://example.com",
  "scores": {
    "performance": 84,
    "seo": 92
  },
  "strategy": "mobile",
  "url": "https://example.com/",
  "warnings": []
}
```
