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
- 价格
- $0.005/result按供应商原价
- 成功率
- 100%近 30 天 · 283 次
- 延迟 p50
- 275 毫秒p95 1.7 秒
- 最后验证
- —尚未验证
GEThttps://toolswitch.dev/v1/tools/spyfu.google.domain.ranked_keywords预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
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 …).
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
query | 字符串 | 必填 | a domain, subdomain, URL or path | spyfu.com |
sortBy | 字符串 | 可选 | default SearchVolume | |
pageSize | 整数 | 可选 | COST DIAL — rows to return, 1 to 10,000, DEFAULT 5 | 10 |
rank.max | 整数 | 可选 | 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 | 字符串 | 可选 | Ascending | Descending; default Descending | |
exactMatch | 布尔 | 可选 | ||
adultFilter | 布尔 | 可选 | default true | |
countryCode | 字符串 | 可选 | default US | US |
startingRow | 整数 | 可选 | 1-based; default 1 | |
excludeTerms | 字符串 | 可选 | ||
includeTerms | 字符串 | 可选 | ||
compareDomain | 字符串 | 可选 | a second domain — adds yourRank, yourRankChange and yourUrl to every row, turning this into a gap report | |
excludeHomepageKeywords | 布尔 | 可选 | drop keywords whose ranking URL is the homepage | |
- 查询参数
query字符串必填a domain, subdomain, URL or path
示例:
spyfu.comsortBy字符串可选default SearchVolume
pageSize整数可选COST DIAL — rows to return, 1 to 10,000, DEFAULT 5
示例:
10rank.max整数可选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字符串可选Ascending | Descending; default Descending
exactMatch布尔可选adultFilter布尔可选default true
countryCode字符串可选default US
示例:
USstartingRow整数可选1-based; default 1
excludeTerms字符串可选includeTerms字符串可选compareDomain字符串可选a second domain — adds yourRank, yourRankChange and yourUrl to every row, turning this into a gap report
excludeHomepageKeywords布尔可选drop keywords whose ranking URL is the homepage
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.005/result 计费,已含服务费。