Chrome UX Report

App · 2 actions

Measure how real Chrome visitors experience a site and track Core Web Vitals over time.

Get current Web Vitals

Get the latest 28-day real-user measurements for a page or an entire site.

Inputs

Originorigintext
Origin including its scheme, such as https://www.google.com.
URLurltext
The full URL of a specific page.
Form factorform_factortext
The device type to measure. Leave empty to combine all devices.One of: DESKTOP, PHONE, TABLET.

Outputs

dataobject
The response from Chrome UX Report.
Example output
{
  "data": {
    "record": {
      "collectionPeriod": {
        "firstDate": {
          "day": 1,
          "month": 1,
          "year": 1
        },
        "lastDate": {
          "day": 1,
          "month": 1,
          "year": 1
        }
      },
      "key": {
        "formFactor": "example",
        "origin": "example",
        "url": "example"
      },
      "metrics": {
        "cumulative_layout_shift": {
          "percentiles": {
            "p75": 1
          }
        },
        "interaction_to_next_paint": {
          "percentiles": {
            "p75": 1
          }
        },
        "largest_contentful_paint": {
          "percentiles": {
            "p75": 1
          }
        }
      }
    },
    "urlNormalizationDetails": {
      "normalizedUrl": "example",
      "originalUrl": "example"
    }
  }
}

Get Web Vitals history

Get weekly snapshots of 28-day measurements for a page or an entire site.

Inputs

Originorigintext
Origin including its scheme, such as https://www.google.com.
URLurltext
The full URL of a specific page.
Form factorform_factortext
The device type to measure. Leave empty to combine all devices.One of: DESKTOP, PHONE, TABLET.

Outputs

dataobject
The response from Chrome UX Report.
Example output
{
  "data": {
    "record": {
      "collectionPeriods": [
        {
          "firstDate": {
            "day": 1,
            "month": 1,
            "year": 1
          },
          "lastDate": {
            "day": 1,
            "month": 1,
            "year": 1
          }
        }
      ],
      "key": {
        "formFactor": "example",
        "origin": "example",
        "url": "example"
      },
      "metrics": {
        "cumulative_layout_shift": {
          "percentiles": {
            "p75s": [
              1
            ]
          }
        },
        "interaction_to_next_paint": {
          "percentiles": {
            "p75s": [
              1
            ]
          }
        },
        "largest_contentful_paint": {
          "percentiles": {
            "p75s": [
              1
            ]
          }
        }
      }
    },
    "urlNormalizationDetails": {
      "normalizedUrl": "example",
      "originalUrl": "example"
    }
  }
}

On this page