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/resultAl precio del proveedor
- 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
Parámetros
`/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.
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
domain | cadena | Obligatorio | bare domain, no scheme | spyfu.com |
countryCode | cadena | Opcional | two-letter code from SpyFu's 28-value enum; default US | US |
pastNMonths | entero | Opcional | COST DIAL — how many recent months to return, ONE ROW PER MONTH. Ask for 1 unless you need the trend | 1 |
- Parámetros de consulta
domaincadenaObligatoriobare domain, no scheme
Ejemplo:
spyfu.comcountryCodecadenaOpcionaltwo-letter code from SpyFu's 28-value enum; default US
Ejemplo:
USpastNMonthsenteroOpcionalCOST DIAL — how many recent months to return, ONE ROW PER MONTH. Ask for 1 unless you need the trend
Ejemplo:
1
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.001/result, incluida la tarifa de servicio.