Google overview by domain — keywords, clicks, ad budget
spyfu.google.domain.overviewA domain's recent Google performance — keyword counts, clicks and monthly ad budget
- Price
- $0.001/resultAu prix du fournisseur
- Success rate
- 99,1 %Last 30 days · 20 667 calls
- Latency p50
- 89 msp95 245 ms
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/spyfu.google.domain.overviewPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
`/apis/domain_stats_api/v2/getAllDomainStats` is the same report over the domain's ENTIRE history — one row per month since SpyFu started tracking it, which for an old domain is 150+ billable rows from a call that looks parameterless. That full-history variant is what treg's registry probes; prefer this endpoint with an explicit `pastNMonths` for real work.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
domain | chaîne | Obligatoire | bare domain, no scheme | spyfu.com |
countryCode | chaîne | Facultatif | two-letter code from SpyFu's 28-value enum; default US | US |
pastNMonths | entier | Facultatif | COST DIAL — how many recent months to return, ONE ROW PER MONTH. Ask for 1 unless you need the trend | 1 |
- Paramètres de requête
domainchaîneObligatoirebare domain, no scheme
Exemple :
spyfu.comcountryCodechaîneFacultatiftwo-letter code from SpyFu's 28-value enum; default US
Exemple :
USpastNMonthsentierFacultatifCOST DIAL — how many recent months to return, ONE ROW PER MONTH. Ask for 1 unless you need the trend
Exemple :
1
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/spyfu.google.domain.overview' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/spyfu.google.domain.overview",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/spyfu.google.domain.overview", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.001/result, frais de service inclus.