PageSpeed Insights API
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
PageSpeed Insights API では、シンプルな API でウェブサイトのパフォーマンスを分析できます。サイトを最適化する方法に関するお客様に合わせた提案が表示されるほか、PageSpeed Insights の分析を開発ツールやワークフローに簡単に組み込めます。
サービス: pagespeedonline.googleapis.com
このサービスを呼び出すには、Google が提供するクライアント ライブラリを使用することをおすすめします。アプリケーションで独自のライブラリを使用してこのサービスを呼び出す必要がある場合は、API リクエストを行う際に次の情報を使用します。
ディスカバリ ドキュメント
ディスカバリ ドキュメントは、REST API を記述して使用するための機械可読仕様です。クライアント ライブラリ、IDE プラグイン、Google API と連携するその他のツールのビルドに使用されます。1 つのサービスで複数のディスカバリ ドキュメントを提供できます。このサービスには、次の検索ドキュメントが用意されています。
サービス エンドポイント
サービス エンドポイントは、API サービスのネットワーク アドレスを指定するベース URL です。1 つのサービスに複数のサービス エンドポイントが存在することがあります。このサービスには次のサービス エンドポイントがあり、以下のすべての URI がこのサービス エンドポイントに関連しています。
https://pagespeedonline.googleapis.com
Methods |
runpagespeed |
GET /pagespeedonline/v5/runPagespeed
指定された URL のページで PageSpeed 分析を実行し、PageSpeed スコア、ページの読み込みを高速化するための提案リストなどの情報を返します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eAnalyze your website's performance and receive optimization suggestions using the PageSpeed Insights API.\u003c/p\u003e\n"],["\u003cp\u003eIntegrate PageSpeed Insights analysis into your development tools for a streamlined workflow.\u003c/p\u003e\n"],["\u003cp\u003eUtilize Google-provided client libraries or the service endpoint and REST resource for API requests.\u003c/p\u003e\n"],["\u003cp\u003eAccess the discovery document for building tools that interact with the PageSpeed Insights API.\u003c/p\u003e\n"]]],["The PageSpeed Insights API analyzes website performance, providing optimization suggestions. It's accessible via Google-provided client libraries or custom libraries using the provided Discovery Document. The API's service endpoint is `https://pagespeedonline.googleapis.com`. The `runpagespeed` method, accessible via a `GET` request to `/pagespeedonline/v5/runPagespeed`, initiates the analysis on a specified URL, returning scores and improvement recommendations. This method is used by the service `pagespeedonline.googleapis.com`.\n"],null,[]]