AptlyStar

Google PageSpeed

Analyze webpage performance with Google PageSpeed Insights

使用说明

Analyze web pages for performance, accessibility, SEO, and best practices using Google PageSpeed Insights API powered by Lighthouse.

工具

google_pagespeed_analyze

Analyze a webpage for performance, accessibility, SEO, and best practices using Google PageSpeed Insights.

输入

参数类型必填描述
apiKeystring是Google PageSpeed Insights API Key
urlstring是The URL of the webpage to analyze
categorystring否Lighthouse categories to analyze (comma-separated): performance, accessibility, best-practices, seo
strategystring否Analysis strategy: desktop or mobile
localestring否Locale for results (e.g., en, fr, de)
pricingper_request否No description
rateLimitstring否No description

输出

参数类型描述
finalUrlstringThe final URL after redirects
performanceScorenumberPerformance category score (0-1)
accessibilityScorenumberAccessibility category score (0-1)
bestPracticesScorenumberBest Practices category score (0-1)
seoScorenumberSEO category score (0-1)
firstContentfulPaintstringTime to First Contentful Paint (display value)
firstContentfulPaintMsnumberTime to First Contentful Paint in milliseconds
largestContentfulPaintstringTime to Largest Contentful Paint (display value)
largestContentfulPaintMsnumberTime to Largest Contentful Paint in milliseconds
totalBlockingTimestringTotal Blocking Time (display value)
totalBlockingTimeMsnumberTotal Blocking Time in milliseconds
cumulativeLayoutShiftstringCumulative Layout Shift (display value)
cumulativeLayoutShiftValuenumberCumulative Layout Shift numeric value
speedIndexstringSpeed Index (display value)
speedIndexMsnumberSpeed Index in milliseconds
interactivestringTime to Interactive (display value)
interactiveMsnumberTime to Interactive in milliseconds
overallCategorystringOverall loading experience category (FAST, AVERAGE, SLOW, or NONE)
analysisTimestampstringUTC timestamp of the analysis
lighthouseVersionstringVersion of Lighthouse used for the analysis

On this page