Google keywords a domain ranks for — clicks, search volume
curl --request GET \
--url https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"results": [
{
"rank": 123
}
]
}SpyFu
Google keywords a domain ranks for — clicks, search volume
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 …).
GET
https://api.aisa.one
/
apis
/
v1
/
spyfu
/
google-domain-ranked-keywords
Google keywords a domain ranks for — clicks, search volume
curl --request GET \
--url https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"results": [
{
"rank": 123
}
]
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: GET /apis/v1/spyfu/google-domain-ranked-keywords
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/spyfu/google-domain-ranked-keywords - adultFilter: query; 可选
- compareDomain: query; 可选
- countryCode: query; 可选
- exactMatch: query; 可选
- excludeHomepageKeywords: query; 可选
- excludeTerms: query; 可选
- includeTerms: query; 可选
- pageSize: query; 必填
- query: query; 必填
- rank.max: query; 可选
- sortBy: query; 可选
- sortOrder: query; 可选
- startingRow: query; 必填
{
"operationId": "spyfu.google-domain-ranked-keywords",
"method": "GET",
"path": "/apis/v1/spyfu/google-domain-ranked-keywords",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "adultFilter",
"required": false,
"schema": {
"description": "default true",
"type": "boolean"
}
},
{
"in": "query",
"name": "compareDomain",
"required": false,
"schema": {
"description": "a second domain — adds yourRank, yourRankChange and yourUrl to every row, turning this into a gap report",
"type": "string"
}
},
{
"in": "query",
"name": "countryCode",
"required": false,
"schema": {
"description": "default US",
"examples": [
"US"
],
"type": "string"
}
},
{
"in": "query",
"name": "exactMatch",
"required": false,
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "excludeHomepageKeywords",
"required": false,
"schema": {
"description": "drop keywords whose ranking URL is the homepage",
"type": "boolean"
}
},
{
"in": "query",
"name": "excludeTerms",
"required": false,
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "includeTerms",
"required": false,
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "pageSize",
"required": true,
"schema": {
"description": "rows to return, 1 to 10,000, DEFAULT 5",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
{
"in": "query",
"name": "query",
"required": true,
"schema": {
"description": "a domain, subdomain, URL or path",
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "rank.max",
"required": false,
"schema": {
"description": "range filters use this dotted form; also rank.min, searchVolume.min/max, keywordDifficulty.min/max, seoClicks.min/max, rankChange.min/max, costPerClick.min/max",
"type": "integer"
}
},
{
"in": "query",
"name": "sortBy",
"required": false,
"schema": {
"description": "default SearchVolume",
"type": "string"
}
},
{
"in": "query",
"name": "sortOrder",
"required": false,
"schema": {
"description": "Ascending | Descending; default Descending",
"type": "string"
}
},
{
"in": "query",
"name": "startingRow",
"required": true,
"schema": {
"description": "1-based; default 1",
"enum": [
1
],
"maximum": 1,
"minimum": 1,
"type": "integer"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-28
{
"additionalProperties": true,
"properties": {
"results": {
"items": {
"additionalProperties": true,
"properties": {
"rank": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.005 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。响应时间
- 通常 10 秒内返回。