Skip to main content
POST
实时 Google AI Mode SERP HTML
实时返回 Google AI Mode SERP 结果的原始 HTML。每次 Live SERP API 调用只能包含一个任务。

示例

第一次用? 把任意 MCP 客户端指向 https://mcp.aisa.one/mcp —— Claude Code、 Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次 Allow,不需要粘贴任何 key。各客户端的具体命令和每次调用的价格见 aisa.one/zh-cn/mcp。
在你的 agent 里把这个端点跑起来 →

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
keyword
string
必填

关键词;最多可指定 700 个字符

location_name
string

搜索引擎位置的完整名称;如果未指定 location_code 或 location_coordinate,则此项为必填项

location_code
integer

搜索引擎位置代码;如果未指定 location_name 或 location_coordinate,则为必填项

location_coordinate
string

位置的 GPS 坐标;如果未指定 location_name 或 location_code,则为必填项

language_name
string

搜索引擎语言的完整名称;未指定 language_code 时必填

language_code
string

搜索引擎语言代码;未指定 language_name 时必填

device
string

设备类型:desktop 或 mobile

响应

成功响应

version
string

API 的当前版本

status_code
integer

通用状态码

status_message
string

一般信息消息

time
string

执行时间(秒)

cost
number

任务总成本(美元)

tasks_count
integer

tasks 数组中的任务数量

tasks_error
integer

返回错误的 tasks 数组中的任务数量

tasks
string[]

任务数组

tasks[].id
string

任务标识符

tasks[].status_code
integer

任务状态码

tasks[].status_message
string

任务状态消息

tasks[].time
string

执行时间(秒)

tasks[].cost
number

任务成本(美元)

tasks[].result_count
integer

结果数组中的元素数量

tasks[].path
string[]

URL 路径

tasks[].data
object

包含 POST 请求中指定的相同参数

tasks[].result
string[]

HTML 结果数组

tasks[].result[].keyword
string

POST 数组中接收的关键词

tasks[].result[].type
string

POST 数组中的搜索引擎类型

tasks[].result[].se_domain
string

POST 数组中的搜索引擎域名

tasks[].result[].location_code
integer

POST 数组中的位置代码

tasks[].result[].language_code
string

POST 数组中的语言代码