Skip to content
登录 注册

响应结构

每个 Google 引擎返回的顶层结构都相同。organic_results 内部的具体字段以及 SERP 功能模块会因引擎而异,但外层结构是一致的。

字段类型说明
search_metadataobject查询回显、耗时、请求 id
search_parametersobject你发送的所有参数
search_informationobject结果总数、显示的查询
organic_resultsarray排序后的网页结果
paginationobject上一页/下一页游标
serpapi_paginationobject标准分页辅助字段

当页面中存在相应内容时,SERP 功能会以额外的顶层字段出现:

字段返回该字段的引擎
adsgoogle
answer_boxgoogle
knowledge_graphgoogle
related_questionsgoogle
related_searchesgoogle, bing, yandex
inline_imagesgoogle
inline_videosgoogle
local_resultsgoogle
local_mapgoogle
shopping_resultsgoogle_shopping
news_resultsgoogle_news
jobs_resultsgoogle_jobs
events_resultsgoogle_events
places_resultsgoogle_maps
reviews_resultsgoogle_maps_reviews
interest_over_timegoogle_trends
{
"id": "66f4a7b2e4b00b0001a1b2c3",
"status": "Success",
"created_at": "2026-02-01T12:34:56.789Z",
"processed_at": "2026-02-01T12:34:58.012Z",
"google_url": "https://www.google.com/search?q=pizza&...",
"raw_html_file": "https://serp.shifter.io/raw_html/...",
"total_time_taken": 2.31
}
{
"organic_results": [
{
"position": 1,
"title": "Best Pizza in Chicago",
"link": "https://example.com/pizza",
"displayed_link": "example.com",
"snippet": "Chicago's deep dish institution since 1955...",
"favicon": "https://example.com/favicon.ico",
"sitelinks": { "...": "..." }
}
]
}
{
"pagination": {
"current": 1,
"next": "https://serp.shifter.io/v1?engine=google&q=pizza&start=10&...",
"other_pages": { "2": "...start=10...", "3": "...start=20..." }
}
}

start 传递给下一页(1020、……)或直接跟随 next URL。

失败时,顶层只包含 errorerror_code

{
"error": "Your API key is invalid",
"error_code": 401
}