Google keywords a domain ranks for — search volume, traffic
semrush.google.domain.ranked_keywordsGoogle keywords a domain ranks for in the top 100, with position, volume and traffic
- 价格
- 价格待定按供应商原价
- 成功率
- —暂无成功率数据近 30 天 · 0 次
- 延迟 p50
- ——
- 最后验证
- —尚未验证
GEThttps://toolswitch.dev/v1/tools/semrush.google.domain.ranked_keywords预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
CSV response, semicolon-separated. The `key` query param is injected by treg.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
type | 字符串 | 必填 | the report selector — must be the literal string below | domain_organic |
domain | 字符串 | 必填 | bare domain, no scheme | seobook.com |
database | 字符串 | 必填 | regional database code, e.g. us, uk, de — see the Databases list in the docs | us |
display_date | 字符串 | 可选 | YYYYMM15 for a monthly snapshot, YYYYMMDD for a daily one. A PAST date makes this a historical request at 50 units/line instead of 10 | |
display_sort | 字符串 | 可选 | po_asc/po_desc, tr_asc/tr_desc, nq_asc/nq_desc, kd_asc/kd_desc, cp_asc/cp_desc … | tr_desc |
display_daily | 整数 | 可选 | 1 = daily position changes over the last 31 days; only applies when display_positions is set | |
display_limit | 整数 | 可选 | COST DIAL — omitting it (or sending 0) returns the DEFAULT 10,000 lines and bills for all of them. Max 100,000 per request | 10 |
export_escape | 整数 | 可选 | 1 wraps every CSV column in double quotes — set it if any field can contain a semicolon | |
display_filter | 字符串 | 可选 | Semrush filter DSL, e.g. '+|Ph|Co|seo' (phrase contains seo); must be URL-encoded | |
display_offset | 整数 | 可选 | skip N results; display_limit must be raised by the same amount | |
export_columns | 字符串 | 可选 | comma-separated; default Ph,Po,Pp,Pd,Nq,Cp,Ur,Tr,Tc,Co,Nr,Td. Ph=phrase Po=position Nq=volume Cp=CPC Ur=ranking URL Tr=traffic share Kd=difficulty | Ph,Po,Nq,Cp,Ur,Tr |
display_positions | 字符串 | 可选 | new | lost | rise | fall — restrict to keywords that entered, left, gained or lost positions | |
- 查询参数
type字符串必填the report selector — must be the literal string below
示例:
domain_organicdomain字符串必填bare domain, no scheme
示例:
seobook.comdatabase字符串必填regional database code, e.g. us, uk, de — see the Databases list in the docs
示例:
usdisplay_date字符串可选YYYYMM15 for a monthly snapshot, YYYYMMDD for a daily one. A PAST date makes this a historical request at 50 units/line instead of 10
display_sort字符串可选po_asc/po_desc, tr_asc/tr_desc, nq_asc/nq_desc, kd_asc/kd_desc, cp_asc/cp_desc …
示例:
tr_descdisplay_daily整数可选1 = daily position changes over the last 31 days; only applies when display_positions is set
display_limit整数可选COST DIAL — omitting it (or sending 0) returns the DEFAULT 10,000 lines and bills for all of them. Max 100,000 per request
示例:
10export_escape整数可选1 wraps every CSV column in double quotes — set it if any field can contain a semicolon
display_filter字符串可选Semrush filter DSL, e.g. '+|Ph|Co|seo' (phrase contains seo); must be URL-encoded
display_offset整数可选skip N results; display_limit must be raised by the same amount
export_columns字符串可选comma-separated; default Ph,Po,Pp,Pd,Nq,Cp,Ur,Tr,Tc,Co,Nr,Td. Ph=phrase Po=position Nq=volume Cp=CPC Ur=ranking URL Tr=traffic share Kd=difficulty
示例:
Ph,Po,Nq,Cp,Ur,Trdisplay_positions字符串可选new | lost | rise | fall — restrict to keywords that entered, left, gained or lost positions
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/semrush.google.domain.ranked_keywords' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/semrush.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/semrush.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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。