Google keywords a domain ranks for — clicks, search volume
spyfu.google.domain.ranked_keywordsGoogle organic keywords driving the most clicks to a domain, with rank and volume
- Price
- $0.005/resultPelo preço do provedor
- Success rate
- 100%Last 30 days · 283 calls
- Latency p50
- 275 msp95 1.7 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/spyfu.google.domain.ranked_keywordsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
SpyFu has NO `/apis/keyword_api/v2/seo/getMostSuccessful` — that path does not exist; this is the organic counterpart of the PPC getMostSuccessful endpoint. Rows carry keyword, topRankedUrl, rank, rankChange, searchVolume, keywordDifficulty, seoClicks, seoClicksChange, the CPC triple and paidCompetitors. `/apis/serp_api/v2/seo/getSeoKeywords` is the generic form of the same report, with a REQUIRED `searchType` (MostValuable, GainedClicks, LostRanks, NewlyRanked …).
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
query | string | Obrigatório | a domain, subdomain, URL or path | spyfu.com |
sortBy | string | Opcional | default SearchVolume | |
pageSize | inteiro | Opcional | COST DIAL — rows to return, 1 to 10,000, DEFAULT 5 | 10 |
rank.max | inteiro | Opcional | range filters use this dotted form; also rank.min, searchVolume.min/max, keywordDifficulty.min/max, seoClicks.min/max, rankChange.min/max, costPerClick.min/max | |
sortOrder | string | Opcional | Ascending | Descending; default Descending | |
exactMatch | booleano | Opcional | ||
adultFilter | booleano | Opcional | default true | |
countryCode | string | Opcional | default US | US |
startingRow | inteiro | Opcional | 1-based; default 1 | |
excludeTerms | string | Opcional | ||
includeTerms | string | Opcional | ||
compareDomain | string | Opcional | a second domain — adds yourRank, yourRankChange and yourUrl to every row, turning this into a gap report | |
excludeHomepageKeywords | booleano | Opcional | drop keywords whose ranking URL is the homepage | |
- Parâmetros de consulta
querystringObrigatórioa domain, subdomain, URL or path
Exemplo:
spyfu.comsortBystringOpcionaldefault SearchVolume
pageSizeinteiroOpcionalCOST DIAL — rows to return, 1 to 10,000, DEFAULT 5
Exemplo:
10rank.maxinteiroOpcionalrange filters use this dotted form; also rank.min, searchVolume.min/max, keywordDifficulty.min/max, seoClicks.min/max, rankChange.min/max, costPerClick.min/max
sortOrderstringOpcionalAscending | Descending; default Descending
exactMatchbooleanoOpcionaladultFilterbooleanoOpcionaldefault true
countryCodestringOpcionaldefault US
Exemplo:
USstartingRowinteiroOpcional1-based; default 1
excludeTermsstringOpcionalincludeTermsstringOpcionalcompareDomainstringOpcionala second domain — adds yourRank, yourRankChange and yourUrl to every row, turning this into a gap report
excludeHomepageKeywordsbooleanoOpcionaldrop keywords whose ranking URL is the homepage
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X GET 'https://toolswitch.dev/v1/tools/spyfu.google.domain.ranked_keywords' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/spyfu.google.domain.ranked_keywords",
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.ranked_keywords", {
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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.005/result, incluindo a taxa de serviço.