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/resultAu prix du fournisseur
- 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
Paramètres
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 …).
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
query | chaîne | Obligatoire | a domain, subdomain, URL or path | spyfu.com |
sortBy | chaîne | Facultatif | default SearchVolume | |
pageSize | entier | Facultatif | COST DIAL — rows to return, 1 to 10,000, DEFAULT 5 | 10 |
rank.max | entier | Facultatif | 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 | chaîne | Facultatif | Ascending | Descending; default Descending | |
exactMatch | booléen | Facultatif | ||
adultFilter | booléen | Facultatif | default true | |
countryCode | chaîne | Facultatif | default US | US |
startingRow | entier | Facultatif | 1-based; default 1 | |
excludeTerms | chaîne | Facultatif | ||
includeTerms | chaîne | Facultatif | ||
compareDomain | chaîne | Facultatif | a second domain — adds yourRank, yourRankChange and yourUrl to every row, turning this into a gap report | |
excludeHomepageKeywords | booléen | Facultatif | drop keywords whose ranking URL is the homepage | |
- Paramètres de requête
querychaîneObligatoirea domain, subdomain, URL or path
Exemple :
spyfu.comsortBychaîneFacultatifdefault SearchVolume
pageSizeentierFacultatifCOST DIAL — rows to return, 1 to 10,000, DEFAULT 5
Exemple :
10rank.maxentierFacultatifrange filters use this dotted form; also rank.min, searchVolume.min/max, keywordDifficulty.min/max, seoClicks.min/max, rankChange.min/max, costPerClick.min/max
sortOrderchaîneFacultatifAscending | Descending; default Descending
exactMatchbooléenFacultatifadultFilterbooléenFacultatifdefault true
countryCodechaîneFacultatifdefault US
Exemple :
USstartingRowentierFacultatif1-based; default 1
excludeTermschaîneFacultatifincludeTermschaîneFacultatifcompareDomainchaîneFacultatifa second domain — adds yourRank, yourRankChange and yourUrl to every row, turning this into a gap report
excludeHomepageKeywordsbooléenFacultatifdrop keywords whose ranking URL is the homepage
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.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());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.005/result, frais de service inclus.