Google organic results by keyword — top 100 domains, URLs
semrush.google.serp.organicList the domains and URLs ranking in Google's top 100 organic results for a keyword
- 价格
- 价格待定按供应商原价
- 成功率
- —暂无成功率数据近 30 天 · 0 次
- 延迟 p50
- ——
- 最后验证
- —尚未验证
GEThttps://toolswitch.dev/v1/tools/semrush.google.serp.organic预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
CSV response. This is Semrush's DATABASE view of the SERP, not a live scrape — positions come from Semrush's last crawl of that keyword in that regional database, so it is cheaper and faster than a live SERP API but can lag by days. Use a live SERP provider when freshness matters.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
type | 字符串 | 必填 | phrase_organic | |
phrase | 字符串 | 必填 | the keyword whose SERP you want | seo |
database | 字符串 | 必填 | us | |
display_date | 字符串 | 可选 | YYYYMM15 for a past month; historical requests bill at 50 units/line | |
display_sort | 字符串 | 可选 | ||
display_limit | 整数 | 可选 | COST DIAL — one line per ranking URL; 10 gives the first page of results | 10 |
export_escape | 整数 | 可选 | ||
display_filter | 字符串 | 可选 | ||
display_offset | 整数 | 可选 | ||
export_columns | 字符串 | 可选 | default Dn,Ur,Fk,Fp. Dn=ranking domain, Ur=ranking URL, Fk=SERP features present, Fp=SERP features the URL occupies | Dn,Ur,Fk,Fp |
- 查询参数
type字符串必填示例:
phrase_organicphrase字符串必填the keyword whose SERP you want
示例:
seodatabase字符串必填示例:
usdisplay_date字符串可选YYYYMM15 for a past month; historical requests bill at 50 units/line
display_sort字符串可选display_limit整数可选COST DIAL — one line per ranking URL; 10 gives the first page of results
示例:
10export_escape整数可选display_filter字符串可选display_offset整数可选export_columns字符串可选default Dn,Ur,Fk,Fp. Dn=ranking domain, Ur=ranking URL, Fk=SERP features present, Fp=SERP features the URL occupies
示例:
Dn,Ur,Fk,Fp
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/semrush.google.serp.organic' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/semrush.google.serp.organic",
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.serp.organic", {
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。