Search performance of your site — clicks, impressions, CTR
google-search-console.performanceGet your site's Google Search performance — clicks, impressions, CTR and top queries
- Prix
- freeAu prix catalogue
- Taux de réussite
- 100 %30 derniers jours · 23 864 appels
- Latence p50
- 161 msp95 610 ms
- Dernière vérification
- 28 juil. 2026Vérifié et opérationnel
POSThttps://toolswitch.dev/v1/tools/google-search-console.performanceBeta- Utilise le quota de la plateforme
- Réponse synchrone
- Lit des données publiques
Paramètres
request shape previously live-verified via the registry entry's examples. Query data is retained 16 months
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de chemin | ||||
siteUrl | chaîne | Obligatoire | 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 |
| Corps (JSON) | ||||
type | chaîne | Facultatif | web (default) | image | video | news | discover | googleNews | web |
endDate | chaîne | Obligatoire | 2026-06-28 | |
rowLimit | entier | Facultatif | 1–25000, default 1000 | 100 |
startRow | entier | Facultatif | pagination offset | 0 |
dataState | chaîne | Facultatif | final (default) | all — 'all' includes fresh, still-incomplete data | final |
startDate | chaîne | Obligatoire | YYYY-MM-DD; data lags ~2 days, so 'today' is always empty | 2026-06-01 |
dimensions | tableau | Facultatif | 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 | tableau | Facultatif | filters, e.g. [{"filters":[{"dimension":"page","operator":"contains","expression":"/blog/"}]}] | |
- Paramètres de chemin
siteUrlchaîneObligatoireRaw 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
Exemple :
sc-domain:example.com- Corps (JSON)
typechaîneFacultatifweb (default) | image | video | news | discover | googleNews
Exemple :
webendDatechaîneObligatoireExemple :
2026-06-28rowLimitentierFacultatif1–25000, default 1000
Exemple :
100startRowentierFacultatifpagination offset
Exemple :
0dataStatechaîneFacultatiffinal (default) | all — 'all' includes fresh, still-incomplete data
Exemple :
finalstartDatechaîneObligatoireYYYY-MM-DD; data lags ~2 days, so 'today' is always empty
Exemple :
2026-06-01dimensionstableauFacultatifany 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
Exemple :
["query"]dimensionFilterGroupstableauFacultatiffilters, e.g. [{"filters":[{"dimension":"page","operator":"contains","expression":"/blog/"}]}]
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());Cette API de passerelle est en version Beta ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.