Inspect a URL's Google index status
google-search-console.url_inspectionCheck whether a page of your site is indexed by Google, and why it is or isn't
- 価格
- freeカタログ価格で提供
- 成功率
- 99.8%直近 30 日 · 44,277 回
- レイテンシ p50
- 6.4 sp95 6.7 s
- 最終確認
- 2026/07/28動作確認済み
POSThttps://toolswitch.dev/v1/tools/google-search-console.url_inspectionBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
note the /v1/ prefix — NOT webmasters/v3/ (request shape previously live-verified via the registry entry's examples). Returns indexStatusResult (verdict, coverageState, robotsTxtState, canonical URLs) plus mobileUsabilityResult and richResultsResult. Hard-quotaed at 2,000 inspections per site per day
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| リクエストボディ(JSON) | ||||
siteUrl | 文字列 | 必須 | the Search Console property the URL sits under | sc-domain:example.com |
languageCode | 文字列 | 任意 | BCP-47; controls the language of the human-readable verdict strings | en-US |
inspectionUrl | 文字列 | 必須 | the full page URL; must belong to siteUrl | https://example.com/page |
- リクエストボディ(JSON)
siteUrl文字列必須the Search Console property the URL sits under
例:
sc-domain:example.comlanguageCode文字列任意BCP-47; controls the language of the human-readable verdict strings
例:
en-USinspectionUrl文字列必須the full page URL; must belong to siteUrl
例:
https://example.com/page
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/google-search-console.url_inspection' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"siteUrl":"sc-domain:example.com","inspectionUrl":"https://example.com/"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/google-search-console.url_inspection",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"siteUrl\":\"sc-domain:example.com\",\"inspectionUrl\":\"https://example.com/\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/google-search-console.url_inspection", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"siteUrl\":\"sc-domain:example.com\",\"inspectionUrl\":\"https://example.com/\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。