Search performance of your site — clicks, impressions, CTR
google-search-console.performanceGet your site's Google Search performance — clicks, impressions, CTR and top queries
- 価格
- freeカタログ価格で提供
- 成功率
- 100%直近 30 日 · 23,864 回
- レイテンシ p50
- 161 msp95 610 ms
- 最終確認
- 2026/07/28動作確認済み
POSThttps://toolswitch.dev/v1/tools/google-search-console.performanceBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
request shape previously live-verified via the registry entry's examples. Query data is retained 16 months
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
siteUrl | 文字列 | 必須 | Raw property id accepted — treg encodes it: 'sc-domain:example.com' for a domain property, or 'https://example.com/' (with trailing slash) for a URL-prefix one. treg's connection picker lists both forms | sc-domain:example.com |
| リクエストボディ(JSON) | ||||
type | 文字列 | 任意 | web (default) | image | video | news | discover | googleNews | web |
endDate | 文字列 | 必須 | 2026-06-28 | |
rowLimit | 整数 | 任意 | 1–25000, default 1000 | 100 |
startRow | 整数 | 任意 | pagination offset | 0 |
dataState | 文字列 | 任意 | final (default) | all — 'all' includes fresh, still-incomplete data | final |
startDate | 文字列 | 必須 | YYYY-MM-DD; data lags ~2 days, so 'today' is always empty | 2026-06-01 |
dimensions | 配列 | 任意 | any of query, page, country, device, date, searchAppearance. OMIT for a site TOTAL — summing a dimension does NOT equal the total, because rows below the privacy threshold are withheld | ["query"] |
dimensionFilterGroups | 配列 | 任意 | filters, e.g. [{"filters":[{"dimension":"page","operator":"contains","expression":"/blog/"}]}] | |
- パスパラメータ
siteUrl文字列必須Raw property id accepted — treg encodes it: 'sc-domain:example.com' for a domain property, or 'https://example.com/' (with trailing slash) for a URL-prefix one. treg's connection picker lists both forms
例:
sc-domain:example.com- リクエストボディ(JSON)
type文字列任意web (default) | image | video | news | discover | googleNews
例:
webendDate文字列必須例:
2026-06-28rowLimit整数任意1–25000, default 1000
例:
100startRow整数任意pagination offset
例:
0dataState文字列任意final (default) | all — 'all' includes fresh, still-incomplete data
例:
finalstartDate文字列必須YYYY-MM-DD; data lags ~2 days, so 'today' is always empty
例:
2026-06-01dimensions配列任意any of query, page, country, device, date, searchAppearance. OMIT for a site TOTAL — summing a dimension does NOT equal the total, because rows below the privacy threshold are withheld
例:
["query"]dimensionFilterGroups配列任意filters, e.g. [{"filters":[{"dimension":"page","operator":"contains","expression":"/blog/"}]}]
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X POST 'https://toolswitch.dev/v1/tools/google-search-console.performance' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"endDate":"2026-07-21","rowLimit":2,"startDate":"2026-07-01"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/google-search-console.performance",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"endDate\":\"2026-07-21\",\"rowLimit\":2,\"startDate\":\"2026-07-01\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/google-search-console.performance", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"endDate\":\"2026-07-21\",\"rowLimit\":2,\"startDate\":\"2026-07-01\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。