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.
入力
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
apiKey | string | はい | Google PageSpeed Insights API Key |
url | string | はい | The URL of the webpage to analyze |
category | string | いいえ | Lighthouse categories to analyze (comma-separated): performance, accessibility, best-practices, seo |
strategy | string | いいえ | Analysis strategy: desktop or mobile |
locale | string | いいえ | Locale for results (e.g., en, fr, de) |
pricing | per_request | いいえ | No description |
rateLimit | string | いいえ | No description |
出力
| パラメータ | 型 | 説明 |
|---|---|---|
finalUrl | string | The final URL after redirects |
performanceScore | number | Performance category score (0-1) |
accessibilityScore | number | Accessibility category score (0-1) |
bestPracticesScore | number | Best Practices category score (0-1) |
seoScore | number | SEO category score (0-1) |
firstContentfulPaint | string | Time to First Contentful Paint (display value) |
firstContentfulPaintMs | number | Time to First Contentful Paint in milliseconds |
largestContentfulPaint | string | Time to Largest Contentful Paint (display value) |
largestContentfulPaintMs | number | Time to Largest Contentful Paint in milliseconds |
totalBlockingTime | string | Total Blocking Time (display value) |
totalBlockingTimeMs | number | Total Blocking Time in milliseconds |
cumulativeLayoutShift | string | Cumulative Layout Shift (display value) |
cumulativeLayoutShiftValue | number | Cumulative Layout Shift numeric value |
speedIndex | string | Speed Index (display value) |
speedIndexMs | number | Speed Index in milliseconds |
interactive | string | Time to Interactive (display value) |
interactiveMs | number | Time to Interactive in milliseconds |
overallCategory | string | Overall loading experience category (FAST, AVERAGE, SLOW, or NONE) |
analysisTimestamp | string | UTC timestamp of the analysis |
lighthouseVersion | string | Version of Lighthouse used for the analysis |