Google organic search results for a query
curl --request GET \
--url https://api.aisa.one/apis/v1/serpapi/google-serp-organic \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/serpapi/google-serp-organic"
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/serpapi/google-serp-organic', 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/serpapi/google-serp-organic",
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/serpapi/google-serp-organic"
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/serpapi/google-serp-organic")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/serpapi/google-serp-organic")
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{
"pagination": {
"next": "<string>"
}
}SerpApi
Google organic search results for a query
Answers arrive in organic_results; the same response may also carry knowledge_graph,
local_results, related_questions, related_searches and pagination.
num IS NOT DOCUMENTED for this engine — Google dropped it upstream and SerpApi’s google
parameter list does not include it. Page with start, not num; sending num is not a
supported way to widen a page.
GET
https://api.aisa.one
/
apis
/
v1
/
serpapi
/
google-serp-organic
Google organic search results for a query
curl --request GET \
--url https://api.aisa.one/apis/v1/serpapi/google-serp-organic \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/serpapi/google-serp-organic"
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/serpapi/google-serp-organic', 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/serpapi/google-serp-organic",
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/serpapi/google-serp-organic"
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/serpapi/google-serp-organic")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/serpapi/google-serp-organic")
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{
"pagination": {
"next": "<string>"
}
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: GET /apis/v1/serpapi/google-serp-organic
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/serpapi/google-serp-organic - async: query; 必填
- cr: query; 可选
- device: query; 可选
- engine: query; 必填
- filter: query; 可选
- gl: query; 可选
- google_domain: query; 可选
- hl: query; 可选
- lat: query; 可选
- location: query; 可选
- lon: query; 可选
- lr: query; 可选
- nfpr: query; 可选
- output: query; 必填
- q: query; 必填
- radius: query; 可选
- safe: query; 可选
- start: query; 可选
- tbm: query; 可选
- tbs: query; 可选
- uule: query; 可选
- zero_trace: query; 必填
{
"operationId": "serpapi.google-serp-organic",
"method": "GET",
"path": "/apis/v1/serpapi/google-serp-organic",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "async",
"required": true,
"schema": {
"enum": [
false
],
"type": "boolean"
}
},
{
"in": "query",
"name": "cr",
"required": false,
"schema": {
"description": "restrict to countries, e.g. countryUS; multiple joined by |",
"type": "string"
}
},
{
"in": "query",
"name": "device",
"required": false,
"schema": {
"description": "desktop (default) | tablet | mobile",
"type": "string"
}
},
{
"in": "query",
"name": "engine",
"required": true,
"schema": {
"description": "the engine selector — must be this literal string",
"enum": [
"google"
],
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "filter",
"required": false,
"schema": {
"description": "0 turns off Google's similar-results and omitted-results filters",
"type": "string"
}
},
{
"in": "query",
"name": "gl",
"required": false,
"schema": {
"description": "country code for the search, e.g. us, uk",
"examples": [
"us"
],
"type": "string"
}
},
{
"in": "query",
"name": "google_domain",
"required": false,
"schema": {
"description": "default google.com; e.g. google.co.uk",
"type": "string"
}
},
{
"in": "query",
"name": "hl",
"required": false,
"schema": {
"description": "interface language code, e.g. en",
"examples": [
"en"
],
"type": "string"
}
},
{
"in": "query",
"name": "lat",
"required": false,
"schema": {
"description": "latitude; requires lon and a matching gl",
"type": "number"
}
},
{
"in": "query",
"name": "location",
"required": false,
"schema": {
"description": "city-level origin of the search, e.g. \"Austin, Texas, United States\". Mutually exclusive with uule and with lat/lon",
"type": "string"
}
},
{
"in": "query",
"name": "lon",
"required": false,
"schema": {
"description": "longitude; requires lat",
"type": "number"
}
},
{
"in": "query",
"name": "lr",
"required": false,
"schema": {
"description": "restrict to languages, e.g. lang_en; multiple joined by |",
"type": "string"
}
},
{
"in": "query",
"name": "nfpr",
"required": false,
"schema": {
"description": "1 disables Google's auto-correction to a different spelling",
"type": "string"
}
},
{
"in": "query",
"name": "output",
"required": true,
"schema": {
"enum": [
"json"
],
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "q",
"required": true,
"schema": {
"description": "the search query; Google search operators work here",
"examples": [
"coffee"
],
"type": "string"
}
},
{
"in": "query",
"name": "radius",
"required": false,
"schema": {
"description": "metres around lat/lon; 1-199 on desktop, 1-1000 on mobile",
"type": "integer"
}
},
{
"in": "query",
"name": "safe",
"required": false,
"schema": {
"description": "active | off",
"type": "string"
}
},
{
"in": "query",
"name": "start",
"required": false,
"schema": {
"description": "result offset for pagination — 0, 10, 20 … This is how you page; see the note about `num`",
"examples": [
0
],
"type": "integer"
}
},
{
"in": "query",
"name": "tbm",
"required": false,
"schema": {
"description": "switches the Google vertical: isch (images), vid, nws, shop, lcl, pts",
"type": "string"
}
},
{
"in": "query",
"name": "tbs",
"required": false,
"schema": {
"description": "advanced Google filters, e.g. date range",
"type": "string"
}
},
{
"in": "query",
"name": "uule",
"required": false,
"schema": {
"description": "Google's encoded location, as an alternative to `location`",
"type": "string"
}
},
{
"in": "query",
"name": "zero_trace",
"required": true,
"schema": {
"enum": [
false
],
"type": "boolean"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-28
{
"additionalProperties": true,
"properties": {
"pagination": {
"additionalProperties": true,
"properties": {
"next": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.015 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。响应时间
- 通常 10 秒内返回。